@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    /* Color Palette - Premium Purple Theme */
    --primary: #8B5CF6; /* Vibrant Violet */
    --primary-dark: #6D28D9;
    --primary-light: #C4B5FD;
    --accent: #F472B6; /* Soft Pink contrast */
    --bg-deep: #0F0720; /* Deep Midnight Purple */
    --bg-card: rgba(30, 15, 50, 0.7);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #FDFCFE;
    --text-muted: #A78BFA;

    /* Spacing & Borders */
    --radius-lg: 24px;
    --radius-md: 12px;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

body.modal-open {
    overflow: hidden !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-light), var(--primary));
    border-radius: 10px;
    border: 3px solid var(--bg-deep);
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Base Aesthetics */
h1, h2, h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--transition);
}

ul {
    list-style: none;
}

/* Background Gradients */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(244, 114, 182, 0.1) 0%, transparent 40%);
    z-index: -1;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Container */
.container {
    max-width: 1250px;
    margin: 0 auto;
    /* padding: 0 2rem; */
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: background 0.3s ease;
}

nav.scrolled {
    background: rgba(15, 7, 32, 0.8);
    backdrop-filter: blur(20px);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a:hover {
    color: var(--primary-light);
}

.btn-premium {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.nav-mobile-actions {
    display: none;
    align-items: center;
    gap: 1rem;
    z-index: 1001;
}

.btn-host-mobile {
    font-size: 0.8rem;
    padding: 0.5rem 0.9rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Bilingual title animation */
.hero-title {
    position: relative;
    height: 10rem;
    margin-bottom: 1.5rem;
}

.title-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-size: 4.5rem;
    line-height: 1.1;
    margin: 0;
    opacity: 0;
    animation: fadeInOut 8s infinite;
}

.title-text.active {
    animation-delay: 0s;
}

.title-text:nth-child(2) {
    animation-delay: 4s;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; transform: translateY(10px); }
    5%, 45% { opacity: 1; transform: translateY(0); }
    50%, 100% { opacity: 0; transform: translateY(-10px); }
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Bumble-inspired Card Stack */
.hero-visual {
    position: relative;
    height: 90vh;
    perspective: 2000px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.centered-hero {
    margin: 0 auto;
}

/* Mobile CTA - hidden by default on desktop */
.mobile-cta {
    display: none;
}

.jugnu-bg-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.jugnu-bg-text {
    font-size: 28vw; /* Safe size to prevent cropping while remaining massive */
    font-weight: 900; /* Robust, heavy weight */
    letter-spacing: -0.05em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    user-select: none;
    z-index: -100;
}

@keyframes floatingText {
    0%, 100% { transform: scale(1); opacity: 0.4; filter: blur(2px); }
    50% { transform: scale(1.1); opacity: 0.7; filter: blur(0px); }
}


.carousel-parallax-wrapper {
    position: relative;
    z-index: 100; /* Increased to ensure it's definitely on top */
    transition: transform 0.6s cubic-bezier(0.2, 0.4, 0.2, 1);
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 2500px; /* Strong 3D feel */
}

.carousel-container {
    position: relative;
    width: 360px;
    height: 520px;
    transform-style: preserve-3d;
    z-index: 5;
}

@keyframes driftTilt {
    0%, 100% { transform: rotate(5deg) translateY(0); }
    33% { transform: rotate(-3deg) translateY(-20px) translateX(10px); }
    66% { transform: rotate(2deg) translateY(10px) translateX(-10px); }
}

.premium-card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    box-shadow: 0 40px 90px rgba(0,0,0,0.7);
    transition: all 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    backface-visibility: hidden;
}

.card-active {
    transform: translate3d(-40%, 0, 0) rotateY(-35deg) scale(1);
    z-index: 50;
    opacity: 1;
}

.card-behind-1 {
    transform: translate3d(15%, 0, -200px) rotateY(-35deg) scale(0.92);
    z-index: 40;
    opacity: 0.85;
}

.card-behind-2 {
    transform: translate3d(70%, 0, -400px) rotateY(-35deg) scale(0.85);
    z-index: 30;
    opacity: 0.75;
}

.premium-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 7, 32, 0.95), transparent 60%);
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.card-content p {
    color: var(--primary-light);
    font-size: 1.1rem;
}

/* Bumble-style Stack States */
.card-active {
    transform: translate3d(-80px, 0, 0) rotateY(-15deg) scale(1);
    z-index: 10;
    opacity: 1;
}

.card-behind-1 {
    transform: translate3d(40px, 0, -150px) rotateY(-15deg) scale(0.9);
    z-index: 9;
    opacity: 0.9;
}

.card-behind-2 {
    transform: translate3d(160px, 0, -300px) rotateY(-15deg) scale(0.8);
    z-index: 8;
    opacity: 0.8;
}

.card-exit {
    transform: translate3d(150%, -50px, 300px) rotate(30deg);
    opacity: 0;
    z-index: 11;
}

.card-entering {
    transform: translate3d(0, 60px, -300px) scale(0.8);
    opacity: 0;
    z-index: 7;
}



/* Navigation Refinement */
.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn-ghost {
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.05);
}



/* Features Section */
.features {
    padding: 100px 0;
    background: rgba(139, 92, 246, 0.02);
    position: relative;
    z-index: 5;
}

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

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.feature-card {
    padding: 3rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(40, 20, 70, 0.8);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

/* Footer Refinement */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Navigation Dots - Moved outside for visibility if needed, but removed from current view */
.carousel-nav {
    display: none;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    visibility: hidden;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Experience Sections */
.experience-section {
    padding: 150px 0;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.experience-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: auto;
    aspect-ratio: 4 / 3;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    border: 1px solid var(--glass-border);
}

.experience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s var(--transition);
}

.experience-section:hover .experience-image img {
    transform: scale(1.05);
}

.experience-text h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.experience-text p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* Alternate Layout */
.experience-section.alternate .experience-grid {
    direction: rtl;
}

.experience-section.alternate .experience-text {
    direction: ltr;
}

/* Premium Divider */
.premium-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--glass-border), transparent);
    margin: 0 auto;
    width: 80%;
}

/* Registration View (Become a Host) */
.registration-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 7, 32, 0.98);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.5s var(--transition);
    padding: 100px 0;
    overflow-y: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.registration-view::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
}

.registration-view.active {
    display: block;
    opacity: 1;
}

.registration-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}

.registration-header {
    text-align: center;
    margin-bottom: 3rem;
}

.registration-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.registration-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-muted);
}

.registration-form input,
.registration-form textarea,
.registration-form select {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s var(--transition);
}

.registration-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.registration-form option {
    background-color: var(--bg-deep);
    color: var(--text-main);
    padding: 1rem;
}

.registration-form input:focus,
.registration-form textarea:focus,
.registration-form select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

.registration-form textarea {
    height: 120px;
    resize: none;
}

.btn-form-submit {
    width: 100%;
    margin-top: 2rem;
    padding: 1.2rem;
}

.close-registration {
    position: fixed;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s var(--transition);
}

.close-registration:hover {
    color: var(--primary-light);
}

/* =============================================
   RESPONSIVE — TABLET & BELOW (≤ 968px)
   ============================================= */

/* Toast Notification */
.toast {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px) scale(0.9);
    background: rgba(139, 92, 246, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-main);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4);
    border: 1px solid rgba(196, 181, 253, 0.3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 300px;
    justify-content: center;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

.toast i {
    font-size: 1.2rem;
    color: var(--primary-light);
}

/* Contact Modal */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 7, 32, 0.95);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--transition);
}

.contact-modal.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal-content {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s var(--transition);
}

.contact-modal.active .contact-modal-content {
    transform: scale(1);
}

.contact-modal-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-modal-content p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.close-contact {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s var(--transition);
    line-height: 1;
}

.close-contact:hover {
    color: var(--primary-light);
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s var(--transition);
    border: 2px solid transparent;
}

.btn-contact i {
    font-size: 1.5rem;
}

.btn-contact.messenger {
    background: linear-gradient(135deg, #0084FF, #00C6FF);
    color: white;
}

.btn-contact.messenger:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 132, 255, 0.4);
}

.btn-contact.playstore {
    background: linear-gradient(135deg, #34A853, #4285F4);
    color: white;
}

.btn-contact.playstore:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.4);
}

.btn-contact.instagram {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
    color: white;
}

.btn-contact.instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(253, 29, 29, 0.4);
}

.app-launch-info {
    margin-top: 1.8rem;
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius-md);
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.app-launch-info:hover {
    background: rgba(139, 92, 246, 0.12);
    border-color: var(--primary);
    transition: 0.3s;
}

@media (max-width: 768px) {
    .toast {
        top: 20px;
        left: 20px;
        right: 20px;
        min-width: auto;
        transform: translateY(-20px) scale(0.9);
    }
    
    .toast.show {
        transform: translateY(0) scale(1);
    }

    .contact-modal-content {
        padding: 2rem 1.5rem;
    }

    .contact-modal-content h2 {
        font-size: 2rem;
    }

    .btn-contact {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 968px) {

    /* Container padding */
    .container {
        padding: 0 1.2rem;
    }

    /* Registration */
    .registration-container { margin: 0 1rem; padding: 2rem; }
    .registration-header h2 { font-size: 2rem; }

    /* Experience grid: single column */
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Alternate layout fix */
    .experience-section.alternate .experience-grid {
        direction: ltr;
    }

    /* Images: full width */
    .experience-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    /* Reduce section padding */
    .experience-section {
        padding: 80px 0;
        min-height: auto;
    }

    /* Feature grid: 2 columns */
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer: 2 col */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* =============================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================= */
@media (max-width: 768px) {

    /* Mobile nav */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(15, 7, 32, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.45s var(--transition);
        z-index: 1000;
        gap: 2.5rem;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    /* Show mobile host button + hamburger group */
    .nav-mobile-actions {
        display: flex;
    }

    /* Hide Become a Host inside the slide-out nav on mobile (it's in top bar now) */
    .nav-links .btn-premium {
        display: none;
    }

    /* Hero */
    .hero {
        height: auto;
        min-height: 100svh;
        padding-top: 80px;
        padding-bottom: 2rem;
    }

    /* Hide hero text on mobile */
    .hero-text {
        display: none;
    }

    /* Show hero visual centered on mobile */
    .hero-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .hero-visual {
        height: auto;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        padding-top: 2rem;
    }

    .carousel-parallax-wrapper {
        margin-top: -40px;
    }

    /* Mobile CTA text */
    .mobile-cta {
        display: block;
        text-align: center;
        margin-top: 2rem;
    }

    .mobile-cta h2 {
        font-size: 2.5rem;
        font-weight: 800;
        background: linear-gradient(135deg, var(--primary-light), var(--primary));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* JUGNU title */
    .carousel-text-overlay h1 {
        font-size: 22vw;
        letter-spacing: -0.02em;
    }

    /* Carousel cards */
    .carousel-container {
        width: 72vw;
        height: 100vw;
        max-width: 300px;
        max-height: 420px;
    }

    /* Experience section */
    .experience-section {
        padding: 60px 0;
    }

    .experience-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .experience-text h2 {
        font-size: 2.2rem;
    }

    .experience-text p {
        font-size: 1.1rem;
        max-width: 100%;
    }

    /* Features: single col */
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 2rem;
    }

    /* Section headings */
    .section-title h2 {
        font-size: 2.2rem;
    }

    /* Footer: single col, centered */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-info,
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links ul li {
        text-align: center;
    }

    footer {
        padding: 50px 0 30px;
    }
}

/* =============================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================= */
@media (max-width: 480px) {

    .container {
        padding: 0 1rem;
    }

    /* Hero title even smaller */
    .carousel-text-overlay h1 {
        font-size: 26vw;
    }

    /* Carousel cards: nearly full width */
    .carousel-container {
        width: 88vw;
        height: 125vw;
        max-width: 280px;
        max-height: 400px;
    }

    .hero-visual {
        height: 65vh;
        min-height: 380px;
    }

    /* Centered stack for narrow screens (320px) to prevent overflow */
    .card-active {
        transform: translate3d(0, 0, 0) rotateY(-15deg) scale(1);
    }

    .card-behind-1 {
        transform: translate3d(8%, 0, -120px) rotateY(-15deg) scale(0.92);
    }

    .card-behind-2 {
        transform: translate3d(16%, 0, -240px) rotateY(-15deg) scale(0.85);
    }

    /* Narrow viewport backdrop check */
    .jugnu-bg-text {
        font-size: 26vw;
    }

    /* Experience */
    .experience-section {
        padding: 50px 0;
    }

    .experience-text h2 {
        font-size: 1.9rem;
    }

    /* Features padding */
    .features {
        padding: 60px 0;
    }

    /* Registration modal */
    .registration-view {
        padding: 70px 0 40px;
    }

    .registration-container {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .registration-header h2 {
        font-size: 1.8rem;
    }
}

