/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {
    --primary-yellow: #fcd24f;
    --yellow-orange: #ffbd59;
    --brand-blue: #1f628e;
    --white: #ffffff;
    --black: #000000;
    --light-bg: #E0D9D5;
    --text-dark: #000000;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 6px 12px rgba(0, 0, 0, 0.15);
    /* Legacy compatibility - all map to brand colors */
    --accent-blue: #1f628e;
    --accent-gold: #1f628e;
    --nav-dark: #1f628e;
    --light-yellow: #fcd24f;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    background-color: var(--nav-dark);
    color: var(--white);
    padding: 0.4rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    height: auto;
}

.navbar.sticky {
    position: fixed;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* ===== NAV LOGO (Mobile First, Non-Breaking) ===== */
.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;                 /* smaller gap for mobile */
    font-weight: 600;
    font-size: 0.95rem;       /* mobile-friendly text */
    letter-spacing: 0.4px;
    text-align: center;
    flex-grow: 1;
}

.logo-circle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color:transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;      /* no zoom / no crop */
    border-radius: 50%;
}

/* ===== Tablet & Laptop Enhancement ===== */
@media (min-width: 768px) {
    .nav-logo {
        gap: 10px;
        font-size: 0.85rem;
    }

    .logo-circle {
        width: 70px;
        height: 70px;
    }
}

@media (min-width: 1024px) {
    .logo-circle {
        width: 85px;
        height: 85px;
    }
}


.logo-text {
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.2;
    display: inline-block;
}

@media (min-width: 768px) {
    .logo-text {
        font-size: 0.95rem;
        letter-spacing: 0.4px;
    }
}

@media (min-width: 1024px) {
    .logo-text {
        font-size: 1.1rem;
        letter-spacing: 0.5px;
    }
}

.nav-menu {
    position: fixed;
    top: 65px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 65px);
    background-color: var(--nav-dark);
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 0;
    padding: 2rem;
    transition: left 0.3s ease;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .nav-menu {
        top: 80px;
        height: calc(100vh - 80px);
    }
}

@media (min-width: 1024px) {
    .nav-menu {
        top: 95px;
        height: calc(100vh - 95px);
    }
}

.nav-menu.active {
    left: 0;
}

.nav-link {
    color: var(--white);
    padding: 1.5rem 1.2rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--primary-yellow);
    color: var(--nav-dark);
    padding-left: 1.2rem;
}

.nav-item-dropdown {
    position: relative;
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    border-radius: 4px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
    margin-top: 0.5rem;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.2rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--primary-yellow);
    color: var(--nav-dark);
    padding-left: 1.5rem;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 20px;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: 0.3s;
    border-radius: 2px;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ==================== HERO SECTION ==================== */
.hero {
    margin-top: 0;
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.fade {
    opacity: 0;
}

.carousel-slide.fade.show {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    transform: translateY(-50%);
}

.prev, .next {
    cursor: pointer;
    color: var(--white);
    font-size: 30px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    border-radius: 4px;
    user-select: none;
    transition: background-color 0.3s ease;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--accent-gold);
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 100;
    width: 100%;
    padding: 0 20px;
}

.hero-overlay h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    animation: fadeInDown 0.8s ease;
}

.hero-overlay p {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: 1.2rem !important;
    margin-bottom: 2rem !important;
}

.cta-btn {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    margin-top: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
}

.cta-btn:hover {
    background-color: #c69563;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== SECTIONS ==================== */
section {
    padding: 5rem 0;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-yellow), var(--light-yellow));
    color: var(--white);
    text-align: center;
    padding: 8rem 2rem 4rem;
    margin-top: 0;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    text-shadow: 
        0 0 10px rgba(0, 0, 0, 0.8),
        3px 3px 6px rgba(0, 0, 0, 0.7),
        4px 4px 8px rgba(0, 0, 0, 0.6),
        5px 5px 15px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    text-shadow: 
        0 0 8px rgba(0, 0, 0, 0.8),
        2px 2px 5px rgba(0, 0, 0, 0.7),
        3px 3px 8px rgba(0, 0, 0, 0.6);
}

/* ==================== FREE SESSIONS SECTION ==================== */
.free-sessions-highlight {
    background-color: var(--light-bg);
}

.free-sessions-highlight h2 {
    color: var(--primary-yellow);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

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

/* ==================== WELCOME MODAL STYLES ==================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.modal-overlay[aria-hidden="false"] { display: flex; }
.modal-content {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    max-width: 900px;
    width: 90%;
    box-shadow: var(--shadow-hover);
    position: relative;
}
.modal-content img { display: block; width: 100%; height: auto; border-radius: 6px; }
.modal-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #333;
}

/* Home cards grid */
.cards-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; padding: 1.25rem; border-radius: 8px; box-shadow: var(--shadow); }

/* Hamburger menu is now visible on all devices */

.session-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

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

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

.session-card h3 {
    color: var(--primary-yellow);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.session-card p {
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.donation {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 1.1rem;
}

.cta-section {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.05));
    border-radius: 10px;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* ==================== ABOUT INTRO ==================== */
.about-intro {
    padding: 5rem 0;
}

.about-intro h2 {
    color: var(--primary-yellow);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

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

.intro-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.intro-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
    animation: slideInLeft 0.6s ease;
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    padding: 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
    line-height: 1.8;
}

.about-content h2 {
    color: var(--primary-yellow);
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content > p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem 0;
}

.feature {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    background-color: rgba(212, 165, 116, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature h3 {
    color: var(--primary-yellow);
    margin-bottom: 0.5rem;
}

.benefits-list, .facilities-list {
    list-style: none;
    max-width: 800px;
    margin: 1.5rem auto;
}

.benefits-list li, .facilities-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
}

.benefits-list li::before, .facilities-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 1.3rem;
}

.location-section {
    background-color: var(--light-bg);
    padding: 4rem 2rem;
    margin-top: 3rem;
}

.location-section h2 {
    color: var(--primary-yellow);
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    margin: 2rem auto;
    max-width: 900px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

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

.location-info {
    text-align: center;
    max-width: 600px;
    margin: 2rem auto;
}

.location-info p {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.location-info a {
    color: var(--primary-yellow);
    font-weight: 600;
}

.location-info a:hover {
    color: var(--accent-gold);
}

/* ==================== CARDS & GRIDS ==================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

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

.card h3 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.program-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    background-color: var(--white);
}

.program-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.program-card:hover .program-card-image {
    transform: scale(1.05);
}

.date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-gold);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.program-card-content {
    padding: 2rem;
}

.program-card h3 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-yellow);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--light-yellow);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--light-yellow);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-yellow);
    transform: translateY(-3px);
}

/* ==================== GALLERY ==================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    background-color: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h3 {
    color: var(--primary-yellow);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.contact-info a {
    color: var(--primary-yellow);
    font-weight: 600;
}

.contact-form {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--primary-yellow);
    font-weight: 600;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    background-color: var(--primary-yellow);
    color: var(--white);
    padding: 1.2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--light-yellow);
    transform: translateY(-2px);
}

/* ==================== FLOATING BUTTON ==================== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* ==================== SOCIAL SIDEBAR ==================== */
.social-sidebar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 100;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-yellow);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--accent-gold);
    transform: scale(1.1);
}

/* ==================== SUCCESS POPUP ==================== */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
}

.popup-overlay.show {
    display: block;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    text-align: center;
    max-width: 400px;
}

.popup.show {
    display: block;
    animation: popupSlide 0.4s ease;
}

.popup h3 {
    color: var(--primary-yellow);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.popup p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.popup .close-btn {
    background-color: var(--primary-yellow);
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.popup .close-btn:hover {
    background-color: var(--light-yellow);
}

@keyframes popupSlide {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* ==================== WHY ATMA JYOTI SECTION ==================== */
.why-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #E0D9D5 0%, #e8f2fd 100%);
}

.why-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.why-section h2 {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.why-section .tagline {
    font-size: 1.3rem;
    color: var(--accent-gold);
    font-style: italic;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.why-section h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 4px solid var(--light-yellow);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-size: 1.2rem;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 0.95rem;
}

.why-footer {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-gold);
    box-shadow: var(--shadow);
}

.why-footer p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.8;
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-yellow);
    margin-bottom: 3rem;
}

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

.testimonial-card {
    background: linear-gradient(135deg, #E0D9D5 0%, #e8f2fd 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-blue);
}

.testimonial-photo {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-gold);
    background: var(--light-bg);
}

.testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

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

.stars {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-dark);
    font-style: italic;
    margin: 1rem 0;
    line-height: 1.8;
}

.testimonial-author {
    font-size: 0.85rem;
    color: var(--light-yellow);
    font-weight: 600;
    margin-top: 1rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--primary-yellow);
    color: var(--white);
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 3rem;
}

.footer-section h4 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a,
.footer-section li {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-gold);
}

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

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-gold);
    color: var(--primary-yellow);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .nav-logo {
        font-size: 0.65rem;
        gap: 5px;
        flex-wrap: nowrap;
        width: 100%;
    }

    .logo-circle {
        width: 45px;
        height: 45px;
        flex-shrink: 0;
    }
    
    .logo-text {
        font-size: 0.65rem;
        white-space: normal;
        word-break: break-word;
    }

    .hero-overlay h1 {
        font-size: 2.2rem;
    }

    .hero-overlay p {
        font-size: 1.1rem;
    }

    .cta-btn {
        font-size: 1rem;
        padding: 1rem 2rem;
    }

    .intro-content {
        grid-template-columns: 1fr;
    }

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

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

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .social-sidebar {
        left: 10px;
        gap: 10px;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }

    .why-section h2 {
        font-size: 1.8rem;
    }

    .why-section h3 {
        font-size: 1.2rem;
    }

    .why-section .tagline {
        font-size: 1.1rem;
    }

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

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

@media (max-width: 480px) {
    .hero-overlay h1 {
        font-size: 1.6rem;
    }

    .hero-overlay p {
        font-size: 0.95rem;
    }

    .cta-btn {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }

    .page-header {
        padding: 4rem 1rem 2rem;
        height: 45vh;
    }

    .page-header h1 {
        font-size: 1.6rem;
        text-shadow: \n        0 0 8px rgba(0, 0, 0, 0.9),\n        2px 2px 5px rgba(0, 0, 0, 0.8),\n        3px 3px 8px rgba(0, 0, 0, 0.7);\n    }
    
    .page-header p {
        font-size: 1rem;
        text-shadow: \n        0 0 6px rgba(0, 0, 0, 0.9),\n        1px 1px 4px rgba(0, 0, 0, 0.8),\n        2px 2px 6px rgba(0, 0, 0, 0.7);\n    }

    section {
        padding: 3rem 0;
    }

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

    .popup {
        margin: 0 20px;
        max-width: calc(100% - 40px);
    }

    .why-section h2 {
        font-size: 1.5rem;
    }

    .why-section h3 {
        font-size: 1rem;
    }

    .why-section .tagline {
        font-size: 1rem;
    }

    .feature-card h4 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    .why-footer p {
        font-size: 0.9rem;
    }

    .testimonials-section h2 {
        font-size: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .testimonial-author {
        font-size: 0.75rem;
    }
}

/* <!-- Hero Section with Auto-Sliding Images --> */
<section class="hero hero-slider">
    <div class="hero-slide active" style="background-image: linear-gradient(rgba(37, 99, 235, 0.5), rgba(37, 99, 235, 0.5)), url('assets/images/hero1.jpg');"></div>
    <div class="hero-slide" style="background-image: linear-gradient(rgba(37, 99, 235, 0.5), rgba(37, 99, 235, 0.5)), url('assets/images/hero2.jpg');"></div>
    <div class="hero-slide" style="background-image: linear-gradient(rgba(37, 99, 235, 0.5), rgba(37, 99, 235, 0.5)), url('assets/images/hero3.jpg');"></div>
    <div class="hero-slide" style="background-image: linear-gradient(rgba(37, 99, 235, 0.5), rgba(37, 99, 235, 0.5)), url('assets/images/hero4.jpg');"></div>
    
    <div class="hero-overlay">
        <h1 class="fade-in">Welcome to Atma Jyoti</h1>
        <p class="fade-in delay-1">Yoga Retreat & Sound Healing Center</p>
        <p class="fade-in delay-2">Pokhara, Nepal</p>
        <a href="https://wa.me/9779713679786?text=Hello,%20I%20would%20like%20to%20inquire%20about%20your%20programs" class="cta-button fade-in delay-3" target="_blank">Book Enquiry / WhatsApp</a>
    </div>
    
    <!-- Slider Navigation Dots -->
    <div class="slider-dots">
        <span class="dot active" onclick="currentSlide(1)"></span>
        <span class="dot" onclick="currentSlide(2)"></span>
        <span class="dot" onclick="currentSlide(3)"></span>
        <span class="dot" onclick="currentSlide(4)"></span>
    </div>
</section>

<!-- Floating WhatsApp Button -->
<a href="https://wa.me/9779713679786?text=Hello,%20I%20have%20a%20question" class="whatsapp-float" target="_blank" title="Chat on WhatsApp">
    <img src="assets/images/whatsapp-icon.png" alt="WhatsApp">
</a>

<!-- Social Media Sidebar -->
<div class="social-sidebar">
    <a href="https://www.facebook.com/atmajyotiyoga" target="_blank" class="social-link facebook" title="Follow us on Facebook">
        <img src="assets/images/facebook-icon.png" alt="Facebook">
    </a>
    <a href="https://www.instagram.com/atmajyotiyoga" target="_blank" class="social-link instagram" title="Follow us on Instagram">
        <img src="assets/images/instagram-icon.png" alt="Instagram">
    </a>
</div>
/* ==================== NAVIGATION ==================== */
.navbar {
    background-color: var(--primary-yellow);
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

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

.nav-menu a {
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: var(--light-yellow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* ==================== HERO SECTION ==================== */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(37, 99, 235, 0.5), rgba(37, 99, 235, 0.5)), 
                      url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 60px;
}

.hero-overlay h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-overlay p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    border-radius: 50px;
    margin-top: 1rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #c69563;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ==================== ANIMATIONS ==================== */
.fade-in {
    animation: fadeIn 1s ease-in;
}

.delay-1 {
    animation-delay: 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.delay-2 {
    animation-delay: 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.delay-3 {
    animation-delay: 0.9s;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== SECTIONS ==================== */
section {
    padding: 4rem 0;
}

.intro-section {
    background-color: var(--light-bg);
    text-align: center;
}

.intro-section h2 {
    color: var(--primary-yellow);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.intro-section p {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.highlights-section,
.quick-links {
    text-align: center;
}

.highlights-section h2,
.quick-links h2 {
    color: var(--primary-yellow);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* ==================== CARDS GRID ==================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.card h3 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.hover-lift:hover {
    transform: translateY(-8px);
}

/* ==================== BUTTONS ==================== */
.btn-secondary {
    display: inline-block;
    background-color: var(--light-yellow);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-yellow);
    transform: translateY(-2px);
}

/* ==================== ABOUT PAGE ==================== */
.about-content {
    max-width: 900px;
    margin: 2rem auto;
    line-height: 1.8;
}

.about-content h3 {
    color: var(--primary-yellow);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.map-container {
    margin: 3rem 0;
    text-align: center;
}

.map-container iframe {
    width: 100%;
    max-width: 900px;
    height: 450px;
    border: none;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* ==================== GALLERY ==================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ==================== CONTACT FORM ==================== */
.contact-section {
    background-color: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h3 {
    color: var(--primary-yellow);
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-yellow);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background-color: var(--primary-yellow);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--light-yellow);
    transform: translateY(-2px);
}

/* Success Popup */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    text-align: center;
}

.popup.show {
    display: block;
    animation: popupFade 0.3s ease-in;
}

.popup h3 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
}

.popup-overlay.show {
    display: block;
}

@keyframes popupFade {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* ==================== GALLERY SECTION ==================== */
.gallery-section {
    padding: 5rem 0;
    background-color: #E0D9D5;
}

.gallery-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--accent-blue);
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
    background-color: #ddd;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(37, 99, 235, 0.9), transparent);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
}

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

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--nav-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.footer-section p,
.footer-section a {
    margin-bottom: 0.5rem;
    color: var(--white);
}

.footer-section a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 60px;
        left: -100%;
        flex-direction: column;
        background-color: var(--nav-dark);
        width: 100%;
        padding: 2rem;
        gap: 1rem;
        transition: 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none;
        background-color: rgba(255, 255, 255, 0.1);
        box-shadow: none;
        margin-top: 0.5rem;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .nav-item-dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }

    .dropdown-menu a {
        padding: 0.6rem 1rem;
        color: var(--text-dark);
    }

    .nav-toggle {
        display: flex;
    }

    .hero-overlay h1 {
        font-size: 2rem;
    }

    .hero-overlay p {
        font-size: 1.2rem;
    }

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

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

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .gallery-item {
        height: 200px;
    }
}
