/* =============================================
   APEX INNOVATION — Premium IT Company Theme
   ============================================= */

:root {
    --primary: #2563EB;
    --primary-light: #3B82F6;
    --primary-dark: #1D4ED8;
    --accent: #06B6D4;
    --purple: #8B5CF6;
    --gradient: linear-gradient(135deg, #2563EB 0%, #8B5CF6 100%);
    --gradient-h: linear-gradient(135deg, #1D4ED8 0%, #7C3AED 100%);
    --dark: #030712;
    --dark-2: #0D1117;
    --dark-3: #161B22;
    --dark-4: #21262D;
    --light: #F8FAFF;
    --light-2: #F1F5F9;
    --light-3: #E2E8F0;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --border: #E2E8F0;
    --border-dark: rgba(255,255,255,0.07);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow: 0 4px 24px rgba(0,0,0,0.07);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --shadow-blue: 0 8px 32px rgba(37,99,235,0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: #fff;
    overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }

/* ──────────────────────────────────
   UTILITIES
────────────────────────────────── */
.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-light {
    background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 50%, #34D399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Bootstrap utility replacements (grid-only CSS lacks these) */
.text-center  { text-align: center  !important; }
.text-left    { text-align: left    !important; }
.mx-auto      { margin-left: auto   !important; margin-right: auto  !important; }
.mt-2  { margin-top:    8px  !important; } .mt-3 { margin-top:    16px !important; } .mt-4 { margin-top:    24px !important; }
.mb-2  { margin-bottom: 8px  !important; } .mb-3 { margin-bottom: 16px !important; } .mb-4 { margin-bottom: 24px !important; }
.ms-2  { margin-left:   8px  !important; } .me-2 { margin-right:  8px  !important; }
.py-2  { padding-top:   8px  !important; padding-bottom: 8px  !important; }
.d-flex      { display: flex  !important; }
.d-block     { display: block !important; }
.d-none      { display: none  !important; }
.w-100       { width: 100%    !important; }
.justify-content-center  { justify-content: center      !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-center      { align-items: center          !important; }
.align-items-stretch     { align-items: stretch         !important; }
.flex-wrap   { flex-wrap: wrap  !important; }
.gap-4       { gap: 24px        !important; }

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 16px;
    background: rgba(37,99,235,0.08);
    border: 1px solid rgba(37,99,235,0.15);
    color: var(--primary);
}

.section-badge-dark {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--accent);
}

.section-title {
    font-size: clamp(28px, 4vw, 46px);
    color: var(--text-primary);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.section-title-dark { color: white; }

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 580px;
}

.section-subtitle-dark { color: rgba(255,255,255,0.5); }

/* ──────────────────────────────────
   BUTTONS
────────────────────────────────── */
.btn-apex {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 11px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background: var(--gradient-h);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(37,99,235,0.38);
    color: white;
}

.btn-outline-light {
    background: rgba(255,255,255,0.08);
    color: white;
    border: 1px solid rgba(255,255,255,0.18);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.35);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ──────────────────────────────────
   PAGE LOADER
────────────────────────────────── */
#page-loader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hide { opacity: 0; visibility: hidden; }

.loader-logo-img {
    width: 340px;
    height: auto;
    animation: loaderPulse 1.5s ease-in-out infinite alternate;
}

@keyframes loaderPulse {
    from { opacity: 0.6; transform: scale(0.97); }
    to   { opacity: 1;   transform: scale(1);    }
}

.loader-bar {
    width: 220px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 10px;
    animation: loaderFill 1.2s ease-out forwards;
}

@keyframes loaderFill {
    from { width: 0; }
    to { width: 100%; }
}

/* ──────────────────────────────────
   NAVBAR
────────────────────────────────── */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    transition: var(--transition);
    padding: 0;
}

#navbar.scrolled {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border), 0 8px 24px rgba(0,0,0,0.06);
}

#navbar.dark-hero.scrolled {
    background: rgba(3,7,18,0.95);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 110px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

/* Logo */
.nav-logo-svg {
    height: 100px;
    width: auto;
    display: block;
}

.footer-logo-svg {
    height: 120px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .nav-logo-svg    { height: 72px; }
    .footer-logo-svg { height: 90px; }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-icon {
    width: 40px; height: 40px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow-blue);
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 1px;
}

.nav-logo-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 17px;
    color: white;
    transition: var(--transition);
    letter-spacing: -0.3px;
}

#navbar.scrolled .nav-logo-name { color: var(--text-primary); }
#navbar.dark-hero.scrolled .nav-logo-name { color: white; }

.nav-logo-sub {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--accent);
    text-transform: uppercase;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}

.nav-item-link {
    font-weight: 500;
    font-size: 14px;
    color: rgba(255,255,255,0.82);
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

#navbar.scrolled .nav-item-link { color: var(--text-secondary); }
#navbar.dark-hero.scrolled .nav-item-link { color: rgba(255,255,255,0.75); }

.nav-item-link:hover {
    color: white;
    background: rgba(255,255,255,0.08);
}

#navbar.scrolled .nav-item-link:hover {
    color: var(--primary);
    background: rgba(37,99,235,0.06);
}

#navbar.dark-hero.scrolled .nav-item-link:hover {
    color: white;
    background: rgba(255,255,255,0.08);
}

/* Active nav */
.nav-item-link.active {
    color: white;
    background: rgba(255,255,255,0.1);
}

#navbar.scrolled .nav-item-link.active {
    color: var(--primary);
    background: rgba(37,99,235,0.06);
}

/* Dropdown */
.nav-item { position: relative; }

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 230px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.14);
    opacity: 0;
    visibility: hidden;
    transition: all 0.22s ease;
    z-index: 100;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-dropdown a:hover {
    background: rgba(37,99,235,0.06);
    color: var(--primary);
}

.nav-dropdown a i { width: 16px; color: var(--primary); font-size: 13px; }

/* Nav CTA */
.nav-cta-btn {
    background: var(--gradient);
    color: white;
    padding: 9px 22px;
    border-radius: 9px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(37,99,235,0.28);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: 8px;
}

.nav-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(37,99,235,0.4);
    color: white;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: none;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

#navbar.scrolled .hamburger span { background: var(--text-primary); }

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
#mobile-menu {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: white;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    z-index: 899;
    transform: translateY(-10px);
    opacity: 0;
    transition: var(--transition);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

#mobile-menu.open {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: 9px;
    transition: var(--transition);
    margin-bottom: 2px;
}

.mobile-nav-link:hover {
    background: var(--light-2);
    color: var(--primary);
}

.mobile-nav-link i { width: 18px; color: var(--text-muted); font-size: 13px; }
.mobile-divider { height: 1px; background: var(--border); margin: 8px 0; }

/* ──────────────────────────────────
   HERO SECTION
────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    overflow: hidden;
    padding: 130px 0 90px;
}

/* Grid background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

/* Gradient orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.35) 0%, transparent 70%);
    top: -150px; right: -50px;
    animation: orbDrift 12s ease-in-out infinite;
}

.orb-2 {
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(139,92,246,0.3) 0%, transparent 70%);
    bottom: -100px; left: 100px;
    animation: orbDrift 10s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(6,182,212,0.2) 0%, transparent 70%);
    top: 40%; left: -60px;
    animation: orbDrift 8s ease-in-out infinite 2s;
}

@keyframes orbDrift {
    0%, 100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(25px, -25px) scale(1.04); }
    66% { transform: translate(-15px, 15px) scale(0.97); }
}

.hero-content { position: relative; z-index: 10; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 28px;
}

.badge-dot {
    width: 7px; height: 7px;
    background: var(--accent);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(6,182,212,0.4); }
    50% { opacity: 0.8; transform: scale(1.3); box-shadow: 0 0 0 5px rgba(6,182,212,0); }
}

.hero-title {
    font-size: clamp(38px, 5.5vw, 72px);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.5);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 36px;
    padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.07);
    flex-wrap: wrap;
}

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

.hero-stat-num {
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #60A5FA, #A78BFA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Visual Card */
.hero-visual { position: relative; z-index: 10; }

.hero-card-wrap {
    position: relative;
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.hero-dashboard {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(8px);
}

.hd-header {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 20px;
}

.hd-dot { width: 11px; height: 11px; border-radius: 50%; }
.hd-dot.red { background: #FF5F57; }
.hd-dot.yellow { background: #FEBC2E; }
.hd-dot.green { background: #28C840; }

.hd-title {
    margin-left: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hd-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    margin-bottom: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.hd-row:last-of-type { margin-bottom: 16px; }

.hd-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.hd-icon.blue { background: rgba(37,99,235,0.2); color: #60A5FA; }
.hd-icon.purple { background: rgba(139,92,246,0.2); color: #A78BFA; }
.hd-icon.cyan { background: rgba(6,182,212,0.2); color: #67E8F9; }
.hd-icon.green { background: rgba(16,185,129,0.2); color: #6EE7B7; }

.hd-label {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
}

.hd-value {
    font-size: 13px;
    font-weight: 700;
    color: white;
    min-width: 36px;
    text-align: right;
}

.hd-bar {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
}

.hd-bar-fill {
    height: 100%;
    border-radius: 4px;
    animation: barFill 1.5s ease forwards;
    animation-delay: var(--delay, 0s);
    width: 0;
}

@keyframes barFill {
    to { width: var(--w, 80%); }
}

.hd-bar-fill.blue { background: linear-gradient(90deg, #2563EB, #60A5FA); }
.hd-bar-fill.purple { background: linear-gradient(90deg, #8B5CF6, #A78BFA); }
.hd-bar-fill.cyan { background: linear-gradient(90deg, #06B6D4, #67E8F9); }
.hd-bar-fill.green { background: linear-gradient(90deg, #10B981, #6EE7B7); }

.hd-tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hd-tech span {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
}

/* Floating icons */
.float-icon {
    position: absolute;
    width: 50px; height: 50px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    animation: iconFloat 4s ease-in-out infinite;
}

.fi-1 {
    background: linear-gradient(135deg, #61DAFB, #21A1C4);
    color: white;
    top: -20px; right: -20px;
    animation-delay: 0s;
}

.fi-2 {
    background: linear-gradient(135deg, #F7DF1E, #D4A017);
    color: #333;
    bottom: -16px; left: -20px;
    animation-delay: -1.5s;
}

.fi-3 {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    top: 45%; right: -28px;
    animation-delay: -3s;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-8px) rotate(3deg); }
    66% { transform: translateY(-4px) rotate(-2deg); }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.25);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-line {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ──────────────────────────────────
   TECH STRIP (marquee)
────────────────────────────────── */
.tech-strip {
    padding: 22px 0;
    background: white;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}

.tech-strip::before,
.tech-strip::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
}

.tech-strip::before { left: 0; background: linear-gradient(to right, white, transparent); }
.tech-strip::after { right: 0; background: linear-gradient(to left, white, transparent); }

.tech-track {
    display: flex;
    gap: 48px;
    animation: marquee 28s linear infinite;
    width: max-content;
}

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

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    transition: var(--transition);
}

.tech-item:hover { color: var(--primary); }
.tech-item i { font-size: 18px; color: var(--text-secondary); }

/* ──────────────────────────────────
   SERVICES SECTION
────────────────────────────────── */
.services-section {
    padding: 100px 0;
    background: var(--light);
}

.service-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--radius-lg);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::after { opacity: 1; }

.service-card > * { position: relative; z-index: 1; }

.service-card-icon {
    width: 58px; height: 58px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: var(--transition);
    background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(139,92,246,0.1));
    color: var(--primary);
}

.service-card:hover .service-card-icon {
    background: rgba(255,255,255,0.15);
    color: white;
}

.service-card-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    transition: var(--transition);
}

.service-card:hover .service-card-title { color: white; }

.service-card-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    transition: var(--transition);
}

.service-card:hover .service-card-text { color: rgba(255,255,255,0.75); }

.service-card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.service-card:hover .service-card-link { color: white; }

.service-card-link i { transition: transform 0.2s; }
.service-card-link:hover i,
.service-card:hover .service-card-link i { transform: translateX(4px); }

/* ──────────────────────────────────
   ABOUT SECTION
────────────────────────────────── */
.about-img-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: visible;
}

.about-img {
    border-radius: var(--radius-xl);
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
}

.about-badge-float {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: heroFloat 5s ease-in-out infinite;
}

.about-badge-float.top-left {
    top: -24px; left: -24px;
    animation-delay: 0s;
}

.about-badge-float.bottom-right {
    bottom: -24px; right: -24px;
    animation-delay: -2.5s;
}

.about-badge-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.about-badge-num {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.about-badge-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Feature list */
.feature-list { list-style: none; padding: 0; }

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    color: var(--text-secondary);
}

.feature-list li:last-child { border-bottom: none; }

.feature-check {
    width: 20px; height: 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-check i { color: white; font-size: 10px; }

/* ──────────────────────────────────
   STATS SECTION (dark)
────────────────────────────────── */
.stats-section {
    padding: 80px 0;
    background: var(--dark-2);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
}

.stat-card-dark {
    text-align: center;
    padding: 36px 24px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.02);
    transition: var(--transition);
    position: relative;
}

.stat-card-dark:hover {
    border-color: rgba(37,99,235,0.3);
    background: rgba(37,99,235,0.05);
}

.stat-icon-dark {
    width: 56px; height: 56px;
    background: var(--gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    margin: 0 auto 16px;
}

.stat-number-dark {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #60A5FA, #A78BFA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label-dark {
    font-size: 15px;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
}

/* ──────────────────────────────────
   PROCESS SECTION
────────────────────────────────── */
.process-section {
    padding: 100px 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.process-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.process-card:hover {
    background: rgba(37,99,235,0.06);
    border-color: rgba(37,99,235,0.25);
    transform: translateY(-4px);
}

.process-num {
    font-size: 60px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 16px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.35;
}

.process-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.process-text {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    line-height: 1.75;
}

/* ──────────────────────────────────
   TESTIMONIALS
────────────────────────────────── */
.testimonial-section { padding: 100px 0; background: var(--light); }

.testimonial-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37,99,235,0.2);
}

.testimonial-stars {
    color: #F59E0B;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-quote {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.t-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: white;
    flex-shrink: 0;
}

.t-name { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.t-role { font-size: 13px; color: var(--text-muted); }

/* ──────────────────────────────────
   CTA SECTION
────────────────────────────────── */
.cta-section {
    padding: 100px 0;
    background: var(--dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content { position: relative; z-index: 10; }

.cta-title {
    font-size: clamp(30px, 4.5vw, 52px);
    font-weight: 800;
    color: white;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.cta-text {
    font-size: 17px;
    color: rgba(255,255,255,0.45);
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* ──────────────────────────────────
   CONTACT SECTION
────────────────────────────────── */
.contact-section { padding: 100px 0; background: var(--light); }

.contact-info-wrap {
    background: var(--dark);
    border-radius: var(--radius-xl);
    padding: 48px 36px;
    height: 100%;
}

.contact-info-title {
    font-size: 26px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}

.contact-info-sub {
    font-size: 15px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 36px;
    line-height: 1.7;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.contact-item:last-of-type { border-bottom: none; }

.contact-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.35);
    margin-bottom: 4px;
}

.contact-val {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
}

.contact-val a { color: inherit; }
.contact-val a:hover { color: var(--accent); }

.contact-social {
    display: flex;
    gap: 10px;
    margin-top: 32px;
}

.contact-social a {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.45);
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form-wrap {
    background: white;
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.form-group { margin-bottom: 20px; }

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-ctrl {
    width: 100%;
    padding: 13px 16px;
    background: var(--light-2);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition);
    outline: none;
    font-family: inherit;
}

.form-ctrl::placeholder { color: var(--text-muted); }

.form-ctrl:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.07);
}

.form-ctrl.error { border-color: #EF4444; }

.form-error {
    font-size: 12px;
    color: #EF4444;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.form-success {
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: var(--radius);
    padding: 16px 20px;
    color: #059669;
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ──────────────────────────────────
   FOOTER
────────────────────────────────── */
.footer {
    background: var(--dark-2);
    padding: 80px 0 0;
    color: rgba(255,255,255,0.5);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 16px;
    text-decoration: none;
}

.footer-logo-icon {
    width: 38px; height: 38px;
    background: var(--gradient);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 17px;
    color: white;
}

.footer-logo-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: white;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    line-height: 1.8;
    max-width: 280px;
    margin-bottom: 24px;
}

.footer-social { display: flex; gap: 9px; }

.footer-social-btn {
    width: 38px; height: 38px;
    border-radius: 9px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.45);
    transition: var(--transition);
    font-size: 15px;
}

.footer-social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-links { list-style: none; padding: 0; }

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

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255,255,255,0.4);
}

.footer-contact-item i {
    color: var(--accent);
    margin-top: 2px;
    width: 14px;
    flex-shrink: 0;
}

.footer-bottom {
    margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.28);
}

.footer-bottom a { color: var(--accent); }
.footer-bottom a:hover { color: white; }

/* ──────────────────────────────────
   FLOATING BUTTONS
────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 56px; height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 25px;
    box-shadow: 0 8px 28px rgba(37,211,102,0.4);
    z-index: 800;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-2px);
    color: white;
    box-shadow: 0 14px 40px rgba(37,211,102,0.55);
}

.back-top {
    position: fixed;
    bottom: 30px; left: 30px;
    width: 44px; height: 44px;
    background: var(--gradient);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 17px;
    box-shadow: 0 4px 16px rgba(37,99,235,0.35);
    z-index: 800;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    border: none;
}

.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(37,99,235,0.5); }

/* ──────────────────────────────────
   SERVICE DETAIL PAGE HERO
────────────────────────────────── */
.page-hero {
    background: var(--dark);
    padding: 170px 0 90px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 64px 64px;
}

.page-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

/* Service page hero — left aligned two-column layout */
.svc-hero-left,
.svc-hero-left .hero-title,
.svc-hero-left .hero-subtitle {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.svc-hero-left .breadcrumb-apex {
    justify-content: flex-start !important;
}

.svc-hero-left .hero-cta {
    justify-content: flex-start !important;
}

/* Service hero glassmorphism card */
.svc-hero-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 24px;
    padding: 36px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

.svc-hero-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.svc-hero-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    flex-shrink: 0;
}

.svc-hero-card-title {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 3px;
}

.svc-hero-card-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.svc-hero-card-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.svc-hero-card-feat {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 12px 16px;
    transition: background 0.2s;
}

.svc-hero-card-feat:hover {
    background: rgba(255,255,255,0.07);
    color: white;
}

.svc-hero-card-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.svc-hero-card-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.svc-hero-card-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.svc-stat-num {
    font-size: 22px;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.svc-stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-hero-content .hero-title {
    text-align: center;
}

.page-hero-content .hero-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.page-hero-icon {
    width: 72px; height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    margin-bottom: 24px;
}

.breadcrumb-apex {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}

.breadcrumb-apex a { color: rgba(255,255,255,0.4); }
.breadcrumb-apex a:hover { color: white; }
.breadcrumb-apex i { font-size: 10px; }
.breadcrumb-apex span { color: rgba(255,255,255,0.7); }

/* ──────────────────────────────────
   MISC COMPONENTS
────────────────────────────────── */
.check-list { list-style: none; padding: 0; }

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--text-secondary);
    padding: 8px 0;
    transition: color 0.25s ease;
}

.check-list li i {
    color: var(--primary);
    margin-top: 2px;
    font-size: 13px;
    flex-shrink: 0;
    transition: color 0.25s ease;
}

.service-card:hover .check-list li { color: rgba(255,255,255,0.9); }
.service-card:hover .check-list li i { color: rgba(255,255,255,0.7); }

.tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(37,99,235,0.08);
    color: var(--primary);
    margin: 4px;
}

/* ──────────────────────────────────
   RESPONSIVE
────────────────────────────────── */
@media (max-width: 1024px) {
    .nav-links { gap: 0; }
    .nav-item-link { padding: 8px 10px; font-size: 13px; }
}

@media (max-width: 991px) {
    .nav-links, .nav-cta-btn { display: none !important; }
    .hamburger { display: flex; }

    .hero { padding: 100px 0 60px; }
    .section { padding: 70px 0; }
    .hero-title { letter-spacing: -0.5px; }

    .contact-form-wrap { padding: 32px 24px; }
    .contact-info-wrap { padding: 36px 28px; margin-bottom: 24px; }

    .about-badge-float { display: none; }
    .about-img { height: 300px; }
}

@media (max-width: 576px) {
    .hero-cta { flex-direction: column; }
    .hero-stats { gap: 18px; justify-content: center; }
    .hero-stat-num { font-size: 28px; }
    .page-hero { padding: 120px 0 70px; }
}

/* AOS custom */
[data-aos] { transition-duration: 600ms !important; }
