/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fef9f3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    background: linear-gradient(135deg, #d73527, #f4a261);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.logo h2 {
    font-family: 'Noto Sans Assamese', sans-serif;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.logo span {
    color: #fff;
    font-size: 0.9rem;
    opacity: 0.9;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 2.2rem;
    width: auto;
    margin-right: 1rem;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fef9f3, #f8e8d8);
    padding: 2rem 0;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
}

.hero-content h1 {
    font-family: 'Noto Sans Assamese', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: #d73527;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    line-height: 1.2;
}

.hero-content h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.hero-content p {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    font-size: 0.95rem;
    width: 100%;
    max-width: 180px;
}

.btn-primary {
    background: linear-gradient(135deg, #d73527, #e74c3c);
    color: white;
    box-shadow: 0 4px 15px rgba(215, 53, 39, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(215, 53, 39, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #d73527;
    border: 2px solid #d73527;
}

.btn-secondary:hover {
    background: #d73527;
    color: white;
    transform: translateY(-3px);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-height: 400px;
    object-fit: cover;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .hero-image img {
        max-height: 350px;
    }
}

@media (max-width: 480px) {
}

/* Image Slider (per-tile) */
.image-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image-slider .slider-image {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-slider .slider-image.active {
    display: block;
}

.slider-nav {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.slider-nav button {
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.slider-nav button:hover { transform: translateY(-2px); }

/* Modal (cloned slides) */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    margin: 40px auto;
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close {
    position: absolute;
    top: 12px;
    right: 18px;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer;
}

.modal-slider .slide-container {
    width: 100%;
    text-align: center;
}

.modal-slider .slide-container img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 6px;
}

.prev, .next {
    color: #fff;
    font-size: 2rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 12px;
    cursor: pointer;
    user-select: none;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover { color: #ffd; transform: translateY(-50%) scale(1.03); }

@media (max-width: 768px) {
    .prev { left: 6px; font-size: 1.4rem; }
    .next { right: 6px; font-size: 1.4rem; }
    .close { top: 8px; right: 10px; font-size: 1.6rem; }
}

/* .hero-content h1 {
    font-size: 2rem;
} */
    
    /* .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
} */

/* Invitation Section */
.invitation {
    padding: 4rem 0;
    background: white;
}

.invitation-content {
    text-align: center;
}

.invitation-content h3 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    position: relative;
}

.invitation-content h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #d73527, #f4a261);
    border-radius: 2px;
}

.invitation-image {
    max-width: 100%;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 0px;
    overflow: hidden;
}

.invitation-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Welcome Section */
.welcome {
    padding: 5rem 0;
    background: white;
}

/* Membership Page Styles */
.membership-content {
    padding: 5rem 0;
    background: white;
}

.membership-intro h2,
.membership-types h2,
.registration-section h2,
.contact-membership h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.membership-intro p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.benefit-card h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.7;
}

.membership-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.membership-card {
    background: linear-gradient(135deg, #fef9f3, #f8e8d8);
    padding: 2rem;
    border-radius: 15px;
    text-align: left;
    border: 2px solid #f4a261;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.membership-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(244, 162, 97, 0.25);
}

.membership-card.featured {
    border-color: #d73527;
    box-shadow: 0 10px 35px rgba(215, 53, 39, 0.2);
}

.membership-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.membership-price {
    color: #d73527;
    font-weight: 700;
    margin-bottom: 1rem;
}

.membership-features {
    list-style: none;
    padding-left: 0;
}

.membership-features li {
    margin-bottom: 0.5rem;
    color: #555;
}

.registration-section p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.registration-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 2.5rem;
}

.registration-info .info-box {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.google-form-container {
    max-width: 900px;
    margin: 0 auto;
}

.responsive-iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.responsive-iframe-container iframe {
    width: 100%;
    height: 1000px;
    border: none;
}

@media (max-width: 768px) {
    .membership-intro h2,
    .membership-types h2,
    .registration-section h2,
    .contact-membership h2 {
        font-size: 2rem;
    }

    .membership-features li {
        font-size: 0.95rem;
    }
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.welcome-text h3 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
}

.welcome-text h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #d73527, #f4a261);
    border-radius: 2px;
}

.welcome-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.welcome-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Highlights Section */
.highlights {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fef9f3, #f8e8d8);
}

.highlights h3 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight-card h4 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.highlight-card p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #d73527, #e74c3c);
    color: white;
    text-align: center;
}

.cta h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta .btn-primary {
    background: white;
    color: #d73527;
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

.cta .btn-primary:hover {
    background: #f8f8f8;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Noto Sans Assamese', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #f4a261;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #f4a261;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    color: #bbb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 0.5rem 0; /* Reduce header padding on mobile */
    }
    
    .nav-container {
        padding: 0 15px; /* Reduce container padding on mobile */
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px; /* Adjust top position for mobile header */
        flex-direction: column;
        background-color: #d73527;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .welcome-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .welcome-image {
        order: -1;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .invitation-content h3 {
        font-size: 2rem;
    }
    
    .invitation-image {
        max-width: 100%;
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .welcome-text h3 {
        font-size: 2rem;
    }
    
    .highlights h3 {
        font-size: 2rem;
    }
    
    .cta h3 {
        font-size: 2rem;
    }
}



/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, #d73527, #f4a261);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-top: 80px; /* Fixed margin to account for fixed header */
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Page Styles */
.about-content {
    padding: 5rem 0;
}

.about-section {
    margin-bottom: 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #d73527;
    margin: 2rem 0 1rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.values-list {
    list-style: none;
    padding-left: 0;
}

.values-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
    color: #555;
}

.values-list li:last-child {
    border-bottom: none;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.image-caption {
    margin-top: 1rem;
    text-align: center;
}

.image-caption p {
    font-style: italic;
    color: #888;
    font-size: 0.9rem;
}

/* Achievements Section */
.achievements {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fef9f3, #f8e8d8);
}

.achievements h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.achievement-number {
    font-size: 3rem;
    font-weight: 700;
    color: #d73527;
    margin-bottom: 1rem;
}

.achievement-card h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.achievement-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Legacy Section */
.legacy {
    padding: 5rem 0;
    background: white;
}

.legacy-content h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.legacy-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.legacy-image {
    text-align: center;
    margin-top: 3rem;
}

.legacy-image img {
    max-width: 600px;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Event Page Styles */
.event-info {
    padding: 5rem 0;
    background: white;
}

.event-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.event-card {
    background: linear-gradient(135deg, #fef9f3, #f8e8d8);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #f4a261;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(244, 162, 97, 0.3);
}

.event-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.event-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.event-card p {
    color: #666;
    margin-bottom: 0.5rem;
}

/* Schedule Section */
.schedule {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fef9f3, #f8e8d8);
}

.schedule h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.schedule-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    left: 150px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #d73527;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-time {
    width: 120px;
    font-weight: 600;
    color: #d73527;
    font-size: 1.1rem;
    text-align: right;
    padding-right: 2rem;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-left: 2rem;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid white;
}

.timeline-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* Registration Info Section */
.registration-info {
    padding: 5rem 0;
    background: white;
}

.registration-content h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-item {
    background: linear-gradient(135deg, #fef9f3, #f8e8d8);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.info-item h4 {
    color: #d73527;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-item p {
    color: #666;
    line-height: 1.6;
}

.registration-cta {
    text-align: center;
    margin-top: 3rem;
}

.registration-cta p {
    margin-top: 1rem;
    font-style: italic;
    color: #888;
}

/* What to Bring Section */
.what-to-bring {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fef9f3, #f8e8d8);
}

.what-to-bring h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.bring-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.bring-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.bring-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.bring-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.bring-item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.bring-item p {
    color: #666;
    line-height: 1.6;
}

/* Gallery Page Styles */
.gallery-content {
    padding: 5rem 0;
}

.gallery-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-intro h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.gallery-intro p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.gallery-categories {
    margin-bottom: 3rem;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.8rem 2rem;
    border: 2px solid #d73527;
    background: transparent;
    color: #d73527;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background: #d73527;
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.placeholder {
    background: linear-gradient(135deg, #fef9f3, #f8e8d8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
    padding: 2rem;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.placeholder h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.placeholder p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.gallery-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #d73527, #e74c3c);
    color: white;
    border-radius: 15px;
}

.gallery-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.gallery-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.gallery-overlay .photo-count {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.gallery-item {
    cursor: pointer;
}

.gallery-cta .btn-primary {
    background: white;
    color: #d73527;
}

/* Contact Page Styles */
.contact-content {
    padding: 2rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.registration-form h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d73527;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal !important;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.payment-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fef9f3, #f8e8d8);
    border-radius: 10px;
}

.payment-info h3 {
    color: #d73527;
    margin-bottom: 1rem;
}

.payment-info ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.payment-info li {
    margin-bottom: 0.5rem;
    color: #666;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: 2rem;
    text-align: center;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h4 {
    color: #d73527;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.contact-card ul {
    list-style: none;
    padding: 0;
}

.contact-card li {
    color: #666;
    margin-bottom: 0.3rem;
}

.social-links {
    background: linear-gradient(135deg, #d77e76, #dd7e74);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.social-links h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    padding: 0.8rem 1.5rem;
    background: rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.urgent-contact {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.urgent-contact h4 {
    color: #d73527;
    margin-bottom: 1rem;
}

.urgent-contact p {
    color: #666;
    margin-bottom: 0.5rem;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: transparent; /* no white bubble */
    border: none;
    color: #fff; /* white icons/text on dark backdrop */
    font-size: 2.2rem;
    cursor: pointer;
    padding: 0.25rem 0.6rem;
    border-radius: 0;
    min-width: auto;
    height: auto;
    display: inline-block;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease, transform 0.15s ease;
    z-index: 10001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: #ffd; /* subtle hover highlight */
    transform: translateY(-2px);
}

/* Arrange all controls at top-right (close on the far right) */
.lightbox-close { top: 16px; right: 20px; }
.lightbox-next  { top: 16px; right: 64px; }
.lightbox-prev  { top: 16px; right: 108px; }

.lightbox-caption {
    margin-top: 1rem;
    text-align: center;
}

.lightbox-caption span {
    color: white;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .page-hero {
        margin-top: 70px; /* Adjust margin for mobile header height */
        padding: 3rem 0;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .event-details-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-time {
        width: auto;
        text-align: left;
        padding-right: 0;
        padding-bottom: 0.5rem;
    }
    
    .timeline-content {
        margin-left: 0;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .bring-grid {
        grid-template-columns: 1fr;
    }
    
    .category-tabs {
        justify-content: center;
    }
    
    .tab-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .social-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.3rem 0; /* Further reduce header padding on very small screens */
    }
    
    .nav-container {
        padding: 0 10px; /* Further reduce container padding on very small screens */
    }
    
    .logo h2 {
        font-size: 1.2rem; /* Reduce logo text size on very small screens */
    }
    
    .logo span {
        font-size: 0.8rem; /* Reduce logo subtitle size on very small screens */
    }
    
    .logo-img {
        height: 1.8rem; /* Reduce logo image size on very small screens */
        margin-right: 0.8rem;
    }
    
    .page-hero {
        margin-top: 60px; /* Further adjust margin for very small screens */
        padding: 2rem 0;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .achievements h2 {
        font-size: 2rem;
    }
    
    .schedule h2 {
        font-size: 2rem;
    }
    
    .gallery-intro h2 {
        font-size: 2rem;
    }
    
    .registration-form h2 {
        font-size: 2rem;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }
}

/* FROM GEMINI SUGGESTION */

/* Styling for the container of the social buttons */
.social-buttons {
    display: flex; /* Aligns buttons in a row */
    gap: 15px; /* Adds space between the buttons */
    margin-top: 10px; /* Adds some space below the "Follow Us" heading */
}

/* General styling for each social button */
.social-btn {
    display: inline-flex; /* Use flexbox to center the icon */
    justify-content: center;
    align-items: center;
    width: 40px;  /* Sets a fixed width */
    height: 45px; /* Sets a fixed height */
    border-radius: 50%; /* Makes the button circular */
    text-decoration: none; /* Removes the underline from the link */
    font-size: 20px; /* Controls the icon size */
    color: #ffffff; /* Sets the icon color to white */
    transition: transform 0.3s ease, background-color 0.3s ease; /* Smooth transition for hover effects */
}

/* Specific background colors for each button */
.social-btn.facebook {
    background-color: #1877F2; /* Official Facebook Blue */
}

.social-btn.whatsapp {
    background-color: #25D366; /* Official WhatsApp Green */
}

.social-btn.instagram {
    background-color: #E1306C; /* Official Instagram Pink */
}

/* Hover effect: slightly enlarges the button */
.social-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
}
/* 
.responsive-iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
    margin: 0 auto;
    max-width: 800px;
}

.responsive-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .responsive-iframe-container {
        padding-top: 100%;
    }
} 
*/

/* Lightbox Responsive Styles */
@media (max-width: 768px) {
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        font-size: 1.4rem;
        padding: 0.25rem 0.5rem;
    }

    /* keep them aligned at top-right on smaller screens */
    .lightbox-close { top: 10px; right: 12px; }
    .lightbox-next  { top: 10px; right: 44px; }
    .lightbox-prev  { top: 10px; right: 76px; }
    
    .lightbox-caption span {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }
}

@media (max-width: 480px) {
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        font-size: 1.1rem;
        padding: 0.2rem 0.4rem;
    }

    .lightbox-close { top: 8px; right: 10px; }
    .lightbox-next  { top: 8px; right: 40px; }
    .lightbox-prev  { top: 8px; right: 70px; }

    .lightbox-content img {
        max-height: 70vh;
    }
}
