* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #aa2e26;
    --secondary-color: #ca3a32;
    --background-color: #f9f9f9;
    --text-color: #111;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.5px;
}

.info-banner {
    font-size: 14px;
    font-weight: 400;
}

.info-banner i {
    margin: 0 5px;
}

p {
    line-height: 1.6;
    color: #555;
    font-weight: 200;
}

body {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}


/*====================================
NAVBAR
====================================*/

/* NAVBAR BASE */
.custom-navbar {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

/* LOGO */
.logo {
  width: 150px;
}

.brand-text {
  font-weight: 700;
  font-size: 1.2rem;
  color: #111;
}

/* NAV LINKS */
.navbar-nav .nav-link {
  color: #333;
  position: relative;
  transition: all 0.3s ease;
}

/* Hover underline animation */
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #ff4d4d;
  transition: 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* Hover color */
.navbar-nav .nav-link:hover {
  color: #000;
}

/* CTA BUTTON */
.btn-gradient {
  background: linear-gradient(135deg, #ff4d4d, #ff0000);
  color: #fff;
  border: none;
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
  color: #fff;
}

/* MOBILE FIX */
@media (max-width: 991px) {
  .navbar-collapse {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
  }
}


/*====================================
HERO SECTION
====================================*/

/* HERO SECTION */
.hero-section {
  padding: 30px 0;
  margin: 0 30px;
}

/* HERO CARD */
.hero-card {
  background: linear-gradient(135deg, #ff4d4d, #b30000);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* TEXT */
.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
}

.hero-text {
  color: #f1f1f1;
  font-size: 1rem;
  margin-top: 15px;
}

/* IMAGE SIDE */
.hero-image {
  background: url('images/bg-bunner-23.jpg') no-repeat center center/cover;
  width: 100%;
  min-height: 400px;
  z-index: -1;
}

/* BUTTONS */
.btn-outline-light {
  border: 1px solid rgba(255,255,255,0.7);
  color: #fff;
}

.btn-outline-light:hover {
  background: #fff;
  color: #000;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-card {
    border-radius: 15px;
  }

  .hero-image {
    min-height: 250px;
  }
}


/*====================================
Causes Index Page
====================================*/

.cause-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cause-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* Image */
.cause-img {
    position: relative;
    overflow: hidden;
}

.cause-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cause-card:hover .cause-img img {
    transform: scale(1.08);
}

/* Overlay */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s ease;
}

.cause-card:hover .overlay {
    opacity: 1;
}

/* Buttons */
.btn-donate {
    background: #ff5a5f;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
}

.btn-outline {
    display: inline-block;
    margin-top: 10px;
    color: #ff5a5f;
    border: 2px solid #ff5a5f;
    padding: 8px 16px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #ff5a5f;
    color: #fff;
}

/* Content */
.cause-content {
    padding: 20px;
    flex-grow: 1;
}

.cause-content h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.cause-content p {
    font-size: 14px;
    color: #666;
}


/*====================================
Welcome Section
=====================================*/

.welcome-body {
    position: relative;
    padding: 40px 0;
    background: #fff;
    text-align: center;
    z-index: 1;
    margin-top: -100px;
}

.welcome-body h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #111;
    margin-bottom: 20px;
}

.welcome-body p {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}


/*====================================
Sponsors Section
====================================*/
.sponsor-logo {
    width: 80%;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.sponsor-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Optional: spacing */
.carousel-item {
    padding: 40px 0;
}


/* Carousel arrows (cleaner look) */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #d64541;
    border-radius: 50%;
    padding: 20px;
}


/*====================================
Our Impact Section
====================================*/
.story-card {
    background: #f5f5f5;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: 0.3s ease;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Image */
.story-img img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* Body */
.story-body {
    padding: 50px 20px 30px;
    position: relative;
}

/* Heart Icon */
.heart-icon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heart-icon i {
    color: #e74c3c;
    font-size: 22px;
}

/* Text */
.story-body h4 {
    color: #d64541;
    font-weight: 600;
    margin-bottom: 15px;
}

.story-body p {
    color: #555;
    font-size: 15px;
}


/*====================================
Footer
====================================*/
.footer-section {
    background: var(--secondary-color);
    padding: 60px 0 30px;
    border-top: 1px solid #eee;
}

/* Logo */
.footer-logo {
    font-weight: 700;
    color: #f7f4f4;
    margin-bottom: 15px;
}

/* Titles */
.footer-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: #fbf8f8;
}

/* Text */
.footer-text {
    font-size: 14px;
    color: #fefcfc;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    text-decoration: none;
    color: #fcfafa;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #f8baba;
}

/* Social Icons */
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-right: 8px;
    border-radius: 50%;
    background: #fff;
    color: #f42a2a;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.social-icons a:hover {
    background: #f38c88;
    color: #fff;
    transform: translateY(-3px);
}

/* Bottom */
.footer-bottom {
    border-top: 1px solid #eee;
    padding-top: 15px;
    font-size: 13px;
    color: #f9f7f7;
}



/*====================================
Preloader
====================================*/
/* Preloader wrapper */
#preloader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s;
}

/* Hide animation */
#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

/* Loader content */
.loader {
    text-align: center;
}

/* Spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #eee;
    border-top: 4px solid #d64541; /* your theme color */
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 10px;
}

/* Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Text */
.loader p {
    font-size: 14px;
    color: #666;
}




/*====================================
Testimonial Section
====================================*/
.testimonial-section {
    background: #f8f9fa;
}

/* Title */
.section-title {
    font-weight: 600;
    color: #333;
}

/* Card */
.testimonial-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* Avatar */
.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Text */
.testimonial-text {
    font-size: 15px;
    color: #555;
    font-style: italic;
    margin-bottom: 20px;
}

/* Name */
.testimonial-name {
    color: #d64541;
    font-weight: 600;
    margin-bottom: 3px;
}

/* Role */
.testimonial-role {
    font-size: 13px;
    color: #888;
}


.quote-icon {
    font-size: 22px;
    color: #d64541;
    margin-bottom: 10px;
}



/*====================================
Call to Action Section
====================================*/

/* Section spacing */

/* Card */
.cta-card {
    background: linear-gradient(135deg, #e35d5b, #d64541);
    border-radius: 40px;
    padding: 60px 30px;
    color: #fff;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: 0.3s ease;
}

/* Hover effect */
.cta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* Title */
.cta-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* Icon */
.cta-icon img {
    max-width: 180px;
    opacity: 0.9;
    filter: brightness(0) invert(1);
}

/* Optional subtle glow */
.cta-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 60%);
    transform: rotate(25deg);
}

.cta-icon i {
    font-size: 120px;
    opacity: 0.9;
}



/*====================================
Page Header
====================================*/
.page-header {
    background: #f5f5f5;
    overflow: hidden;
}

/* Left text */
.header-subtitle {
    color: #d64541;
    font-weight: 600;
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
}

.header-title {
    font-size: 60px;
    font-weight: 700;
    color: #d64541;
}

/* Right image */
.header-image {
    min-height: 400px;
    background: 
        linear-gradient(to left, rgba(245,245,245,0) 0%, rgba(245,245,245,1) 70%),
        url('images/banner/background-04-1920x60.jpgx') center/cover no-repeat;
}

/* Responsive */
@media (max-width: 992px) {
    .header-title {
        font-size: 40px;
    }

    .header-image {
        min-height: 300px;
    }
}


.header-title {
    animation: fadeUp 1s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.header-image {
    backdrop-filter: blur(2px);
}



/*====================================
About Page
====================================*/

/* Mission Cards */
.mission-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Icons */
.mission-icon {
    font-size: 40px;
    color: #d64541;
    margin-bottom: 15px;
}


/*=====================================
Our Work Page
=====================================*/
/* Sidebar cards */
.work-card {
    background: #fff;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.work-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #d64541;
}

/* Info cards */
.info-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.info-card h5 {
    color: #d64541;
    margin-bottom: 10px;
}

.info-card p {
    color: #666;
    font-size: 14px;
}


.info-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/*==================================
Contact Page
==================================*/

/* Contact Cards */
.contact-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Icons */
.contact-icon {
    font-size: 35px;
    color: #d64541;
    margin-bottom: 15px;
}

/* Form Card */
.contact-form-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Inputs */
.form-control {
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #ddd;
}

.form-control:focus {
    border-color: #d64541;
    box-shadow: none;
}



/*==================================
Volunteer Page
==================================*/

/* Cards */
.volunteer-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.volunteer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Icons */
.volunteer-icon {
    font-size: 40px;
    color: #d64541;
    margin-bottom: 15px;
}

/* Form */
.form-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Inputs */
.form-control, .form-select {
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #ddd;
}

.form-control:focus, .form-select:focus {
    border-color: #d64541;
    box-shadow: none;
}



/*====================================
View Cause Page
====================================*/

/* Image */
.cause-image img {
    max-height: 400px;
    object-fit: cover;
}

/* Description */
.cause-description {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

/* Buttons */
.btn-lg {
    border-radius: 10px;
}



/*====================================
Cookies Consent
====================================*/
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    display: none;
    z-index: 9999;
    animation: fadeInUp 0.5s ease;
}

/* Content */
.cookie-content p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #555;
}

/* Buttons */
.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

