/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #0d0d0d;
    --text-color: #e0e0e0;
    --accent-color: #c41e54;
    /* Highlight Color */
    --secondary-color: #a0a0a0;
    --font-heading: 'Space Grotesk', sans-serif;
    /* Modern, fun, professional */
    --font-body: 'Inter', sans-serif;
    /* Clean, readable */
    --spacing-md: 4rem;
    --spacing-lg: 8rem;
    --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1025px) {
    body {
        cursor: none;
    }
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

ul {
    list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}

/* ------------------------------------------------------------------
   CINEMATIC INTRO OVERLAY
   ------------------------------------------------------------------ */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

#intro-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#landingHero {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cinematic fill */
}

/* Fallback Play Button */
.intro-fallback-play {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    z-index: 10002;
    animation: pulse 2s infinite;
}

.intro-fallback-play:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.skip-btn {
    position: absolute;
    bottom: 40px;
    right: 40px;
    padding: 10px 24px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10001;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.skip-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(196, 30, 84, 0.3);
    transform: translateY(-2px);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Mobile Adjustments for Intro */
@media (max-width: 768px) {
    .skip-btn {
        bottom: 30px;
        right: 20px;
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: width 0.3s, height 0.3s, padding 0.3s, background-color 0.3s, transform 0.1s linear;
    will-change: transform, width, height;
}

.cursor-text {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    pointer-events: none;
}

/* Desktop Cursor */
@media (min-width: 1025px) {
    .custom-cursor {
        top: 0;
        left: 0;
        transform: translate(-50%, -50%);
        pointer-events: none;

        /* Premium Look */
        background: rgba(255, 255, 255, 0.9);
        color: #000;
        padding: 10px 20px;
        border-radius: 30px;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);

        /* Base Size */
        height: 40px;
        min-width: 100px;

        /* No transition on transform for smooth JS follow */
        transition: width 0.3s, height 0.3s, padding 0.3s, background-color 0.3s;
    }

    .cursor-text {
        font-size: 14px;
        /* Requested 16-18px */
        font-size: 14px;
        /* Keeping it reasonable standard, user asked for 16-18px desktop */
        font-size: 16px;
    }

    /* Hover State */
    .custom-cursor.hovered {
        transform: translate(-50%, -50%) scale(1.2);
        /* This might conflict with JS translate. */
        /* Better to retain JS transform and just scale */
        /* JS applies specific transform like translate3d(x,y,0) translate(-50%,-50%). 
           Adding scale here in CSS might be tricky if JS overwrites transform inline.
           Ideally we use a child for scaling or append scale in JS.
           Alternatively, use a wrapper. 
           Let's handle scale in CSS but we must ensure JS touches the wrapper or we use a variable. */
    }

    /* We can target the inner text or add a specific class that JS doesn't overwrite transform on?
       Actually, standard pattern: 
       .custom-cursor { position: fixed; ... } -> Moved by JS
       .cursor-inner { ... } -> Scaled by CSS
       
       Let's adjust HTML structure slightly or use scale on a pseudo element? 
       Simplified: JS sets top/left, CSS handles transform translate(-50%, -50%). 
       If JS sets `transform: translate3d(...)`, CSS class `hovered` adding `scale` will be overwritten by inline style 
       UNLESS we use !important or better, separate concerns.
       
       Let's Assume script.js will be updated to NOT overwrite transform scale, OR 
       We rely on `width` / `height` / `font-size` change for "scaling" effect which is safer.
       User asked for "slightly scale-up text (1.2x)".
    */

    .custom-cursor.hovered {
        padding: 14px 28px;
        background: #fff;
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
    }

    .custom-cursor.hovered .cursor-text {
        font-size: 18px;
        /* Scale up text */
    }
}

/* Mobile Cursor (Fixed Label) */
@media (max-width: 1024px) {
    .custom-cursor {
        top: auto !important;
        left: auto !important;
        bottom: 30px;
        right: 30px;
        transform: none !important;
        /* Override JS inline styles */

        background: var(--accent-color);
        color: var(--bg-color);
        padding: 12px 24px;
        border-radius: 50px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
        pointer-events: auto;
        /* Clickable */
        cursor: pointer;

        /* Mobile Scale */
        height: auto;
        min-width: auto;

        animation: floatMobile 3s infinite ease-in-out;
    }

    .cursor-text {
        font-size: 14px;
        /* Requested 12-14px */
    }

    @keyframes floatMobile {

        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-10px);
        }
    }
}

/* Background Logos Container */
#logo-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.floating-logo {
    position: absolute;
    opacity: 0;
    will-change: transform;
}

/* Global Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-align: center;
    /* Requested Center Alignment */
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

body {
    line-height: 1.6;
    /* Comfortable reading */
}

/* Highlight Utility */
.highlight,
.text-accent {
    color: var(--accent-color);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(13, 13, 13, 0.95), transparent);
    transition: background 0.3s;
}

nav.scrolled {
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Nav - Simple Stack/Wrap */
@media (max-width: 900px) {
    nav {
        flex-direction: column;
        padding: 1rem 5%;
        background: rgba(13, 13, 13, 0.95);
        /* Ensure background on mobile */
    }

    .logo {
        margin-bottom: 1rem;
    }

    .nav-links {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .nav-link {
        font-size: 0.8rem;
    }
}

#nav-logo {
    height: 85px;
    /* Increased further */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

#nav-logo:hover {
    transform: scale(1.05);
    /* Subtle scale on hover */
}

/* ------------------------------------------------------------------
   HOME SECTIONS (Featured Work - Compact Row)
   ------------------------------------------------------------------ */
.home-section {
    padding: var(--spacing-md) 5%;
    position: relative;
    background: var(--bg-color);
    overflow: hidden;
}

/* Zero out top gap above Featured Work */
#featured-carousel {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Minimal bottom gap for hero into featured-work */
#hero {
    margin-bottom: 0;
    padding-bottom: 0;
}


.home-section .section-header {
    margin-bottom: 3rem;
    /* More space */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center Content */
    text-align: center;
    gap: 0.5rem;
}

.home-section .section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    /* Bolder */
    text-transform: uppercase;
    color: #fff;
}

.home-section .section-header p {
    color: var(--secondary-color);
    font-size: 1.1rem;
    max-width: 600px;
}

/* ------------------------------------------------------------------
   FEATURED PORTFOLIO SECTION
   ------------------------------------------------------------------ */
.portfolio-section {
    overflow: visible;
}

.portfolio-header {
    margin-bottom: 4rem;
}

/* Module wrapper */
.portfolio-module {
    margin-bottom: 5rem;
}

.portfolio-module:last-child {
    margin-bottom: 0;
}

.module-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.module-label .highlight {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0;
}

/* ── MODULE 1: SHOWREEL ── */
.showreel-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.showreel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showreel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
}

.showreel-fullscreen {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background 0.3s, transform 0.3s;
    z-index: 5;
}

.showreel-fullscreen:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

/* ── SHARED SLIDER STYLES ── */
.pf-slider-wrap {
    position: relative;
    overflow: hidden;
}

.pf-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 4px 16px;
    cursor: grab;
}

.pf-track::-webkit-scrollbar {
    display: none;
}

.pf-track:active {
    cursor: grabbing;
}

/* ── PORTFOLIO CARDS ── */
.pf-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: #111;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.pf-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(196, 30, 84, 0.12);
}

.pf-card img,
.pf-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.pf-card:hover img,
.pf-card:hover video {
    transform: scale(1.04);
}

/* 16:9 cards — show 3 on desktop */
.ratio-16-9 {
    width: calc(33.333% - 14px);
    min-width: 280px;
    aspect-ratio: 16 / 9;
}

/* 9:16 cards — show 4 on desktop */
.pf-track-reels {
    align-items: stretch;
}

.ratio-9-16 {
    width: calc(25% - 16px);
    min-width: 180px;
    aspect-ratio: 9 / 16;
}

/* Play button overlay */
.pf-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.3s;
    cursor: pointer;
}

.pf-card:hover .pf-play-btn {
    opacity: 1;
}

.pf-play-btn i {
    width: 54px;
    height: 54px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    transform: scale(0.9);
    transition: transform 0.25s ease;
    padding-left: 4px;
}

.pf-card:hover .pf-play-btn i {
    transform: scale(1);
}

.pf-card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 14px 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

/* Arrow buttons */
.pf-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    z-index: 20;
    width: 44px;
    height: 44px;
    background: rgba(13, 13, 13, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.25s, transform 0.25s;
}

.pf-arrow:hover {
    background: var(--accent-color);
    transform: translateY(-60%) scale(1.1);
}

.pf-prev {
    left: 6px;
}

.pf-next {
    right: 6px;
}

@media (max-width: 600px) {
    .pf-arrow {
        display: none;
    }
}

/* YouTube lightbox overlay */
.yt-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.25s ease;
}

.yt-lightbox iframe {
    width: min(900px, 92vw);
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 10px;
}

.yt-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.yt-close:hover {
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ── MODULE 4: DESIGN GRIDS ── */
.design-block {
    margin-bottom: 3rem;
}

.design-block-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    padding-left: 2px;
    border-left: 3px solid var(--accent-color);
    padding-left: 10px;
}

.design-grid {
    display: grid;
    gap: 16px;
}

.logo-grid {
    grid-template-columns: repeat(3, 1fr);
}

.thumb-grid {
    grid-template-columns: repeat(2, 1fr);
}

.masonry-grid {
    grid-template-columns: repeat(3, 1fr);
}

.design-item {
    border-radius: 10px;
    overflow: hidden;
    background: #111;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.design-item:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.design-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.design-item:hover img {
    transform: scale(1.06);
}

@media (max-width: 900px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .logo-grid,
    .thumb-grid,
    .masonry-grid {
        grid-template-columns: 1fr;
    }

    .ratio-16-9 {
        width: 80vw;
    }

    .ratio-9-16 {
        width: 55vw;
    }
}

/* ── MODULE 5: WEDDING & EVENT ── */
.wedding-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.wedding-large {
    grid-column: 1 / -1;
}

.wedding-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
}

.wedding-item:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

.wedding-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.wedding-item:hover img {
    transform: scale(1.04);
}

.wedding-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 18px 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.wedding-item:hover .wedding-overlay {
    opacity: 1;
}

.wedding-overlay span {
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
}

.wedding-overlay i {
    color: var(--accent-color);
    font-size: 1rem;
}

@media (max-width: 600px) {
    .wedding-grid {
        grid-template-columns: 1fr;
    }
}

/* ── MODULE 6: BEHIND THE WORK ── */
.btw-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Before / After Slider */
.ba-slider-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ba-label-top {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
}

.ba-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    user-select: none;
    cursor: col-resize;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.ba-after,
.ba-before {
    position: absolute;
    inset: 0;
}

.ba-after {
    z-index: 1;
}

.ba-before {
    z-index: 2;
    width: 50%;
    overflow: hidden;
}

.ba-before img,
.ba-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.ba-before img {
    width: auto;
    min-width: 100%;
    max-width: none;
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #fff;
    z-index: 3;
    cursor: col-resize;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-handle i {
    position: absolute;
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Breakdown cards */
.btw-breakdown-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btw-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: border-color 0.3s, transform 0.3s;
}

.btw-card:hover {
    border-color: rgba(196, 30, 84, 0.35);
    transform: translateX(4px);
}

.btw-card i {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 4px;
}

.btw-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-align: left;
}

.btw-card p {
    font-size: 0.82rem;
    color: var(--secondary-color);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 900px) {
    .btw-grid {
        grid-template-columns: 1fr;
    }
}


/* ------------------------------------------------------------------
   SERVICES SECTION
   ------------------------------------------------------------------ */
#services .section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -1px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.svc-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.svc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(196, 30, 84, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.svc-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(196, 30, 84, 0.15);
    border-color: rgba(196, 30, 84, 0.4);
}

.svc-card:hover::before {
    opacity: 1;
}

.svc-icon {
    width: 60px;
    height: 60px;
    background: rgba(196, 30, 84, 0.12);
    border: 1px solid rgba(196, 30, 84, 0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent-color);
    margin-bottom: 1.4rem;
    transition: transform 0.3s ease, background 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(196, 30, 84, 0.3));
}

.svc-card:hover .svc-icon {
    transform: scale(1.15) rotate(-5deg);
    background: rgba(196, 30, 84, 0.2);
}

.svc-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.9rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.svc-card:hover .svc-title {
    color: var(--accent-color);
}

.svc-divider {
    width: 32px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
    margin-bottom: 1.2rem;
    opacity: 0.7;
}

.svc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
}

.svc-list li {
    font-size: 0.88rem;
    color: var(--secondary-color);
    padding: 0.45rem 0 0.45rem 1.3rem;
    position: relative;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: color 0.25s;
}

.svc-list li:last-child {
    border-bottom: none;
}

.svc-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.85rem;
}

.svc-card:hover .svc-list li {
    color: #ccc;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .svc-card {
        padding: 24px 20px;
    }

    #services .section-header h2 {
        font-size: 2rem;
    }
}

/* ------------------------------------------------------------------ */

.carousel-card {
    /* 
       Desktop: 4 cards visible. 
       ~23vw width each.
    */
    flex: 0 0 calc(25% - 15px);
    /* 4 items minus gap */
    min-width: 250px;
    /* Minimum reasonable width */
    max-width: 400px;

    scroll-snap-align: start;

    background: #111;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);

    display: flex;
    flex-direction: column;
}

.carousel-card .card-image {
    width: 100%;
    position: relative;
}

.carousel-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: brightness(0.95);
}

.carousel-card:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    z-index: 5;
    filter: brightness(1.1);
}

.carousel-card:hover img {
    transform: scale(1.05);
}

.carousel-card .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    font-size: 0.6rem;
    border-radius: 4px;
    z-index: 10;
}

/* OVERLAY TEXT */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay-text {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    backdrop-filter: blur(4px);
}

.carousel-card:hover .overlay {
    opacity: 1;
}

/* RESPONSIVE SIZING */
@media (max-width: 1200px) {
    .carousel-card {
        flex: 0 0 calc(33.333% - 15px);
        /* 3 cards */
    }
}

@media (max-width: 900px) {
    .carousel-card {
        flex: 0 0 calc(50% - 10px);
        /* 2 cards */
    }
}

@media (max-width: 600px) {
    .carousel-card {
        flex: 0 0 85vw;
        /* 1 card + peek */
        scroll-snap-align: center;
        /* Center focus on mobile */
    }
}

/* Page Header */
.page-header {
    margin-top: 15vh;
    padding: 0 5%;
    margin-bottom: 4rem;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 6rem);
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1;
}

.page-header p {
    color: var(--secondary-color);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Category Filter */
.category-filter {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid #333;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    color: var(--secondary-color);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: none;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-color);
    color: var(--bg-color);
    border-color: var(--accent-color);
}

/* Hero Section (Index) */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 5%;
    overflow: hidden;
    /* Ensure frames don't overflow */
}

@media (max-width: 768px) {
    #hero {
        height: 100vh;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 4rem;
        align-items: center;
    }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4.5rem);
    }
}

/* Background Frame Container */
#hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: #000;
    /* Prevent white flash & fill gaps on mobile */
}

/* Video Background Styles */
#hero-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Default for desktop */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Ensure perfect centering */
    z-index: 0;
}

@media (max-width: 768px) {
    #hero-background video {
        width: 100vw;
        height: 100vh;
        object-fit: cover;
        /* Force full coverage (9:16 visual) */
        object-position: center;
    }
}

/* Optional Overlay for readability */
/* Optional Overlay for readability */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
    /* Allow clicks to pass through if needed, but button handles itself */
}


.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 10rem);
    font-weight: 800;
    line-height: 0.9;
    text-transform: uppercase;
    color: var(--accent-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.category-selector {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
}

.cat-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    transition: 0.3s;
}

.category-card:hover .cat-icon {
    color: var(--accent-color);
    transform: scale(1.1);
}

.cat-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-color);
}

.cat-arrow {
    opacity: 0;
    transform: translateX(-20px);
    transition: 0.3s;
    color: var(--accent-color);
}

.category-card:hover .cat-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Main Content */
main {
    padding: 0 5% var(--spacing-lg);
    flex: 1;
}

/* Project Grids */
.project-grid {
    display: grid;
    gap: 2rem;
    align-items: start;
    /* Prevents stretching */
}

/* Responsive Columns */
.video-grid {
    grid-template-columns: repeat(3, 1fr);
}

.graphic-grid {
    grid-template-columns: repeat(3, 1fr);
    /* Masonry-like behavior handled by leaving gap and aspect ratios separate? 
       CSS Grid aligns strictly rows. For purely 'masonry' look without JS, columns is better, 
       but `grid-template-columns` is required by prompt 'Responsive grid'. 
       We will strictly follow the prompt 'desktop 3â€“4 columns'. */
}

@media (max-width: 1024px) {

    .video-grid,
    .graphic-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .video-grid,
    .graphic-grid {
        grid-template-columns: 1fr;
    }

    .category-selector {
        flex-direction: column;
    }

    .category-card {
        width: 100%;
        flex-direction: row;
        padding: 1.5rem;
        justify-content: space-between;
    }

    .cat-arrow {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Card Styles */
.project-card {
    display: block;
    border-radius: 18px;
    /* Requested 16-18px */
    overflow: hidden;
    position: relative;
    background: #1a1a1a;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    /* Soft shadow */
}

/* No-Crop Logic */
.card-image {
    width: 100%;
    position: relative;
    transition: transform 0.4s;
    /* Removed padding-bottom hacks to allow original aspect ratio */
}

.card-image img {
    display: block;
    width: 100%;
    height: auto;
    /* Natural Height */
    object-fit: contain;
    /* Ensure full image is visible if contained, but usually 'block' + 'width 100%' works for height auto */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s;
    filter: brightness(0.9);
}

/* Overlays */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.overlay-text {
    font-family: var(--font-heading);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 1rem 2rem;
    border-radius: 50px;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(0, 0, 0, 0.3);
}

/* Card Hover */
.project-card:hover {
    transform: scale(1.02);
    /* Requested 1.02 - 1.04 */
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

.project-card:hover .card-image img {
    transform: scale(1.05);
    /* Slight zoom inside */
    filter: brightness(1.1);
}

.project-card:hover .overlay {
    opacity: 1;
}

.project-card:hover .overlay-text {
    transform: translateY(0);
}

/* ------------------------------------------------------------------
   RESPONSIVE FORM & LAYOUT (Mobile)
   ------------------------------------------------------------------ */
@media (max-width: 768px) {

    /* Force Single Column for Grids */
    .video-grid,
    .graphic-grid,
    .testimonials-grid,
    .form-grid,
    .services-wrapper {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .pricing-container {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 100%;
        max-width: 350px;
    }

    /* Mobile Typography & Spacing */
    p,
    .testimonial-text {
        font-size: 1rem !important;
        /* Ensure readability */
        line-height: 1.6;
    }

    .section-header h2 {
        font-size: 2.2rem;
        /* Adjusted for mobile */
    }

    .home-section {
        padding: 4rem 5%;
        /* Increased padding */
    }
}

/* ------------------------------------------------------------------
   FORM ENHANCEMENTS
   ------------------------------------------------------------------ */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    outline: none;
    transition: all 0.3s ease;
}

/* ------------------------------------------------------------------
   SOCIAL TOGGLES
   ------------------------------------------------------------------ */
.social-link {
    color: var(--secondary-color);
    transition: all 0.3s ease;
    opacity: 0;
    /* JS will handle entrance */
}

.social-link:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.social-link:active {
    transform: scale(0.95);
}

/* Touch Active State */
.project-card:active,
.carousel-card:active {
    transform: scale(0.98);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Info Section */
.card-info {
    padding: 1.5rem;
    background: #111;
    position: relative;
    z-index: 2;
    border-top: 1px solid #222;
}

.card-info h3 {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.card-info p {
    color: var(--secondary-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Behance Badge */
.behance-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #0057ff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: white;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* 
   ------------------------------------------------------------------
   CONTACT & APPOINTMENT SECTION 
   ------------------------------------------------------------------ 
*/
.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem 0;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s;
    border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 4px 10px rgba(196, 30, 84, 0.1);
    background: linear-gradient(to bottom, transparent 95%, rgba(196, 30, 84, 0.05) 100%);
}

/* Submit Button */
.submit-btn {
    margin-top: 1rem;
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: #fff;
    /* White text on orange */
    border: none;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    align-self: flex-start;
}

.submit-btn:hover {
    transform: translateY(-3px);
    background: #e03e0d;
    /* Slight darken */
    box-shadow: 0 10px 25px rgba(196, 30, 84, 0.4);
}

.submit-btn i {
    transition: transform 0.3s;
}

.submit-btn:hover i {
    transform: translateX(5px) translateY(-5px);
}

/* Success Message */
.form-success {
    text-align: center;
    color: var(--accent-color);
    font-size: 1.2rem;
    padding: 2rem;
    display: none;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Social Toggles */
.social-toggles {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.02);
}

.social-link:hover {
    color: var(--bg-color);
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.1) rotate(5deg);
}

/* Footer */
footer {
    margin-top: auto;
    padding: 3rem 5%;
    border-top: 1px solid #222;
    text-align: center;
    color: #555;
    font-size: 0.85rem;
}


/* ------------------------------------------------------------------
/* ------------------------------------------------------------------
   HOME SECTIONS (Video & Graphic)
   ------------------------------------------------------------------ */
.home-section {
    padding: var(--spacing-md) 5%;
    position: relative;
    background: var(--bg-color);
}

.home-section .section-header {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.home-section .section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    text-transform: uppercase;
    color: var(--accent-color);
}

.home-section .section-header p {
    color: var(--secondary-color);
    font-size: 1.1rem;
    max-width: 600px;
}

/* Project Grids - Updated Spacing */
.project-grid {
    display: grid;
    gap: 24px;
    /* Requested 20-24px */
    align-items: start;
}

/* Generic Card Styles for Homepage Grid */
.home-project-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: #1a1a1a;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.home-project-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
    z-index: 5;
}



/* Responsive Sizing for Homepage Grids */
@media (max-width: 1024px) {

    .video-grid,
    .graphic-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .video-grid,
    .graphic-grid {
        grid-template-columns: 1fr;
    }
}


/* ------------------------------------------------------------------
   SERVICES SECTION (WHAT WE DO)
   ------------------------------------------------------------------ */
#services {
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    /* Between 30-40px as requested */
    margin-top: 4rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    /* Light translucent background */
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    /* 12-20px as requested */
    padding: 2.2rem 1.8rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-8px) scale(1.03);
    /* scale 1.03 as requested */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(196, 30, 84, 0.1);
}

.service-icon {
    font-size: 2.2rem;
    color: var(--accent-color);
    /* #c41e54 */
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #111;
    /* Primary dark color requested */
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
    font-weight: 700;
}

.service-card h3 .highlight {
    color: var(--accent-color);
    /* #c41e54 */
}

.service-points {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.service-points li {
    font-size: 0.85rem;
    color: #444;
    /* Darker text for readability on light bg */
    margin-bottom: 10px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.service-points li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
}

.service-card:hover .service-points li {
    color: #000;
    border-bottom-color: rgba(196, 30, 84, 0.15);
}

/* Responsive Services */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 per row as requested for mobile */
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .service-card {
        padding: 2rem 1.2rem;
    }
}


/* ------------------------------------------------------------------
   PRICING SECTION
   ------------------------------------------------------------------ */
#pricing {
    padding-bottom: 8rem;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
    /* Equal height */
}

.pricing-card {
    background: #111;
    border-radius: 20px;
    padding: 3rem 2rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s, border-color 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Featured Card Style */
.pricing-card.featured {
    border-color: var(--accent-color);
    /* Highlight Border */
    box-shadow: 0 15px 40px rgba(196, 30, 84, 0.15), 0 0 30px rgba(196, 30, 84, 0.05);
    transform: scale(1.05);
    z-index: 2;
    background: #121212;
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 15px rgba(196, 30, 84, 0.1);
    border-color: rgba(196, 30, 84, 0.3);
}

.pricing-btn {
    margin-top: auto;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    text-align: center;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s;
    background: transparent;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.pricing-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 5px 15px rgba(196, 30, 84, 0.3);
}

.pricing-btn.featured-btn {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(196, 30, 84, 0.3);
}

.pricing-btn.featured-btn:hover {
    background: #e03e0d;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(196, 30, 84, 0.5);
}

.pricing-features li {
    font-size: 1rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* CTA Button */
.pricing-btn {
    display: block;
    width: 100%;
    padding: 14px 0;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    /* Slightly squarer than card */
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

/* Removed redundant styles to avoid conflicts */

/* Responsive Pricing */
@media (max-width: 1024px) {
    .pricing-container {
        grid-template-columns: repeat(2, 1fr);
        /* 2 per row */
        max-width: 800px;
    }

    .pricing-card.featured {
        transform: none;
        /* Reset distinct scale on tablet */
        grid-column: span 2;
        width: 100%;
    }

    .pricing-card:nth-child(3) {
        grid-column: span 2;
        /* Make last card centered if 3 items */
    }
}

@media (max-width: 600px) {
    .pricing-container {
        grid-template-columns: 1fr;
        /* Stacked */
    }

    .pricing-card:nth-child(3),
    .pricing-card.featured {
        grid-column: auto;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }
}


/* ------------------------------------------------------------------
   ABOUT ME SECTION
   ------------------------------------------------------------------ */
#about {
    padding-top: 8rem;
    /* More space at top since it follows hero */
    padding-bottom: 8rem;
    position: relative;
    z-index: 10;
    background: var(--bg-color);
    /* Ensure background covers */
}

.about-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    /* Center vertically */
    gap: 6rem;
}

.about-content {
    flex: 1;
}

.section-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-bio {
    font-size: 1.1rem;
    color: #bbb;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.about-bio span {
    color: #fff;
    font-weight: 600;
}

.skills-container h3 {
    font-size: 1rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 3rem;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.skill-tag i {
    color: var(--accent-color);
}

.skill-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.about-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #fff;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Visual (Right Side) */
.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.visual-card {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-inner {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ------------------------------------------------------------------
   EXPERIENCE SECTION
   ------------------------------------------------------------------ */
#experience {
    padding-bottom: 8rem;
}

.timeline-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.timeline-item {
    background: #111;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.timeline-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.timeline-year {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 5px;
    position: relative;
    /* Above year */
}

.role-company {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.role-desc {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
}

/* ------------------------------------------------------------------
   TESTIMONIALS SECTION
   ------------------------------------------------------------------ */
#testimonials {
    padding-bottom: 10rem;
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: #111;
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(to bottom, #111, #131313);
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    opacity: 0.5;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.05rem;
    color: #ddd;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 2rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.client-info h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 3px;
}

.client-info p {
    font-size: 0.85rem;
    color: #888;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .about-wrapper {
        flex-direction: column;
        gap: 4rem;
        text-align: center;
    }

    .about-stats,
    .skill-tags {
        justify-content: center;
    }

    .about-content h2 {
        font-size: 2.5rem;
    }

    .timeline-wrapper,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }

    .timeline-item:last-child,
    .testimonial-card:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {

    .timeline-wrapper,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item:last-child,
    .testimonial-card:last-child {
        grid-column: auto;
    }

    .about-visual {
        display: none;
        /* Hide visual on mobile to save space if needed, or keep */
        /* display: flex; */
    }

    .about-stats {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
}


/* Media Queries for touch and cursor */
@media (max-width: 1024px) {

    /* Mobile: Fixed Floating Badge */
    .custom-cursor {
        display: flex !important;
        position: fixed !important;
        top: auto !important;
        left: auto !important;
        bottom: 30px !important;
        right: 30px !important;
        transform: none !important;
        width: auto !important;
        height: auto !important;
        padding: 12px 24px !important;
        background: var(--accent-color) !important;
        border-radius: 50px !important;
        box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2) !important;
        z-index: 9999;
        pointer-events: auto !important;
        mix-blend-mode: normal !important;
        border: none !important;
        transition: transform 0.2s ease !important;
    }

    .custom-cursor:active {
        transform: scale(0.95) !important;
    }

    .cursor-text {
        font-size: 12px !important;
        color: var(--bg-color) !important;
        opacity: 1 !important;
        transform: scale(1) !important;
        display: block;
    }

    /* Reset other cursor styles on mobile */
    body,
    a,
    button {
        cursor: auto !important;
    }
}

/* Ripple Effect */
.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-anim 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ------------------------------------------------------------------
   MOBILE MENU & LAYOUT FIXES (Override)
   ------------------------------------------------------------------ */

/* Hamburger Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Mobile Nav Toggle State */
.mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Media Query Override */
@media (max-width: 900px) {
    .mobile-menu-btn {
        display: flex;
        /* Show Hamburger */
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #0d0d0d;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateX(0);
        /* Slide In */
    }

    .nav-link {
        font-size: 1.5rem;
        /* Larger for touch */
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links.active .nav-link {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.2s;
        /* Stagger effect handled generally or via JS, but CSS delay works nicely if we add nth-child */
    }

    /* Stagger delays for links */
    .nav-links.active .nav-link:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active .nav-link:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active .nav-link:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active .nav-link:nth-child(4) {
        transition-delay: 0.4s;
    }

    /* LAYOUT FIXES: Force Stacking & Visibility */

    /* Pricing Container */
    .pricing-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 2rem !important;
    }

    .pricing-card {
        width: 100% !important;
        max-width: 400px !important;
    }

    /* About Visual - MUST BE VISIBLE */
    .about-wrapper {
        flex-direction: column !important;
    }

    .about-visual {
        display: flex !important;
        width: 100% !important;
        max-width: 350px !important;
        margin: 0 auto !important;
    }

    /* Grids */
    .video-grid,
    .graphic-grid,
    .testimonials-grid,
    .timeline-wrapper,
    .services-wrapper {
        grid-template-columns: 1fr !important;
    }

    /* Ensure card info is visible */
    .card-info {
        display: block !important;
    }
}

/* ==================================================================
   MEMBER ABOUT SECTIONS (Tauheed, Salman, Zain)
   ================================================================== */

.member-about-section {
    padding: 6rem 5%;
    position: relative;
    overflow: hidden;
}

.member-about-section.alt-bg {
    background: rgba(255, 255, 255, 0.015);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Decorative large background icon */
.member-visual-accent {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(10rem, 18vw, 18rem);
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    user-select: none;
    line-height: 1;
    transition: color 0.5s;
}

.member-about-section:hover .member-visual-accent {
    color: rgba(196, 30, 84, 0.04);
}

/* Inner container — 2-column flex layout */
.member-about-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* Modifier for alternating layout */
.about-reverse {
    flex-direction: row-reverse;
}

.about-text {
    flex: 1.2;
}

.about-image {
    flex: 0.8;
}

/* Header: badge + heading + intro — centered as requested */
.member-about-header {
    text-align: center;
    max-width: 100%;
}

.section-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1.2rem;
    opacity: 0.9;
}

.member-about-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.member-intro {
    font-size: 1.1rem;
    color: var(--secondary-color);
    line-height: 1.8;
    max-width: 100%;
    margin-bottom: 2.5rem;
}

/* Body: skills + stats side by side */
.member-about-body {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Skills block */
.member-skills-block h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 1.2rem;
    text-align: center;
}

.member-skills-block .skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* Stats block */
.member-stats-block {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.member-stats-block .stat-item {
    display: flex;
    flex-direction: column;
}

/* Divider between sections */
.member-about-section+.member-about-section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Fade-in-up base state (JS animates these) */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
}

/* Mobile */
@media (max-width: 900px) {
    .member-about-body {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .member-stats-block {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 2rem;
    }

    .member-visual-accent {
        right: -5%;
        font-size: 12rem;
        opacity: 0.5;
    }

    .member-skills-block h3 {
        text-align: center;
    }

    .member-skills-block .skill-tags {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .member-about-section {
        padding: 5rem 5%;
    }

    .member-about-header h2 {
        font-size: 2.2rem;
    }

    .member-intro {
        font-size: 1rem;
    }

    .member-visual-accent {
        display: none;
    }

    .member-stats-block {
        justify-content: center;
    }
}

/* ==================================================================
   MENU BUTTON (single, top-right)
   ================================================================== */
.menu-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
    min-height: 44px;
    backdrop-filter: blur(8px);
}

.menu-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 20px rgba(196, 30, 84, 0.35);
}

.menu-btn i {
    font-size: 0.95rem;
    transition: transform 0.3s;
}

.menu-btn.is-open i {
    transform: rotate(90deg);
}

/* ==================================================================
   FULLSCREEN OVERLAY MENU
   ================================================================== */
.fullscreen-menu {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;

    /* Hidden state */
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.fullscreen-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

/* Close button */
.menu-close {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.menu-close:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: rotate(90deg);
}

/* Overlay nav links */
.overlay-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.menu-link {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    line-height: 1.25;
    padding: 0.2rem 1rem;
    position: relative;
    transition: color 0.25s ease;

    /* Stagger animation: set via JS or nth-child */
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.25s ease;
}

.fullscreen-menu.is-open .menu-link {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.fullscreen-menu.is-open .menu-link:nth-child(1) {
    transition-delay: 0.05s;
}

.fullscreen-menu.is-open .menu-link:nth-child(2) {
    transition-delay: 0.12s;
}

.fullscreen-menu.is-open .menu-link:nth-child(3) {
    transition-delay: 0.19s;
}

.fullscreen-menu.is-open .menu-link:nth-child(4) {
    transition-delay: 0.26s;
}

.fullscreen-menu.is-open .menu-link:nth-child(5) {
    transition-delay: 0.33s;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.menu-link:hover,
.menu-link.active-section {
    color: #fff;
}

.menu-link:hover::after,
.menu-link.active-section::after {
    width: 60%;
}

.menu-link.active-section {
    color: var(--accent-color);
}

/* Profile links at menu bottom */
.menu-footer {
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease 0.4s, transform 0.4s ease 0.4s;
}

.fullscreen-menu.is-open .menu-footer {
    opacity: 1;
    transform: translateY(0);
}

.menu-profile-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--secondary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    transition: color 0.3s, border-color 0.3s, background 0.3s;
}

.menu-profile-link:hover {
    color: #fff;
    border-color: var(--accent-color);
    background: rgba(196, 30, 84, 0.1);
}

/* Mobile: tighten up */
@media (max-width: 600px) {
    .menu-link {
        font-size: 2rem;
    }

    .menu-close {
        top: 1.2rem;
        right: 1.2rem;
    }

    .menu-footer {
        gap: 0.8rem;
    }
}

/* ==================================================================
   PROFILE LINK BUTTONS (About sections → dedicated pages)
   ================================================================== */
.profile-btn-wrap {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.profile-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border: 2px solid var(--accent-color);
    background: transparent;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    min-height: 44px;
    cursor: pointer;
    transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.profile-link-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-color);
    transform: translateX(-101%);
    transition: transform 0.38s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
}

.profile-link-btn:hover::before {
    transform: translateX(0);
}

.profile-link-btn span,
.profile-link-btn i {
    position: relative;
    z-index: 1;
}

.profile-link-btn:hover {
    color: #fff;
    box-shadow: 0 8px 25px rgba(196, 30, 84, 0.4);
    transform: translateY(-2px);
}

.profile-link-btn i {
    transition: transform 0.3s ease;
}

.profile-link-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 600px) {
    .profile-link-btn {
        padding: 14px 28px;
        font-size: 0.8rem;
    }
}

/* ==================================================================
   NAV — Remove old mobile-menu-btn & nav-links (kept for profile pages)
   Override for profile pages that still use .nav-links
   ================================================================== */
.mobile-menu-btn {
    display: none !important;
    /* Hidden everywhere — replaced by .menu-btn */
}

/* Profile pages: hide nav-links on desktop too (replaced by menu overlay) */
nav .nav-links {
    display: none;
}

/* ==================================================================
   ABOUT SECTION — PROFILE PORTRAIT IMAGE
   ================================================================== */
.about-profile-img-wrap {
    display: block;
    width: 100%;
}

.about-profile-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    display: block;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.4s ease;
}

.about-profile-img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(196, 30, 84, 0.25);
}

@media (max-width: 900px) {
    .member-about-inner {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .about-reverse {
        flex-direction: column;
    }

    .member-about-header {
        text-align: center;
    }

    .about-profile-img {
        height: auto;
    }
}

/* ==================================================================
   REEL SLIDER & RATIO (9:16) ENHANCEMENTS
   ================================================================== */
.cat-track {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.ratio-9-16 {
    flex: 0 0 280px !important;
    width: 280px !important;
    height: 498px;
    aspect-ratio: 9 / 16;
}

@media (max-width: 768px) {
    .ratio-9-16 {
        flex: 0 0 220px !important;
        width: 220px !important;
        height: 391px;
    }
}

.reel-sound-toggle {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    background: rgba(15, 15, 15, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    z-index: 15;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
}

.reel-sound-toggle:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

/* ==================================================================
   MAHRUKH SAKHAWAT PERSONAL IDENTITY & CV STYLING (FUNKY MAROON)
   ================================================================== */
.member-about-section {
    padding: 6rem 5%;
    position: relative;
    overflow: hidden;
}

.member-about-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.about-text {
    flex: 1.2;
}

.about-image {
    flex: 0.8;
}

.member-about-header {
    margin-bottom: 2rem;
}

.member-about-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.8rem;
    line-height: 1.1;
}

.member-role-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
}

.member-intro {
    font-size: 1.05rem;
    color: var(--secondary-color);
    line-height: 1.8;
    max-width: 100%;
    margin-bottom: 2rem;
}

.member-contact-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2.2rem;
    justify-content: flex-start;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-pill:hover {
    background: rgba(196, 30, 84, 0.15);
    border-color: var(--accent-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196, 30, 84, 0.25);
}

.contact-pill.insta-pill {
    background: linear-gradient(135deg, rgba(196, 30, 84, 0.3), rgba(232, 49, 107, 0.15));
    border-color: var(--accent-color);
    color: #fff;
    font-weight: 600;
}

.contact-pill.insta-pill:hover {
    background: linear-gradient(135deg, rgba(196, 30, 84, 0.7), rgba(232, 49, 107, 0.4));
    box-shadow: 0 6px 20px rgba(196, 30, 84, 0.4);
}

.member-about-body {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.member-skills-block h3,
.member-experience-block h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1.2rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    color: #ccc;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.skill-tag:hover {
    border-color: var(--accent-color);
    background: rgba(196, 30, 84, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

.skill-tag i {
    color: var(--accent-color);
}

.member-certifications {
    margin-top: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cert-item {
    font-size: 0.82rem;
    color: #b0b0b8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.experience-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(196, 30, 84, 0.2);
    border-radius: 14px;
    padding: 14px 18px;
    transition: all 0.3s ease;
}

.experience-card:hover {
    border-color: var(--accent-color);
    background: rgba(196, 30, 84, 0.06);
    transform: translateX(4px);
    box-shadow: 0 5px 20px rgba(196, 30, 84, 0.15);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.exp-role {
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
}

.exp-date {
    font-size: 0.78rem;
    color: var(--accent-color);
    font-weight: 600;
    background: rgba(196, 30, 84, 0.12);
    padding: 2px 10px;
    border-radius: 12px;
}

.exp-org {
    font-size: 0.85rem;
    color: #d1d5db;
    margin-bottom: 6px;
    font-weight: 500;
}

.exp-desc {
    font-size: 0.82rem;
    color: #9ca3af;
    line-height: 1.5;
    margin: 0;
}

.about-profile-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 440px;
    margin: 0 auto;
}

.profile-img-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid rgba(196, 30, 84, 0.45);
    box-shadow: 0 20px 50px rgba(196, 30, 84, 0.25), 0 0 30px rgba(196, 30, 84, 0.15);
    background: #140d12;
}

.about-profile-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-profile-card:hover .about-profile-img {
    transform: scale(1.03);
}

.profile-status-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(196, 30, 84, 0.5);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.78rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
}

.profile-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.meta-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(196, 30, 84, 0.2);
    border-radius: 14px;
    padding: 12px;
    text-align: center;
}

.meta-num {
    font-size: 1.15rem;
    font-weight: 700;
    display: block;
}

.meta-label {
    font-size: 0.72rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact direct cards */
.contact-direct-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 2.5rem;
    width: 100%;
}

.direct-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.direct-card:hover {
    border-color: var(--accent-color);
    background: rgba(196, 30, 84, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(196, 30, 84, 0.2);
}

.direct-card.insta-card {
    border-color: rgba(196, 30, 84, 0.4);
    background: linear-gradient(135deg, rgba(196, 30, 84, 0.12), rgba(232, 49, 107, 0.05));
}

.direct-icon {
    font-size: 1.6rem;
    color: var(--accent-color);
}

.direct-details {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.direct-label {
    font-size: 0.72rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.direct-val {
    font-size: 0.92rem;
    font-weight: 600;
    color: #fff;
    word-break: break-all;
}

.direct-arrow {
    font-size: 0.8rem;
    color: #666;
    transition: transform 0.25s ease;
}

.direct-card:hover .direct-arrow {
    transform: translate(3px, -3px);
    color: var(--accent-color);
}

.single-social {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.single-social .social-link {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
    background: rgba(196, 30, 84, 0.1);
    border: 1px solid var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.single-social .social-link:hover {
    background: var(--accent-color);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 30px rgba(196, 30, 84, 0.4);
}

@media (max-width: 900px) {
    .member-about-inner {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }
    
    .member-about-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .member-contact-bar {
        justify-content: center;
    }

    .skill-tags {
        justify-content: center;
    }
}
