* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

body {
    background-color: #000;
}

main {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

section {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Hero Container - 75vh, unaffected by zoom */
.hero-container {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 75vh;
    max-height: 75vh;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Gradient fade to black - last 40% of hero section */
.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 1) 50%,
        rgba(0, 0, 0, 1) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Slide container */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* Background image - centered at middle point, fills width */
.hero-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    /* Gradient background for gradient mode */
    background: linear-gradient(135deg, #8d23fe 0%, #ff1596 33%, #0001ff 66%, #df0000 100%);
}

/* Black overlay on hero images (controllable opacity) */
.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* 30% black - adjustable */
    z-index: 1;
    pointer-events: none;
}

/* Masked container - wraps second image */
.masked {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    overflow: hidden;

    /* Mobile: vertical infinity mask */
    -webkit-mask-image: url("/uploads/services/SVG/PNG_Infinity - Vertical - Mask.png");
    mask-image: url("/uploads/services/SVG/PNG_Infinity - Vertical - Mask.png");
    -webkit-mask-position: center center;
    mask-position: center center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* Desktop: horizontal infinity mask */
@media (min-width: 768px) {
    .masked {
        -webkit-mask-image: url("/uploads/services/SVG/PNG_Infinity - Horizontal - Mask.png");
        mask-image: url("/uploads/services/SVG/PNG_Infinity - Horizontal - Mask.png");
    }
}

/* Zoom IN animation - wait 1s, then scale from 90% to 100% over 3 seconds */
@keyframes zoomOut {
    0%, 25% {
        transform: translate(-50%, -50%) scale(0.9);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Pulse animation for gradient mode - 90% -> 100% -> 90% with 3s transitions and 1s pauses, synced with 5deg rotation */
@keyframes gradientPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.9) rotate(0deg);
    }
    11.11% {
        transform: translate(-50%, -50%) scale(0.9) rotate(0deg);
    }
    44.44% {
        transform: translate(-50%, -50%) scale(1) rotate(5deg);
    }
    55.56% {
        transform: translate(-50%, -50%) scale(1) rotate(5deg);
    }
    88.89% {
        transform: translate(-50%, -50%) scale(0.9) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) scale(0.9) rotate(0deg);
    }
}

/* Second background image - same positioning as background */
.hero-image-top {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    /* Gradient background for gradient mode */
    background: linear-gradient(135deg, #8d23fe 0%, #ff1596 33%, #0001ff 66%, #df0000 100%);
    /* Apply breathing pulse animation for gradient mode */
    animation: gradientPulse 9s linear infinite;
}

/* Apply animations when slide is active */
.hero-slide.active .hero-image-top.zoom-out {
    animation: zoomOut 4s ease-out forwards;
}

/* Hero text overlay */
.hero-text {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    color: white;
    width: 90%;
}

.hero-text h1 {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.3;
    margin: 0 0 15px 0;
}

@media (min-width: 640px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-text h1 {
        font-size: 4rem;
    }
}

/* Hero subline */
.hero-subline {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 20px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .hero-subline {
        font-size: 1.125rem;
    }
}

@media (min-width: 768px) {
    .hero-subline {
        font-size: 1.25rem;
    }
}

/* Hero CTA Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

.hero-btn {
    padding: 12px 24px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.hero-btn-primary {
    background-color: #fff;
    color: #000;
    border: 2px solid #fff;
}

.hero-btn-primary:hover {
    background-color: transparent;
    color: #fff;
}

.hero-btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.hero-btn-secondary:hover {
    background-color: #fff;
    color: #000;
}

@media (min-width: 768px) {
    .hero-btn {
        padding: 18px 40px;
        font-size: 1.125rem;
    }
}

/* Breadcrumb Styles */
.breadcrumb-container {
    background-color: #000;
    padding: 12px 20px;
    border-bottom: 1px solid #1a1a1a;
}

.breadcrumb {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb-item {
    font-size: 0.875rem;
    line-height: 1;
}

.breadcrumb-item a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #fff;
}

.breadcrumb-current {
    color: #666;
}

.breadcrumb-separator {
    color: #666;
    font-size: 0.875rem;
    user-select: none;
}

@media (min-width: 768px) {
    .breadcrumb-container {
        padding: 15px 20px;
    }

    .breadcrumb-item {
        font-size: 0.9375rem;
    }

    .breadcrumb-separator {
        font-size: 0.9375rem;
    }
}

/* Section 2 Styles */
.section-2 {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-2-left {
    margin-bottom: 40px;
}

.section-2-left h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 30px;
    line-height: 1.3;
}

.section-2-left h2 br {
    display: none;
}

@media (min-width: 640px) {
    .section-2-left h2 {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .section-2-left h2 {
        font-size: 1.75rem;
    }

    .section-2-left h2 br {
        display: inline;
    }
}

@media (min-width: 1024px) {
    .section-2-left h2 {
        font-size: 2rem;
    }
}

/* Infinity SVG - static dark gray */
.infinity-svg-container {
    display: flex;
    justify-content: flex-start;
}

.infinity-svg-container svg {
    width: 60px;
    height: auto;
}

@media (min-width: 768px) {
    .infinity-svg-container svg {
        width: 75px;
    }
}

@media (min-width: 1024px) {
    .infinity-svg-container svg {
        width: 100px;
    }
}

/* Content grid */
.section-2-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px; /* Reduced gap for mobile */
    align-items: start;
}

@media (min-width: 1024px) {
    .section-2-content {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: start; /* Keep left column at top */
    }
}

.section-2-text {
    color: #ccc;
    font-size: 1.125rem;
    line-height: 1.8;
}

@media (min-width: 768px) {
    .section-2-text {
        font-size: 1.25rem;
    }
}

/* Section 2: Expand Button & Separator */
.section-2-expand-separator {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px 0 0 0;
}

.section-2-separator-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #333, transparent);
}

.section-2-expand-btn {
    background: transparent;
    border: 1px solid #333;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.section-2-expand-btn:hover {
    border-color: #666;
    background: rgba(255, 255, 255, 0.05);
}

.section-2-expand-icon {
    color: #999;
    transition: transform 0.3s ease;
    display: block;
}

.section-2-expand-btn[aria-expanded="true"] .section-2-expand-icon {
    transform: rotate(90deg);
}

/* Expandable Content - SEO-friendly (content visible to crawlers) */
.section-2-expandable {
    /* Use grid for smooth height animation while keeping content in DOM */
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s ease;
}

.section-2-expandable.expanded {
    grid-template-rows: 1fr;
}

.section-2-expandable > div {
    overflow: hidden;
    padding-top: 1.5rem; /* Space between paragraph 1 and expandable content */
}

.section-2-expandable p {
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
}

.section-2-expandable p:first-child {
    margin-top: 0;
}

.section-2-expandable.expanded p {
    opacity: 1;
    transform: translateY(0);
}

.section-2-expandable p:nth-child(1) {
    transition-delay: 0.2s;
}

.section-2-expandable p:nth-child(2) {
    transition-delay: 0.3s;
}

.section-2-expandable p:nth-child(3) {
    transition-delay: 0.4s;
}

.section-2-closing {
    font-style: italic;
    color: #aaa;
    font-size: 1rem;
    margin-bottom: 0 !important;
}

@media (min-width: 768px) {
    .section-2-closing {
        font-size: 1.125rem;
    }
}

/* SEO Summary - Light styling for SEO-focused paragraph */
.section-2-seo-summary {
    font-style: italic;
    color: #999;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .section-2-seo-summary {
        font-size: 1.0625rem;
    }
}

/* Pillars Grid (Dark Mode) - Below Section 2 */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .pillars-grid {
        gap: 25px;
    }
}

@media (min-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

/* Pillar card - Dark theme with colored borders */
.pillar-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.pillar-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Desktop hover & Mobile active - change background to brand colors */
.pillar-card:nth-child(1):hover,
.pillar-card:nth-child(1).active {
    background-color: #8d23fe;
}

.pillar-card:nth-child(2):hover,
.pillar-card:nth-child(2).active {
    background-color: #ff1596;
}

.pillar-card:nth-child(3):hover,
.pillar-card:nth-child(3).active {
    background-color: #0001ff;
}

.pillar-card:nth-child(4):hover,
.pillar-card:nth-child(4).active {
    background-color: #df0000;
}

@media (min-width: 768px) {
    .pillar-card {
        padding: 40px 25px;
    }
}

/* Pillar icon */
.pillar-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .pillar-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 25px;
    }
}

.pillar-icon svg {
    width: 100%;
    height: auto;
}

.pillar-icon svg path {
    transition: fill 0.3s ease;
}

/* Apply colors to SVG on all screen sizes */
.pillar-card:nth-child(1) .pillar-icon svg path {
    fill: #8d23fe;
}

.pillar-card:nth-child(2) .pillar-icon svg path {
    fill: #ff1596;
}

.pillar-card:nth-child(3) .pillar-icon svg path {
    fill: #0001ff;
}

.pillar-card:nth-child(4) .pillar-icon svg path {
    fill: #df0000;
}

/* On hover/active, make SVG white */
.pillar-card:hover .pillar-icon svg path,
.pillar-card.active .pillar-icon svg path {
    fill: white;
}

/* Pillar title */
.pillar-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .pillar-card h3 {
        font-size: 1.125rem;
    }
}

/* Pillar description */
.pillar-card p {
    font-size: 0.875rem;
    color: #ccc;
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .pillar-card p {
        font-size: 0.9375rem;
    }
}

/* On hover/active, make text white */
.pillar-card:hover p,
.pillar-card.active p {
    color: white;
}

/* Section 3: Logo Carousel with Weaving Infinity */
.section-3 {
    position: relative;
    width: 100%;
    padding: 100px 0;
    overflow: hidden;
    background-color: #000;
}

/* Base infinity SVG - Layer 1 (z-index: 1) */
.infinity-base {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    max-width: 600px;
    min-width: 300px;
    height: auto;
    z-index: 1;
}

/* Ring overlay SVG - Layer 3 (z-index: 3) */
.infinity-rings {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    max-width: 600px;
    min-width: 300px;
    height: auto;
    z-index: 3;
    pointer-events: none;
}

/* Logo carousel - Layer 2 (z-index: 2), FULL SCREEN WIDTH */
.logo-carousel {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    gap: 80px;
    align-items: center;
    white-space: nowrap;
    z-index: 2;
    will-change: transform;
}

/* Client logo images */
.client-logo {
    height: 60px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.client-logo:hover {
    opacity: 1;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .section-3 {
        padding: 150px 0;
    }

    .client-logo {
        height: 80px;
        max-width: 200px;
    }
}

/* Section 4: Services */
.section-4 {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-4 h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .section-4 h2 {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .section-4 h2 {
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .section-4 h2 {
        font-size: 2rem;
    }
}

.section-4-subline {
    color: #999;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .section-4-subline {
        font-size: 1.125rem;
    }
}

/* Section 4 closing statement */
.section-4-closing {
    color: #999;
    font-size: 1rem;
    line-height: 1.8;
    margin-top: 60px;
    margin-bottom: 0;
    text-align: center;
    font-weight: 300;
}

@media (min-width: 768px) {
    .section-4-closing {
        font-size: 1.125rem;
    }
}

/* Service cards grid - Flexible based on number of cards */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .services-grid {
        gap: 30px;
    }
}

@media (min-width: 1024px) {
    /* Default: 3 columns for 6 services (3x2 grid) */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    /* If 3 services: 3x1 grid */
    .services-grid:has(.service-card:nth-child(3):last-child) {
        grid-template-columns: repeat(3, 1fr);
    }

    /* If 4 services: 2x2 grid */
    .services-grid:has(.service-card:nth-child(4):last-child) {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Reduce height for cards in 2x2 grid */
    .services-grid:has(.service-card:nth-child(4):last-child) .service-card {
        aspect-ratio: 2 / 1;
    }
}

/* Service card - Simple black box with gray border */
.service-card {
    background-color: #000;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
    /* Mobile: 2:1 aspect ratio */
    aspect-ratio: 2 / 1;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #555;
}

@media (min-width: 1024px) {
    .service-card {
        /* Desktop: 1.25:1 aspect ratio (slightly taller than wide) */
        aspect-ratio: 1.25 / 1;
        padding: 40px;
    }

    /* Desktop hover - change background to random colors */
    .service-card:nth-child(1):hover {
        background-color: #8d23fe;
    }

    .service-card:nth-child(2):hover {
        background-color: #ff1596;
    }

    .service-card:nth-child(3):hover {
        background-color: #0001ff;
    }

    .service-card:nth-child(4):hover {
        background-color: #df0000;
    }

    .service-card:nth-child(5):hover {
        background-color: #ffa500;
    }

    .service-card:nth-child(6):hover {
        background-color: #00ff9d;
    }
}

/* Hide images and gradients */
.service-card-bg,
.service-card-gradient {
    display: none;
}

/* Card content */
.service-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Title */
.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .service-card h3 {
        font-size: 1.5rem;
        margin: 0 0 15px 0;
    }
}

/* Description */
.service-card-description {
    color: white;
    font-size: 0.75rem;
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
    flex: 1;
}

.service-card:hover .service-card-description {
    -webkit-line-clamp: 6;
}

@media (min-width: 768px) {
    .service-card-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
}

/* Bottom section with button */
.service-card-bottom {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: auto;
}

@media (min-width: 1024px) {
    .service-card-bottom {
        justify-content: flex-end;
    }
}

/* Discover button */
.service-card-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.service-card-btn:hover {
    transform: translateX(5px);
}

@media (min-width: 768px) {
    .service-card-btn {
        font-size: 1rem;
    }
}

/* Button text and icon colors - white for all cards */
.service-card-btn {
    color: white;
}

.service-card-icon path {
    fill: white;
}

/* Infinity icon */
.service-card-icon {
    width: 25px;
    height: auto;
}

@media (min-width: 768px) {
    .service-card-icon {
        width: 30px;
    }
}

/* ==========================================
   PROJECT SLIDER 3D CAMERA CONTROLS
   Adjust these CSS variables to control the camera view
   ========================================== */
:root {
    /* PERSPECTIVE: Controls depth perception (higher value = less perspective effect)
       Range: 800px - 2000px | Default: 1200px */
    --projects-camera-perspective: 1200px;

    /* ROTATE X: Tilt camera up/down (bird's eye view)
       Positive = tilt down (looking from above)
       Negative = tilt up (looking from below)
       Range: 0deg - 60deg | Default: 35deg */
    --projects-camera-rotate-x: 35deg;

    /* ROTATE Y: Rotate camera left/right
       Positive = rotate right
       Negative = rotate left
       Range: -30deg - 30deg | Default: 0deg */
    --projects-camera-rotate-y: 0deg;

    /* ROTATE Z: Rotate clockwise/counterclockwise
       Positive = clockwise rotation
       Negative = counterclockwise rotation
       Range: -15deg - 15deg | Default: 10deg */
    --projects-camera-rotate-z: 10deg;

    /* SCALE: Zoom in/out
       1 = 100% (original size)
       0.9 = 90% (zoom out)
       1.1 = 110% (zoom in)
       Range: 0.7 - 1.3 | Default: 1 */
    --projects-camera-scale: 1;

    /* TRANSLATE X: Move camera left/right (horizontal position offset)
       Positive = move right
       Negative = move left
       Range: -200px - 200px | Default: 0px */
    --projects-camera-translate-x: 0px;

    /* TRANSLATE Y: Move camera up/down (vertical position offset)
       Positive = move down
       Negative = move up
       Range: -200px - 200px | Default: 0px */
    --projects-camera-translate-y: -100px;

    /* TRANSLATE Z: Move camera forward/backward (depth offset)
       Positive = move forward (closer to viewer)
       Negative = move backward (away from viewer)
       Range: -500px - 500px | Default: 0px */
    --projects-camera-translate-z: 0px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    :root {
        --projects-camera-scale: 0.9;
        --projects-camera-translate-x: 0px;
        --projects-camera-translate-y: -200px;
        --projects-camera-translate-z: 0px;
    }
}

/* Section 5: How Our Marketing Agency Works (Process Steps) */
.section-5 {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-5 h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.3;
    text-align: left;
}

@media (min-width: 640px) {
    .section-5 h2 {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .section-5 h2 {
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .section-5 h2 {
        font-size: 2rem;
    }
}

.section-5-description {
    color: #999;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 60px;
    text-align: left;
}

@media (min-width: 768px) {
    .section-5-description {
        font-size: 1.125rem;
    }
}

/* Process Steps Container - FIXED HEIGHT to prevent scroll jitter */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Mobile: Dynamic height based on number of steps */
/* 4 steps: 1 active (300px) + 3 collapsed (100px each) + gaps (20px × 3) = 660px */
.process-steps:has(.process-step:nth-child(4):last-child) {
    height: 660px;
}

/* 5 steps: 1 active (300px) + 4 collapsed (100px each) + gaps (20px × 4) = 780px */
.process-steps:has(.process-step:nth-child(5):last-child) {
    height: 780px;
}

/* 6 steps: 1 active (300px) + 5 collapsed (100px each) + gaps (20px × 5) = 900px */
.process-steps:has(.process-step:nth-child(6):last-child) {
    height: 900px;
}

@media (min-width: 1024px) {
    .process-steps {
        flex-direction: row;
        gap: 20px;
        /* Desktop: Fixed height to prevent scroll jitter - OVERRIDE mobile heights */
        height: 350px !important;
    }
}

/* Process Step */
.process-step {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /* Mobile: Inactive boxes stay at min-height */
    flex: 0 0 auto;
    height: 100px;
}

/* Mobile: Active state - full height */
.process-step.active {
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.process-step:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

/* Desktop: Inactive boxes fixed width, active box grows to fill ALL remaining space */
@media (min-width: 1024px) {
    .process-step {
        /* Inactive boxes: fixed width and height */
        flex: 0 0 100px;
        width: 100px;
        height: 350px;
        transition: width 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    }

    .process-step.active {
        /* Active box: grows to fill ALL remaining space, fixed height */
        flex: 1 1 0;
        width: auto;
        height: 350px;
    }
}

/* Process Step Header (Number + Title) */
.process-step-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

/* Process Number */
.process-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .process-number {
        font-size: 2rem;
    }
}

/* Process Title */
.process-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .process-title {
        font-size: 1.125rem;
    }
}

/* Process Content (description) */
.process-content {
    position: relative;
    overflow: hidden;
}

.process-content p {
    font-size: 0.875rem;
    color: #ccc;
    line-height: 1.6;
    margin: 0;
    /* Always in DOM for SEO - just hide visually */
}

@media (min-width: 768px) {
    .process-content p {
        font-size: 1rem;
    }
}

/* Collapsed state - hide visually but keep in DOM with fixed positioning */
.process-step:not(.active) .process-content p {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.process-step.active .process-content p {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

/* Progress bar at top of each card - Always visible */
.process-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.process-progress-fill {
    height: 100%;
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 15px 0 0 0;
}

/* Different color for each step */
.process-step:nth-child(1) .process-progress-fill {
    background: #8d23fe;
}

.process-step:nth-child(2) .process-progress-fill {
    background: #ff1596;
}

.process-step:nth-child(3) .process-progress-fill {
    background: #0001ff;
}

.process-step:nth-child(4) .process-progress-fill {
    background: #df0000;
}

.process-step:nth-child(5) .process-progress-fill {
    background: #ffa500;
}

.process-step:nth-child(6) .process-progress-fill {
    background: #00ff9d;
}

/* Desktop: Collapsed state shows only number */
@media (min-width: 1024px) {
    .process-step:not(.active) .process-title {
        display: none;
    }

    .process-step:not(.active) .process-step-header {
        justify-content: center;
        margin-bottom: 0;
    }

    .process-step.active .process-step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Section 5 closing subline */
.section-5-closing {
    color: #999;
    font-size: 1rem;
    line-height: 1.8;
    margin-top: 30px;
    margin-bottom: 0;
    text-align: center;
    font-weight: 300;
}

@media (min-width: 768px) {
    .section-5-closing {
        font-size: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .section-5-closing {
        margin-top: 40px;
    }
}

/* SVG clip path definitions */
.projects-clip-svg {
    position: absolute;
    width: 0;
    height: 0;
}

.projects-slider-section {
    height: 100vh;
    overflow: hidden;
    position: relative;
    perspective: var(--projects-camera-perspective);
    background-color: #000000;
}

.projects-camera-view {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform:
        translate3d(
            var(--projects-camera-translate-x),
            var(--projects-camera-translate-y),
            var(--projects-camera-translate-z)
        )
        scale(var(--projects-camera-scale))
        rotateX(var(--projects-camera-rotate-x))
        rotateY(var(--projects-camera-rotate-y))
        rotateZ(var(--projects-camera-rotate-z));
    transition: transform 0.5s ease;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.projects-slider-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    transform-style: preserve-3d;
    pointer-events: none;
}

.projects-card-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    padding-left: calc(50vw - 180px);
    padding-right: calc(50vw - 180px);
    will-change: transform;
    z-index: 1;
    transform-style: preserve-3d;
    pointer-events: none;
}

.projects-project-card {
    flex-shrink: 0;
    width: 360px;
    aspect-ratio: 4 / 5;
    transition: transform 0.5s ease-out, border-color 0.3s ease;
    will-change: transform;
    isolation: isolate;
    border: 1px solid #2a2a2a;
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    background-color: #0a0a0a;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    cursor: pointer;
}

/* Apply mask only on desktop for corner leakage fix */
@media (min-width: 769px) {
    .projects-project-card {
        -webkit-mask-image: -webkit-radial-gradient(white, black);
        mask-image: radial-gradient(white, black);
    }
}

.projects-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    background: radial-gradient(circle at var(--x) var(--y), rgba(255, 255, 255, 0.15), transparent 40%);
    z-index: 30;
}

.projects-project-tag {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease, border-color 0.3s ease;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    color: white;
}

.projects-image-wrapper {
    clip-path: inset(0% 0% 0% 0%);
    transition: clip-path 0.7s cubic-bezier(0.86, 0, 0.07, 1);
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 1.5rem;
    overflow: hidden;
    z-index: 10;
}

.projects-project-card:hover .projects-image-wrapper {
    clip-path: url(#projects-infinity-clip);
}

.projects-project-image {
    transition: transform 0.7s cubic-bezier(0.86, 0, 0.07, 1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projects-project-card:hover .projects-project-image {
    transform: scale(1.1);
}

.projects-card-gradient-bg {
    opacity: 0;
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    z-index: 0;
    transition: opacity 0.5s cubic-bezier(0.86, 0, 0.07, 1);
}

.projects-project-card:hover .projects-card-gradient-bg {
    opacity: 1;
}

.projects-darken-overlay {
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.86, 0, 0.07, 1);
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
}

.projects-project-card:hover .projects-darken-overlay {
    opacity: 1;
}

.projects-project-description {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, max-height 0.5s ease;
    color: #d1d5db;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Show description on hover for desktop */
.projects-project-card:hover .projects-project-description {
    opacity: 1;
    max-height: 6rem;
}

/* Move content up on hover */
.projects-project-card:hover .projects-card-top-content {
    transform: translateY(-10px);
    transition: transform 0.5s ease-out;
}

/* Show read more icon on hover */
.projects-project-card:hover .projects-read-more-icon {
    opacity: 1;
    transform: translateX(0);
}

.projects-background-svg-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 127.5vh;
    height: auto;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
}

.projects-background-svg-container svg {
    width: 100%;
    height: 100%;
}

#projects-background-path {
    fill: rgba(255, 255, 255, 0.03);
    transition: fill 0.5s ease-in-out;
}

.projects-slider-section {
    padding-top: 80px;
}

.projects-section-header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 40px 20px;
    position: relative;
    z-index: 30;
}

.projects-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .projects-section-title {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .projects-section-title {
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .projects-section-title {
        font-size: 2rem;
    }
}

.projects-section-description {
    color: #fff;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .projects-section-description {
        font-size: 1.125rem;
    }
}

.projects-start-btn {
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    background-color: #fff;
    color: #000;
    border: 2px solid #fff;
}

.projects-start-btn:hover {
    background-color: transparent;
    color: #fff;
}

@media (min-width: 768px) {
    .projects-start-btn {
        padding: 18px 40px;
        font-size: 1.125rem;
    }
}

.projects-gradient-top {
    position: absolute;
    inset: 0 0 auto 0;
    height: 12rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1), transparent);
    z-index: 20;
    pointer-events: none;
}

.projects-gradient-bottom {
    position: absolute;
    inset: auto 0 0 0;
    height: 12rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
    z-index: 20;
    pointer-events: none;
}

.projects-view-more-card {
    flex-shrink: 0;
    width: 360px;
    aspect-ratio: 4 / 5;
    position: relative;
    border-radius: 1.5rem;
    background-color: #0d0d0d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    text-decoration: none;
    color: white;
    z-index: 0;
    overflow: hidden;
    pointer-events: auto;
    cursor: pointer;
}

@keyframes projects-rotate {
    100% {
        transform: rotate(1turn);
    }
}

.projects-view-more-card::before {
    content: '';
    position: absolute;
    z-index: -2;
    left: -50%;
    top: -50%;
    width: 200%;
    height: 200%;
    background-color: #1a232a;
    background-repeat: no-repeat;
    background-size: 50% 50%, 50% 50%;
    background-position: 0 0, 100% 0, 100% 100%, 0 100%;
    background-image: conic-gradient(#f91c23, #0a0bff, #eb0ffd, #9820fe, #f91c23);
    animation: projects-rotate 4s linear infinite;
}

.projects-view-more-card::after {
    content: '';
    position: absolute;
    z-index: -1;
    left: 2px;
    top: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    background: #000000;
    border-radius: calc(1.5rem - 2px);
}

.projects-card-content {
    position: relative;
    z-index: 20;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.projects-card-top-content {
    flex: 1;
    min-height: 0;
    transition: transform 0.5s ease-out;
}

.projects-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0;
}

.projects-project-title {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.projects-project-year {
    color: #9ca3af;
    font-weight: 500;
    font-size: 1rem;
    margin: 0;
    flex-shrink: 0;
}

.projects-project-description-wrapper {
    margin-top: 1rem;
    padding-right: 1rem;
}

.projects-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
}

.projects-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 1rem;
    min-height: fit-content;
}

.projects-card-top-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
    z-index: 20;
    pointer-events: none;
}

/* Ensure the read more icon is properly positioned */
.projects-read-more-icon {
    opacity: 0;
    transform: translateX(10px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    z-index: 1;
    transition: background-color 0.2s ease, opacity 0.4s ease, transform 0.4s ease;
    color: white;
    text-decoration: none;
    flex-shrink: 0;
}

/* Disable CSS hover on mobile to let JS handle it */
@media (max-width: 768px) {
    .projects-project-card:hover .projects-project-description {
        opacity: 0;
        max-height: 0;
    }

    .projects-project-card:hover .projects-card-top-content {
        transform: none;
    }

    .projects-project-card:hover .projects-read-more-icon {
        opacity: 0;
        transform: translateX(10px);
    }
}

.projects-read-more-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Section 6: Industries */
.section-6 {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-6 h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .section-6 h2 {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .section-6 h2 {
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .section-6 h2 {
        font-size: 2rem;
    }
}

.section-6-description {
    color: #999;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .section-6-description {
        font-size: 1.125rem;
    }
}

/* Industries grid - Mobile: 2x6, Desktop: 4x3 */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .industries-grid {
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

/* Industry card */
.industry-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
}

/* Background image */
.industry-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Gradient overlay (bottom half) */
.industry-card-gradient {
    position: absolute;
    inset: 50% 0 0 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Card content */
.industry-card-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Title */
.industry-card h3 {
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .industry-card h3 {
        font-size: 1.125rem;
    }
}

/* Bottom section with button */
.industry-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Learn more text and icon */
.industry-card-btn {
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
}

@media (min-width: 768px) {
    .industry-card-btn {
        font-size: 0.875rem;
    }
}

/* Infinity icon */
.industry-card-icon {
    width: 20px;
    height: auto;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .industry-card-icon {
        width: 25px;
    }
}

.industry-card-icon path {
    fill: white;
}

/* Footer text */
.section-6-footer {
    color: #999;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
    text-align: center;
}

@media (min-width: 768px) {
    .section-6-footer {
        font-size: 1.125rem;
    }
}

/* Section 7: CR8V Advantage */
.section-7 {
    padding: 80px 20px;
    background-color: #fff;
}

.section-7 > * {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.section-7-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-7-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .section-7-subtitle {
        font-size: 1rem;
    }
}

.section-7 h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .section-7 h2 {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .section-7 h2 {
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .section-7 h2 {
        font-size: 2rem;
    }
}

.section-7-description {
    color: #333;
    font-size: 1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section-7-description {
        font-size: 1.125rem;
    }
}

/* Advantage grid - Mobile: 4 rows (1 column), Desktop: 4x1 */
.advantage-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .advantage-grid {
        gap: 25px;
    }
}

@media (min-width: 1024px) {
    .advantage-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

/* Advantage card */
.advantage-card {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

/* Desktop hover & Mobile active - change background to different colors */
.advantage-card:nth-child(1):hover,
.advantage-card:nth-child(1).active {
    background-color: #8d23fe;
}

.advantage-card:nth-child(2):hover,
.advantage-card:nth-child(2).active {
    background-color: #ff1596;
}

.advantage-card:nth-child(3):hover,
.advantage-card:nth-child(3).active {
    background-color: #0001ff;
}

.advantage-card:nth-child(4):hover,
.advantage-card:nth-child(4).active {
    background-color: #df0000;
}

@media (min-width: 768px) {
    .advantage-card {
        padding: 40px 25px;
    }
}

/* Icon */
.advantage-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .advantage-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 25px;
    }
}

.advantage-icon svg {
    width: 100%;
    height: auto;
}

.advantage-icon svg path {
    transition: fill 0.3s ease;
}

/* Apply colors to SVG on all screen sizes */
.advantage-card:nth-child(1) .advantage-icon svg path {
    fill: #8d23fe;
}

.advantage-card:nth-child(2) .advantage-icon svg path {
    fill: #ff1596;
}

.advantage-card:nth-child(3) .advantage-icon svg path {
    fill: #0001ff;
}

.advantage-card:nth-child(4) .advantage-icon svg path {
    fill: #df0000;
}

/* On hover/active, make SVG white */
.advantage-card:hover .advantage-icon svg path,
.advantage-card.active .advantage-icon svg path {
    fill: white;
}

/* Card title */
.advantage-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 15px 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .advantage-card h3 {
        font-size: 1.125rem;
    }
}

/* On hover/active, make title white */
.advantage-card:hover h3,
.advantage-card.active h3 {
    color: white;
}

/* Card description */
.advantage-card p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .advantage-card p {
        font-size: 0.9375rem;
    }
}

/* On hover/active, make description white */
.advantage-card:hover p,
.advantage-card.active p {
    color: white;
}

/* CTA section below cards */
.section-7-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
}

@media (min-width: 768px) {
    .section-7-cta {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
    }
}

.section-7-cta-text {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

@media (min-width: 768px) {
    .section-7-cta-text {
        font-size: 1.125rem;
        text-align: left;
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .section-7-cta-text {
        font-size: 1.25rem;
    }
}

.section-7-cta-btn {
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
    white-space: nowrap;
}

.section-7-cta-btn:hover {
    background-color: transparent;
    color: #000;
}

@media (min-width: 768px) {
    .section-7-cta-btn {
        padding: 18px 40px;
        font-size: 1.125rem;
    }
}

/* Section 8: FAQ */
.section-8 {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.section-8 h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.3;
    text-align: center;
}

@media (min-width: 640px) {
    .section-8 h2 {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .section-8 h2 {
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .section-8 h2 {
        font-size: 2rem;
    }
}

.section-8-description {
    color: #fff;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 60px;
    text-align: center;
}

@media (min-width: 768px) {
    .section-8-description {
        font-size: 1.125rem;
    }
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* FAQ Item */
.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

/* FAQ Question Button */
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

@media (min-width: 768px) {
    .faq-question {
        padding: 25px 30px;
    }
}

.faq-question span {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    line-height: 1.4;
    flex: 1;
}

@media (min-width: 768px) {
    .faq-question span {
        font-size: 1.125rem;
    }
}

/* FAQ Icon (Infinity SVG) */
.faq-icon {
    width: 30px;
    height: auto;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-icon path {
    fill: white;
}

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

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    font-size: 0.9375rem;
    color: #ccc;
    line-height: 1.8;
    margin: 0;
    padding: 0 20px 20px 20px;
}

@media (min-width: 768px) {
    .faq-answer p {
        font-size: 1rem;
        padding: 0 30px 25px 30px;
    }
}

/* Expanded state */
.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Section 9: Final CTA with Gradient Background */
.section-9 {
    position: relative;
    padding: 120px 20px;
    overflow: hidden;
    background: linear-gradient(
        30deg,
        #8d23fe 0%,
        #ff1596 25%,
        #0001ff 50%,
        #df0000 75%,
        #ffa500 100%
    );
}

/* Noise texture overlay */
.section-9::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.section-9-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-9 h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 30px;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .section-9 h2 {
        font-size: 2.25rem;
    }
}

@media (min-width: 768px) {
    .section-9 h2 {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .section-9 h2 {
        font-size: 3rem;
    }
}

.section-9-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 50px;
}

@media (min-width: 768px) {
    .section-9-description {
        font-size: 1.25rem;
    }
}

/* CTA Buttons */
.section-9-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}

@media (min-width: 640px) {
    .section-9-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
}

/* Primary Button */
.section-9-btn-primary {
    padding: 18px 40px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    background-color: #fff;
    color: #000;
    border: 2px solid #fff;
    white-space: nowrap;
}

.section-9-btn-primary:hover {
    background-color: transparent;
    color: #fff;
    transform: translateY(-2px);
}

/* Secondary/Ghost Button */
.section-9-btn-secondary {
    padding: 18px 40px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.section-9-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Subline */
.section-9-subline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

@media (min-width: 768px) {
    .section-9-subline {
        font-size: 1rem;
    }
}
