/* ============================================
   COREBIZTECH — MAIN STYLESHEET
   Clean build: no dark theme, fixed nav logo
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #0052a9;
    --primary-glow: #0066d1;
    --secondary: #3b5058;
    --accent: #1a2a3a;

    --bg-main: #f8f9fa;
    --bg-darker: #f0f2f5;
    --bg-surface: rgba(255, 255, 255, 0.7);

    --text-main: #1a1c1e;
    --text-muted: #495057;

    --glass-border: rgba(0, 81, 165, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    overflow-x: hidden;
}

[id] {
    scroll-margin-top: 100px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
    transition: var(--transition);
}

img:hover {
    filter: drop-shadow(0 0 10px rgba(0, 102, 201, 0.3));
}

/* --- Layout Utilities --- */
.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.bg-darker {
    background: var(--bg-darker);
}

.bg-surface {
    background: var(--bg-surface);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.w-100 {
    width: 100%;
}

/* --- Typography --- */
.text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-gradient {
    background: linear-gradient(90deg, var(--primary), var(--primary-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.glow-text {
    color: var(--primary-glow);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
}

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

.section-subtitle {
    display: block;
    color: var(--primary-glow);
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 20px rgba(0, 91, 181, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 82, 169, 0.4);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--primary-glow);
    transform: translateY(-3px);
    background: rgba(0, 81, 165, 0.08);
    color: var(--primary);
}

/* --- Glass Panels --- */
.glass-panel {
    background: #ffffff; /* Use solid white for better performance */
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    padding: 30px;
}

/* ============================================
   PRELOADER
   ============================================ */
#loader {
    position: fixed;
    inset: 0;
    background: var(--bg-main);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Loader logo — can be larger since this is full-screen */
.loader-logo {
    height: 110px !important;
    width: auto !important;
    max-width: 80vw;
    object-fit: contain;
    animation: loader-pulse 1.8s ease-in-out infinite;
}

@keyframes loader-pulse {

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

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

.spinner {
    width: 46px;
    height: 46px;
    border: 3px solid rgba(0, 82, 169, 0.15);
    border-top-color: var(--primary-glow);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

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

/* ============================================
   HEADER / NAVBAR
   ============================================ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 14px 0;
    transition: var(--transition);
}

.home-page #header:not(.scrolled) .nav-links a {
    color: var(--text-main);
}

.home-page #header:not(.scrolled) .mobile-menu-btn i {
    color: var(--text-main);
}

.home-page #header:not(.scrolled) .logo img {
    opacity: 1;
}

#header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ✅ THE ONE logo rule — no duplicates below */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.logo img {
    height: 70px;
    /* Slim & professional on first load */
    width: auto;
    transition: height var(--transition), opacity var(--transition);
    display: block;
}

#header.scrolled .logo img {
    height: 54px;
    /* Slightly smaller after scroll */
}

.logo:hover {
    opacity: 0.85;
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--text-main);
    position: relative;
    padding-bottom: 3px;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-glow);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile Hamburger */
.mobile-menu-btn {
    display: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-main);
    padding: 4px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 60px;
    background: #ffffff;
    color: var(--text-main);
}

.diagonal-wave-container {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='rgba(0, 82, 169, 0.07)' d='M0,160L48,170.7C96,181,192,203,288,197.3C384,192,480,160,576,149.3C672,139,768,149,864,170.7C960,192,1056,224,1152,218.7C1248,213,1344,171,1392,149.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='rgba(0, 168, 232, 0.04)' d='M0,224L48,213.3C96,203,192,181,288,186.7C384,192,480,224,576,218.7C672,213,768,171,864,149.3C960,128,1056,128,1152,149.3C1248,171,1344,213,1392,234.7L1440,256L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 1440px 320px;
    background-position: 0 45%, 0 55%;
    transform: rotate(-35deg);
    transform-origin: center;
    z-index: 0;
    pointer-events: none;
    animation: none;
}

@keyframes diag-wave-move {
    /* Animation removed for performance */
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    max-width: 780px;
    text-align: left;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(1.8rem, 4.8vw, 3.6rem);
    line-height: 1.06;
    margin: 20px 0 22px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-main);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 620px;
    font-weight: 400;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero .btn-secondary {
    background: rgba(0, 82, 169, 0.05);
    border: 1px solid var(--primary-glow);
    color: var(--primary);
    backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover {
    background: rgba(0, 82, 169, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 82, 169, 0.1);
}

/* ============================================
   ABOUT SECTION — BENTO GRID
   ============================================ */
.about .container {
    max-width: 1400px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.bento-item {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.bento-item:hover {
    border-color: var(--primary-glow);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 82, 169, 0.1);
}

.bento-main {
    grid-column: span 7;
}

.bento-stats {
    grid-column: span 5;
}

.bento-image {
    grid-column: span 5;
    padding: 0;
}

.bento-values {
    grid-column: span 7;
    display: flex;
    flex-direction: column;
}

.bento-stats {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #3d515a, #0053a8);
    border: none;
}

.bento-stats:hover {
    transform: translateY(0);
    box-shadow: none;
}

.bento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.bento-main h2 {
    font-size: 2.2rem;
    margin-bottom: 18px;
    color: var(--text-main);
}

.bento-main p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
}

.stat-box {
    margin: 14px 0;
}

.stat-box h3 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.stat-box p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Values Grid inside bento */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
    flex-grow: 1;
}

.value-card {
    padding: 28px;
    min-height: 190px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.value-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: white;
    border-color: var(--primary-glow);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08), 0 0 20px rgba(0, 168, 232, 0.1);
}

.value-card i {
    font-size: 1.9rem;
    color: var(--primary-glow);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.value-card:hover i {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 8px rgba(0, 168, 232, 0.6));
}

.value-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    transition: color 0.3s;
}

.value-card:hover h4 {
    color: var(--primary-glow);
}

.value-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    transition: color 0.3s;
}

.value-card:hover p {
    color: var(--text-main);
}

/* ============================================
   WHY US — HORIZONTAL WAVY TIMELINE
   ============================================ */
#why-us {
    padding-top: 100px;
}

.scrolly-alternating {
    position: relative;
    margin: 60px 0;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding-bottom: 0;
}

.timeline-wave-svg {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 120px;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
}

.wave-path {
    stroke: var(--primary);
    filter: drop-shadow(0 0 5px var(--primary-glow)) drop-shadow(0 0 15px rgba(0, 168, 232, 0.4));
    opacity: 0.5;
    stroke-dasharray: 12;
    animation: wave-flow 1.5s linear infinite;
}

@keyframes wave-flow {
    to {
        stroke-dashoffset: -24;
    }
}

.scrolly-step-wrapper {
    height: 350px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.step-text {
    position: absolute;
    width: 85%;
    text-align: center;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s, box-shadow 0.4s, transform 0.4s;
    background: transparent;
    border-radius: 12px;
    padding: 15px 10px;
    border: 1px solid transparent;
    z-index: 5;
}

.scrolly-step-wrapper:hover .step-text {
    background: white;
    border: 1px solid var(--primary-glow);
    box-shadow: 0 10px 30px rgba(0, 82, 169, 0.15);
    z-index: 10;
}

.scrolly-step-wrapper:nth-of-type(odd) .step-text {
    top: calc(50% + 40px);
    transform: translateY(20px);
    transform-origin: top center;
}

.scrolly-step-wrapper:nth-of-type(odd):hover .step-text {
    transform: translateY(0) scale(1.05);
}

.scrolly-step-wrapper:nth-of-type(even) .step-text {
    bottom: calc(50% + 40px);
    transform: translateY(-20px);
    transform-origin: bottom center;
}

.scrolly-step-wrapper:nth-of-type(even):hover .step-text {
    transform: translateY(0) scale(1.05);
}

.scrolly-step-wrapper.active .step-text {
    opacity: 1;
    transform: translateY(0);
}

.step-visual-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.scrolly-step-wrapper.active .step-visual-container {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.visual-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary);
    box-shadow: 0 0 0 3px white, 0 0 0 4px var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.visual-box:hover {
    transform: scale(1.12);
    box-shadow: 0 0 0 3px white, 0 0 0 5px var(--primary);
}

.visual-box i {
    font-size: 1.4rem;
    color: var(--primary);
}

.visual-box h4,
.step-number {
    display: none;
}

.step-text h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.3;
    color: var(--text-main);
}

.step-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    margin-top: 10px;
    line-height: 1.5;
}

.scrolly-step-wrapper:hover .step-text p {
    max-height: 200px;
    opacity: 1;
}

/* ============================================
   CLIENTS MARQUEE
   ============================================ */
.clients-section {
    padding: 60px 0;
}

.clients-marquee {
    overflow: hidden;
    width: 100%;
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: scrollMarquee 30s linear infinite;
    gap: 40px;
    padding: 20px;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.client-logo-box {
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 88px;
    min-width: 210px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    cursor: pointer;
}

.client-logo-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.client-logo-box:hover {
    transform: translateY(-10px) scale(1.06) rotate(2deg);
    border-color: var(--primary-glow);
    box-shadow: 0 18px 40px rgba(0, 82, 169, 0.16);
    z-index: 10;
}

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

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

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 28px;
}

.service-card {
    background: #ffffff;
    border: 1px solid rgba(0, 168, 232, 0.35);
    border-radius: 16px;
    padding: 38px 28px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 82, 169, 0.1), inset 0 0 20px rgba(0, 168, 232, 0.05);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card:hover {
    box-shadow: 0 15px 50px rgba(0, 82, 169, 0.25), inset 0 0 30px rgba(0, 168, 232, 0.15);
    border-color: rgba(0, 168, 232, 0.75);
    transform: translateY(-6px);
}

/* Holographic scan line */
.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 7px;
    background: linear-gradient(90deg, transparent, rgba(0, 168, 232, 0.75), transparent);
    box-shadow: 0 0 18px rgba(0, 168, 232, 0.5);
    transform: translateY(-150px) rotate(25deg);
    opacity: 0.7;
    pointer-events: none;
    z-index: 1;
    animation: ar-hologram-scan 3.5s linear infinite;
}

.service-card:nth-child(1)::after {
    animation-delay: 0s;
}

.service-card:nth-child(2)::after {
    animation-delay: 0.6s;
}

.service-card:nth-child(3)::after {
    animation-delay: 1.2s;
}

.service-card:nth-child(4)::after {
    animation-delay: 1.8s;
}

.service-card:nth-child(5)::after {
    animation-delay: 2.4s;
}

.service-card:nth-child(6)::after {
    animation-delay: 3.0s;
}

@keyframes ar-hologram-scan {
    0% {
        transform: translateY(-150px) rotate(25deg);
    }

    100% {
        transform: translateY(600px) rotate(25deg);
    }
}

.service-icon {
    font-size: 2.4rem;
    color: var(--primary-glow);
    margin-bottom: 18px;
    text-shadow: 0 0 14px rgba(0, 168, 232, 0.5);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--text-main);
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 22px;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

.service-link {
    color: var(--primary-glow);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: gap var(--transition);
    position: relative;
    z-index: 2;
}

.service-card:hover .service-link {
    gap: 14px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.testimonial-card {
    padding: 38px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: white;
    border-color: var(--primary-glow);
    box-shadow: 0 25px 50px rgba(0, 82, 169, 0.1);
}

.quote-icon {
    font-size: 1.8rem;
    color: var(--primary-glow);
    opacity: 0.45;
    margin-bottom: 14px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 0.97rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--glass-border);
    padding-top: 18px;
}

.client-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-glow), #00a8e8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 102, 209, 0.28);
}

.accent-bg {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.secondary-bg {
    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
    color: #1a2a3a;
}

.client-info h4 {
    font-size: 0.97rem;
    color: var(--text-main);
}

.client-info span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ============================================
   STATS STRIP
   ============================================ */
.gradient-bg {
    background: linear-gradient(135deg, rgba(0, 82, 169, 0.05) 0%, rgba(0, 168, 232, 0.08) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 28px;
    text-align: center;
    padding: 80px 0;
}

.stat-item {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 38px 18px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.04);
    border-color: var(--primary-glow);
    box-shadow: 0 14px 34px rgba(0, 168, 232, 0.14);
}

.stat-num {
    display: inline-block;
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    font-family: var(--font-heading);
}

.stats-grid span {
    font-size: 2.8rem;
    color: var(--primary-glow);
    font-weight: 800;
    font-family: var(--font-heading);
}

.stats-grid p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 12px;
    font-weight: 600;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: start;
}

.contact-desc {
    margin-bottom: 36px;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 24px;
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.info-item:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--primary-glow);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 102, 209, 0.1);
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border: 2px solid transparent;
    border-radius: 16px;
    transition: all 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.info-item p a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    z-index: 10;
}

.info-item p a:hover {
    color: var(--primary);
}

.info-item:hover::before {
    width: 100%;
    height: 100%;
    border-top-color: var(--primary-glow);
    border-right-color: var(--primary-glow);
}

.info-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border: 2px solid transparent;
    border-radius: 16px;
    transition: all 0.6s ease;
    z-index: 1;
}

.info-item:hover::after {
    width: 100%;
    height: 100%;
    border-bottom-color: var(--primary-glow);
    border-left-color: var(--primary-glow);
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-glow);
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    background: rgba(0, 82, 169, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: var(--transition);
}

.info-item:hover i {
    transform: scale(1.1) rotate(10deg);
    background: var(--primary);
    color: white;
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

.info-item h4 {
    margin-bottom: 4px;
    font-size: 1.1rem;
    color: var(--text-main);
}

.info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form h3 {
    font-size: 1.7rem;
    margin-bottom: 28px;
    color: var(--text-main);
}

.input-group {
    display: flex;
    gap: 18px;
    margin-bottom: 1.4rem;
}

input,
textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: 0.3s ease;
    margin-bottom: 1.4rem;
}

input:focus,
textarea:focus {
    border-color: var(--primary-glow);
    background: rgba(0, 102, 209, 0.04);
    box-shadow: 0 0 0 3px rgba(0, 102, 209, 0.08);
}

textarea {
    resize: vertical;
    min-height: 130px;
    margin-bottom: 0;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--bg-darker);
    padding: 72px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 70px;
    margin-bottom: 50px;
}

.footer-links {
    display: flex;
    gap: 55px;
}

.footer-logo-glow {
    display: inline-block;
    margin-bottom: 8px;
}

/* Footer logo — decorative use so slightly bigger is fine */
.footer-logo img {
    height: 70px;
    width: auto;
    transition: var(--transition);
}

.footer-logo img:hover {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.footer-logo p {
    color: var(--text-muted);
    margin: 16px 0;
    max-width: 290px;
    font-size: 0.92rem;
    line-height: 1.65;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 82, 169, 0.08);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: 0.3s ease;
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 0 20px rgba(0, 82, 169, 0.5);
}

.footer-social a:hover i {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

.footer-col h4 {
    font-size: 1.05rem;
    margin-bottom: 18px;
    color: var(--text-main);
    font-weight: 700;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: 0.25s;
}

.footer-col ul li a:hover {
    color: var(--primary-glow);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 18px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal,
.reveal-left,
.reveal-right,
.reveal-zoom {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-48px);
}

.reveal-right {
    transform: translateX(48px);
}

.reveal-zoom {
    transform: scale(0.82);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-zoom.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

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

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

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

.delay-4 {
    transition-delay: 0.48s;
}

.delay-5 {
    transition-delay: 0.60s;
}

/* --- Floating --- */
.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

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

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

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bento-main,
    .bento-stats,
    .bento-image,
    .bento-values {
        grid-column: span 1;
    }

    .scrolly-alternating {
        grid-template-columns: repeat(4, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 768px) {

    /* Nav */
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Logo stays the same size on mobile — 40px is already slim */
    .logo img {
        height: 36px;
    }

    #header.scrolled .logo img {
        height: 30px;
    }

    /* Hero */
    .hero {
        padding-top: 100px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* About Bento */
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-main,
    .bento-stats,
    .bento-image,
    .bento-values {
        grid-column: span 1;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .bento-image {
        height: 260px;
    }

    /* Why Us timeline */
    .scrolly-alternating {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 50px 0;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .input-group {
        flex-direction: column;
        gap: 0;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 28px;
    }

    /* Section padding */
    .section-padding {
        padding: 64px 0;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .scrolly-alternating {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 1.65rem;
    }
}