/* ROOT VARIABLES - REFINED PALETTE */
:root {
    --primary: #0f172a;
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    /* Smoother */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* 1. SCROLL PROGRESS BAR */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    z-index: 2000;
    transition: width 0.1s ease;
}

/* 2. DYNAMIC BACKGROUND BLOBS */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.6;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: moveBlob 25s infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.12) 0%, transparent 70%);
}

.blob-3 {
    top: 40%;
    left: 30%;
    animation-duration: 35s;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.1) 0%, transparent 70%);
}

@keyframes moveBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(100px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-50px, 100px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* 3. PREMIUM PREMIUM SERVICE CARD DYNAMICS */
.service-card {
    transition: var(--transition) !important;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg) !important;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.15);
}

.service-card:hover .card-icon {
    transform: translateZ(30px) scale(1.1);
    background: var(--primary);
    color: white;
}

.service-card:hover h3 {
    transform: translateZ(20px);
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

section {
    padding: 120px 0;
}

.text-center {
    text-align: center;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* HEADER & NAVBAR */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #ffffff !important;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    height: 70px;
    background: #ffffff !important;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
    display: block;
}

.header.scrolled .logo img {
    height: 40px;
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 48px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    padding: 8px 0;
    opacity: 0.8;
    transition: var(--transition);
}

.nav-link:hover {
    opacity: 1;
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 50px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.mobile-cta {
    display: none;
}

.btn-contact-nav {
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-contact-nav:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-main);
    transition: var(--transition);
}

.mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 50%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    color: white;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 10;
    position: relative;
    padding: 0 20px;
}

.hero-quotes {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 35px;
    animation: fadeInUp 1s ease forwards;
}

.quote-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border-left: 3px solid var(--accent);
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.quote-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.quote-item i {
    color: var(--accent-light);
    font-size: 1.1rem;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
    animation: fadeInUp 1s ease forwards;
}

.hero-title span {
    background: linear-gradient(135deg, #60a5fa, #c084fc, #60a5fa);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 auto 40px;
    max-width: 750px;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.btn-hero-primary {
    background: var(--accent);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.btn-hero-primary:hover {
    background: var(--accent-light);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.5);
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
    opacity: 0.7;
    transition: var(--transition);
}

.scroll-indicator:hover {
    opacity: 1;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

.scroll-text {
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-primary {
    background: var(--accent);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: none;
}

.btn-primary:hover {
    background: white;
    color: var(--primary);
    transform: scale(1.05);
}

.btn-outline {
    background: transparent;
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid white;
    transition: var(--transition);
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

/* SERVICES SECTION - PREMIUM GRID */
.services {
    background-color: var(--bg-alt);
    padding: 80px 0;
}

.section-tag {
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(145deg, #ffffff, var(--card-bg, #ffffff));
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: default;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    opacity: 0;
    transform: translateY(30px);
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-premium);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--accent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::after {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--card-accent, var(--accent));
    margin-bottom: 20px;
    transition: var(--transition);
    background: var(--card-bg, rgba(59, 130, 246, 0.1));
}

.service-card:hover .card-icon {
    background: var(--card-accent, var(--accent));
    color: white;
    transform: rotateY(180deg) scale(1.1);
    box-shadow: 0 10px 20px -5px var(--card-shadow, rgba(59, 130, 246, 0.4));
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.feature-tag {
    background: var(--bg-alt);
    color: var(--card-accent, var(--primary));
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: var(--transition);
}

.service-card:hover .feature-tag {
    background: white;
    border-color: var(--card-bg, rgba(0, 0, 0, 0.05));
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

/* INDIVIDUAL CARD THEMES */
#card-1 {
    --card-accent: #0ea5e9;
    --card-bg: rgba(14, 165, 233, 0.1);
    --card-shadow: rgba(14, 165, 233, 0.4);
}

/* Sky Blue */
#card-2 {
    --card-accent: #8b5cf6;
    --card-bg: rgba(139, 92, 246, 0.1);
    --card-shadow: rgba(139, 92, 246, 0.4);
}

/* Violet */
#card-3 {
    --card-accent: #3b82f6;
    --card-bg: rgba(59, 130, 246, 0.1);
    --card-shadow: rgba(59, 130, 246, 0.4);
}

/* Royal Blue */
#card-4 {
    --card-accent: #ec4899;
    --card-bg: rgba(236, 72, 153, 0.1);
    --card-shadow: rgba(236, 72, 153, 0.4);
}

/* Pink/Rose */
#card-5 {
    --card-accent: #10b981;
    --card-bg: rgba(16, 185, 129, 0.1);
    --card-shadow: rgba(16, 185, 129, 0.4);
}

/* Emerald */
#card-6 {
    --card-accent: #f59e0b;
    --card-bg: rgba(245, 158, 11, 0.1);
    --card-shadow: rgba(245, 158, 11, 0.4);
}

/* Amber */

#card-1:hover {
    border-color: rgba(14, 165, 233, 0.3);
}

#card-2:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

#card-3:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

#card-4:hover {
    border-color: rgba(236, 72, 153, 0.3);
}

#card-5:hover {
    border-color: rgba(16, 185, 129, 0.3);
}

#card-6:hover {
    border-color: rgba(245, 158, 11, 0.3);
}

/* ABOUT SECTION - PREMIUM STORYTELLING */
.about-section {
    background-color: var(--bg-main);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.about-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

.about-card-stack {
    position: relative;
    width: 100%;
    height: 400px;
    margin-top: -20px;
}

.about-card {
    padding: 40px;
    border-radius: 30px;
    width: 320px;
    position: absolute;
    transition: var(--transition);
    opacity: 0;
    transform: scale(0.9) translateY(30px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.main-card {
    background: var(--primary);
    color: white;
    z-index: 2;
    top: 0;
    left: 0;
    box-shadow: 20px 20px 60px rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--primary);
    z-index: 1;
    top: 150px;
    right: 0;
}

.about-card i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-card h3 {
    margin-bottom: 12px;
    font-weight: 700;
}

.about-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.8;
}

.about-text {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.8;
}

.mission-statement {
    margin-top: 0;
    padding: 30px;
    background: var(--bg-alt);
    border-radius: 20px;
    display: flex;
    gap: 24px;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    width: 100%;
}

.mission-statement:hover {
    background: white;
    box-shadow: var(--shadow-premium);
    transform: translateX(10px);
}

.mission-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.mission-content h4 {
    color: var(--primary);
    margin-bottom: 4px;
}

.mission-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.about-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.main-card:hover {
    z-index: 3;
}

/* INDUSTRIES SECTION */
.industries {
    background: var(--bg-alt);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.industry-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 60px 40px;
    border-radius: 40px;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(15, 23, 42, 0.04);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(40px);
}

/* Floating Aura Effect */
.industry-item::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--aura-color, #3b82f6) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.industry-item:hover {
    transform: translateY(-15px) scale(1.02);
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.08);
}

.industry-item:hover::before {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(1.8);
}

/* Glass Orb Icon */
.industry-icon {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--theme-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
}

.industry-item:hover .industry-icon {
    transform: scale(1.1);
    background: var(--theme-color);
    color: white;
    box-shadow: 0 15px 35px var(--glow-color);
}

/* Themes */
.industry-theme-blue {
    --aura-color: #3b82f6;
    --theme-color: #3b82f6;
    --glow-color: rgba(59, 130, 246, 0.4);
}

.industry-theme-violet {
    --aura-color: #8b5cf6;
    --theme-color: #8b5cf6;
    --glow-color: rgba(139, 92, 246, 0.4);
}

.industry-theme-indigo {
    --aura-color: #6366f1;
    --theme-color: #6366f1;
    --glow-color: rgba(99, 102, 241, 0.4);
}

.industry-theme-rose {
    --aura-color: #f43f5e;
    --theme-color: #f43f5e;
    --glow-color: rgba(244, 63, 94, 0.4);
}

.industry-item h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.industry-item p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* CAREERS SECTION */
.careers-section {
    background: white;
    padding: 120px 0;
}

.careers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.careers-text {
    opacity: 0;
    transform: translateX(-30px);
    transition: var(--transition);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.benefit-item i {
    color: var(--accent);
}

.open-roles {
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    transform: translateX(30px);
    transition: var(--transition);
}

.role-card {
    background: var(--bg-alt);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.role-card:hover {
    background: white;
    box-shadow: var(--shadow-premium);
    transform: scale(1.02);
    border-color: var(--accent-light);
}

.role-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.role-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-role {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.role-card:hover .btn-role {
    background: var(--accent);
}

/* CONTACT SECTION - CINEMATIC SPLIT */

.contact-section {
    background: var(--primary);
    color: white;
    padding: 0;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 800px;
}

.contact-info {
    padding: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    opacity: 0;
    transform: translateX(-30px);
    transition: var(--transition);
}

.contact-info h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.2;
}

.contact-info p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 48px;
    max-width: 500px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.detail-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-light);
}

.detail-content h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.detail-content p {
    font-size: 1.1rem;
    margin: 0;
    color: white;
}

.contact-form-side {
    padding: 100px;
    background: #f8fafc;
    color: var(--text-main);
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(30px);
    transition: var(--transition);
    position: relative;
}

.premium-form-container {
    background: white;
    padding: 60px;
    border-radius: 40px;
    box-shadow: 0 40px 100px -20px rgba(15, 23, 42, 0.1);
    width: 100%;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.premium-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.premium-input {
    width: 100%;
    padding: 20px;
    border: 2px solid transparent;
    border-radius: 16px;
    background: #f1f5f9;
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
    font-family: var(--font-body);
    color: var(--primary);
    font-weight: 500;
}

.premium-input:focus {
    border-color: var(--accent);
    background: white;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.15);
}

.premium-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

textarea.premium-input {
    min-height: 160px;
    resize: none;
    grid-column: span 2;
}

.btn-submit-premium {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #1e1b4b 100%);
    color: white;
    padding: 22px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.3);
}

.btn-submit-premium:hover {
    background: var(--accent);
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.4);
}

/* FOOTER */
.footer {
    background: #020617;
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo-box {
    background: white;
    padding: 15px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.footer-logo {
    height: 40px;
    width: auto;
    display: block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 30px;
    max-width: 300px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

.footer-links h4 {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        order: 2;
        height: auto;
    }

    .about-card-stack {
        position: relative;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 0;
    }

    .about-card {
        position: relative;
        width: 100%;
        max-width: 100%;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        opacity: 1 !important;
    }

    .contact-info,
    .contact-form-side {
        padding: 60px 40px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .premium-form-container {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .header {
        height: 70px;
    }

    .btn-contact-nav {
        display: none;
        /* Hide cluttered header button on mobile */
    }

    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding: 140px 0 80px;
        /* More room at top */
        display: flex;
        align-items: flex-start;
        /* Start from top on mobile */
    }

    .hero-content {
        padding: 0 25px;
    }

    .hero-quotes {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 30px;
    }

    .quote-item {
        width: 100%;
        max-width: 320px;
        justify-content: flex-start;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.25;
        margin-bottom: 25px;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 35px;
        opacity: 0.9;
    }

    .btn-group {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        justify-content: center;
        padding: 16px 20px;
        font-size: 1rem;
    }

    .scroll-indicator {
        display: none !important;
        /* Force hide on mobile hero */
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-card {
        padding: 25px;
        border-radius: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    /* Professional Mobile Menu & Overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.4);
        backdrop-filter: blur(4px);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: white;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .nav-link {
        font-size: 1.25rem;
        letter-spacing: 2px;
        color: var(--primary);
    }

    .nav-link.active {
        color: var(--accent);
    }

    .mobile-cta {
        display: block;
        margin-top: 10px;
    }

    .nav-menu .btn-contact-nav {
        display: inline-block !important;
        padding: 15px 40px;
        font-size: 1.1rem;
        background: var(--primary);
        color: white;
    }

    .mobile-only-btn {
        display: block;
    }

    /* STATS COUNTER CARDS */
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin-top: 80px;
        position: relative;
        z-index: 2;
    }

    .stat-card {
        background: white;
        padding: 50px 30px;
        border-radius: 40px;
        text-align: center;
        box-shadow: 0 15px 45px rgba(15, 23, 42, 0.05);
        border: 1px solid rgba(15, 23, 42, 0.05);
        transition: var(--transition);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        position: relative;
        overflow: hidden;
    }

    .stat-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--accent), var(--accent-light));
        opacity: 0;
        transition: var(--transition);
    }

    .stat-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
        border-color: rgba(59, 130, 246, 0.2);
    }

    .stat-card:hover::before {
        opacity: 1;
    }

    .stat-icon {
        width: 70px;
        height: 70px;
        background: #f1f5f9;
        border-radius: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        color: var(--accent);
        transition: var(--transition);
    }

    .stat-card:hover .stat-icon {
        background: var(--primary);
        color: white;
        transform: rotate(10deg) scale(1.1);
    }

    .stat-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .stat-number {
        font-size: 3rem;
        font-weight: 800;
        color: var(--primary);
        font-family: var(--font-heading);
        line-height: 1;
    }

    .stat-plus {
        font-size: 2rem;
        color: var(--accent);
        font-weight: 700;
    }

    .stat-card p {
        font-size: 1rem;
        color: var(--text-muted);
        font-weight: 600;
        margin-top: 10px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* BACK TO TOP */
    .back-to-top {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        background: var(--primary);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .back-to-top.active {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top:hover {
        background: var(--accent);
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3);
    }

    /* BUTTON GLOWS */
    .btn-hero-primary {
        position: relative;
        overflow: hidden;
    }

    .btn-hero-primary::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .btn-hero-primary:hover::before {
        opacity: 1;
        transform: scale(1.2);
    }

    @media (max-width: 992px) {
        .stats-grid {
            grid-template-columns: 1fr;
            max-width: 500px;
            margin: 60px auto 0;
        }
    }

    /* Small Mobile Devices (480px and below) */
    @media (max-width: 480px) {
        .logo img {
            height: 32px;
        }

        .hero-title {
            font-size: 1.9rem;
        }

        .hero {
            padding-top: 130px;
        }

        .contact-info,
        .contact-form-side {
            padding: 40px 20px;
        }

        .premium-form-container {
            padding: 25px 15px;
        }
    }
}

/* ==========================================================================
   GLOBAL PREMIUM COMPONENTS (DESKTOP FIRST)
   ========================================================================== */

/* 1. HORIZONTAL STATS GRID */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 100px;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 60px 40px;
    border-radius: 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.03);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 6px;
    transition: width 0.6s ease;
}

/* Theme Blue */
.stat-theme-blue::before {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.stat-theme-blue .stat-icon {
    color: #3b82f6;
    background: #eff6ff;
}

.stat-theme-blue:hover {
    box-shadow: 0 40px 90px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.stat-theme-blue:hover .stat-icon {
    background: #3b82f6;
    color: white;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

/* Theme Indigo */
.stat-theme-indigo::before {
    background: linear-gradient(90deg, #6366f1, #818cf8);
}

.stat-theme-indigo .stat-icon {
    color: #6366f1;
    background: #eef2ff;
}

.stat-theme-indigo:hover {
    box-shadow: 0 40px 90px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.stat-theme-indigo:hover .stat-icon {
    background: #6366f1;
    color: white;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

/* Theme Purple */
.stat-theme-purple::before {
    background: linear-gradient(90deg, #a855f7, #c084fc);
}

.stat-theme-purple .stat-icon {
    color: #a855f7;
    background: #f5f3ff;
}

.stat-theme-purple:hover {
    box-shadow: 0 40px 90px rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.3);
}

.stat-theme-purple:hover .stat-icon {
    background: #a855f7;
    color: white;
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.3);
}

.stat-card:hover {
    transform: translateY(-20px) scale(1.02);
    background: #ffffff;
}

.stat-card:hover::before {
    width: 100%;
}

.stat-icon {
    width: 90px;
    height: 90px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card:hover .stat-icon {
    transform: rotate(10deg) scale(1.1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
    line-height: 1;
    letter-spacing: -3px;
}

.stat-plus {
    font-size: 2.5rem;
    color: inherit;
    font-weight: 700;
}

/* Match plus color to icon theme on hover */
.stat-theme-blue:hover .stat-plus {
    color: #3b82f6;
}

.stat-theme-indigo:hover .stat-plus {
    color: #6366f1;
}

.stat-theme-purple:hover .stat-plus {
    color: #a855f7;
}

.stat-card p {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 2005;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}
/* Page Loader */
#pageLoader {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: #0f172a;
   display: flex;
   justify-content: center;
   align-items: center;
   z-index: 9999;
   transition: opacity 0.4s ease;
}

.loader-content {
   text-align: center;
   color: #fff;
   font-family: sans-serif;
}

.spinner {
   width: 50px;
   height: 50px;
   border: 4px solid rgba(255,255,255,0.2);
   border-top: 4px solid #3b82f6;
   border-radius: 50%;
   animation: spin 1s linear infinite;
   margin: 0 auto 15px;
}

@keyframes spin {
   to { transform: rotate(360deg); }
}

body.loaded #pageLoader {
   opacity: 0;
   pointer-events: none;
}