﻿:root {
    --primary: #ff100d;
    --primary-deep: #c90000;
    --primary-soft: #fff0ed;
    --navy: #262d40;
    --cream: #eee3ca;
    --gold: #ffca06;
    --earth: #8c6e34;
    --orange: #cf6200;
    --sand: #efdcaa;
    --rose: #f5334b;
    --ink: #202636;
    --muted: #677085;
    --white: #ffffff;
    --shadow: 0 22px 70px rgba(38, 45, 64, 0.16);
    --radius: 8px;
    --section-bg: url('section-backgrounds/replace-this.jpg');
}

.odic-process-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.step-number {
    min-width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(255, 16, 13, 0.2);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--white);
    border: 1px solid rgba(38, 45, 64, 0.1);
    border-radius: 999px;
    font-weight: 700;
}

.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(255, 16, 13, 0.2);
}

.product-price {
    display: block;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--navy);
    margin: 10px 0;
}

.product-cat-badge {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 800;
    background: var(--gold);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.pagination-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.news-title a {
    color: inherit;
    text-decoration: none;
}

.news-title a:hover {
    color: var(--primary);
}

.news-detail-content {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-info-section,
.contact-map-section {
    padding: clamp(64px, 8vw, 100px) clamp(18px, 6vw, 86px);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.contact-info-grid article,
.contact-map-copy,
.contact-map-card {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(38,45,64,0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-info-grid article {
    min-height: 230px;
    padding: 30px;
}

.contact-info-grid i {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--rose));
    border-radius: 50%;
    font-size: 1.45rem;
}

.contact-info-grid a {
    color: var(--navy);
    font-weight: 850;
}

.contact-map-section {
    display: grid;
    grid-template-columns: minmax(300px, 0.85fr) minmax(320px, 1.15fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: stretch;
}

.contact-map-copy {
    padding: clamp(24px, 4vw, 42px);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.contact-map-card {
    min-height: 440px;
    overflow: hidden;
}

.contact-map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 440px;
    display: block;
    border: 0;
}

@media (max-width: 820px) {
    .odic-process-step {
        flex-direction: column;
        gap: 15px;
    }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background:
        linear-gradient(90deg, rgba(255,16,13,0.05), transparent 28%, rgba(255,202,6,0.08) 65%, rgba(245,51,75,0.06)),
        #fffaf2;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 7% 18%, rgba(255, 202, 6, 0.16) 0 13rem, transparent 13.2rem),
        radial-gradient(circle at 92% 8%, rgba(245, 51, 75, 0.14) 0 15rem, transparent 15.2rem),
        linear-gradient(135deg, rgba(238, 227, 202, 0.45), rgba(255,255,255,0.65));
}

a { color: inherit; text-decoration: none; }

img,
video,
iframe {
    max-width: 100%;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: minmax(210px, auto) 1fr minmax(150px, auto);
    align-items: center;
    gap: clamp(16px, 3vw, 38px);
    min-height: 84px;
    padding: 10px clamp(18px, 4vw, 56px);
    background: rgba(255,255,255,0.93);
    border-bottom: 4px solid var(--primary);
    box-shadow: 0 12px 34px rgba(38,45,64,0.09);
    backdrop-filter: blur(16px);
}

.logo {
    display: inline-flex;
    align-items: center;
    color: var(--navy);
    font-weight: 800;
}

.logo img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(255,16,13,0.20));
}

.logo h5 {
    margin: 0 0 0 10px !important;
    color: var(--navy);
    font-weight: 800;
    letter-spacing: 0;
}

header nav {
    justify-self: center;
}

nav .main-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-item { position: relative; }

.main-menu > .menu-item > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 10px 12px;
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 800;
    border-radius: var(--radius);
    transition: 180ms ease;
}

.main-menu > .menu-item > a:hover,
.main-menu > .menu-item:hover > a {
    color: var(--white);
    background: var(--primary);
    box-shadow: 0 12px 24px rgba(255,16,13,0.22);
}

.sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 260px;
    margin: 0;
    padding: 10px;
    list-style: none;
    background: rgba(255,255,255,0.98);
    border-top: 4px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 180ms ease;
}

.menu-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu .sub-menu {
    left: 100%;
    top: 0;
}

.sub-menu a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    color: var(--navy);
    font-weight: 700;
    border-radius: 6px;
}

.sub-menu a:hover {
    color: var(--white);
    background: linear-gradient(90deg, var(--primary), var(--rose));
}

.menu-toggle {
    display: none;
    color: var(--primary);
    background: #fff;
    border: 1px solid rgba(38,45,64,0.12);
    border-radius: var(--radius);
    font-size: 1.45rem;
    cursor: pointer;
}

.header-donate {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    min-height: 42px;
    padding: 10px 22px;
    color: var(--white) !important;
    background: linear-gradient(90deg, var(--primary), var(--rose));
    border: 2px solid rgba(255,255,255,0.72);
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(255,16,13,0.28);
    font-size: 0.98rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(255,16,13,0.34);
}

.hero-slide {
    min-height: clamp(520px, 82vh, 760px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(38,45,64,0.84), rgba(38,45,64,0.40) 52%, rgba(255,16,13,0.22)),
        linear-gradient(0deg, rgba(0,0,0,0.22), transparent 42%);
}

.hero-slide::after {
    content: "";
    position: absolute;
    left: clamp(18px, 5vw, 70px);
    bottom: 34px;
    width: min(500px, calc(100vw - 36px));
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary) 0 14%, var(--navy) 14% 28%, var(--cream) 28% 42%, var(--gold) 42% 56%, var(--earth) 56% 70%, var(--orange) 70% 84%, var(--sand) 84% 92%, var(--rose) 92% 100%);
    box-shadow: 0 12px 30px rgba(0,0,0,0.22);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
    color: var(--white);
    padding: 46px 0 82px;
}

.hero-content h1 {
    max-width: 780px;
    margin-bottom: 18px;
    color: var(--white);
    line-height: 1.05;
    text-shadow: 0 8px 28px rgba(0,0,0,0.30);
}

.hero-content .lead {
    max-width: 680px;
    color: rgba(255,255,255,0.93);
    font-size: clamp(1.03rem, 1.6vw, 1.32rem);
    font-weight: 500;
}

.btn,
.about-cta,
.involved-btn,
.submit-btn,
.newsletter-btn,
.view-all a {
    border: 0 !important;
    border-radius: var(--radius) !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.about-cta:hover,
.involved-btn:hover,
.submit-btn:hover,
.newsletter-btn:hover,
.view-all a:hover {
    transform: translateY(-2px);
}

.hero-content .btn,
.about-cta,
.submit-btn,
.newsletter-btn,
.view-all a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white) !important;
    background: linear-gradient(90deg, var(--primary), var(--rose)) !important;
    box-shadow: 0 16px 32px rgba(255,16,13,0.28);
}

.about-cta,
.view-all a {
    padding: 13px 18px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 42px;
    height: 42px;
    padding: 22px;
    border-radius: 50%;
    background-color: rgba(255,16,13,0.82);
    background-size: 46%;
}

.compliance-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    padding: 0;
    background: var(--navy);
    color: var(--white);
}

.compliance-bar span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 66px;
    padding: 16px 18px;
    text-align: center;
    font-weight: 800;
    background: linear-gradient(135deg, var(--navy), #37415c);
}

.compliance-bar i { color: var(--gold); }

section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

section::before,
.main-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--section-bg);
    background-size: cover;
    background-position: center;
    opacity: 0.18;
}

section::after,
.main-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(135deg, rgba(255,250,242,0.95), rgba(255,255,255,0.86) 42%, rgba(238,227,202,0.78)),
        linear-gradient(90deg, rgba(255,16,13,0.08), rgba(255,202,6,0.08), rgba(245,51,75,0.08));
}

.about-tapovan,
.contact-section {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.1fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    padding: clamp(64px, 8vw, 112px) clamp(18px, 6vw, 86px);
}

.programs-section,
.media-section,
.partners-section,
.news-section,
.testimonials-section,
.involved-section,
#impact {
    padding: clamp(64px, 8vw, 100px) clamp(18px, 6vw, 86px) !important;
    background: transparent !important;
}

#impact .container { max-width: 1180px; }

.about-image-container,
.about-content,
.contact-text,
.contact-form,
.impact-card,
.program-card,
.gallery-item,
.partner-card,
.news-card,
.testimonial-card,
.involved-card {
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(38,45,64,0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-image-container {
    padding: 12px;
    transform: rotate(-1.2deg);
}

.about-image-container img {
    display: block;
    width: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: 6px;
}

.about-content,
.contact-text,
.contact-form {
    padding: clamp(24px, 4vw, 42px);
}

.tagline,
.news-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 12px;
    color: var(--primary);
    background: var(--primary-soft);
    border-left: 5px solid var(--primary);
    border-radius: 6px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--navy);
    letter-spacing: 0;
}

section h2,
.contact-section h2,
#impact h2,
.text-success {
    color: var(--primary) !important;
    font-weight: 850 !important;
}

section > h2,
section .container h2,
.contact-section h2 {
    position: relative;
    margin-bottom: 18px;
}

section > h2::after,
section .container h2::after,
.contact-section h2::after {
    content: "";
    display: block;
    width: 86px;
    height: 5px;
    margin-top: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--gold), var(--orange));
}

.text-center h2::after { margin-left: auto; margin-right: auto; }

.subtitle,
.text-muted,
p,
li {
    color: #394154 !important;
    line-height: 1.72;
}

.subtitle {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
    font-size: 1.05rem;
}

/* Home page section headings */
#impact .text-center,
.programs-section > h2,
.media-section > h2,
.partners-section > h2,
.news-section > h2,
.testimonials-section > h2,
.involved-section > h2 {
    text-align: center;
}

#impact .text-center > p,
.media-section > .subtitle,
.partners-section > .subtitle,
.news-section > .subtitle,
.involved-section > .subtitle {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.programs-section > h2::after,
.media-section > h2::after,
.partners-section > h2::after,
.news-section > h2::after,
.testimonials-section > h2::after,
.involved-section > h2::after {
    margin-left: auto;
    margin-right: auto;
}

.trust-indicators,
.programs-grid,
.gallery-grid,
.partners-grid,
.involved-grid {
    display: grid;
    gap: 20px;
}

.trust-indicators { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 26px 0; }
.programs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.partners-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.involved-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 14px;
    color: var(--navy);
    background: linear-gradient(135deg, #fff, var(--primary-soft));
    border-left: 5px solid var(--primary);
    border-radius: var(--radius);
    box-shadow: 0 10px 28px rgba(38,45,64,0.08);
}

.trust-item i,
.stat-icon i { color: var(--primary) !important; }
.trust-item span { font-weight: 750; }

.impact-card {
    height: 100%;
    border-top: 6px solid var(--primary);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.impact-card:hover,
.program-card:hover,
.news-card:hover,
.partner-card:hover,
.involved-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 80px rgba(38,45,64,0.20);
}

.stat-icon,
.bg-light-green,
.bg-light-blue,
.bg-light-orange,
.bg-light-red {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-soft), #fff7cf) !important;
    font-size: 1.6rem;
}

.counter,
.impact-card h3,
.impact-card .stat-number {
    color: var(--navy) !important;
    font-weight: 900;
}

.program-card,
.involved-card {
    position: relative;
    min-height: 320px;
    padding: 30px;
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(38,45,64,0.90), rgba(255,16,13,0.82)),
        var(--section-bg) center/cover;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.program-card::before,
.involved-card::before {
    content: "";
    position: absolute;
    inset: auto -28px -54px auto;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(255,202,6,0.24);
}

.program-card h3,
.program-card h3 a,
.program-card p,
.program-card i,
.involved-card h3,
.involved-card p,
.involved-card i {
    color: var(--white) !important;
}

.card-top,
.testimonial-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.card-top i,
.involved-card > i {
    width: 62px;
    min-width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    color: var(--navy) !important;
    background: var(--gold);
    font-size: 1.55rem;
}

.health-bg,
.bg-donate { background: linear-gradient(135deg, rgba(255,16,13,0.90), rgba(38,45,64,0.88)), var(--section-bg) center/cover; }
.edu-bg,
.edu-bg-2,
.edu-bg-3,
.bg-volunteer { background: linear-gradient(135deg, rgba(38,45,64,0.92), rgba(207,98,0,0.84)), var(--section-bg) center/cover; }
.women-bg,
.bg-csr { background: linear-gradient(135deg, rgba(245,51,75,0.90), rgba(38,45,64,0.88)), var(--section-bg) center/cover; }
.livelihood-bg,
.disaster-bg,
.grassroots-bg,
.bg-sponsor { background: linear-gradient(135deg, rgba(140,110,52,0.90), rgba(38,45,64,0.88)), var(--section-bg) center/cover; }

.involved-btn {
    display: inline-flex;
    margin-top: 10px;
    padding: 11px 16px;
    color: var(--navy) !important;
    background: var(--gold) !important;
    box-shadow: 0 14px 30px rgba(0,0,0,0.16);
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 7px 11px;
    color: var(--navy);
    background: var(--gold);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
}

.gallery-item,
.news-card {
    position: relative;
    overflow: hidden;
}

.gallery-item img,
.news-image-wrap img,
.testimonial-video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item { min-height: 260px; }

.gallery-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 22px;
    background: linear-gradient(0deg, rgba(38,45,64,0.94), rgba(38,45,64,0));
}

.gallery-overlay span {
    color: var(--gold);
    font-weight: 800;
}

.gallery-overlay h4 { color: var(--white); }

.partner-card {
    padding: 22px 16px;
    text-align: center;
}

.partner-card img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    margin-bottom: 14px;
}

.news-image-wrap {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.news-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    margin: 0;
    color: var(--white) !important;
    background: var(--primary) !important;
    border-left: 0;
}

.news-body,
.testimonial-user {
    padding: 22px;
}

.news-date { color: var(--primary); font-weight: 800; }
.news-title { font-size: 1.22rem; margin: 8px 0; }

.testimonial-video {
    aspect-ratio: 16 / 10;
    background: var(--navy);
}

.swiper-pagination-bullet-active { background: var(--primary) !important; }

.contact-form form {
    display: grid;
    gap: 14px;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 15px;
    color: var(--ink);
    background: #fff;
    border: 1px solid rgba(38,45,64,0.14);
    border-radius: var(--radius);
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255,16,13,0.12);
}

.submit-btn,
.newsletter-btn {
    padding: 14px 18px;
}

.main-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--navy);
    color: rgba(255,255,255,0.86);
    border-top: 6px solid var(--primary);
}

.main-footer::before { opacity: 0.12; }

.main-footer::after {
    background: linear-gradient(135deg, rgba(38,45,64,0.97), rgba(38,45,64,0.90), rgba(201,0,0,0.72));
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px;
    padding: clamp(44px, 6vw, 76px) clamp(18px, 6vw, 86px);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 16px;
    font-weight: 850;
}

.footer-col h4::after {
    content: "";
    display: block;
    width: 46px;
    height: 4px;
    margin-top: 10px;
    border-radius: 999px;
    background: var(--gold);
}

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

.footer-links a,
.footer-col p,
.footer-bottom p,
.footer-bottom a {
    color: rgba(255,255,255,0.78) !important;
}

.footer-links li { margin-bottom: 9px; }
.footer-links a:hover,
.footer-bottom a:hover { color: var(--gold) !important; }

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--navy) !important;
    background: var(--gold);
    border-radius: 50%;
}

.footer-newsletter {
    display: grid;
    gap: 10px;
}

.footer-bottom {
    padding: 22px clamp(18px, 6vw, 86px) 34px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.14);
}

.compliance-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.compliance-logos span {
    padding: 8px 12px;
    color: var(--navy);
    background: var(--sand);
    border-radius: 999px;
    font-weight: 850;
}

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(38,45,64,0.88);
}

.image-modal img {
    max-width: min(1100px, 94vw);
    max-height: 90vh;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-page-hero,
.about-intro-section,
.about-impact-section,
.governance-section,
.documents-section,
.awards-section,
.about-work-section,
.about-cta-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.about-page-hero::before,
.about-intro-section::before,
.about-impact-section::before,
.governance-section::before,
.documents-section::before,
.awards-section::before,
.about-work-section::before,
.about-cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--section-bg);
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.about-page-hero::after,
.about-intro-section::after,
.about-impact-section::after,
.governance-section::after,
.documents-section::after,
.awards-section::after,
.about-work-section::after,
.about-cta-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(135deg, rgba(255,250,242,0.94), rgba(255,255,255,0.86) 44%, rgba(238,227,202,0.78)),
        linear-gradient(90deg, rgba(255,16,13,0.08), rgba(255,202,6,0.08), rgba(245,51,75,0.08));
}

.about-page-hero {
    min-height: clamp(460px, 66vh, 680px);
    display: flex;
    align-items: center;
    padding: clamp(72px, 10vw, 130px) clamp(18px, 6vw, 86px);
}

.about-page-hero::before {
    opacity: 1;
}

.about-page-hero::after {
    background: linear-gradient(90deg, rgba(38,45,64,0.88), rgba(38,45,64,0.56), rgba(255,16,13,0.25));
}

.about-page-hero-content {
    max-width: 900px;
}

.about-page-hero .tagline {
    color: var(--navy);
    background: var(--gold);
}

.about-page-hero h1 {
    max-width: 900px;
    margin-bottom: 20px;
    color: var(--white);
    font-size: clamp(2.7rem, 6vw, 5.8rem);
    line-height: 0.98;
    font-weight: 900;
    text-shadow: 0 10px 32px rgba(0,0,0,0.34);
}

.about-page-hero p {
    max-width: 760px;
    color: rgba(255,255,255,0.92) !important;
    font-size: clamp(1.05rem, 1.7vw, 1.32rem);
    font-weight: 550;
}

.about-intro-section,
.about-cta-section {
    display: grid;
    grid-template-columns: minmax(320px, 1.05fr) minmax(300px, 0.95fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    padding: clamp(64px, 8vw, 112px) clamp(18px, 6vw, 86px);
}

.about-intro-copy,
.about-video-card,
.about-stat-grid div,
.governance-grid article,
.about-work-grid article,
.about-cta-section > div {
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(38,45,64,0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-intro-copy,
.about-cta-section > div {
    padding: clamp(24px, 4vw, 42px);
}

.about-video-card {
    position: relative;
    overflow: hidden;
}

.about-video-card img {
    display: block;
    width: 100%;
    min-height: 390px;
    object-fit: cover;
}

.about-video-card div {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px;
    color: var(--white);
    background: linear-gradient(0deg, rgba(38,45,64,0.96), rgba(38,45,64,0));
    font-weight: 900;
}

.about-video-card i {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    background: var(--gold);
    border-radius: 50%;
}

.about-impact-section,
.governance-section,
.documents-section,
.awards-section,
.about-work-section {
    padding: clamp(64px, 8vw, 100px) clamp(18px, 6vw, 86px);
}

.section-heading {
    max-width: 820px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-heading .tagline {
    margin-left: auto;
    margin-right: auto;
}

.section-heading h2::after {
    margin-left: auto;
    margin-right: auto;
}

.about-stat-grid,
.governance-grid,
.documents-grid,
.awards-grid,
.about-work-grid {
    display: grid;
    gap: 20px;
}

.about-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-stat-grid div {
    min-height: 170px;
    padding: 28px;
    text-align: center;
    border-top: 6px solid var(--primary);
}

.about-stat-grid strong {
    display: block;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    font-weight: 900;
}

.about-stat-grid span {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-weight: 800;
}

.governance-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.governance-grid article,
.documents-grid article,
.awards-grid article,
.about-work-grid article {
    padding: 28px;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.governance-grid article:hover,
.documents-grid article:hover,
.awards-grid article:hover,
.about-work-grid article:hover,
.about-stat-grid div:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 80px rgba(38,45,64,0.20);
}

.governance-grid i,
.awards-grid i,
.about-work-grid i {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--rose));
    border-radius: 50%;
    font-size: 1.45rem;
}

.profile-grid article {
    text-align: center;
}

.profile-grid img {
    width: 138px;
    height: 138px;
    display: block;
    margin: 0 auto 18px;
    object-fit: cover;
    border: 6px solid var(--primary-soft);
    border-radius: 50%;
    box-shadow: 0 16px 36px rgba(38,45,64,0.18);
}

.profile-grid h3 {
    margin-bottom: 6px;
}

.profile-grid p {
    margin: 0;
    color: var(--primary) !important;
    font-weight: 850;
}

.team-table-wrapper {
    width: min(1100px, 100%);
    margin: 0 auto;
    overflow-x: auto;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(38,45,64,0.10);
    border-radius: var(--radius);
    box-shadow: 0 22px 60px rgba(38,45,64,0.16);
}

.team-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    color: var(--navy);
}

.team-table th,
.team-table td {
    padding: 16px 22px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid rgba(38,45,64,0.10);
}

.team-table th {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--rose));
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.team-table th:first-child {
    border-top-left-radius: calc(var(--radius) - 1px);
}

.team-table th:last-child {
    border-top-right-radius: calc(var(--radius) - 1px);
}

.team-table th:nth-child(1),
.team-table td:nth-child(1) {
    width: 100px;
    text-align: center;
}

.team-table th:nth-child(2),
.team-table td:nth-child(2) {
    width: 120px;
    text-align: center;
}

.team-table th:nth-child(3),
.team-table td:nth-child(3) {
    width: 42%;
}

.team-table tbody tr:last-child td {
    border-bottom: 0;
}

.team-table tbody tr {
    transition: background-color 180ms ease, transform 180ms ease;
}

.team-table tbody tr:nth-child(even) {
    background: rgba(38,45,64,0.025);
}

.team-table tbody tr:hover {
    background: rgba(255,16,13,0.055);
}

.team-table td:nth-child(3) {
    font-weight: 850;
    font-size: 1.02rem;
}

.team-table td:nth-child(4) {
    color: var(--primary);
    font-weight: 750;
}

.team-table img,
.team-image-placeholder {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    color: var(--muted);
    background: var(--primary-soft);
    border: 4px solid var(--primary-soft);
    border-radius: 50%;
}

.team-serial {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 900;
}

.documents-grid,
.awards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.documents-grid article,
.awards-grid article {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(38,45,64,0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.documents-grid h3 {
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 900;
}

.documents-grid a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    margin-top: 10px;
    padding: 12px 14px;
    color: var(--navy);
    background: linear-gradient(135deg, #fff, var(--primary-soft));
    border-left: 5px solid var(--primary);
    border-radius: var(--radius);
    font-weight: 800;
}

.documents-grid a:hover {
    color: var(--white);
    background: linear-gradient(90deg, var(--primary), var(--rose));
}

.documents-grid i {
    color: inherit;
}

.awards-grid article {
    position: relative;
    overflow: hidden;
    min-height: 270px;
    background:
        linear-gradient(135deg, rgba(38,45,64,0.92), rgba(255,16,13,0.82)),
        var(--section-bg) center/cover;
}

.awards-grid article::after {
    content: "";
    position: absolute;
    right: -36px;
    bottom: -60px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(255,202,6,0.24);
}

.awards-grid i,
.awards-grid h3,
.awards-grid p {
    position: relative;
    z-index: 1;
    color: var(--white) !important;
}

.awards-grid i {
    color: var(--navy) !important;
    background: var(--gold);
}

.documents-action {
    margin-top: 32px;
    text-align: center;
}

.about-work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-cta-section {
    grid-template-columns: 1fr auto;
}

.about-cta-section .about-cta {
    align-self: center;
    white-space: nowrap;
}

.donation-hero,
.donor-benefits-section,
.donation-options-section,
.donation-impact-section,
.sponsorship-section,
.regular-donor-section,
.ways-online-section,
.stories-section,
.donation-security-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.donation-hero::before,
.donor-benefits-section::before,
.donation-options-section::before,
.donation-impact-section::before,
.sponsorship-section::before,
.regular-donor-section::before,
.ways-online-section::before,
.stories-section::before,
.donation-security-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--section-bg);
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.donation-hero::after,
.donor-benefits-section::after,
.donation-options-section::after,
.donation-impact-section::after,
.sponsorship-section::after,
.regular-donor-section::after,
.ways-online-section::after,
.stories-section::after,
.donation-security-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(135deg, rgba(255,250,242,0.95), rgba(255,255,255,0.87) 44%, rgba(238,227,202,0.78)),
        linear-gradient(90deg, rgba(255,16,13,0.08), rgba(255,202,6,0.08), rgba(245,51,75,0.08));
}

.donation-hero {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 460px);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    min-height: clamp(660px, 86vh, 820px);
    padding: clamp(72px, 10vw, 130px) clamp(18px, 6vw, 86px);
}

.donation-hero::before {
    opacity: 1;
}

.donation-hero::after {
    background: linear-gradient(90deg, rgba(38,45,64,0.88), rgba(38,45,64,0.58), rgba(255,16,13,0.28));
}

.donation-hero-copy h1 {
    max-width: 780px;
    margin-bottom: 18px;
    color: var(--white);
    font-size: clamp(2.8rem, 6vw, 5.8rem);
    line-height: 0.98;
    font-weight: 900;
    text-shadow: 0 10px 32px rgba(0,0,0,0.34);
}

.donation-hero-copy p {
    max-width: 680px;
    color: rgba(255,255,255,0.93) !important;
    font-size: clamp(1.05rem, 1.7vw, 1.32rem);
    font-weight: 550;
}

.donation-hero .tagline {
    color: var(--navy);
    background: var(--gold);
}

.donation-panel,
.donor-benefits-grid article,
.donation-option-grid article,
.donation-impact-grid article,
.sponsorship-copy,
.sponsorship-image,
.regular-donor-grid article,
.ways-copy,
.payment-card,
.stories-grid article,
.security-grid article {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(38,45,64,0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.donation-panel {
    display: grid;
    gap: 14px;
    padding: clamp(24px, 4vw, 36px);
}

.donation-panel h2 {
    margin-bottom: 2px;
    font-size: 2rem;
}

.donation-panel h2::after {
    width: 62px;
}

.donation-panel label {
    color: var(--navy);
    font-weight: 850;
}

.donor-tabs,
.donation-frequency,
.amount-grid {
    display: grid;
    gap: 10px;
}

.donor-tabs {
    grid-template-columns: 1fr 1fr;
}

.donor-tabs input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.donor-tabs label,
.donation-frequency button,
.amount-grid button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 14px;
    color: var(--navy);
    background: #fff;
    border: 1px solid rgba(38,45,64,0.14);
    border-radius: var(--radius);
    font-weight: 850;
    cursor: pointer;
}

.donor-tabs input:checked + label,
.donation-frequency button.active,
.amount-grid button.active {
    color: var(--white);
    background: linear-gradient(90deg, var(--primary), var(--rose));
    border-color: transparent;
}

.donation-frequency,
.amount-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.donation-note {
    margin: 0;
    color: var(--muted) !important;
    font-size: 0.88rem;
}

.donor-benefits-section,
.donation-options-section,
.donation-impact-section,
.regular-donor-section,
.stories-section,
.donation-security-section {
    padding: clamp(64px, 8vw, 100px) clamp(18px, 6vw, 86px);
}

.donor-benefits-grid,
.donation-option-grid,
.donation-impact-grid,
.regular-donor-grid,
.stories-grid,
.security-grid {
    display: grid;
    gap: 20px;
}

.donor-benefits-grid,
.donation-option-grid,
.regular-donor-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.donor-benefits-grid article,
.donation-option-grid article,
.regular-donor-grid article,
.security-grid article {
    padding: 28px;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.donor-benefits-grid article:hover,
.donation-option-grid article:hover,
.donation-impact-grid article:hover,
.regular-donor-grid article:hover,
.stories-grid article:hover,
.security-grid article:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 80px rgba(38,45,64,0.20);
}

.donor-benefits-grid i,
.donation-option-grid i,
.regular-donor-grid i,
.security-grid i {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--rose));
    border-radius: 50%;
    font-size: 1.45rem;
}

.donation-impact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.donation-impact-grid article {
    min-height: 170px;
    padding: 28px;
    text-align: center;
    border-top: 6px solid var(--primary);
}

.donation-impact-grid strong {
    display: block;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    font-weight: 900;
}

.donation-impact-grid span {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-weight: 800;
}

.sponsorship-section,
.ways-online-section {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.86fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    padding: clamp(64px, 8vw, 112px) clamp(18px, 6vw, 86px);
}

.sponsorship-copy,
.ways-copy,
.payment-card {
    padding: clamp(24px, 4vw, 42px);
}

.sponsorship-image {
    overflow: hidden;
}

.sponsorship-image img {
    display: block;
    width: 100%;
    min-height: 420px;
    object-fit: cover;
}

.payment-card h3 {
    color: var(--primary);
}

.stories-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stories-grid article {
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.stories-grid img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.stories-grid article div {
    padding: 22px;
}

.stories-grid span {
    color: var(--primary);
    font-weight: 900;
    text-transform: uppercase;
}

.security-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.donation-footer-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.service-hero,
.service-about-section,
.service-data-section,
.facilities-section,
.stories-feature-section,
.student-products-section,
.activities-section,
.college-section,
.govt-funding-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.service-hero::before,
.service-about-section::before,
.service-data-section::before,
.facilities-section::before,
.stories-feature-section::before,
.student-products-section::before,
.activities-section::before,
.college-section::before,
.govt-funding-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--section-bg);
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.service-hero::after,
.service-about-section::after,
.service-data-section::after,
.facilities-section::after,
.stories-feature-section::after,
.student-products-section::after,
.activities-section::after,
.college-section::after,
.govt-funding-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(135deg, rgba(255,250,242,0.95), rgba(255,255,255,0.87) 44%, rgba(238,227,202,0.78)),
        linear-gradient(90deg, rgba(255,16,13,0.08), rgba(255,202,6,0.08), rgba(245,51,75,0.08));
}

.service-hero {
    min-height: clamp(560px, 82vh, 780px);
    display: flex;
    align-items: center;
    padding: clamp(76px, 11vw, 140px) clamp(18px, 6vw, 86px);
}

.service-hero::before { opacity: 1; }

.service-hero::after {
    background: linear-gradient(90deg, rgba(38,45,64,0.88), rgba(38,45,64,0.54), rgba(255,16,13,0.27));
}

.service-hero-copy {
    max-width: 920px;
}

.service-hero .tagline {
    color: var(--navy);
    background: var(--gold);
}

.service-hero h1 {
    max-width: 980px;
    margin-bottom: 18px;
    color: var(--white);
    font-size: clamp(2.8rem, 7vw, 6.2rem);
    line-height: 0.96;
    font-weight: 900;
    text-shadow: 0 10px 32px rgba(0,0,0,0.34);
}

.service-hero p {
    max-width: 760px;
    color: rgba(255,255,255,0.93) !important;
    font-size: clamp(1.05rem, 1.7vw, 1.32rem);
    font-weight: 550;
}

.service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.service-about-section,
.college-section,
.govt-funding-section {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.9fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    padding: clamp(64px, 8vw, 112px) clamp(18px, 6vw, 86px);
}

.service-data-section,
.facilities-section,
.stories-feature-section,
.student-products-section,
.activities-section {
    padding: clamp(64px, 8vw, 100px) clamp(18px, 6vw, 86px);
}

.service-copy-card,
.service-image-stack,
.service-data-grid article,
.facilities-grid article,
.story-feature-grid article,
.products-grid article,
.activity-card,
.college-copy,
.college-image,
.funding-copy,
.funding-card {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(38,45,64,0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.service-copy-card,
.college-copy,
.funding-copy,
.funding-card {
    padding: clamp(24px, 4vw, 42px);
}

.service-check-list {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.service-check-list li {
    padding: 12px 14px;
    background: linear-gradient(135deg, #fff, var(--primary-soft));
    border-left: 5px solid var(--primary);
    border-radius: var(--radius);
    font-weight: 800;
}

.service-image-stack {
    position: relative;
    min-height: 500px;
    padding: 12px;
}

.service-image-stack img {
    position: absolute;
    display: block;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 18px 44px rgba(38,45,64,0.2);
}

.service-image-stack img:first-child {
    inset: 12px 12px auto 12px;
    width: calc(100% - 24px);
    height: 64%;
}

.service-image-stack img:last-child {
    right: 28px;
    bottom: 24px;
    width: 58%;
    height: 38%;
    border: 8px solid #fff;
}

.service-data-grid,
.facilities-grid,
.story-feature-grid,
.products-grid,
.activities-grid {
    display: grid;
    gap: 20px;
}

.service-data-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-data-grid article {
    min-height: 170px;
    padding: 28px;
    text-align: center;
    border-top: 6px solid var(--primary);
}

.service-data-grid strong {
    display: block;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    font-weight: 900;
}

.service-data-grid span {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-weight: 850;
}

.facilities-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.facilities-grid article,
.products-grid article,
.story-feature-grid article,
.activity-card {
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.facilities-grid article {
    padding: 28px;
}

.facilities-grid article:hover,
.products-grid article:hover,
.story-feature-grid article:hover,
.activity-card:hover,
.service-data-grid article:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 80px rgba(38,45,64,0.2);
}

.facilities-grid i {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--rose));
    border-radius: 50%;
    font-size: 1.45rem;
}

.story-feature-grid,
.products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.story-feature-grid img,
.products-grid img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.story-feature-grid article div,
.products-grid article {
    padding-bottom: 0;
}

.story-feature-grid article div,
.products-grid article h3,
.products-grid article p {
    padding-left: 22px;
    padding-right: 22px;
}

.story-feature-grid article div {
    padding-top: 22px;
    padding-bottom: 22px;
}

.products-grid article h3 {
    margin-top: 20px;
}

.products-grid article p {
    padding-bottom: 22px;
}

.story-feature-grid span,
.activity-body span {
    color: var(--primary);
    font-weight: 900;
    text-transform: uppercase;
}

.activities-grid {
    grid-template-columns: 1fr;
}

.activity-card {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.1fr);
}

.activity-video {
    min-height: 330px;
    background: var(--navy);
}

.activity-video iframe {
    width: 100%;
    height: 100%;
    min-height: 330px;
    display: block;
    border: 0;
}

.activity-body {
    padding: clamp(22px, 4vw, 34px);
}

.activity-images {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.activity-images img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
}

.college-image,
.sponsorship-image {
    overflow: hidden;
}

.college-image img {
    display: block;
    width: 100%;
    min-height: 420px;
    object-fit: cover;
}

.funding-card {
    border-top: 6px solid var(--primary);
}

.funding-card h3 {
    color: var(--primary);
}

.career-openings-grid,
.blog-list-layout,
.blog-card-grid,
.blog-detail-layout,
.blog-sidebar-list,
.article-meta,
.pagination-list {
    display: grid;
    gap: 20px;
}

.career-openings-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.career-card,
.blog-card,
.blog-sidebar-card,
.blog-article,
.blog-author-box,
.pagination-list a,
.pagination-list span {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(38,45,64,0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.career-card,
.blog-sidebar-card,
.blog-author-box {
    padding: 26px;
}

.career-card h3,
.blog-card h3,
.blog-sidebar-card h3 {
    margin-bottom: 8px;
}

.career-meta,
.blog-meta,
.article-meta {
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 900;
    text-transform: uppercase;
}

.career-card .about-cta,
.blog-card .about-cta,
.blog-sidebar-card .about-cta {
    margin-top: 12px;
}

.blog-list-layout,
.blog-detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    align-items: start;
}

.blog-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-card {
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 80px rgba(38,45,64,0.2);
}

.blog-card img,
.blog-article > img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-card-body {
    padding: 24px;
}

.blog-sidebar-list {
    gap: 14px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.blog-sidebar-list a {
    color: var(--navy);
    font-weight: 850;
}

.blog-sidebar {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 18px;
}

.blog-sidebar-card,
.blog-author-box {
    position: relative;
    overflow: hidden;
}

.blog-sidebar-card::before,
.blog-author-box::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--primary), var(--gold));
}

.blog-sidebar-card h3,
.blog-author-box h3 {
    color: var(--navy);
    font-size: 1.22rem;
    line-height: 1.2;
}

.blog-search-card form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 8px;
    margin-top: 16px;
}

.blog-search-card input {
    min-height: 48px;
}

.blog-search-card button {
    min-height: 48px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--rose));
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
}

.blog-category-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.blog-category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    color: var(--navy);
    background: rgba(255,250,242,0.92);
    border: 1px solid rgba(38,45,64,0.08);
    border-radius: var(--radius);
    font-weight: 850;
}

.blog-category-list strong {
    min-width: 34px;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--primary);
    border-radius: 999px;
    font-size: 0.78rem;
}

.blog-mini-posts {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.blog-mini-posts a {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    color: var(--navy);
    font-weight: 850;
}

.blog-mini-posts img {
    width: 82px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius);
}

.blog-mini-posts small {
    display: block;
    margin-bottom: 4px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.blog-cta-card {
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), #3a445f);
}

.blog-cta-card h3,
.blog-cta-card p {
    color: var(--white) !important;
}

.blog-cta-card .tagline {
    color: var(--navy);
    background: var(--gold);
}

.blog-cta-card .about-cta {
    background: var(--gold);
    color: var(--navy) !important;
}

.pagination-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 32px;
}

.pagination-list a,
.pagination-list span {
    min-width: 46px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    color: var(--navy);
    font-weight: 900;
}

.pagination-list .active {
    color: var(--white);
    background: linear-gradient(90deg, var(--primary), var(--rose));
}

.gallery-pagination nav,
.gallery-pagination .pagination {
    margin: 0;
}

.gallery-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.gallery-pagination .page-link {
    min-width: 44px;
    min-height: 44px;
    padding: 9px 12px !important;
    color: var(--navy) !important;
    background: var(--white) !important;
    border: 1px solid rgba(38,45,64,0.12) !important;
    border-radius: 6px !important;
    box-shadow: 0 8px 20px rgba(38,45,64,0.08);
}

.gallery-pagination .active > .page-link {
    color: var(--white) !important;
    background: linear-gradient(90deg, var(--primary), var(--rose)) !important;
    border-color: transparent !important;
}

.gallery-pagination .disabled > .page-link {
    opacity: 0.5;
}

.blog-article {
    overflow: hidden;
}

.blog-article-content {
    padding: clamp(24px, 4vw, 42px);
}

.blog-article-content h2 {
    margin-top: 28px;
}

.blog-article-content blockquote {
    margin: 28px 0;
    padding: 22px 26px;
    color: var(--navy);
    background: linear-gradient(135deg, #fff, var(--primary-soft));
    border-left: 6px solid var(--primary);
    border-radius: var(--radius);
    font-size: 1.12rem;
    font-weight: 800;
}

.article-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 24px;
}

.article-meta span {
    padding: 14px;
    background: rgba(255,255,255,0.72);
    border-radius: var(--radius);
}

@media (max-width: 1200px) {
    .programs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .partners-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .involved-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-stat-grid,
    .governance-grid,
    .documents-grid,
    .awards-grid,
    .about-work-grid,
    .donor-benefits-grid,
    .donation-option-grid,
    .regular-donor-grid,
    .stories-grid,
    .security-grid,
    .donation-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .donation-impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-data-grid,
    .facilities-grid,
    .story-feature-grid,
    .products-grid,
    .career-openings-grid,
    .blog-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
    header {
        grid-template-columns: 1fr auto auto;
        gap: 10px;
        min-height: 72px;
        padding: 8px 16px;
    }

    header nav {
        position: absolute;
        left: 12px;
        right: 12px;
        top: calc(100% + 6px);
        justify-self: stretch;
    }

    nav .main-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        max-height: calc(100vh - 96px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 12px;
        background: rgba(255,255,255,0.98);
        border-top: 4px solid var(--primary);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    #mainNav.active .main-menu {
        display: flex;
    }

    .main-menu > .menu-item > a {
        justify-content: space-between;
        width: 100%;
    }

    .main-menu .menu-item:hover > .sub-menu {
        opacity: 0;
        visibility: hidden;
        transform: none;
    }

    .main-menu .menu-item.submenu-open > .sub-menu {
        display: grid;
        opacity: 1;
        visibility: visible;
    }

    .sub-menu,
    .sub-menu .sub-menu {
        position: static;
        display: none;
        min-width: 0;
        width: 100%;
        margin-top: 4px;
        padding: 6px 0 6px 12px;
        border-top: 0;
        border-left: 3px solid var(--gold);
        border-radius: 0;
        box-shadow: none;
        background: rgba(255,250,242,0.88);
        transform: none;
    }

    .sub-menu a {
        min-height: 38px;
        padding: 9px 10px;
        font-size: 0.92rem;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        justify-self: end;
    }

    .header-donate {
        min-width: 112px;
        padding-inline: 18px;
    }

    .compliance-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .about-tapovan,
    .contact-section,
    .about-intro-section,
    .about-cta-section {
        grid-template-columns: 1fr;
        padding: 52px 18px;
    }

    .trust-indicators,
    .programs-grid,
    .gallery-grid,
    .partners-grid,
    .involved-grid,
    .footer-container,
    .compliance-bar {
        grid-template-columns: 1fr;
    }

    .hero-slide { min-height: 620px; }
    .hero-content { padding-left: 6px; padding-right: 6px; }
    .about-image-container { transform: none; }
    .about-image-container img { min-height: 280px; }
    .gallery-item { min-height: 230px; }
    .logo h5 { display: none; }
    .header-donate {
        min-width: auto;
        min-height: 40px;
        padding: 9px 14px;
        font-size: 0.82rem;
    }
    .about-page-hero { min-height: 560px; padding: 72px 18px; }
    .about-stat-grid,
    .governance-grid,
    .documents-grid,
    .awards-grid,
    .about-work-grid,
    .donation-hero,
    .sponsorship-section,
    .ways-online-section,
    .donor-benefits-grid,
    .donation-option-grid,
    .donation-impact-grid,
    .regular-donor-grid,
    .stories-grid,
    .security-grid,
    .donation-footer-grid { grid-template-columns: 1fr; }
    .about-video-card img { min-height: 280px; }
    .about-cta-section .about-cta { justify-self: start; }
    .donation-hero { min-height: auto; padding: 72px 18px; }
    .donation-frequency,
    .amount-grid,
    .donor-tabs { grid-template-columns: 1fr; }
    .sponsorship-image img { min-height: 280px; }
    .service-about-section,
    .college-section,
    .govt-funding-section,
    .activity-card,
    .service-data-grid,
    .facilities-grid,
    .story-feature-grid,
    .products-grid,
    .contact-info-grid,
    .contact-map-section,
    .career-openings-grid,
    .blog-list-layout,
    .blog-card-grid,
    .blog-detail-layout,
    .article-meta { grid-template-columns: 1fr; }
    .blog-sidebar { position: static; }
    .service-hero { min-height: 560px; padding: 72px 18px; }
    .service-image-stack { min-height: auto; }
    .service-image-stack img {
        position: static;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 12px;
    }
    .activity-images { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
    .compliance-bar{
        display: none;
    }
    /* header {
        grid-template-columns: minmax(0, 1fr) 42px;
    } */

    header nav {
        left: 8px;
        right: 8px;
    }

    .logo {
        min-width: 0;
    }

    .logo img {
        width: 46px;
        height: 46px;
    }

    /* .header-donate {
        grid-column: 1 / -1;
        justify-self: stretch;
        width: 100%;
        min-height: 38px;
        padding: 8px 12px;
    } */

    .hero-slide,
    .service-hero,
    .about-page-hero {
        /* min-height: auto; */
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .hero-content h1,
    .service-hero h1 {
        font-size: clamp(2rem, 12vw, 3.2rem);
        line-height: 1.05;
    }

    section h2,
    .contact-section h2,
    #impact h2 {
        font-size: clamp(1.65rem, 8vw, 2.25rem) !important;
    }

    .contact-info-section,
    .contact-map-section,
    .programs-section,
    .media-section,
    .partners-section,
    .news-section,
    .testimonials-section,
    .involved-section,
    #impact,
    .service-data-section,
    .facilities-section,
    .stories-feature-section,
    .student-products-section,
    .activities-section {
        padding: 48px 14px !important;
    }

    .about-content,
    .contact-text,
    .contact-form,
    .service-copy-card,
    .college-copy,
    .funding-copy,
    .funding-card,
    .blog-article-content {
        padding: 20px;
    }

    body {
        font-size: 16px;
        line-height: 1.65;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    header {
        min-height: 64px;
        padding: 7px 10px;
    }

    .header-donate {
        min-height: 36px;
        padding: 8px 11px;
        font-size: 0.76rem;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    .hero-slide {
        min-height: 500px;
    }

    .hero-content {
        padding: 36px 4px 64px;
    }

    .hero-content h1,
    .service-hero h1,
    .about-page-hero h1 {
        font-size: clamp(2rem, 10vw, 2.65rem) !important;
        line-height: 1.08;
    }

    .hero-content .lead,
    .service-hero p,
    .about-page-hero p {
        font-size: 1rem !important;
        line-height: 1.65;
    }

    section h2,
    .contact-section h2,
    #impact h2 {
        font-size: clamp(1.7rem, 7.5vw, 2.1rem) !important;
        line-height: 1.18;
    }

    section h3,
    .news-title,
    .blog-sidebar-card h3,
    .blog-author-box h3 {
        font-size: 1.18rem;
        line-height: 1.3;
    }

    section p,
    section li,
    .main-footer p,
    .main-footer li,
    .main-footer a {
        font-size: 0.98rem;
        line-height: 1.68;
    }

    .tagline,
    .news-tag {
        padding: 7px 10px;
        font-size: 0.78rem;
        line-height: 1.2;
    }

    .section-heading {
        margin-bottom: 26px;
    }

    .about-tapovan,
    .contact-section,
    .about-intro-section,
    .about-cta-section,
    .about-impact-section,
    .governance-section,
    .documents-section,
    .awards-section,
    .about-work-section {
        padding: 46px 14px;
    }

    .impact-card,
    .program-card,
    .involved-card,
    .news-body,
    .testimonial-user,
    .governance-grid article,
    .documents-grid article,
    .awards-grid article,
    .about-work-grid article {
        padding: 20px;
    }

    .program-card,
    .involved-card {
        min-height: 280px;
    }

    .btn,
    .about-cta,
    .involved-btn,
    .submit-btn,
    .newsletter-btn,
    .view-all a {
        min-height: 44px;
        padding: 11px 16px !important;
        font-size: 0.92rem !important;
    }

    .main-footer {
        padding-left: 14px;
        padding-right: 14px;
    }

    .footer-container {
        gap: 26px;
    }

    .footer-col h4 {
        font-size: 1.1rem;
    }

    /* Home page: compact, readable phone layout */
    #impact .text-center.mb-5 {
        margin-bottom: 1.75rem !important;
    }

    #impact .row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        --bs-gutter-x: 12px;
        --bs-gutter-y: 12px;
        gap: 12px;
        margin: 0;
    }

    #impact .row > [class*="col-"] {
        width: 100%;
        padding: 0;
    }

    #impact .impact-card {
        min-height: 188px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 16px 10px !important;
    }

    #impact .stat-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 10px !important;
        font-size: 1.2rem;
    }

    #impact .impact-card h3 {
        margin-bottom: 6px;
        font-size: 1.45rem;
    }

    #impact .impact-card p {
        font-size: 0.88rem;
        line-height: 1.4;
    }

    .programs-grid,
    .gallery-grid,
    .involved-grid {
        gap: 14px;
    }

    .trust-indicators {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .trust-item {
        min-width: 0;
        padding: 12px 10px;
    }

    .trust-item i {
        width: 38px;
        min-width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .trust-item span {
        font-size: 0.82rem;
        line-height: 1.35;
    }

    .program-card {
        min-height: 230px;
        padding: 22px 20px;
    }

    .program-card .card-top {
        gap: 12px;
        margin-bottom: 12px;
    }

    .program-card .card-top i,
    .involved-card > i {
        width: 52px;
        min-width: 52px;
        height: 52px;
        font-size: 1.2rem;
    }

    .program-card p,
    .involved-card p {
        font-size: 0.94rem;
        line-height: 1.58;
    }

    .gallery-item {
        min-height: 220px;
    }

    .gallery-overlay {
        padding: 18px;
    }

    .gallery-overlay h4 {
        font-size: 1.05rem;
        line-height: 1.35;
    }

    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .partner-card {
        min-width: 0;
        padding: 16px 10px;
    }

    .partner-card img {
        height: 92px;
        object-fit: contain;
    }

    .partner-card h5 {
        margin-top: 10px;
        font-size: 0.92rem;
        line-height: 1.3;
    }

    .partner-card p {
        font-size: 0.8rem;
        line-height: 1.42;
    }

    .news-section .row {
        --bs-gutter-x: 0;
    }

    .news-section .row > [class*="col-"] {
        margin-bottom: 14px !important;
    }

    .news-image-wrap {
        height: 210px;
    }

    .news-body {
        padding: 18px;
    }

    .news-date,
    .news-excerpt,
    .news-body > a {
        font-size: 0.9rem;
    }

    .testimonial-user {
        padding: 18px;
    }

    .testimonial-user h4 {
        font-size: 1.05rem;
    }

    .involved-card {
        min-height: 260px;
        padding: 22px 20px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        min-height: 48px;
        padding: 12px 14px;
        font-size: 16px;
    }

    .contact-form textarea {
        min-height: 120px;
    }
}
a {
    text-decoration: none !important;
    color: inherit;        /* Default blue color हटाने के लिए */
}
