:root {
    --primary: #FF5A00;
    --primary-glow: rgba(255, 90, 0, 0.2);
    --secondary: #E39912;
    --accent: #0A6BE1;
    --bg-dark: #f0f2f5;
    /* Light steel gray */
    --bg-darker: #ffffff;
    /* Absolute white */
    --text-main: #1e293b;
    /* Slate 800 (Dark text) */
    --text-muted: #64748b;
    /* Slate 500 */
    --border-color: rgba(0, 0, 0, 0.08);

    --font-heading: 'Syncopate', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* Set Lenis wrapper defaults */
    scroll-behavior: auto;
    /* Disabled smooth for Lenis control */
    font-size: 16px;
    background-color: var(--bg-darker);
    color: var(--text-main);
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background: var(--bg-darker);
    cursor: none;
    /* Custom Premium Cursor */
}

/* Custom Cursor */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    background-color: transparent;
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 99999;
    pointer-events: none;
}

@media (hover: none) and (pointer: coarse) {

    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
}

/* Premium Preloader */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-darker);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2rem;
    display: flex;
    overflow: hidden;
}

.preloader-text span {
    display: inline-block;
    transform: translateY(100%);
}

.preloader-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.preloader-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--primary);
    transition: width 0.1s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeIn 1s 2s forwards;
}

.scroll-indicator .mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    animation: mouseScroll 2s infinite ease-in-out;
}

@keyframes mouseScroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Corporate Portals */
.corporate-portals {
    padding: 0;
    width: 100%;
    background: var(--bg-darker);
}

.portals-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.portal-card {
    flex: 1 1 50%;
    min-height: 50vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.client-portal {
    border-right: 1px solid var(--border-color);
}

.portal-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.portal-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portal-overlay {
    position: absolute;
    inset: 0;
    transition: background 0.4s ease;
}

.client-portal .portal-overlay {
    background: rgba(180, 50, 0, 0.65);
    /* Orange overlay */
}

.employee-portal .portal-overlay {
    background: rgba(10, 20, 35, 0.85);
    /* Dark slate overlay */
}

.portal-card:hover .portal-bg img {
    transform: scale(1.05);
}

.client-portal:hover .portal-overlay {
    background: rgba(220, 70, 0, 0.7);
    /* Brighter orange hover */
}

.employee-portal:hover .portal-overlay {
    background: rgba(15, 30, 50, 0.9);
    /* Brighter slate hover */
}

.portal-content {
    position: relative;
    z-index: 1;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portal-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.portal-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

.portal-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Marquee / Logos Section */
.partners-marquee {
    padding: 4rem 0;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.marquee-title {
    text-align: center;
    font-family: var(--font-heading);
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 2.5rem;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
}

.marquee-container::before,
.marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.marquee-track {
    display: flex;
    gap: 4rem;
    padding-left: 2rem;
    align-items: center;
    white-space: nowrap;
    animation: scrollMarquee 30s linear infinite;
    will-change: transform;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.logo-item {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(30, 41, 59, 0.3);
    /* Dark but transparent */
    transition: var(--transition);
    cursor: default;
    user-select: none;
}

.logo-item:hover {
    color: var(--primary);
    transform: scale(1.1);
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Since we duplicated items, 50% shift creates loop */
}

/* Magnetic Buttons override */
.magnetic {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.magnetic .btn-text {
    pointer-events: none;
}

/* Custom Scrollbar & Scroll Progress */
::-webkit-scrollbar {
    width: 8px;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 9999;
    transition: width 0.1s;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

h1,
h2,
h3,
h4,
.glitch {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Typography & Utilities */
.w-100 {
    width: 100%;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #ff8c3a;
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 90, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-solid-orange {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    background: #ff5a00;
    color: #fff;
    transition: var(--transition);
}

.btn-solid-orange:hover {
    background: #e65100;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 90, 0, 0.4);
}

.btn-outline-white {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid #ffffff;
    cursor: pointer;
    text-transform: uppercase;
    background: transparent;
    color: #fff;
    transition: var(--transition);
}

.btn-outline-white:hover {
    background: #ffffff;
    color: #040914;
    /* dark color text on hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.pulse {
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 106, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 106, 0, 0);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, transparent 100%);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: none;
    transition: var(--transition);
}

.logo:hover .logo-text {
    color: var(--primary);
    text-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-family: var(--font-heading);
    letter-spacing: 1.5px;
    color: var(--text-main);
    position: relative;
    font-weight: 600;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary);
}

.menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 999;
}

.menu-btn .bar {
    width: 25px;
    height: 3px;
    background: var(--text-main);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img.fallback-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    /* slightly bigger for parallax */
    opacity: 0.2;
    /* Fade fallback to show video if supported */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(230, 230, 230, 0.4) 0%, rgba(255, 255, 255, 0.8) 100%);
    z-index: 2;
    /* Put overlay above video but under canvas */
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 50;
    /* Bring text WAY up over the floating elements */
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    max-width: 900px;
    color: var(--text-main);
    /* Dark Slate for contrast */
    text-shadow: 0 4px 15px rgba(255, 255, 255, 0.9);
    /* Soft white glow behind dark text */
    word-break: keep-all;
    /* Fix wrap issue */
    overflow-wrap: normal;
}

/* SplitType Display Fix */
.word {
    display: inline-block;
}

/* Floating JS Elements Removed */

.hero h1.glitch {
    position: relative;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-main);
    font-weight: 500;
    max-width: 600px;
    margin-bottom: 2.5rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Trust Section */
.trust-section {
    background: var(--bg-dark);
    padding: 4rem 2rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.trust-item h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.trust-item p {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Section Common */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(1.2rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    max-width: 100%;
    overflow-wrap: break-word;
}

.title-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* Methodology Section */
.methodology-corp {
    padding: 6rem 2rem;
    background: var(--bg-dark);
}

.methodology-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.method-step {
    background: #ffffff;
    padding: 3.5rem 2rem 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    overflow: hidden;
}

.method-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: rgba(255, 90, 0, 0.3);
}

.method-step .step-num {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    left: auto;
    opacity: 0.1;
    line-height: 1;
    pointer-events: none;
}

.method-step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 700;
    text-transform: uppercase;
}

.method-step p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Services */
.services {
    padding: 8rem 2rem;
    background: var(--bg-darker);
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    /* softer border */
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
    /* Glassmorphism */
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 45px rgba(255, 90, 0, 0.15);
    /* Warmer shadow */
}

/* Shimmer effect for service cards */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    transition: all 0.7s ease;
    z-index: 10;
    pointer-events: none;
}

.service-card:hover::after {
    left: 150%;
}

.card-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-dark), transparent);
}

.card-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 106, 0, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex: 1;
}

.link-arrow {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
}

.link-arrow:hover {
    color: #fff;
}

/* Guarantee Banner */
.corporate-guarantee {
    background: var(--primary);
    padding: 5rem 2rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.corporate-guarantee::after {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1));
    transform: skewX(-20deg);
}

.guarantee-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.guarantee-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.guarantee-text {
    flex: 1;
}

.guarantee-text h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.guarantee-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 800px;
    line-height: 1.6;
}

.guarantee-cta {
    flex-shrink: 0;
}

.guarantee-cta .btn-primary {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.guarantee-cta .btn-primary::before {
    background: #f0f0f0;
}

.guarantee-cta .btn-primary:hover {
    color: #cc4800;
}

@media (max-width: 900px) {
    .guarantee-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Split Section */
.split-section {
    display: flex;
    min-height: 80vh;
}

.split-side {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    overflow: hidden;
    text-align: center;
}

.split-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.4) saturate(0.8);
    transition: var(--transition);
}

.split-side:hover .split-bg {
    filter: brightness(0.6) saturate(1.1);
    transform: scale(1.05);
}

.split-content {
    position: relative;
    z-index: 2;
    max-width: 400px;
}

.split-content h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(255, 255, 255, 0.8);
}

.split-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-main);
    font-weight: 500;
}

.client-side .split-content h2 {
    color: var(--primary);
}

.candidate-side .split-content h2 {
    color: var(--text-main);
}

/* CV Parallax Section */
.cv-parallax {
    position: relative;
    padding: 8rem 2rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-image: url('assets/image_1740169363065.png');
    /* Light industrial theme image */
    background-size: cover;
    background-position: center;
    z-index: -2;
    will-change: transform;
    filter: brightness(1) saturate(0.9);
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    /* Lighted overlay */
    z-index: 1;
}

.cv-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

.cv-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(255, 255, 255, 0.8);
    color: var(--text-main);
}

.cv-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-inline: auto;
}

.upload-area {
    border: 2px dashed rgba(255, 106, 0, 0.6);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 3rem 2rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--primary);
    background: rgba(255, 106, 0, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 106, 0, 0.1);
}

.upload-icon {
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.upload-area:hover .upload-icon {
    transform: translateY(-5px);
}

.upload-area h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.file-info {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 0 !important;
}

/* Footer / Contact */
.footer {
    background: var(--bg-dark);
    padding: 6rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
}

.cta-box {
    background: rgba(2, 5, 9, 0.8);
    border: 1px solid var(--border-color);
    padding: 4rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 4rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(-50px);
}

.cta-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-inline: auto;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Form CRO Details */
.form-cro {
    position: relative;
    text-align: left;
}

.form-cro input,
.form-cro select {
    width: 100%;
    padding: 1.2rem 1.5rem 0.5rem;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-main);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-cro label {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: var(--transition);
    pointer-events: none;
    font-size: 1rem;
}

.form-cro input:focus,
.form-cro input:not(:placeholder-shown) {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
    outline: none;
}

.form-cro input:focus+label,
.form-cro input:not(:placeholder-shown)+label {
    top: 0.8rem;
    font-size: 0.75rem;
    color: var(--primary);
}

.form-cro.invalid input {
    border-color: #EF4444;
}

.error-message {
    color: #EF4444;
    font-size: 0.8rem;
    position: absolute;
    bottom: -18px;
    left: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.form-cro.invalid .error-message {
    opacity: 1;
}

/* Custom Select CRO */
.select-cro select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding: 1rem 1.5rem;
}

.select-cro .select-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-muted);
    transition: var(--transition);
}

.select-cro select:focus+.select-icon {
    color: var(--primary);
    transform: translateY(-50%) rotate(180deg);
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-main);
    padding: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    opacity: 0.8;
}

.footer-logo .logo-text {
    font-size: 1.2rem;
    text-shadow: none;
    color: var(--text-muted);
}

.footer-logo:hover {
    opacity: 1;
}

.footer-info {
    text-align: right;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    /* GSAP Handles the transform and transitions */
    will-change: transform, opacity;
}

/* Metodologia PRO */
.metodologia-pro {
    padding: 10rem 2rem;
}

#pro-parallax-bg {
    filter: brightness(0.2) saturate(0.5);
}

.pro-content {
    max-width: 900px;
}

.text-secondary {
    color: var(--secondary);
}

/* -----------------------------
   Mobile Design & Responsiveness 
   ----------------------------- */

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .menu-btn {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(2, 5, 9, 0.98);
        padding: 2rem;
        border-bottom: 1px solid var(--border-color);
        backdrop-filter: blur(10px);
        gap: 1.5rem;
    }

    .split-section {
        flex-direction: column;
    }

    .split-side {
        padding: 3rem 1.5rem;
        min-height: 50vh;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }

    .hero p {
        font-size: 1rem;
    }

    .services,
    .trust-section,
    .cv-parallax,
    .footer,
    .metodologia-pro {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .services-grid {
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }

    .cta-box {
        padding: 2.5rem 1.5rem;
        transform: translateY(-30px);
    }

    .cta-box h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        flex-direction: column;
        gap: 2rem;
    }
}

.pro-description {
    font-size: 1.25rem;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.stat-pro {
    text-align: center;
}

.stat-pro h3 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.stat-pro p {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    color: #fff;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .split-section {
        flex-direction: column;
    }

    .split-side {
        min-height: 50vh;
        padding: 4rem 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: var(--bg-darker);
        flex-direction: column;
        justify-content: center;
        padding: 4rem 2rem;
        transition: 0.4s ease-in-out;
        border-left: 1px solid var(--border-color);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a.btn-primary {
        display: block;
        text-align: center;
        width: 100%;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-btns a {
        text-align: center;
        width: 100%;
        margin-bottom: 0;
    }

    .cta-box {
        padding: 2rem;
        transform: translateY(-20px);
    }

    .services {
        padding: 5rem 1rem;
    }

    .trust-section {
        padding: 3rem 1rem;
    }

    .trust-item h3 {
        font-size: 2.5rem;
    }

    .stats-row {
        gap: 2rem;
        flex-direction: column;
    }

    .stat-pro h3 {
        font-size: 2.5rem;
    }

    .cv-parallax {
        padding: 5rem 1rem;
    }

    .metodologia-pro {
        padding: 6rem 1rem;
    }
}