/* ============================================
   MÌNH ƠI - MEDIA: MAIN.CSS
   Design System & Global Styles
   ============================================ */

:root {
    /* TROPICAL DARK MONOCHROME PALETTE */
    --color-primary-mint: #FFFFFF;
    /* White for accents/buttons */
    --color-accent-mint: rgba(255, 255, 255, 0.8);
    --color-white: #FFFFFF;
    --color-dark-gray: #FFFFFF;
    /* Headings are White */
    --color-light-gray: rgba(255, 255, 255, 0.7);
    /* Subtitles/Text */
    --color-border-gray: rgba(255, 255, 255, 0.15);

    /* LIQUID GLASS EFFECTS (APPLE DARK FROST) */
    --glass-bg: rgba(10, 20, 15, 0.12);
    /* High transparency dark green/black */
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    --glass-blur: blur(40px) saturate(150%);

    /* TYPOGRAPHY */
    --font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Playfair Display', serif;
    --font-size-h1: 3.5rem;
    /* 56px */
    --font-size-h2: 2.5rem;
    /* 40px */
    --font-size-h3: 1.75rem;
    /* 28px */
    --font-size-body: 1rem;
    /* 16px */
    --font-size-small: 0.875rem;
    /* 14px */

    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* SPACING */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-xxl: 80px;

    /* TRANSITIONS & EFFECTS */
    --transition-fast: 200ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;

    /* BORDER RADIUS */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    /* SHADOWS */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    height: 100%;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory !important;
    scroll-padding-top: 56px;
    overflow-x: hidden;
    width: 100%;
}

body {
    height: 100%;
    font-family: var(--font-family);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--color-light-gray);
    background-color: #0A140F;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    touch-action: pan-y; /* Only allow vertical scrolling */
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: var(--font-size-h1);
}

h2 {
    font-size: var(--font-size-h2);
}

h3 {
    font-size: var(--font-size-h3);
}

h4 {
    font-size: 1.25rem;
    /* 20px */
    font-weight: var(--font-weight-semibold);
}

h5 {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
}

h6 {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-semibold);
}

p {
    line-height: 1.7;
    color: var(--color-light-gray);
}

a {
    color: var(--color-primary-mint);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-mint);
}

button {
    font-family: var(--font-family);
    border: none;
    background: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

ul,
ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

li {
    margin-bottom: var(--space-sm);
}

/* ============================================
   IMAGES & MEDIA
   ============================================ */

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

/* ============================================
   CONTAINER & LAYOUT WRAPPER
   ============================================ */

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

/* ============================================
   UTILITY CLASSES
   ============================================ */

.section-title {
    text-align: center;
    color: var(--color-dark-gray);
    margin-bottom: var(--space-xxl);
    position: relative;
    padding-bottom: var(--space-lg);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-primary-mint);
    border-radius: var(--radius-md);
}

/* ============================================
   TROPICAL BACKGROUND & GLASSMORPHISM
   ============================================ */

.tropical-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.tropical-bg .bg-img {
    width: 100%;
    height: 120%;
    /* More height for deeper parallax */
    object-fit: cover;
    filter: blur(8px) brightness(0.8);
    /* Frosted/Matte look */
    transition: transform 0.1s ease-out;
}

.tropical-bg .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 20, 15, 0.4), rgba(10, 20, 15, 0.6));
    /* Darken the background slightly so text pops */
}

.glass-panel {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur) !important;
    -webkit-backdrop-filter: var(--glass-blur) !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--glass-shadow) !important;
}

.glass-panel-main {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 32px;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xl);
    padding: var(--space-xxl);
    transform: translateZ(0);
    will-change: transform, opacity;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* FULL SCREEN PAGE OVERRIDES (Home, Services, Portfolio) */
body.tab-home .glass-panel-main,
body.tab-services .glass-panel-main,
body.tab-portfolio .glass-panel-main {
    margin: 0;
    padding: 0;
    border-radius: 0;
    border: none;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    max-width: none;
}

body.tab-home .tab-content section,
body.tab-home .tab-content header,
body.tab-home .tab-content footer,
body.tab-services .tab-content section,
body.tab-services .tab-content header,
body.tab-services .tab-content footer,
body.tab-portfolio .tab-content section,
body.tab-portfolio .tab-content header,
body.tab-portfolio .tab-content footer {
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 120px 24px 80px 24px !important;
    border: none !important;
    width: 100% !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden;
}

@media (max-width: 1024px) {
    body.tab-home .tab-content > div > section,
    body.tab-home .tab-content > div > header,
    body.tab-home .tab-content > div > footer,
    body.tab-services .tab-content > div > section,
    body.tab-services .tab-content > div > header,
    body.tab-services .tab-content > div > footer,
    body.tab-portfolio .tab-content > div > section,
    body.tab-portfolio .tab-content > div > header,
    body.tab-portfolio .tab-content > div > footer {
        height: 100vh !important;
        min-height: 100vh !important;
        padding: 100px 20px 80px 20px !important;
        scroll-snap-align: start !important;
        scroll-snap-stop: always !important;
    }
}

body.tab-portfolio .portfolio-prologue {
    padding: 0 !important;
}

/* Specific Home Hero tweak (already has content wrapper) */
body.tab-home .tab-content .hero-content-cinematic {
    padding: 0 !important;
    height: auto;
}

.main-content.tab-loading {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(10px) scale(0.99);
}

.main-content.tab-loaded {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ONLY FOR HOME & PRICING SLIDES */
.tab-content .hero-slide,
.tab-content .story-slide,
.tab-content .direction-slide,
.tab-content .stats-slide,
.tab-content .testimonial-slide-page,
.tab-content .cta-slide,
.tab-content .pricing-intro-slide,
.tab-content .pricing-packages-slide,
.tab-content .pricing-faq-slide {
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px var(--space-lg) 80px var(--space-lg);
    position: relative;
    opacity: 0;
    filter: blur(30px);
    transform: translateY(30px) scale(1.05);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Entrance animation triggered by JS */
.tab-content .active-slide {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
}

/* PREMIMUM TESTIMONIAL CARDS */
.testimonial-slide {
    padding: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.testimonial-card-premium {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    max-width: 800px;
    width: 100%;
}

.testimonial-card-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 40px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent 50%, rgba(0,255,180,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.testimonial-quote-icon {
    font-size: 5rem;
    color: var(--color-primary-mint);
    opacity: 0.1;
    position: absolute;
    top: 20px;
    right: 40px;
    font-family: var(--font-heading);
    line-height: 1;
}

.testimonial-text {
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.95);
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
}

.testimonial-author-box {
    display: flex;
    align-items: center;
    gap: 24px;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.testimonial-meta h5 {
    margin: 0;
    color: white;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    font-family: var(--font-family);
}

.testimonial-meta p {
    margin: 4px 0 0 0;
    font-size: 0.85rem;
    color: var(--color-primary-mint);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .testimonial-card-premium {
        padding: 40px 24px;
        border-radius: 32px;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .testimonial-avatar {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
    }
    
    .testimonial-meta h5 {
        font-size: 1.1rem;
    }
}

/* BEAUTIFUL CTA SLIDE */
.cta-slide {
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 255, 180, 0.05) 0%, transparent 70%);
}

.cta-slide h3 {
    background: linear-gradient(to bottom, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-heading);
    letter-spacing: -2px;
}

.cta-glow-btn {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    padding: 18px 48px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 100px;
    box-shadow: 0 0 0 rgba(0, 255, 180, 0);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .cta-glow-btn, .editorial-btn, .cta-line-btn, .cta-glow-btn-cinematic {
        width: 100% !important;
        max-width: 320px !important;
        margin: 10px auto !important;
        padding: 14px 24px !important;
        font-size: 0.75rem !important;
        height: auto !important;
        border-radius: 100px !important;
    }
}


.cta-glow-btn:hover {
    background: var(--color-primary-mint);
    color: #000;
    border-color: var(--color-primary-mint);
    box-shadow: 0 0 50px rgba(0, 255, 180, 0.6);
    transform: translateY(-5px) scale(1.02);
}

.cta-glow-btn i {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Portfolio & Other sections stay normal */
.gallery-section,
.services-section,
.faq-section {
    min-height: auto;
    scroll-snap-align: none;
    opacity: 1;
    transform: none;
    display: block;
    padding: var(--space-xl) 0;
}

@keyframes contentPop {
    0% {
        transform: scale(0.98);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* ============================================
   ANIMATION KEYFRAMES
   ============================================ */

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

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

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

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade-in animation on scroll */
.fade-in {
    animation: fadeIn var(--transition-slow) ease-in-out;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
    display: none !important;
}

/* Hide scrollbar for IE, Edge and Firefox */
html, body {
    -ms-overflow-style: none !important;  /* IE and Edge */
    scrollbar-width: none !important;  /* Firefox */
}

/* ============================================
   FOCUS STATES FOR ACCESSIBILITY
   ============================================ */

button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--color-primary-mint);
    outline-offset: 2px;
}

/* ============================================
   LOADING & ERROR STATES
   ============================================ */

.loading,
.error {
    text-align: center;
    padding: var(--space-xxl);
    color: var(--color-light-gray);
    font-size: var(--font-size-body);
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--color-primary-mint);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-h1: 2rem;
        --font-size-h2: 1.75rem;
        --font-size-h3: 1.25rem;
    }

    h4 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-h1: 1.8rem;
        --font-size-h2: 1rem;
        --font-size-h3: 0.9rem;
        --font-size-body: 0.95rem;
        --font-size-p: 0.6rem;
    }

    p {
        line-height: 1.6;
    }
}

@media (max-width: 900px) {
    .services-grid {
        flex-direction: column !important;
        align-items: center;
    }

    .service-card {
        width: 100%;
        max-width: 400px;
        transform: scale(1) !important;
    }
    .tab-content .pricing-packages-slide {
        padding: 80px 16px 40px 16px !important;
    }
}

/* CINEMATIC MOBILE & TABLET OPTIMIZATION */
@media (max-width: 1024px) {

    .tab-content .hero-slide,
    .tab-content .story-slide,
    .tab-content .direction-slide,
    .tab-content .stats-slide,
    .tab-content .testimonial-slide-page,
    .tab-content .cta-slide,
    .tab-content .pricing-intro-slide,
    .tab-content .pricing-packages-slide,
    .tab-content .pricing-faq-slide {
        padding: 100px 24px 80px 24px !important;
        height: 100vh !important;
        min-height: 100vh !important;
        scroll-snap-align: start !important;
        scroll-snap-stop: always !important;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem) !important;
    }

    .testimonial-card-premium {
        padding: 32px 24px;
        border-radius: 30px;
    }

    .testimonial-quote-icon {
        font-size: 3rem;
        top: 15px;
        right: 25px;
    }

    .service-card {
        margin: 10px 0;
        border-radius: 30px;
    }

    .back-btn-fixed {
        bottom: 30px;
        top: auto;
        transform: none;
        left: 20px;
        width: 50px;
        height: 50px;
        background: rgba(0, 255, 180, 0.9);
        color: #000;
        box-shadow: 0 10px 30px rgba(0, 255, 180, 0.4);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
    }

    .stats-slide .stat-item div {
        font-size: 4rem !important;
    }

    .cta-slide h3 {
        font-size: 2.5rem !important;
    }

    .pricing-intro-slide h2 {
        font-size: 1.8rem !important;
    }
}

/* HERO CINEMATIC REFINEMENT (MOBILE & DESKTOP) */
.hero-cinematic {
    position: relative;
    padding: 0 !important;
    overflow: hidden;
    background: #000;
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay-cinematic {
    position: absolute;
    inset: 0;
    /* Sophisticated vignette to blend all edges */
    background: radial-gradient(circle, transparent 20%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0.9) 100%),
                linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 20%, transparent 80%, rgba(0,0,0,0.9) 100%);
    z-index: 2;
}

/* Add a soft mask to the video container itself */
.hero-bg-video {
    position: absolute;
    inset: 0;
    z-index: 1;
    -webkit-mask-image: radial-gradient(circle, black 50%, rgba(0,0,0,0.5) 80%, transparent 100%);
    mask-image: radial-gradient(circle, black 50%, rgba(0,0,0,0.5) 80%, transparent 100%);
}

.hero-content-cinematic {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 80px 24px;
}

.hero-title-cinematic {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 10vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-title-cinematic span {
    color: var(--color-primary-mint);
    font-style: italic;
    display: block;
}

.hero-subtitle-cinematic {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 400px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-glow-btn-cinematic {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 18px 40px;
    border-radius: 100px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0, 255, 180, 0.2);
}

.cta-glow-btn-cinematic:hover {
    background: var(--color-primary-mint);
    color: #000;
    border-color: var(--color-primary-mint);
    box-shadow: 0 10px 50px rgba(0, 255, 180, 0.5);
    transform: translateY(-5px);
}

.hero-actions-cinematic {
    margin-top: auto;
    margin-bottom: 40px;
}

/* SLIDE TEXT EFFECTS */
.hero-title-cinematic,
.hero-subtitle-cinematic,
.hero-actions-cinematic {
    opacity: 0;
    transform: translateY(30px);
}

.active-slide .hero-title-cinematic {
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

.active-slide .hero-subtitle-cinematic {
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.6s;
}

.active-slide .hero-actions-cinematic {
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.9s;
}

/* Only hide elements in slides that are meant to be animated via .active-slide */
.tab-content .hero-slide h3,
.tab-content .hero-slide p,
.tab-content .hero-slide .cta-glow-btn,
.tab-content .story-slide h3,
.tab-content .story-slide p,
.tab-content .story-slide .cta-glow-btn,
.tab-content .cta-slide h3,
.tab-content .cta-slide p,
.tab-content .cta-slide .cta-glow-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.active-slide h3,
.active-slide p,
.active-slide .cta-glow-btn,
.active-slide .stat-item,
.active-slide .testimonial-slider-wrapper {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Sequence delays for internal slide elements */
.active-slide h3 {
    transition-delay: 0.2s;
}

.active-slide p {
    transition-delay: 0.4s;
}

.active-slide .cta-glow-btn,
.active-slide .stat-item {
    transition-delay: 0.6s;
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE SPECIFIC TWEAKS */
@media (max-width: 768px) {
    .hero-title-cinematic {
        font-size: 3rem;
    }

    .hero-content-cinematic {
        justify-content: flex-end;
        padding-bottom: 80px;
    }
}

/* LUXURY SERVICE CARDS */
.service-card-luxury {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 40px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    text-align: left;
}

.service-card-luxury:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--color-primary-mint);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 255, 180, 0.15);
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.service-features-list li::before {
    content: '\f00c';
    /* FontAwesome check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-primary-mint);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .services-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        justify-content: flex-start !important;
        gap: 20px !important;
        padding: 20px !important;
        width: 100% !important;
        margin: 0 !important;
        scrollbar-width: none !important;
    }

    .services-grid::-webkit-scrollbar {
        display: none !important;
    }

    .service-card-luxury {
        flex: 0 0 82% !important;
        scroll-snap-align: center !important;
        padding: 20px 16px !important;
        height: auto !important;
        min-height: auto !important;
        border-radius: 20px !important;
        margin: 0 !important;
        background: rgba(255, 255, 255, 0.05) !important;
    }

    .service-card-luxury h4 {
        font-size: 1.2rem !important;
        margin-bottom: 10px !important;
    }

    .service-description {
        font-size: 0.85rem !important;
        margin-bottom: 15px !important;
    }

    .service-features-list li {
        font-size: 0.75rem !important;
        margin-bottom: 6px !important;
        padding-left: 22px !important;
    }
    
    .service-features-list li::before {
        font-size: 0.7rem !important;
    }

    .service-footer {
        margin-top: 20px !important;
    }
}

/* PORTFOLIO STORY CARDS */
.story-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    text-align: center;
    border-radius: 32px;
}

.story-card-content p {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--color-white);
    margin-bottom: 24px;
    font-style: italic;
    opacity: 0.9;
}

.story-author {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: var(--color-primary-mint);
    font-weight: 700;
}

@media (max-width: 768px) {
    .story-card-content p {
        font-size: 1.3rem;
    }
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(40px, 10vw, 150px);
}

@media (max-width: 768px) {
    .stats-grid {
        flex-direction: column;
        gap: 60px !important;
    }
}