/* ==========================================
   VAISHVA YOG — CLEANED RESPONSIVE STYLES
   ========================================== */

/* Global Layout Resets for Safety */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
    width: 100%;
}

/* 1. Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 0.75rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    white-space: nowrap;
}

.nav-logo {
    width: clamp(45px, 8vw, 65px);
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
}

.brand-text {
    font-family: var(--font-heading), 'Playfair Display', serif;
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    font-weight: 700;
    color: var(--color-green), #1b4332;
    line-height: 1;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    color: #2d3748;
    margin-left: 1.75rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d4af37;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #d4af37;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: #1b4332;
    padding: 0.25rem;
}

/* 2. Hero Section */
.hero-section {
    background: linear-gradient(180deg, #bdbcb6, #ffffff);
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: clamp(120px, 15vw, 160px);
    padding-bottom: clamp(30px, 5vw, 45px);
    padding-inline: 1.25rem;
    width: 100%;
}

.hero-container {
    margin: 0 auto;
    max-width: 900px;
    width: 100%;
}

.hero-content {
    width: 100%;
    text-align: center;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 5.5vw, 3.5rem);
    line-height: 1.2;
    color: #1b4332;
    margin-bottom: 20px;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.hero-subheading {
    max-width: 650px;
    margin: 0 auto 35px;
    font-size: clamp(0.95rem, 3.5vw, 1.2rem);
    line-height: 1.7;
    color: #4a5568;
    padding-inline: 0.5rem;
}

.btn-primary, .btn-submit {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #1b4332;
    color: #ffffff;
    padding: clamp(12px, 2vw, 16px) clamp(24px, 4vw, 36px);
    border-radius: 999px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    font-weight: 600;
    letter-spacing: 0.3px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.18);
    max-width: 100%;
}

.btn-primary:hover, .btn-submit:hover {
    background-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.25);
}

/* 3. Journey Section Layout */
.journey-section {
    padding: clamp(2rem, 8vw, 6rem) 1.25rem;
    background-color: #ffffff;
    width: 100%;
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 5vw, 2.4rem);
    color: #1b4332;
    margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: #d4af37;
}

.journey-text-centered {
    max-width: 750px;
    margin: 0 auto;
    text-align: justify;
    line-height: 1.75;
    font-size: clamp(0.95rem, 3.5vw, 1.05rem);
    color: #4a5568;
}

.journey-text-centered p {
    margin-bottom: 1.5rem;
}

.journey-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #1b4332;
    font-size: clamp(1.05rem, 3.8vw, 1.25rem);
    text-align: center;
    font-weight: 500;
    line-height: 1.6;
    margin-top: 2rem;
    padding: 1.25rem;
    background-color: rgba(196, 154, 69, 0.04);
    border-radius: 8px;
    border-left: 3px solid #d4af37;
}

/* 4. Classes Section Layout */
.classes-section {
    padding: clamp(3.5rem, 8vw, 6rem) 1.25rem;
    background-color: #1b4332;
    width: 100%;
}

.section-subtitle {
    text-align: center;
    font-family: 'Inter', sans-serif;
    color: #718096;
    margin-top: -1.75rem;
    margin-bottom: clamp(2.5rem, 6vw, 4rem);
    font-size: clamp(0.95rem, 3vw, 1.1rem);
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.class-card {
    background: #ffffff;
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    position: relative;
    transition: all 0.3s ease;
}

.class-card:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
    box-shadow: 0 10px 25px rgba(27, 67, 50, 0.05);
}

.batch-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #f4f6f0;
    color: #1b4332;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.class-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: #1b4332;
    margin-bottom: 0.4rem;
}

.time-slot {
    font-family: 'Inter', sans-serif;
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.class-card p:not(.time-slot) {
    font-family: 'Inter', sans-serif;
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* 4b. Community Highlights Section Layout */
.community-section {
    padding: clamp(3.5rem, 8vw, 6rem) 1.25rem;
    background-color: #fbfbf8;
    width: 100%;
}

.community-highlight {
    margin-bottom: clamp(3rem, 6vw, 4rem);
    width: 100%;
}

.community-highlight:last-child {
    margin-bottom: 0;
}

.highlight-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 4vw, 1.4rem);
    color: #1b4332;
    margin-bottom: 1.25rem;
    text-align: center;
}

.slider {
    position: relative;
    max-width: 650px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    width: 100%;
}

.slider-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #f4f6f0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1b4332;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slider-prev { left: 0.75rem; }
.slider-next { right: 0.75rem; }

.slider-dots {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #d4af37;
    transform: scale(1.2);
}

/* 4c. Meet Our Founder Section Layout */
.founder-section {
    padding: clamp(3.5rem, 8vw, 6rem) 1.25rem;
    background-color: #ffffff;
    width: 100%;
}

.founder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    width: 100%;
}

.founder-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.founder-img {
    width: min(100%, 260px);
    height: auto;
    aspect-ratio: 259 / 382;
    display: block;
    border-radius: 16px;
    object-fit: cover;
    object-position: center top;
    border: 3px solid #d4af37;
    box-shadow: 0 12px 40px rgba(27, 67, 50, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(27, 67, 50, 0.2);
}

.founder-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #1b4332;
    margin-bottom: 0.5rem;
}

.founder-role {
    font-family: 'Inter', sans-serif;
    color: #d4af37;
    font-weight: 600;
    font-size: clamp(0.9rem, 3vw, 1rem);
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.founder-info p {
    font-family: 'Inter', sans-serif;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-align: justify;
}

.founder-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f0f0f0;
}

.founder-stat {
    text-align: center;
    flex: 1 1 80px;
    min-width: 80px;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1b4332;
}

.stat-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #718096;
    margin-top: 0.25rem;
}

/* 5. Registration Section & Form Layout */
.join-section {
    padding: clamp(3.5rem, 8vw, 6rem) 1.25rem;
    background-color: #ffffff;
    width: 100%;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.form-intro {
    text-align: center;
    color: #4a5568;
    margin-bottom: 2.5rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    font-size: clamp(0.9rem, 3vw, 1rem);
}

.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #2d3748;
    background-color: #fbfbfb;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #1b4332;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.08);
}

.error-message {
    display: block;
    color: #e53e3e;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    margin-top: 0.3rem;
    min-height: 1.2em;
}

.success-message {
    display: none;
    text-align: center;
    color: #1b4332;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    padding: 1rem;
    margin-top: 1.5rem;
    background-color: #f0fff4;
    border: 1px solid #c6f6d5;
    border-radius: 8px;
    font-size: 0.95rem;
}

.btn-submit {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.9rem;
    font-size: 1rem;
}

/* 6. Footer Layout */
.footer {
    background-color: #1b4332;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 3rem 1.25rem;
    text-align: center;
    width: 100%;
}

.footer-tagline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-style: italic;
    margin-bottom: 0.5rem;
    color: #f4f6f0;
}

.footer p:nth-child(2) {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.insta-btn {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    margin-top: 0.5rem;
    transition: background 0.3s ease;
}

.insta-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Lightbox Layout */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 95%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    background: none;
    border: none;
    font-weight: 300;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 0.7;
}

/* ==========================================
   ⚡ MEDIA QUERIES BREAKPOINTS
   ========================================== */

/* Tablet & Mobile Layout Changes (968px and down) */
@media (max-width: 968px) {
    .mobile-nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 1rem 1.5rem;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        border-top: 1px solid #e2e8f0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin-left: 0;
        padding: 0.75rem 0;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        text-align: left;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .founder-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .founder-info {
        text-align: center;
    }

    .founder-info p {
        text-align: justify;
    }

    .founder-highlights {
        justify-content: center;
    }
}

/* Extra Tweaks for Small Screens (480px and down) */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .journey-text-centered {
        text-align: justify;
    }
}