/* ============================================================
   Thanga Jodi Help Foundation — Custom Design System
   Color Palette: Serene NGO Theme
     Navy Blue #0F2942  |  Pink #FF2A54  |  Slate Blue #1D3557
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --primary: #0F2942; /* Deep Navy Blue */
    --primary-light: #1E3A8A; /* Soft Navy Blue */
    --primary-dark: #0A192F; /* Darker Navy */
    --secondary: #FF2A54; /* Pink Accent */
    --secondary-light: #FF5E7E; /* Soft Peach Pink */
    --secondary-dark: #D81B60; /* Deep Rose Pink */
    --accent: #E91E63; /* Magenta */
    --accent-light: #F48FB1; /* Pale Pink */
    --light: #F8F9FA; /* Off-white */
    --light-warm: #FFFFFF; /* Pure White */
    --dark: #0A192F;
    --dark-soft: #102A43;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-500: #ADB5BD;
    --gray-700: #495057;
    --white: #FFFFFF;
    --danger: #E63946;

    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-gold: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(15,41,66,0.95) 0%, rgba(10,25,47,0.9) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);

    --shadow-sm: 0 2px 8px rgba(27,58,92,0.08);
    --shadow-md: 0 4px 20px rgba(27,58,92,0.12);
    --shadow-lg: 0 8px 40px rgba(27,58,92,0.16);
    --shadow-gold: 0 4px 20px rgba(200,152,46,0.25);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
h4 { font-size: 1.3rem; }

p {
    color: var(--gray-700);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
}

/* ---------- Section Utilities ---------- */
.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.section-title p {
    max-width: 600px;
    margin: 20px auto 0;
    font-size: 1.1rem;
}

.bg-light-warm {
    background-color: var(--light-warm);
}

.bg-light-section {
    background-color: var(--light);
}

.text-gold {
    color: var(--secondary) !important;
}

.text-primary-custom {
    color: var(--primary) !important;
}

/* ---------- Navbar ---------- */
.navbar-custom {
    padding: 15px 0;
    transition: var(--transition-normal);
    background: var(--white);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    border-bottom: 1px solid var(--gray-200);
}

.navbar-custom.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.navbar-custom .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary);
    transition: var(--transition-normal);
}

.navbar-custom .navbar-brand img {
    height: 45px;
    width: auto;
    transition: var(--transition-normal);
}

.navbar-custom .navbar-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.navbar-custom .navbar-brand .brand-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.navbar-custom .navbar-brand .brand-tagline {
    font-size: 0.65rem;
    font-family: var(--font-body);
    font-weight: 400;
    opacity: 0.8;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray-500);
}

.navbar-custom .nav-link {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 18px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
    position: relative;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--secondary) !important;
}

.navbar-custom .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
}

.btn-donate-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: var(--white);
    border: 1px solid var(--secondary);
    padding: 10px 26px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-normal);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 42, 84, 0.2);
}
.btn-donate-custom:hover {
    background: var(--secondary-dark);
    color: var(--white);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(216, 27, 96, 0.35);
}

@media (max-width: 991px) {
    .w-100-mobile {
        width: 100% !important;
        margin-top: 15px;
    }
    .navbar-custom .navbar-brand {
        margin-left: 0 !important;
    }
}

.navbar-toggler {
    border: none;
    padding: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon-custom {
    width: 28px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.navbar-toggler-icon-custom span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* ---------- Hero Sections ---------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/hero-pattern.svg') repeat;
    opacity: 0.03;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-content .hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--secondary-light);
    font-family: var(--font-heading);
    font-style: italic;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.hero-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 35px;
    line-height: 1.8;
}

.hero-logo {
    width: 160px;
    height: 160px;
    margin: 0 auto 30px;
    animation: float 3s ease-in-out infinite;
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 25px rgba(0,0,0,0.3));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 8s infinite ease-in-out;
}

.hero-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 7s; }
.hero-particle:nth-child(2) { left: 25%; top: 60%; animation-delay: 1s; animation-duration: 9s; }
.hero-particle:nth-child(3) { left: 45%; top: 30%; animation-delay: 2s; animation-duration: 6s; }
.hero-particle:nth-child(4) { left: 65%; top: 70%; animation-delay: 3s; animation-duration: 8s; }
.hero-particle:nth-child(5) { left: 80%; top: 25%; animation-delay: 4s; animation-duration: 10s; }
.hero-particle:nth-child(6) { left: 90%; top: 55%; animation-delay: 1.5s; animation-duration: 7.5s; }
.hero-particle:nth-child(7) { left: 15%; top: 80%; animation-delay: 2.5s; animation-duration: 8.5s; }
.hero-particle:nth-child(8) { left: 55%; top: 15%; animation-delay: 3.5s; animation-duration: 6.5s; }

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    25% { transform: translate(20px, -30px) scale(1.2); opacity: 0.5; }
    50% { transform: translate(-15px, -50px) scale(0.8); opacity: 0.2; }
    75% { transform: translate(25px, -20px) scale(1.1); opacity: 0.4; }
}

/* Page Hero (inner pages) */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background: var(--gradient-hero);
    text-align: center;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
}

.page-hero .breadcrumb {
    justify-content: center;
    margin-bottom: 0;
}

.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.page-hero .breadcrumb-item a:hover {
    color: var(--secondary-light);
}

.page-hero .breadcrumb-item.active {
    color: var(--secondary-light);
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

/* ---------- Buttons ---------- */
.btn-primary-custom {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 14px 35px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--white);
    border: none;
    padding: 14px 35px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(200,152,46,0.4);
    color: var(--white);
}

.btn-outline-light-custom {
    border: 2px solid rgba(255,255,255,0.6);
    color: var(--white);
    padding: 12px 35px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    background: transparent;
    transition: var(--transition-normal);
}

.btn-outline-light-custom:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* ---------- Service Cards ---------- */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.service-card h4 {
    margin-bottom: 15px;
    color: var(--primary);
    font-family: var(--font-heading);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 20px;
}

.service-card .btn-link {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.service-card .btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
}

.service-card .btn-link i {
    transition: var(--transition-normal);
}

.service-card .btn-link:hover i {
    transform: translateX(5px);
}

/* ---------- Stats Counter ---------- */
.stats-section {
    background: var(--gradient-dark);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--light);
    clip-path: ellipse(55% 100% at 50% 0%);
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--secondary-light);
    margin-bottom: 15px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- About Preview ---------- */
.about-preview {
    position: relative;
}

.about-preview-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-preview-img::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--secondary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-preview-content {
    padding-left: 40px;
}

.about-preview-content .lead {
    font-size: 1.15rem;
    color: var(--gray-700);
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.feature-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--dark);
}

.feature-list li i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* ---------- Testimonials ---------- */
.testimonials-section {
    background: var(--light);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    margin: 20px;
    text-align: center;
    border: 1px solid var(--gray-200);
}

.testimonial-card .quote-icon {
    font-size: 3rem;
    color: var(--secondary);
    opacity: 0.3;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--primary);
    font-size: 1rem;
}

.testimonial-card .role {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* ---------- CTA Section ---------- */
.cta-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(200,152,46,0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(46,125,50,0.1) 0%, transparent 50%);
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 30px;
    position: relative;
}

/* ---------- Team Section ---------- */
.team-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid var(--secondary);
    box-shadow: var(--shadow-gold);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h5 {
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: 5px;
}

.team-card .role {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ---------- Timeline ---------- */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    top: 5px;
    width: 18px;
    height: 18px;
    background: var(--secondary);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -9px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -9px;
}

.timeline-content {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.timeline-content .year {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--white);
    padding: 4px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content h5 {
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ---------- Mission/Vision/Values Cards ---------- */
.mvv-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
}

.mvv-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.mvv-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary);
    transition: var(--transition-normal);
}

.mvv-card:hover .mvv-icon {
    background: var(--gradient-gold);
    color: var(--white);
    transform: rotate(10deg);
}

/* ---------- How It Works ---------- */
.step-card {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
}

.step-card h5 {
    color: var(--primary);
    margin-bottom: 10px;
}

.step-connector {
    position: absolute;
    top: 50px;
    right: -15%;
    width: 30%;
    height: 2px;
    background: var(--gray-300);
}

.step-connector::after {
    content: '→';
    position: absolute;
    right: -5px;
    top: -10px;
    color: var(--secondary);
    font-size: 1.2rem;
}

/* ---------- Contact Form ---------- */
.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    font-size: 0.95rem;
    transition: var(--transition-normal);
    background: var(--gray-100);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(200,152,46,0.15);
    background: var(--white);
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-info-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: var(--radius-md);
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--secondary);
    transition: var(--transition-normal);
}

.contact-info-card:hover .contact-info-icon {
    background: var(--gradient-gold);
    color: var(--white);
}

.contact-info-card h6 {
    color: var(--primary);
    margin-bottom: 3px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-info-card p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ---------- Map ---------- */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--gradient-dark);
    color: rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(200,152,46,0.05) 0%, transparent 50%);
}

.footer-main {
    padding: 80px 0 40px;
    position: relative;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-brand img {
    height: 55px;
}

.footer-brand-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
    line-height: 1.3;
}

.footer-about p {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer h5 {
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--secondary-light);
    padding-left: 5px;
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--secondary);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact-item i {
    color: var(--secondary);
    font-size: 1rem;
    margin-top: 3px;
}

.footer-contact-item p {
    margin-bottom: 0;
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--gradient-gold);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    text-align: center;
    position: relative;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-bottom a {
    color: var(--secondary-light);
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-gold);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(200,152,46,0.4);
}

/* ---------- Glassmorphism utility ---------- */
.glass {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
}

/* ---------- Divider Wave ---------- */
.wave-divider {
    position: relative;
    height: 60px;
    overflow: hidden;
}

.wave-divider svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
}

/* ---------- Carousel Custom ---------- */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gray-300);
    border: none;
    opacity: 1;
    transition: var(--transition-normal);
}

.carousel-indicators .active {
    background-color: var(--secondary);
    width: 30px;
    border-radius: 6px;
}

/* ---------- Alert Success ---------- */
.alert-success-custom {
    background: rgba(46,125,50,0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: var(--radius-md);
    padding: 15px 25px;
    font-weight: 500;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .navbar-custom .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: var(--radius-md);
        margin-top: 15px;
        box-shadow: var(--shadow-lg);
    }

    .navbar-custom .nav-link {
        color: var(--dark) !important;
        padding: 10px 15px !important;
    }

    .navbar-custom .nav-link.active::after {
        display: none;
    }

    .about-preview-content {
        padding-left: 0;
        margin-top: 40px;
    }

    .about-preview-img::after {
        display: none;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 55px;
        padding-right: 0;
    }

    .timeline-item:nth-child(odd) {
        text-align: left;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item .timeline-dot {
        left: 12px !important;
        right: auto !important;
    }

    .step-connector {
        display: none;
    }

    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero-logo {
        width: 120px;
        height: 120px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .footer-main {
        padding: 50px 0 30px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 20px;
    }
}

/* ---------- Animations (AOS overrides) ---------- */
[data-aos] {
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* ============================================================
   NGO Template Custom Classes
   ============================================================ */

/* Hero Section Styles */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--white);
    padding: 80px 0;
}
.hero-section::before {
    display: none;
}
.hero-content {
    text-align: left;
    color: var(--primary);
    padding: 0;
}
.hero-content h1 {
    color: var(--primary);
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-weight: 800;
    text-shadow: none;
}
.hero-content p {
    color: var(--gray-700);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 0 35px;
    line-height: 1.8;
}
.btn-primary-custom {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px 35px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}
.btn-primary-custom:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
}
.btn-outline-light-custom {
    border: 1px solid var(--gray-300);
    color: var(--primary);
    padding: 12px 35px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    background: transparent;
    transition: var(--transition-normal);
}
.btn-outline-light-custom:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
}
.hero-right-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-circle-bg {
    position: absolute;
    right: -10%;
    bottom: -10%;
    width: 110%;
    height: 110%;
    background: var(--primary);
    border-radius: 50%;
    z-index: 1;
}
.hero-circle-img-wrapper {
    position: relative;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    overflow: hidden;
    border: 15px solid var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}
.hero-circle-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-dots-pattern {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--secondary) 2px, transparent 2px);
    background-size: 15px 15px;
    z-index: 3;
    opacity: 0.6;
}
.hero-dots-pattern-left {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--secondary) 2px, transparent 2px);
    background-size: 15px 15px;
    z-index: 0;
    opacity: 0.3;
}

/* About Us Section Styles */
.about-left-box {
    background: var(--primary);
    color: var(--white);
    padding: 60px;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg);
}
.about-left-box h2, .about-left-box p, .about-left-box li {
    color: var(--white) !important;
}
.about-left-box .feature-list li i {
    color: var(--secondary) !important;
}
.about-right-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.about-right-wrapper img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-md);
    position: relative;
    z-index: 2;
}
.about-dots-pattern {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(var(--secondary) 2px, transparent 2px);
    background-size: 15px 15px;
    z-index: 1;
    opacity: 0.5;
}

/* Our Services Styles */
.service-card-custom-dark {
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px 30px;
    text-align: center;
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.service-card-custom-dark:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.service-card-custom-dark .service-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}
.service-card-custom-dark h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}
.service-card-custom-dark p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}
.service-card-custom-dark .btn-link-white {
    color: var(--white);
    text-decoration: underline;
    font-weight: 500;
    margin-top: 15px;
    display: inline-block;
}
.service-card-custom-dark .btn-link-white:hover {
    color: var(--secondary);
}
.service-img-card {
    height: 100%;
    min-height: 350px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.service-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Stats Section Styles */
.stats-section-template {
    background: linear-gradient(rgba(15,41,66,0.9), rgba(15,41,66,0.9)), url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?q=80&w=1470&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    padding: 80px 0;
    color: var(--white);
    position: relative;
}
.stats-section-template::before, .stats-section-template::after {
    display: none;
}
.stats-section-template .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font-heading);
}
.stats-section-template .stat-label {
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Cause Card Styles */
.cause-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
    height: 100%;
}
.cause-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.cause-card-img {
    height: 220px;
    overflow: hidden;
}
.cause-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cause-card-body {
    padding: 30px;
}
.cause-card-body h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-family: var(--font-heading);
}
.cause-card-body p {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 20px;
}
.btn-cause-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--gray-300);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    transition: var(--transition-normal);
    text-decoration: none;
}
.btn-cause-read:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Testimonials Card Styles */
.testimonial-template-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 60px 40px;
    box-shadow: var(--shadow-md);
    position: relative;
    text-align: center;
}
.testimonial-avatar-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}
.testimonial-avatar-side {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    opacity: 0.4;
    object-fit: cover;
    transition: var(--transition-normal);
}
.testimonial-avatar-main {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
    object-fit: cover;
    z-index: 2;
}
.testimonial-template-card p {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--primary);
    line-height: 1.8;
    font-family: var(--font-heading);
}
.testimonial-stars {
    color: #FFC107;
    margin-bottom: 15px;
}
.testimonial-template-card .carousel-control-prev,
.testimonial-template-card .carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: var(--transition-normal);
}
.testimonial-template-card .carousel-control-prev:hover,
.testimonial-template-card .carousel-control-next:hover {
    background: var(--secondary);
    opacity: 1;
}

/* Contact/Inquiry Section */
.contact-map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    min-height: 400px;
}
.contact-form-wrapper {
    padding-left: 20px;
}
.contact-form-wrapper .form-control {
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-300);
    padding: 12px 18px;
    margin-bottom: 20px;
}
.contact-form-wrapper .form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.25rem rgba(255, 42, 84, 0.15);
}
.btn-send-inquiry {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 35px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    transition: var(--transition-normal);
}
.btn-send-inquiry:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Store Badge Button */
.btn-store-badge {
    transition: var(--transition-normal);
    display: inline-block;
}
.btn-store-badge:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

@media (max-width: 991px) {
    .hero-section {
        text-align: center;
        min-height: auto;
    }
    .hero-content {
        text-align: center;
        margin-bottom: 50px;
    }
    .hero-content p {
        margin: 0 auto 35px;
    }
    .hero-circle-img-wrapper {
        width: 320px;
        height: 320px;
    }
    .about-left-box {
        padding: 30px;
        margin-bottom: 30px;
    }
    .about-right-wrapper img {
        height: 300px;
    }
    .service-img-card {
        min-height: 250px;
        margin: 15px 0;
    }
    .contact-form-wrapper {
        padding-left: 0;
        margin-top: 40px;
    }
}
