/* ===== ROOT VARIABLES ===== */
:root {
    --primary-maroon: #800000;
    --primary-saffron: #FF9933;
    --primary-orange: #FF5722;
    --gold: #D4AF37;
    --cream: #FFF9F0;
    --light-saffron: #FFF5E6;
    --text-dark: #333333;
    --text-light: #5a3d3d;
    --white: #FFFFFF;
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--cream);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light h2,
.section-header.light p {
    color: var(--white);
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--light-saffron), var(--cream));
    color: var(--primary-maroon);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 153, 51, 0.3);
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.section-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    color: var(--primary-maroon);
    margin-bottom: 20px;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.section-divider span:first-child,
.section-divider span:last-child {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-saffron), transparent);
}

.section-divider.light span:first-child,
.section-divider.light span:last-child {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.divider-icon {
    font-size: 1.5rem;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ===== PAGE HEADER ===== */
.page-header {
    position: relative;
    min-height: 25vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(128, 0, 0, 0.9), rgba(255, 87, 34, 0.85)),
        url('../images/about-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0 50px;
    overflow: hidden;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 153, 51, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-item {
    position: absolute;
    font-size: 2rem;
    opacity: 0.4;
    animation: floatAnimation 15s infinite ease-in-out;
}

.float-item:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.float-item:nth-child(2) {
    top: 25%;
    right: 15%;
    animation-delay: 3s;
    font-size: 3rem;
}

.float-item:nth-child(3) {
    bottom: 30%;
    left: 15%;
    animation-delay: 5s;
}

.float-item:nth-child(4) {
    bottom: 20%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes floatAnimation {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(5deg);
    }

    50% {
        transform: translateY(0) rotate(0deg);
    }

    75% {
        transform: translateY(20px) rotate(-5deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-saffron);
}

.breadcrumb span:not(:last-child) {
    opacity: 0.6;
}

.page-header h1 {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: 4rem;
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease;
}

.page-header .subtitle {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    opacity: 0.95;
    letter-spacing: 3px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.page-header .tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.header-decorative {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.header-decorative span:first-child,
.header-decorative span:last-child {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.header-decorative .icon {
    font-size: 1.5rem;
}

/* ===== INTRO SECTION ===== */
.intro-section {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-maroon), var(--primary-orange));
    color: var(--white);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.intro-content h2 {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: 2.5rem;
    color: var(--primary-maroon);
    margin-bottom: 25px;
}

.intro-content .lead-text {
    font-size: 1.25rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.intro-verse {
    background: linear-gradient(135deg, var(--light-saffron), var(--cream));
    padding: 30px 40px;
    border-radius: 20px;
    border-left: 5px solid var(--primary-saffron);
}

.intro-verse .sanskrit {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: 1.8rem;
    color: var(--primary-maroon);
    margin-bottom: 10px;
}

.intro-verse .translation {
    font-style: italic;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ===== STORY SECTION ===== */
.story-section {
    position: relative;
    padding: 100px 0;
    background: var(--cream);
    overflow: hidden;
}

.decorative-mandala {
    position: absolute;
    width: 400px;
    height: 400px;
    opacity: 0.05;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="45" fill="none" stroke="%23800000" stroke-width="0.5"/><circle cx="50" cy="50" r="35" fill="none" stroke="%23800000" stroke-width="0.5"/><circle cx="50" cy="50" r="25" fill="none" stroke="%23800000" stroke-width="0.5"/><circle cx="50" cy="50" r="15" fill="none" stroke="%23800000" stroke-width="0.5"/></svg>');
    background-size: contain;
    animation: rotateMandala 60s linear infinite;
}

.decorative-mandala.left {
    left: -150px;
    top: 20%;
}

.decorative-mandala.right {
    right: -150px;
    bottom: 20%;
    animation-direction: reverse;
}

@keyframes rotateMandala {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.story-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 25px 60px rgba(128, 0, 0, 0.2),
        0 0 0 5px var(--light-saffron);
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--primary-saffron), var(--primary-maroon), var(--gold));
    border-radius: 25px;
    z-index: -1;
    opacity: 0.7;
}

.image-frame img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-maroon), var(--primary-orange));
    color: var(--white);
    padding: 20px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(128, 0, 0, 0.4);
}

.image-badge .year {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
}

.image-badge .text {
    font-size: 0.85rem;
    opacity: 0.9;
}

.story-content {
    position: relative;
}

.story-text p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.story-text .highlight {
    font-size: 1.2rem;
    color: var(--primary-maroon);
    font-weight: 500;
    border-left: 4px solid var(--primary-saffron);
    padding-left: 20px;
    margin-bottom: 25px;
}

.story-quote {
    margin-top: 30px;
    padding: 25px 30px;
    background: linear-gradient(135deg, var(--light-saffron), var(--cream));
    border-radius: 15px;
    position: relative;
}

.story-quote blockquote {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: 1.3rem;
    color: var(--primary-maroon);
    font-style: italic;
    margin: 0;
}

.story-quote cite {
    display: block;
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: normal;
}

/* ===== MISSION & VISION SECTION ===== */
.mission-vision-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white), var(--light-saffron));
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mv-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(128, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(128, 0, 0, 0.15);
}

.mv-card.mission {
    border-top: 5px solid var(--primary-saffron);
}

.mv-card.vision {
    border-top: 5px solid var(--primary-maroon);
}

.mv-icon {
    background: linear-gradient(135deg, var(--light-saffron), var(--cream));
    padding: 40px;
    text-align: center;
}

.mv-icon span {
    font-size: 4rem;
}

.mv-content {
    padding: 35px;
}

.mv-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--primary-maroon);
    margin-bottom: 5px;
}

.mv-content h4 {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: 1.2rem;
    color: var(--primary-saffron);
    margin-bottom: 20px;
    font-weight: normal;
}

.mv-content>p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.mv-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.mv-content ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 153, 51, 0.15);
    color: var(--text-dark);
}

.mv-content ul li:last-child {
    border-bottom: none;
}

.mv-content ul li span {
    font-size: 1.2rem;
}

.mission-motto,
.vision-motto {
    font-style: italic;
    color: var(--primary-maroon);
    font-weight: 500;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--light-saffron), var(--cream));
    border-radius: 10px;
    text-align: center;
}

/* ===== VALUES SECTION ===== */
.values-section {
    padding: 100px 0;
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: linear-gradient(135deg, var(--cream), var(--white));
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 153, 51, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-saffron), var(--primary-maroon));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(128, 0, 0, 0.12);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.value-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--primary-maroon);
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===== TIMELINE SECTION ===== */
.timeline-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--light-saffron), var(--cream));
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-saffron), var(--primary-maroon), var(--primary-saffron));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 4px solid var(--primary-saffron);
    border-radius: 50%;
    z-index: 2;
}

.timeline-item.left::before {
    right: -12px;
}

.timeline-item.right::before {
    left: -12px;
}

.timeline-content {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(128, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(128, 0, 0, 0.15);
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-saffron), var(--primary-orange));
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.timeline-content h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary-maroon);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===== TEAM SECTION ===== */
.team-section {
    padding: 100px 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.team-card {
    background: var(--cream);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(128, 0, 0, 0.15);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(to top, rgba(128, 0, 0, 0.9), transparent);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.team-card:hover .team-social {
    transform: translateY(0);
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--primary-saffron);
    transform: scale(1.1);
}

.team-info {
    padding: 25px 20px;
}

.team-info h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--primary-maroon);
    margin-bottom: 5px;
}

.team-info .designation {
    display: block;
    color: var(--primary-saffron);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.team-info .hindi-name {
    font-family: 'Tiro Devanagari Hindi', serif;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.team-info p:last-child {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.volunteers-note {
    display: flex;
    align-items: center;
    gap: 30px;
    background: linear-gradient(135deg, var(--light-saffron), var(--cream));
    padding: 40px;
    border-radius: 20px;
    border: 2px dashed var(--primary-saffron);
}

.note-icon {
    font-size: 4rem;
}

.note-content h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--primary-maroon);
    margin-bottom: 10px;
}

.note-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.join-btn {
    display: inline-block;
    color: var(--primary-maroon);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 25px;
    border: 2px solid var(--primary-maroon);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.join-btn:hover {
    background: var(--primary-maroon);
    color: var(--white);
}

/* ===== ACHIEVEMENTS SECTION ===== */
.achievements-section {
    position: relative;
    padding: 100px 0;
    background:
        linear-gradient(135deg, rgba(128, 0, 0, 0.92), rgba(255, 87, 34, 0.88)),
        url('../images/achievements-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.achievements-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    pointer-events: none;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 25px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
}

.achievement-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.achievement-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.achievement-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== IMPACT SECTION ===== */
.impact-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--cream), var(--white));
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
}

.impact-card {
    background: var(--white);
    padding: 35px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(128, 0, 0, 0.08);
    border: 1px solid rgba(255, 153, 51, 0.15);
    transition: all 0.4s ease;
}

.impact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(128, 0, 0, 0.12);
    border-color: var(--primary-saffron);
}

.impact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.impact-number {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-maroon);
    margin-bottom: 8px;
}

.impact-label {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.impact-sublabel {
    font-family: 'Tiro Devanagari Hindi', serif;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ===== LEGAL SECTION ===== */
.legal-section {
    padding: 100px 0;
    background: var(--light-saffron);
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.legal-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(128, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.legal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(128, 0, 0, 0.12);
}

.legal-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.legal-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary-maroon);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.legal-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.legal-status {
    display: inline-block;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.transparency-note {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    border-left: 5px solid var(--primary-saffron);
}

.transparency-note p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.report-btn {
    display: inline-block;
    color: var(--primary-maroon);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.report-btn:hover {
    color: var(--primary-saffron);
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: 100px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(128, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
}

.gallery-cta {
    text-align: center;
}

.view-all-btn {
    display: inline-block;
    color: var(--primary-maroon);
    text-decoration: none;
    font-weight: 600;
    padding: 14px 35px;
    border: 2px solid var(--primary-maroon);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: var(--primary-maroon);
    color: var(--white);
}

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-maroon), var(--primary-orange));
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><path d="M40 0L80 40L40 80L0 40Z" fill="none" stroke="white" stroke-width="1"/></svg>');
    pointer-events: none;
}

.cta-content {
    position: relative;
    text-align: center;
    color: var(--white);
}

.cta-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.cta-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content>p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s ease;
}

.cta-btn.donate {
    background: var(--white);
    color: var(--primary-maroon);
}

.cta-btn.volunteer {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-btn.contact {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.trust-assurance {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-assurance span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .impact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .page-header h1 {
        font-size: 3rem;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .legal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 60px;
        padding-right: 20px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item::before {
        left: 8px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .page-header .subtitle {
        font-size: 1.3rem;
    }

    .intro-content h2 {
        font-size: 1.8rem;
    }

    .intro-verse {
        padding: 20px;
    }

    .intro-verse .sanskrit {
        font-size: 1.4rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .legal-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-item.large {
        grid-column: span 1;
    }

    .volunteers-note {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .trust-assurance {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 100px 0 60px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .mv-content {
        padding: 25px;
    }

    .timeline-content {
        padding: 20px;
    }
}