:root {
    --bg-main: #050507;
    --bg-card: #121214;
    --bg-card-hover: #1c1c1f;
    --text-white: #f5f5f7;
    --text-grey: #86868b;
    --accent: #2997ff;
    --border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 7, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 24px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
    color: var(--text-white);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-grey);
    font-weight: 500;
    transition: 0.2s;
}

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

.cta-button {
    padding: 8px 20px;
    border-radius: 25px;
    background: var(--accent);
    color: var(--text-white);
    font-weight: 500;
    transition: 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(41, 151, 255, 0.3);
}
.cta-glass {
    position: relative;
    padding: 10px 26px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-decoration: none;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.35),
        inset 0 0 0 rgba(255, 255, 255, 0);

    transition: all 0.35s ease;
}

/* Hover – subtle premium lift */
.cta-glass:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.45),
        inset 0 0 12px rgba(255, 255, 255, 0.12);
}

/* Click feedback */
.cta-glass:active {
    transform: translateY(0);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.35);
}


/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-white);
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100%;
        width: 220px;
        background: rgba(5,5,7,0.95);
        flex-direction: column;
        padding-top: 80px;
        gap: 24px;
        transition: 0.3s;
        z-index: 999;
    }

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

    .nav-toggle {
        display: flex;
    }

    .cta-button {
        display: none; /* optional: hide in mobile menu */
    }
}


/* HERO */
/* .hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
} */

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

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

/* LEFT CONTENT */
/* .hero-left {
    z-index: 2;
}

.hero-left h1 {
    font-size: 4.2rem;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -2px;
    margin-bottom: 24px;
    background: linear-gradient(to bottom, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-left .subtitle {
    font-size: 1.3rem;
    color: var(--text-grey);
    margin-bottom: 40px;
} */

/* RIGHT IMAGE */
/* .hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
} */

/* new */
/* NAME OVER IMAGE – STRONG VERSION */
/* .hero-name-overlay {
    position: absolute;
    bottom: 30px;
    left: 24px;
    z-index: 2;
    animation: nameRevealStrong 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
} */

/* MAIN NAME – AYUSH */
/* .name-main {
    display: block;
    font-size: clamp(3.5rem, 5vw, 5rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 0.95;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow:
        0 10px 30px rgba(0, 0, 0, 0.6);
} */

/* SUB NAME */
/* .name-sub {
    display: block;
    margin-top: 6px;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.hero-name-overlay::before {
  content: "AYUSH";
  position: absolute;
  top: -10px;
  left: 0;
  font-size: clamp(4.5rem, 6vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -2px;
  color: rgba(255,255,255,0.04);
  z-index: -1;
} */


/* STRONG CINEMATIC ANIMATION */
/* @keyframes nameRevealStrong {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
} */



/* new */

/* .hero-image-wrapper {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3 / 4;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.15),
            rgba(255, 255, 255, 0.02));
    padding: 2px;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    filter: grayscale(100%) contrast(1.1);
}

/* Glow effect */
/* .hero-image-wrapper::after {
    content: "";
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle,
            rgba(41, 151, 255, 0.25),
            transparent 60%);
    z-index: -1;
} */ */

/* RESPONSIVE */
/* @media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-left h1 {
        font-size: 3rem;
    }
} */ */

/* .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    filter: saturate(0) contrast(1.2);
    /* Black and white look */
    /* background-image: url("assets/computer-5903052.jpg"); */ */
    /* mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%); */
/* } */

/* .noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.08;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
} */

/* HERO */
/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 180px 24px 80px; /* Increased top padding to 180px */
    position: relative;
    overflow: hidden;
}



/* HERO CONTAINER GRID */
.hero-container {
    max-width: 1200px;
    margin: 100px auto 0; /* margin-top = nav height */
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}


/* LEFT CONTENT */
.hero-left {
    z-index: 2;
}

.hero-left h1 {
    font-size: 4.2rem;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -2px;
    margin-bottom: 24px;
    background: linear-gradient(to bottom, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-left .subtitle {
    font-size: 1.3rem;
    color: var(--text-grey);
    margin-bottom: 40px;
}

/* RIGHT IMAGE */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

/* IMAGE WRAPPER */
.hero-image-wrapper {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3 / 4;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.02));
    padding: 2px;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    filter: grayscale(100%) contrast(1.1);
}

/* NAME OVER IMAGE */
.hero-name-overlay {
    position: absolute;
    bottom: 30px;
    left: 24px;
    z-index: 2;
    animation: nameRevealStrong 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.name-main {
    display: block;
    font-size: clamp(3.5rem, 5vw, 5rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 0.95;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.name-sub {
    display: block;
    margin-top: 6px;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.hero-name-overlay::before {
    content: "AYUSH";
    position: absolute;
    top: -10px;
    left: 0;
    font-size: clamp(4.5rem, 6vw, 6.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    color: rgba(255, 255, 255, 0.04);
    z-index: -1;
}

/* ANIMATION */
@keyframes nameRevealStrong {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HERO BACKGROUND IMAGE */
.hero-bg-image {
    position: absolute;
    inset: 0;
    background-image: url('assets/computer-5903052.jpg'); /* Your BW background */
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) brightness(0.3) blur(2px);
    z-index: 0;
}

/* OVERLAY FOR DARKENING */
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5,5,7,0.6);
    z-index: 1;
}

/* GLOW EFFECT */
.hero-bg-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(108, 109, 109, 0.1), transparent 70%);
    z-index: 1;
}

/* FILM GRAIN */
.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.08;
    pointer-events: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-left h1 {
        font-size: 3rem;
    }

    .hero-name-overlay {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
    }

    .name-main {
        font-size: clamp(2.5rem, 7vw, 4rem);
    }

    .name-sub {
        font-size: 1rem;
    }
}



.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-grey);
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -2px;
    margin-bottom: 24px;
    background: linear-gradient(to bottom, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.4rem;
    color: var(--text-grey);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.btn-primary {
    background: var(--text-white);
    color: var(--bg-main);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* SECTIONS SHARED */
.section {
    padding: 110px 24px;
    max-width: 1200px;
    margin: auto;
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 { 
    font-size: 2.8rem; 
    margin-bottom: 10px; 
}
.section-header p { 
    font-size: 1.2rem; 
    color: #777; 
}

/* CAROUSEL */
/* CAROUSEL */
.carousel-wrapper {
    position: relative;
    margin-bottom: 60px;
}
/* LONG FORM CAROUSEL WRAPPER */
.carousel {
    width: 90%;            /* smaller than full width */
    max-width: 900px;      /* restrict max width */
    margin: auto;
    border-radius: 20px;
    overflow: hidden;
}

.carousel iframe {
    width: 100%;
    aspect-ratio: 16 / 9; /* maintain video aspect ratio */
    border-radius: 20px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}
.carousel-arrow.left { left: 10px; }
.carousel-arrow.right { right: 10px; }

/* MODAL */
.video-modal iframe { 
    width: 100%; 
    height: 450px; /* reduced height */
    border-radius: 20px; 
}

/* SHORT VIDEO CARDS */
.short-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* slightly larger min width */
    gap: 20px;
    justify-items: center;
    margin-top: 40px;
}

.video-card.vertical {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16; /* vertical card */
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.video-card.vertical .card-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* fills entire card */
}


.video-card.vertical iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-card.vertical .card-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 0.9rem;     /* slightly larger text */
    padding: 6px 0;
}


/* MODAL */
.video-modal {
    display: none;
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 100;
}
.video-modal .modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
}
.video-modal iframe { 
    width: 100%; 
    height: 600px; 
    border-radius: 20px; 
}
.video-modal .close {
    position: absolute;
    top: -20px; right: -20px;
    font-size: 2rem; 
    color: white; 
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .carousel iframe, .video-modal iframe { height: 400px; }
}
@media (max-width: 600px) {
    .carousel iframe, .video-modal iframe { height: 300px; }
    .carousel-arrow{
        background: none;
        font-size: 12px;
    }
}

/* SERVICE CARDS (Like the reference) */
.service-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

.icon-box {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-white);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-grey);
    line-height: 1.6;
}

/* MARQUEE */
.marquee-container {
    padding: 40px 0;
    background: var(--bg-main);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-block;
    animation: scroll 20s linear infinite;
    font-size: 1.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.3);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ACCORDION (FAQ) */
.accordion-item {
    border-bottom: 1px solid var(--border);
}

.accordion-header {
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.1rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-grey);
    line-height: 1.6;
}

.accordion-body p {
    padding-bottom: 24px;
}

.plus {
    font-weight: 300;
    font-size: 1.5rem;
}

/* FOOTER */
footer {
    padding: 80px 24px;
    text-align: center;
    border-top: 1px solid var(--border);
}

footer h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.socials {
    margin-top: 40px;
    display: flex;
    gap: 24px;
    justify-content: center;
    font-size: 24px;
}

.socials a {
    color: var(--text-grey);
    transition: 0.2s;
}

.socials a:hover {
    color: var(--text-white);
}

.copyright {
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 1000px;
    aspect-ratio: 16/9;
}

.close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .nav-links {
        display: none;
    }

    .grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
}