/* ==========================================================================
   Zeus Wrap HQ - Premium Styles
   Design Philosophy: Apple-like cleanliness, whitespace, restrained motion.
   ========================================================================== */

/* --- 1. Variables & Design Tokens --- */
:root {
    --color-bg-body: #F5F5F7;
    --color-bg-surface: #FFFFFF;
    --color-text-primary: #1D1D1F;
    --color-text-secondary: #86868B;
    --color-accent: #000000;
    --color-border: rgba(0, 0, 0, 0.1);

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --spacing-container: 2rem;
    --max-width: 1280px;

    --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Performance optimization */
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Force light mode - prevent dark mode */
    color-scheme: light;
    background-color: #F5F5F7;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-body);
    color: var(--color-text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Force light mode - override any dark mode preferences */
    background-color: #F5F5F7 !important;
    color: #1D1D1F !important;
}

/* Explicitly override dark mode if browser applies it */
@media (prefers-color-scheme: dark) {
    html {
        background-color: #F5F5F7 !important;
        color-scheme: light !important;
    }

    body {
        background-color: #F5F5F7 !important;
        color: #1D1D1F !important;
    }

    * {
        color-scheme: light !important;
    }
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    visibility: visible;
}

body.loading {
    overflow: hidden;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    width: 120px;
    height: 120px;
    animation: pulse 1.2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

@keyframes pulse {

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

    50% {
        transform: scale(1.3);
        opacity: 0.6;
    }
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* --- 3. Typography --- */
h1,
h2,
h3 {
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.text-hero {
    font-size: clamp(3rem, 5vw, 5.5rem);
    font-weight: 700;
}

.text-h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.text-h3 {
    font-size: 1.5rem;
}

.text-subtle {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
}

/* --- 4. Layout --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-container);
}

.section {
    padding: 4rem 0;
    position: relative;
}

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

@media(min-width: 768px) {
    .grid-2 {
        grid-template-columns: 4fr 8fr;
        align-items: center;
    }

    .who-we-are-grid {
        grid-template-columns: 6fr 6fr;
    }

    .process-grid {
        grid-template-columns: 6fr 6fr;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .text-hero {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .text-h2 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
}

/* --- 5. Components --- */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 999px;
    background: var(--color-accent);
    color: #fff;
    font-weight: 500;
    transition: transform 0.3s var(--ease-apple);
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    font-size: inherit;
}

.btn:hover {
    transform: scale(1.02);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

.btn-outline:hover {
    background: var(--color-accent);
    color: #fff;
}

/* --- 6. Sections --- */

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: padding 0.3s var(--ease-apple);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    height: 28px;
    width: auto;
    /* filter: brightness(0); */
    transition: opacity 0.3s var(--ease-apple);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: lowercase;
    letter-spacing: -0.02em;
    transition: opacity 0.3s var(--ease-apple);
}

.logo:hover .logo-icon,
.logo:hover .logo-text {
    opacity: 0.7;
}

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

.nav-link {
    font-size: 0.9375rem;
    color: var(--color-text-primary);
    font-weight: 400;
    transition: opacity 0.3s var(--ease-apple);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.3s var(--ease-apple);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-nav {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    border-radius: 999px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--color-accent);
    transition: all 0.3s var(--ease-apple);
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 2rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.4s var(--ease-out-expo);
        z-index: 100;
    }

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

    .nav-link {
        font-size: 1.125rem;
        width: 100%;
        padding: 0.75rem 0;
    }

    .btn-nav {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.4rem;
        font-size: 1rem;
    }
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    overflow: hidden;
}

.hero-content {
    grid-column: 1;
    z-index: 2;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Crop 10px from top and bottom */
    clip-path: inset(10px 0 50px 0);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    /* 15px fade on left and right edges only */
    mask-image: linear-gradient(to right, transparent 0, black 15px, black calc(100% - 15px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 15px, black calc(100% - 15px), transparent 100%);
}

/* Gradient overlays for top and bottom fade using pseudo-elements */
.hero-visual::before,
.hero-visual::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 15px;
    pointer-events: none;
    z-index: 1;
}

.hero-visual::before {
    top: 10px;
    background: linear-gradient(to bottom, var(--color-bg-body), transparent);
}

.hero-visual::after {
    bottom: 10px;
    background: linear-gradient(to top, var(--color-bg-body), transparent);
}

/* Hero Fade In Right Animation */
.fade-in-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .hero {
        padding-top: 60px;
        min-height: auto;
    }

    .hero-content {
        margin-top: 2rem;
    }

    .hero-visual {
        min-height: 400px;
        margin-top: 0.5rem;
    }

    .grid-2 {
        gap: 2rem;
    }
}

/* Before/After 3-Layer Slider */
.ba-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 100%;
}

.ba-wrapper {
    width: 100%;
    aspect-ratio: 1760 / 900;
    position: relative;
    overflow: hidden;
    background: var(--color-bg-body);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    cursor: grab;
}

.ba-layer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.ba-layer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    /* Images stay fixed - no resizing, use contain to show full image */
}

.ba-bottom {
    z-index: 1;
    /* Always fully visible */
}

.ba-middle {
    z-index: 2;
    /* Revealed portion controlled by clip-path */
    clip-path: inset(0 calc(100% - 50%) 0 0);
}

.ba-scroller {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.9;
    transition: opacity 0.12s ease-in-out;
    pointer-events: auto;
    cursor: pointer;
    box-shadow: 3.5px 0px 7px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.ba-scroller-main {
    opacity: 0;
    left: 50%;
    margin-left: -25px;
}

.ba-scroller:hover {
    opacity: 0;
}

.ba-scroller.scrolling {
    pointer-events: none;
    /* opacity: 1; */
    opacity: 0;
    z-index: 11;
}

.ba-scroller__thumb {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 7px;
}

.ba-scroller-main .ba-scroller__thumb {
    border: 5px solid #000;
}

.ba-scroller::before,
.ba-scroller::after {
    content: " ";
    display: block;
    width: 7px;
    height: 9999px;
    position: absolute;
    left: 50%;
    margin-left: -3.5px;
    z-index: 30;
    transition: 0.1s;
    box-shadow: 3.5px 0px 7px rgba(0, 0, 0, 0.2);
}

.ba-scroller::before {
    top: 49px;
}

.ba-scroller::after {
    bottom: 49px;
}

.ba-scroller-main::before,
.ba-scroller-main::after {
    background: #000;
}

@media (max-width: 768px) {
    .ba-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ba-wrapper {
        aspect-ratio: 16 / 9;
    }

    .ba-scroller {
        width: 40px;
        height: 40px;
    }

    .ba-scroller-main {
        margin-left: -20px;
    }
}

/* Tyre Lettering - Infinite Slider */
.tyre-track-container {
    overflow: hidden;
    width: 100%;
    padding: 2rem 0;
    background: #fff;
}

.tyre-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollInfinite 300s linear infinite;
}

.tyre-card {
    width: 300px;
    height: 300px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.tyre-card-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
}

.tyre-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tyre-card:hover img {
    transform: scale(1.05);
}

@keyframes scrollInfinite {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-1 * (300px + 2rem) * 73));
    }

    /* Animation for 73 images */
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Partner Logos - Auto-scroll Slider */
.partners-grid {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
    width: 100%;
}

.partners-slider-track {
    display: flex;
    gap: 4rem;
    animation: scrollPartners 30s linear infinite;
    will-change: transform;
}

.partners-slider-track:hover {
    animation-play-state: paused;
}

.partner-logo-wrapper {
    position: relative;
    flex-shrink: 0;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    height: 50px;
    width: auto;
    max-width: 120px;
    filter: grayscale(100%);
    transition: all 0.3s var(--ease-apple);
    object-fit: contain;
    opacity: 0.4;
    cursor: pointer;
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.5);
    z-index: 10;
    position: relative;
}

.partner-logo-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--color-accent);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.575rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-apple);
    z-index: 20;
}

.partner-logo-wrapper:hover .partner-logo-popup {
    opacity: 1;
}

@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }

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

@media (max-width: 768px) {
    .partners-slider-track {
        gap: 3rem;
    }

    .partner-logo {
        height: 35px;
        max-width: 90px;
    }

    .partner-logo-wrapper {
        height: 35px;
    }
}

/* Process / How It Works Section - Horizontal */
.process-section {
    background: var(--color-bg-surface);
}

.process-steps-horizontal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.process-step-horizontal {
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    text-align: center;
    padding: 2rem;
}

.process-number {
    font-size: 4rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    line-height: 1;
    opacity: 0.3;
}

.process-arrow {
    font-size: 2.5rem;
    color: var(--color-text-secondary);
    opacity: 0.3;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .process-steps-horizontal {
        flex-direction: column;
        gap: 3rem;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .process-step-horizontal {
        max-width: 100%;
    }
}

/* Who We Are Section */
.who-we-are {
    background: var(--color-bg-surface);
}

.who-we-are-visual {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.rotating-car-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rotating-car {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    border-radius: 0;
}

.rotating-car.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .who-we-are-visual {
        min-height: 400px;
    }

    .rotating-car-container {
        min-height: 400px;
    }

    .who-we-are .grid-2 {
        grid-template-columns: 1fr;
    }

    .who-we-are-content {
        order: 1;
    }

    .who-we-are-visual {
        order: 2;
    }
}

/* Work Section */
.work-section {
    background: var(--color-bg-surface);
}

.work-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.work-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--color-bg-body);
    border-radius: 0;
    cursor: pointer;
    transition: transform 0.3s var(--ease-apple);
}

.work-item:hover {
    transform: scale(1.02);
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .work-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .work-gallery {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 1rem;
        padding: 0 1rem;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .work-gallery::-webkit-scrollbar {
        display: none;
    }

    .work-item {
        flex-shrink: 0;
        width: 280px;
        height: 280px;
        scroll-snap-align: start;
    }
}

/* Finishes Gallery */
.finishes-section {
    background: var(--color-bg-surface);
}

.finishes-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .finishes-gallery {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 1rem;
        padding: 0 1rem;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .finishes-gallery::-webkit-scrollbar {
        display: none;
    }

    .finish-item {
        flex-shrink: 0;
        width: 280px;
        height: 210px;
        scroll-snap-align: start;
    }
}

.finish-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--color-bg-body);
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s var(--ease-apple);
}

.finish-item:hover {
    transform: scale(1.02);
}

.finish-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Lightbox - Simple Full Screen */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
    object-fit: contain;
}

.lightbox .prev,
.lightbox .next {
    height: 50px;
    width: 50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    background-color: transparent;
    color: #ffffff;
    padding: 10px;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.lightbox .prev:hover,
.lightbox .next:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%) scale(1.1);
}

.lightbox .prev {
    left: 20px;
}

.lightbox .next {
    right: 20px;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: #ffffff;
    background: none;
    cursor: pointer;
    border: none;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: transform 0.3s ease;
}

.lightbox .close:hover {
    transform: rotate(90deg) scale(1.1);
}

@media (max-width: 768px) {
    .lightbox img {
        max-width: 90%;
        max-height: 90%;
    }

    .lightbox .prev,
    .lightbox .next {
        height: 40px;
        width: 40px;
        font-size: 2rem;
    }

    .lightbox .prev {
        left: 10px;
    }

    .lightbox .next {
        right: 10px;
    }

    .lightbox .close {
        top: 10px;
        right: 10px;
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }
}

/* Academy Section */
.academy-section {
    background: var(--color-bg-surface);
}

.academy-grid {
    align-items: center;
}

.academy-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.academy-visual {
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.academy-visual img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .academy-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonials Section */
.testimonials-section {
    background: var(--color-bg-surface);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--color-bg-body);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s var(--ease-apple), box-shadow 0.3s var(--ease-apple);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.25rem;
}

.testimonial-rating .star {
    color: #FFD700;
    font-size: 1.25rem;
    line-height: 1;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-primary);
    margin-bottom: 2rem;
    flex-grow: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.testimonial-author strong {
    font-weight: 600;
    color: var(--color-text-primary);
    font-size: 1rem;
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 2rem;
    }
}

/* FAQ Section */
.faq-section {
    background: var(--color-bg-body);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--color-bg-surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s var(--ease-apple);
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    transition: color 0.3s var(--ease-apple);
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    transition: transform 0.3s var(--ease-apple), color 0.3s var(--ease-apple);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
    color: var(--color-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-apple), padding 0.4s var(--ease-apple);
    padding: 0 2rem;
}

.faq-question[aria-expanded="true"]+.faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
    color: var(--color-text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

/* Credibility Section */
.credibility-section {
    background: var(--color-bg-surface);
}

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

@media (min-width: 768px) {
    .credibility-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}

.credibility-content {
    display: flex;
    flex-direction: column;
}

.credibility-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.badge-icon {
    color: var(--color-accent);
    width: 18px;
    height: 18px;
}

/* .highlight-text {
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-accent) 0%, #333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
} */

.highlight-number {
    font-weight: 700;
    color: var(--color-accent);
    font-size: 1.1em;
}

/* .highlight-location {
    font-weight: 600;
    color: var(--color-accent);
    position: relative;
} */

.highlight-service {
    font-weight: 600;
    color: var(--color-text-primary);
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.05) 100%);
    padding: 0.1em 0.3em;
    border-radius: 4px;
}

/* .highlight-tagline {
    font-weight: 700;
    font-style: italic;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
} */

.credibility-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stars-rating {
    display: flex;
    gap: 0.2rem;
    align-items: center;
}

.stars-rating svg {
    width: 18px;
    height: 18px;
}

.credibility-text p {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .credibility-content>div:last-child {
        display: flex;
        justify-content: center;
    }
}

.credibility-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.phone-link {
    display: block;
    cursor: pointer;
    transition: transform 0.3s var(--ease-apple);
}

.phone-link:hover {
    transform: scale(1.05);
}

.phone-image {
    width: 100%;
    height: auto;
    display: block;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 767px) {
    .credibility-visual {
        order: -1;
    }

    .credibility-stats {
        gap: 1.5rem;
        justify-content: center;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 1.5rem;
    }

    .faq-question[aria-expanded="true"]+.faq-answer {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }
}

/* Instagram Reels Section */
.instagram-reels-section {
    background: #000;
    padding: 6rem 0;
    overflow: hidden;
}

.reels-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    /* Hide overflow for infinite scroll */
    position: relative;
    padding: 3rem 0;
    -webkit-overflow-scrolling: touch;
}

.reels-carousel {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 0 2rem;
    will-change: transform;
    width: max-content;
}

.reel-item {
    flex-shrink: 0;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: #1a1a1a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    width: 280px;
    height: 400px;
    opacity: 0.8;
}

.reel-item:hover {
    opacity: 1;
    transform: scale(1.05);
}

.reel-video,
.reel-iframe,
.reel-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.reel-iframe {
    border: none;
    background: #000;
}

.reel-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reel-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.3);
}

.reel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.reel-item:hover .reel-overlay {
    opacity: 1;
}

.reel-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.reel-play-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 3;
}

.reel-item:hover .reel-play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.reel-play-icon svg {
    width: 24px;
    height: 24px;
    fill: #000;
    margin-left: 3px;
}

@media (max-width: 768px) {
    .instagram-reels-section {
        padding: 4rem 0;
    }

    .reels-carousel-wrapper {
        padding: 2rem 0;
    }

    .reels-carousel {
        gap: 1rem;
        padding: 0 1rem;
    }

    .reel-item {
        width: 240px;
        height: 360px;
    }
}

/* Booking Section */
.booking-section {
    background: var(--color-bg-body);
}

.booking-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Booking Modal */
.booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 2rem;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    /* Safari fix for modal display */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.booking-modal-content {
    background: var(--color-bg-surface);
    border-radius: 12px;
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    /* Safari fix for content display */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* Prevent layout shift */
    margin: auto;
}

.booking-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--color-text-primary);
    background: none;
    cursor: pointer;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: transform 0.3s ease;
    z-index: 1;
}

.booking-modal-close:hover {
    transform: rotate(90deg) scale(1.1);
}

.booking-modal-content h2 {
    margin-bottom: 0.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-text-primary);
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 16px;
    /* Prevent Safari zoom on focus */
    font-family: inherit;
    background: var(--color-bg-body);
    color: var(--color-text-primary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    /* Safari fixes */
    -webkit-appearance: none;
    appearance: none;
    /* Prevent focus jump */
    box-sizing: border-box;
    /* Fix Safari input rendering */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    /* Prevent layout shift on focus */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* Safari focus fix */
    -webkit-tap-highlight-color: transparent;
}

.form-group input::placeholder {
    color: var(--color-text-secondary);
}

@media (max-width: 768px) {
    .booking-modal {
        padding: 1rem;
        /* Safari mobile fix */
        -webkit-overflow-scrolling: touch;
    }

    .booking-modal-content {
        padding: 2rem 1.5rem;
        /* Prevent Safari input zoom */
        font-size: 16px;
    }

    .form-group input {
        /* Ensure no zoom on mobile Safari */
        font-size: 16px !important;
    }
}

/* Parallax and Reveal Transitions */
.parallax-element {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.reveal-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.reveal-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scale-reveal {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.scale-reveal.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Footer */
.footer {
    background: var(--color-accent);
    color: #ffffff;
    padding: 2.5rem 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand {
    flex: 0 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.footer-logo-icon {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s var(--ease-apple);
}

.footer-logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: lowercase;
    letter-spacing: -0.02em;
    transition: opacity 0.3s var(--ease-apple);
}

.footer-logo:hover .footer-logo-icon,
.footer-logo:hover .footer-logo-text {
    opacity: 0.7;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    flex: 1 1 auto;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex: 0 0 auto;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s var(--ease-apple);
    text-decoration: none;
}

.social-icon:hover {
    color: rgba(255, 255, 255, 1);
    opacity: 1;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-copyright {
        order: 3;
        width: 100%;
    }

    .footer-social {
        order: 2;
    }

    /* Center PPF content on mobile */
    .ppf-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* --- PPF Section --- */
.video-container-shorts {
    position: relative;
    width: 100%;
    max-width: 320px;
    /* Phone width */
    margin: 0 auto;
    aspect-ratio: 9 / 16;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #000;
}

.video-container-shorts iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media(min-width: 768px) {
    .ppf-grid {
        grid-template-columns: 1fr 1fr !important;
        align-items: center;
    }

    /* Reset PPF content alignment on desktop */
    .ppf-content {
        align-items: flex-start;
        text-align: left;
    }
}

/* --- News Section --- */
.news-section {
    background: #fff;
    /* Distinct from body bg */
    overflow: hidden;
    /* Prevent horizontal scrollbar on body */
}

.news-scroll-wrapper {
    overflow: hidden;
    /* Hide overflow completely, no native scroll */
    width: 100%;
    padding: 2rem 0;
    margin-top: 2rem;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    cursor: grab;
    touch-action: pan-y;
    /* Allow vertical scroll, handle horizontal in JS */
}

.news-scroll-wrapper:active {
    cursor: grabbing;
}

.news-scroll-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollNews 40s linear infinite;
}

.news-scroll-wrapper:hover .news-scroll-track {
    animation-play-state: paused;
}

/* Allow manual scroll on touch devices or when paused */
.news-scroll-wrapper:active .news-scroll-track {
    animation-play-state: paused;
}


@keyframes scrollNews {
    0% {
        transform: translateX(0);
    }

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

.btn-youtube {
    background-color: #FF0000;
    color: #fff;
    border: none;
    transition: all 0.3s var(--ease-apple);
}

.btn-youtube:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.news-card {
    flex: 0 0 300px;
    /* Fixed width cards */
    background: var(--color-bg-surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s var(--ease-apple), box-shadow 0.3s var(--ease-apple);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 150px;
    background-color: #ffffff;
    /* Changed from f0f0f0 to white for logos */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
    /* Add padding around logo */
}

.news-image img {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
    /* Removed grayscale filter */
    transition: filter 0.3s ease;
    opacity: 1;
}

.news-card:hover .news-image img {
    /* No change needed on hover as it's already colored */
    opacity: 1;
}

.news-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-source {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    color: var(--color-text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-snippet {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.read-more span {
    transition: transform 0.3s;
    font-size: 1.1rem;
}

.read-more:hover span {
    transform: translateX(4px);
}