/* ===== 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;
    --shadow-light: rgba(128, 0, 0, 0.1);
    --shadow-medium: rgba(128, 0, 0, 0.2);
}

/* ===== 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 .section-badge {
    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-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;
}

/* ===== HERO SECTION ===== */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 500px;
    max-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-slider-section {
        height: 50vh;
        min-height: 400px;
    }
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
    transform: scale(1.1);
    transition: transform 6s ease;
}

.hero-slide.active .slide-img {
    transform: scale(1);
}

.hero-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 */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.float-flower,
.float-diya,
.float-om {
    position: absolute;
    font-size: 2rem;
    opacity: 0.6;
    animation: floatAnimation 15s infinite ease-in-out;
}

.float-flower:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.float-flower:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: 3s;
}

.float-diya:nth-child(3) {
    top: 60%;
    left: 8%;
    animation-delay: 5s;
}

.float-flower:nth-child(4) {
    bottom: 20%;
    right: 5%;
    animation-delay: 2s;
}

.float-om:nth-child(5) {
    top: 40%;
    right: 15%;
    animation-delay: 7s;
    font-size: 3rem;
}

@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);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 20px;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 30px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge span {
    font-size: 1rem;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    line-height: 1.3;
}

.hero-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    opacity: 0.95;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-btn.primary {
    background: linear-gradient(135deg, var(--primary-saffron), var(--primary-orange));
    color: var(--white);
    box-shadow: 0 8px 30px rgba(255, 87, 34, 0.4);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 87, 34, 0.5);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-icon {
    font-size: 1.3rem;
}

/* Hero Stats Removed */

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
    margin: 0 auto;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(10px);
    }

    60% {
        transform: translateX(-50%) translateY(5px);
    }
}

/* ===== MARQUEE SECTION ===== */
.marquee-section {
    background: linear-gradient(135deg, var(--primary-maroon), var(--primary-orange));
    padding: 15px 0;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    gap: 50px;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== ABOUT SUMMARY SECTION ===== */
.about-summary {
    position: relative;
    padding: 100px 0;
    background: var(--white);
    overflow: hidden;
}

.decorative-mandala {
    position: absolute;
    width: 300px;
    height: 300px;
    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"/></svg>');
    background-size: contain;
    animation: rotateMandala 60s linear infinite;
}

.decorative-mandala.left {
    left: -100px;
    top: 50%;
    transform: translateY(-50%);
}

.decorative-mandala.right {
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    animation-direction: reverse;
}

@keyframes rotateMandala {
    from {
        transform: translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-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: 400px;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.experience-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-maroon), var(--primary-orange));
    color: var(--white);
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(128, 0, 0, 0.4);
}

.experience-badge strong {
    font-size: 2rem;
    font-family: 'Cinzel', serif;
}

.experience-badge span {
    font-size: 0.85rem;
    opacity: 0.9;
}

.about-text h3 {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: 1.8rem;
    color: var(--primary-maroon);
    margin-bottom: 20px;
}

.lead-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 500;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-saffron), var(--primary-orange));
    color: var(--white);
    border-radius: 50%;
    font-size: 0.75rem;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-maroon);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    border-color: var(--primary-saffron);
    gap: 15px;
}

.read-more-btn .arrow {
    transition: transform 0.3s ease;
}

.read-more-btn:hover .arrow {
    transform: translateX(5px);
}

/* ===== SERVICES SECTION ===== */
.services-overview {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--light-saffron), var(--cream));
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(128, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 153, 51, 0.1);
}

.service-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;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(128, 0, 0, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 153, 51, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover .card-glow {
    opacity: 1;
}

.icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--light-saffron), rgba(255, 153, 51, 0.2));
    border-radius: 50%;
    z-index: 0;
}

.service-card .icon {
    position: relative;
    font-size: 3rem;
    z-index: 1;
}

.service-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--primary-maroon);
    margin-bottom: 15px;
}

.service-card>p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    text-align: left;
}

.service-highlights li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.service-highlights li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--primary-saffron);
}

.service-link {
    display: inline-block;
    color: var(--primary-maroon);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--primary-saffron);
    letter-spacing: 1px;
}

/* ===== IMPACT SECTION ===== */
.impact-section {
    position: relative;
    padding: 100px 0;
    background:
        linear-gradient(135deg, rgba(128, 0, 0, 0.9), rgba(255, 87, 34, 0.85)),
        url('../images/impact-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.impact-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" fill="rgba(255,255,255,0.1)"/></svg>');
    pointer-events: none;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.impact-card {
    text-align: center;
    padding: 30px 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
}

.impact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.impact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.impact-number {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-saffron);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.impact-label {
    color: var(--white);
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ===== EVENTS SECTION ===== */
.events-section {
    padding: 100px 0;
    background: var(--white);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.event-card {
    display: flex;
    gap: 20px;
    background: var(--cream);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 153, 51, 0.1);
}

.event-card:hover {
    box-shadow: 0 15px 40px rgba(128, 0, 0, 0.1);
    transform: translateY(-5px);
}

.event-card.featured {
    background: linear-gradient(135deg, var(--light-saffron), var(--cream));
    border: 2px solid var(--primary-saffron);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-maroon), var(--primary-orange));
    border-radius: 12px;
    color: var(--white);
}

.event-date .day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-content {
    flex: 1;
}

.event-category {
    display: inline-block;
    background: rgba(128, 0, 0, 0.1);
    color: var(--primary-maroon);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.event-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--primary-maroon);
    margin-bottom: 10px;
}

.event-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.event-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-saffron), var(--primary-orange));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.event-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 87, 34, 0.4);
}

.events-cta {
    text-align: center;
}

.view-all-btn {
    display: inline-block;
    color: var(--primary-maroon);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 30px;
    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);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--light-saffron), var(--cream));
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    display: none;
    background: var(--white);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(128, 0, 0, 0.1);
    text-align: center;
    position: relative;
    animation: fadeIn 0.5s ease;
}

.testimonial-card.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quote-icon {
    font-family: 'Cinzel', serif;
    font-size: 5rem;
    color: var(--primary-saffron);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: -20px;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-saffron);
}

.author-info h4 {
    font-family: 'Cinzel', serif;
    color: var(--primary-maroon);
    margin-bottom: 3px;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(128, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-maroon);
    transform: scale(1.2);
}

/* ===== GALLERY SECTION - 12 IMAGES ===== */
.gallery-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-saffron), var(--primary-maroon), var(--gold), var(--primary-maroon), var(--primary-saffron));
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 220px);
    gap: 15px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(128, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(128, 0, 0, 0.2);
    z-index: 10;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Gallery CTA Button */
.gallery-cta {
    text-align: center;
    margin-top: 40px;
}

.gallery-cta .view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary-saffron), var(--primary-orange));
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.4);
    transition: all 0.3s ease;
    border: none;
}

.gallery-cta .view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 87, 34, 0.5);
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-maroon));
}

/* ===== LIGHTBOX STYLES ===== */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-lightbox.active {
    display: flex;
}

.gallery-lightbox img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-saffron);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.lightbox-close:hover {
    background: var(--primary-orange);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: var(--primary-saffron);
    border-color: var(--primary-saffron);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 25px;
    border-radius: 25px;
}

/* ===== 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: 40px;
}

.cta-buttons .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-buttons .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-badges .badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
}

.trust-badges .badge span {
    color: var(--primary-saffron);
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    padding: 60px 0;
    background: var(--cream);
    border-top: 1px solid rgba(255, 153, 51, 0.2);
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.newsletter-text h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--primary-maroon);
    margin-bottom: 5px;
}

.newsletter-text p {
    color: var(--text-light);
}

.newsletter-form {
    display: flex;
    gap: 15px;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border: 2px solid rgba(255, 153, 51, 0.3);
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    border-color: var(--primary-saffron);
}

.newsletter-form button {
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-saffron), var(--primary-orange));
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 87, 34, 0.4);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 200px);
    }
}

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .events-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 180px);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }

    .stat-divider {
        width: 50px;
        height: 1px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-card {
        padding: 30px;
    }

    .gallery-section {
        padding: 70px 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 160px);
        gap: 10px;
    }

    .gallery-item {
        border-radius: 10px;
    }

    .gallery-cta .view-all-btn {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        flex-direction: column;
        text-align: center;
    }

    .event-date {
        align-self: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 140px);
        gap: 8px;
    }

    .gallery-item {
        border-radius: 8px;
    }
}