/* =============================================
   CodTeg — Main Stylesheet
   https://codteg.com
   Premium Dark Theme with AI/Tech Aesthetics
   ============================================= */

/* ─── CSS VARIABLES ─── */
:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #38bdf8;
    --secondary: #8b5cf6;
    --secondary-dark: #7c3aed;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --bg-dark: #020617;
    --bg-card: #0f172a;
    --bg-card-hover: #1e293b;
    --bg-section: #050d1a;
    --bg-section-alt: #0a1628;

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --border: rgba(14, 165, 233, 0.15);
    --border-hover: rgba(14, 165, 233, 0.4);

    --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 100%);
    --gradient-hero: linear-gradient(135deg, #020617 0%, #0f1e3d 50%, #1a0b3b 100%);
    --gradient-card: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(14, 165, 233, 0.2);
    --shadow-glow-purple: 0 0 30px rgba(139, 92, 246, 0.2);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --font-main: 'Inter', -apple-system, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;

    --navbar-height: 72px;
    --topbar-height: 38px;
    --container-max: 1280px;
}

/* ─── RESET & BASE ─── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
textarea,
select {
    font-family: inherit;
}

/* ─── UTILITY CLASSES ─── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-pad {
    padding: 100px 0;
}

.section-pad-sm {
    padding: 60px 0;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center {
    text-align: center;
}

.text-primary-color {
    color: var(--primary);
}

.text-secondary-color {
    color: var(--secondary);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-primary {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.badge-secondary {
    background: rgba(139, 92, 246, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* ─── SECTION HEADINGS ─── */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.7;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.centered {
    text-align: center;
}

.section-header.centered .section-subtitle {
    margin: 0 auto;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: var(--transition);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

/* ─── TOPBAR ─── */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    height: var(--topbar-height);
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.topbar.hidden {
    transform: translateY(-100%);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 12.5px;
    color: var(--text-muted);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
}

.topbar-right a {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.topbar-right a:hover {
    color: var(--primary);
}

.topbar-sep {
    color: var(--border);
}

/* ─── NAVBAR ─── */
#navbar {
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--navbar-height);
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

#navbar.scrolled {
    background: rgba(2, 6, 23, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    -webkit-text-fill-color: white;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-links>a,
.nav-links>.dropdown>a {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.nav-links .fa-fw {
    font-size: 12px;
    opacity: 0.7;
}

.nav-links>a:hover,
.nav-links>a.active,
.nav-links .dropdown:hover>a {
    color: var(--primary);
    background: rgba(14, 165, 233, 0.08);
}

/* Dropdown arrow icon */
.dropdown-arrow {
    font-size: 10px !important;
    transition: var(--transition);
}

.nav-links .dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* ─── MEGA MENU ─── */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 200;
    min-width: 220px;
}

.nav-links .dropdown:hover .dropdown-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

/* Standard dropdown items */
.nav-links .dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.nav-links .dropdown-menu a:hover {
    color: var(--primary);
    background: rgba(14, 165, 233, 0.08);
}

/* Mega menu */
.mega-menu {
    left: 50%;
    transform: translateX(-40%) translateY(10px);
    width: 90vw;
    max-width: 1200px;
    padding: 0;
    overflow: hidden;
}

.nav-links .dropdown:hover .mega-menu {
    transform: translateX(-40%) translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 12px;
}

.mega-item {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px !important;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    white-space: normal !important;
}

.mega-item:hover {
    background: rgba(14, 165, 233, 0.07) !important;
}

.mega-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
}

.mega-item:hover .mega-icon {
    background: rgba(14, 165, 233, 0.2);
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.2);
}

.mega-item strong {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.mega-item span {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.mega-footer {
    border-top: 1px solid var(--border);
    padding: 12px 16px;
    background: rgba(14, 165, 233, 0.03);
}

.mega-all-link {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary) !important;
    justify-content: center;
    padding: 8px !important;
    border-radius: var(--radius-sm);
}

.mega-all-link:hover {
    background: rgba(14, 165, 233, 0.1) !important;
}

/* WhatsApp nav button */
.btn-whatsapp-nav {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-nav:hover {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transform: translateY(-1px);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: calc(var(--topbar-height) + var(--navbar-height));
    left: 0;
    right: 0;
    background: rgba(5, 13, 26, 0.99);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px 24px;
    z-index: 999;
    flex-direction: column;
    gap: 2px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    max-height: calc(100vh - var(--topbar-height) - var(--navbar-height));
    overflow-y: auto;
}

.mobile-menu.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--border);
    font-size: 18px;
    font-weight: 900;
    font-family: var(--font-display);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-section-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    padding: 12px 16px 4px;
}

.mobile-menu a {
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.mobile-menu a:hover {
    color: var(--primary);
    background: rgba(14, 165, 233, 0.06);
}

.mobile-menu a.mobile-cta {
    color: var(--primary);
    font-weight: 600;
}

.mobile-menu-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

/* ─── HERO SECTION ─── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: calc(var(--navbar-height) + var(--topbar-height));
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #0ea5e9, transparent);
    top: -200px;
    right: -100px;
}

.hero-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #8b5cf6, transparent);
    bottom: -200px;
    left: -100px;
    animation-delay: -4s;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #06b6d4, transparent);
    top: 30%;
    left: 40%;
    animation-delay: -2s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(14, 165, 233, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5.5vw, 72px);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.hero-sub {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    max-width: 680px;
    line-height: 1.7;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.trust-item .check {
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
    font-size: 11px;
    flex-shrink: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── SERVICE CARDS ─── */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
    background: var(--bg-card-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--gradient-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: rgba(14, 165, 233, 0.15);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: var(--font-display);
}

.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-card .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .learn-more {
    gap: 10px;
}

/* ─── STATS SECTION ─── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ─── PROCESS STEPS ─── */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    counter-reset: step;
}

.process-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    transition: var(--transition);
    counter-increment: step;
}

.process-step::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: 24px;
    right: 24px;
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 900;
    color: rgba(14, 165, 233, 0.07);
    line-height: 1;
}

.process-step:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-num {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.process-step h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: var(--font-display);
}

.process-step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ─── TESTIMONIALS ─── */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 28px;
    font-family: Georgia, serif;
    font-size: 80px;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
}

.testimonial-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
}

.author-name {
    font-size: 15px;
    font-weight: 700;
}

.author-role {
    font-size: 13px;
    color: var(--text-secondary);
}

.stars {
    color: #f59e0b;
    font-size: 14px;
    margin-bottom: 4px;
}

/* ─── TECH STACK ─── */
.tech-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}

.tech-category:hover {
    border-color: var(--border-hover);
}

.tech-category h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    padding: 6px 14px;
    background: rgba(14, 165, 233, 0.07);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: var(--radius-full);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.tech-tag:hover {
    background: rgba(14, 165, 233, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

/* ─── PORTFOLIO CARDS ─── */
.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.portfolio-img {
    height: 200px;
    background: linear-gradient(135deg, var(--bg-section-alt), var(--bg-card-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    position: relative;
    overflow: hidden;
}

.portfolio-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-img::after {
    opacity: 0.15;
}

.portfolio-body {
    padding: 24px;
}

.portfolio-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.portfolio-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.portfolio-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ─── BLOG CARDS ─── */
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.blog-img {
    height: 180px;
    background: linear-gradient(135deg, var(--bg-section-alt), var(--bg-card-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    position: relative;
    overflow: hidden;
}

.blog-img-gradient-1 {
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
}

.blog-img-gradient-2 {
    background: linear-gradient(135deg, #0f172a, #2d1b69);
}

.blog-img-gradient-3 {
    background: linear-gradient(135deg, #0f172a, #1a3320);
}

.blog-body {
    padding: 24px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.blog-category {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(14, 165, 233, 0.1);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.blog-read-time {
    font-size: 12px;
    color: var(--text-muted);
}

.blog-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-read-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.blog-card:hover .blog-read-link {
    gap: 10px;
}

/* ─── FAQ SECTION ─── */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.open {
    border-color: rgba(14, 165, 233, 0.3);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    gap: 16px;
    user-select: none;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
    transition: var(--transition);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: rgba(14, 165, 233, 0.2);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 400px;
}

.faq-answer-inner {
    padding: 0 28px 22px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

/* ─── CTA BANNER ─── */
.cta-banner {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
}

.cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}

.cta-banner p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-banner-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    position: relative;
}

/* ─── INDUSTRIES SECTION ─── */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.industry-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    transition: var(--transition);
    cursor: default;
}

.industry-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.industry-card .emoji {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.industry-card span:last-child {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
}

.industry-card:hover span:last-child {
    color: var(--primary);
}

/* ─── CONTACT FORM ─── */
.contact-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-label .req {
    color: var(--danger);
    margin-left: 4px;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    background: var(--bg-section);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 15px;
    transition: var(--transition);
    outline: none;
    appearance: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
    background: rgba(14, 165, 233, 0.03);
}

.form-control::placeholder {
    color: var(--text-muted);
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.radio-option {
    position: relative;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-section);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.radio-option input:checked+.radio-label {
    background: rgba(14, 165, 233, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.radio-label::before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--border);
    flex-shrink: 0;
    transition: var(--transition);
}

.radio-option input:checked+.radio-label::before {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: inset 0 0 0 3px var(--bg-section);
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px;
}

.form-success .success-icon {
    width: 72px;
    height: 72px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 20px;
    color: var(--success);
}

.form-success h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-success p {
    color: var(--text-secondary);
}

/* ─── CONTACT DETAIL CARDS ─── */
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-card p,
.contact-card a {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    display: block;
}

.contact-card a:hover {
    color: var(--primary);
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .sep {
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--text-secondary);
}

/* ─── PAGE HERO (INNER PAGES) ─── */

/* ─── PAGE HERO WITH BACKGROUND IMAGE ─── */
.page-hero-img {
    position: relative;
    background-blend-mode: normal;
    min-height: 480px;
    padding-bottom: 120px !important;
    display: flex;
    align-items: center;
}

.page-hero-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(2, 6, 23, 0.92) 0%,
            rgba(15, 23, 42, 0.85) 50%,
            rgba(26, 11, 59, 0.80) 100%);
    z-index: 0;
}

.page-hero-img .container {
    position: relative;
    z-index: 1;
}

.page-hero-img .page-hero-bg {
    display: none;
}

.page-hero {
    padding: calc(var(--navbar-height) + var(--topbar-height) + 60px) 0 80px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(14, 165, 233, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.page-hero .hero-sub {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ─── ABOUT TEAM SECTION ─── */
.value-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--border-hover);
}

.value-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 48px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2px;
}

.value-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ─── BLOG POST (SINGLE) ─── */
.blog-post-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.blog-post-content h2 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 40px 0 16px;
}

.blog-post-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 28px 0 12px;
}

.blog-post-content p {
    margin-bottom: 20px;
}

.blog-post-content ul,
.blog-post-content ol {
    list-style: none;
    margin-bottom: 20px;
}

.blog-post-content ul li,
.blog-post-content ol li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.blog-post-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.blog-post-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 20px 28px;
    background: rgba(14, 165, 233, 0.05);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 28px 0;
    font-style: italic;
    color: var(--text-primary);
}

/* ─── TABLE OF CONTENTS ─── */
.toc {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: sticky;
    top: calc(var(--navbar-height) + var(--topbar-height) + 20px);
}

.toc h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 16px;
}

.toc ol {
    counter-reset: toc;
}

.toc ol li {
    counter-increment: toc;
}

.toc ol li a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.toc ol li a:hover {
    color: var(--primary);
}

/* ─── SERVICE DETAIL PAGE ─── */
.service-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 14px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.feature-bullet {
    width: 36px;
    height: 36px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ─── DIFFERENTIATORS ─── */
.diff-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.diff-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.diff-item:hover {
    border-color: var(--border-hover);
    color: var(--primary);
}

.diff-item .diff-icon {
    width: 28px;
    height: 28px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
    font-size: 14px;
    flex-shrink: 0;
}

/* ─── FOOTER ─── */
.footer {
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-dark) 100%);
    border-top: 1px solid var(--border);
    position: relative;
}

.footer-glow-line {
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0.6;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
}

.footer-main {
    padding: 72px 0 48px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.6fr;
    gap: 48px;
}

.footer-brand .nav-logo {
    font-size: 24px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Trust badges */
.footer-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.footer-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.18);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: var(--transition);
    color: var(--text-secondary);
}

.social-link:hover {
    background: rgba(14, 165, 233, 0.12);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--text-primary);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col h4 i {
    color: var(--primary);
    font-size: 14px;
}

.footer-col ul li {
    margin-bottom: 9px;
}

.footer-col ul li a {
    font-size: 13.5px;
    color: var(--text-secondary);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a i {
    font-size: 10px;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-col ul li a:hover i {
    color: var(--primary);
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 13.5px;
    color: var(--text-secondary);
}

.footer-contact-item .icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 14px;
    margin-top: 1px;
}

.footer-contact-item a:hover {
    color: var(--primary);
}

/* Newsletter */
.footer-newsletter {
    margin-top: 20px;
    padding: 16px;
    background: rgba(14, 165, 233, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.footer-newsletter p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.newsletter-form:focus-within {
    border-color: var(--primary);
}

.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 13px;
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form button {
    padding: 10px 16px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.newsletter-form button:hover {
    opacity: 0.85;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-muted);
}

.footer-bottom a:hover {
    color: var(--primary);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ─── SECTION DIVIDERS ─── */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ─── ABOUT PAGE SPECIFICS ─── */
.achievement-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: var(--transition);
}

.achievement-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.achievement-icon {
    font-size: 36px;
    margin-bottom: 14px;
}

.achievement-card h4 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.team-category {
    display: flex;
    gap: 14px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.team-category:hover {
    border-color: var(--border-hover);
}

.team-cat-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.team-category h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-category p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(14, 165, 233, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(14, 165, 233, 0.5);
}

/* ─── GRID LAYOUTS ─── */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.grid-auto-sm {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* ─── BACK TO TOP ─── */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    z-index: 500;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.5);
}

/* ─── ANIMATE ON SCROLL ─── */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos-delay="100"] {
    transition-delay: 0.1s;
}

[data-aos-delay="200"] {
    transition-delay: 0.2s;
}

[data-aos-delay="300"] {
    transition-delay: 0.3s;
}

[data-aos-delay="400"] {
    transition-delay: 0.4s;
}

[data-aos-delay="500"] {
    transition-delay: 0.5s;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .mega-menu {
        min-width: 520px;
    }
}

@media (max-width: 900px) {
    .topbar-left {
        display: none;
    }

    .topbar-right {
        font-size: 11.5px;
    }

    .nav-links,
    .nav-cta .btn-outline,
    .btn-whatsapp-nav,
    a.nav-hide-mobile {
        display: none !important;
    }

    .hamburger {
        display: flex;
    }

    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-banner {
        padding: 48px 28px;
    }

    .contact-form-wrap {
        padding: 28px;
    }

    .hero {
        padding-top: calc(var(--navbar-height) + var(--topbar-height));
    }

    .page-hero {
        padding-top: calc(var(--navbar-height) + var(--topbar-height) + 40px);
    }
}

@media (max-width: 640px) {
    .topbar {
        display: none;
    }

    #navbar {
        top: 0;
        padding: 0 12px;
    }

    /* Logo max height reduce on mobile */
    .nav-logo img {
        max-height: 44px !important;
    }

    /* Free Quote button compact */
    #navContact {
        padding: 8px 12px !important;
        font-size: 12px !important;
        gap: 4px !important;
    }

    #navContact i {
        font-size: 11px !important;
    }

    .mobile-menu {
        top: var(--navbar-height);
    }

    .section-pad {
        padding: 72px 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        padding-top: var(--navbar-height);
    }

    .page-hero {
        padding-top: calc(var(--navbar-height) + 40px);
    }
}

/* ═══════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVE FIXES
   ═══════════════════════════════════════════ */

@media (max-width: 480px) {

    /* ── Navbar: Hide WhatsApp button, keep only Free Quote + Hamburger ── */
    .nav-cta .btn:first-child {
        display: none !important;
    }

    .nav-cta {
        gap: 8px;
    }

    .nav-cta .btn {
        font-size: 13px;
        padding: 8px 14px;
    }

    /* ── Hero Slider ── */
    .hero-slider-wrap {
        height: 100svh;
        min-height: 580px;
    }

    .hero-slide-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem) !important;
    }

    .hero-slide-desc {
        font-size: 14px !important;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 12px;
    }

    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
    }

    /* ── Page Hero (inner pages) ── */
    .page-hero {
        padding-top: calc(var(--navbar-height) + 30px);
        padding-bottom: 50px;
    }

    .page-hero h1 {
        font-size: clamp(1.5rem, 6.5vw, 2rem) !important;
        line-height: 1.25;
    }

    /* ── Page Hero with Background Image ── */
    .page-hero-img {
        min-height: 380px;
        padding-bottom: 60px !important;
    }

    /* ── Blog hero meta row ── */
    .blog-meta-row {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    /* ── Share buttons in blog hero ── */
    .blog-share-btns {
        margin-left: 0 !important;
    }

    /* ── Service cards: 1 column ── */
    div[style*="grid-template-columns:repeat(auto-fill,minmax(340px"] {
        grid-template-columns: 1fr !important;
    }

    /* ── Portfolio cards: 1 column ── */
    .portfolio-grid {
        grid-template-columns: 1fr !important;
    }

    /* ── Section padding reduction ── */
    .section-pad {
        padding: 56px 0 !important;
    }

    /* ── Container padding ── */
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    /* ── Hero slide indicators ── */
    .slider-indicators {
        bottom: 14px;
        gap: 6px;
    }

    .slider-dot {
        width: 6px;
        height: 6px;
    }

    /* ── FAQ ── */
    .faq-question {
        font-size: 15px;
    }

    /* ── Tables overflow ── */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* ── Breadcrumbs: smaller text ── */
    .breadcrumb,
    .breadcrumbs {
        font-size: 12px;
        flex-wrap: wrap;
    }
}

@media (max-width: 390px) {

    /* ── Very small screens extra tweaks ── */
    .nav-cta .btn {
        font-size: 12px;
        padding: 7px 10px;
    }

    .hero-slide-title {
        font-size: 1.4rem !important;
    }

    .hero-badge-top {
        font-size: 11px;
    }

    .page-hero h1 {
        font-size: 1.4rem !important;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

/* ═══════════════════════════════════════════════
   MOBILE RESPONSIVE — COMPREHENSIVE FIX v2
   ═══════════════════════════════════════════════ */

/* Hide WhatsApp button in navbar on mobile */
@media (max-width: 480px) {
    .nav-hide-mobile {
        display: none !important;
    }

    /* Free Quote button padding reduce */
    #navContact {
        padding: 8px 12px;
        font-size: 12px;
    }

    /* Hero Slider full height */
    .hero-slider-wrap {
        height: 100svh !important;
        min-height: 560px;
    }

    /* Hero slide content spacing */
    .hero-slide-content {
        padding-top: 40px !important;
        padding-bottom: 30px;
    }

    /* Hero title smaller */
    .hero-slide-title {
        font-size: clamp(1.4rem, 6.5vw, 2rem) !important;
        line-height: 1.2;
    }

    /* Hero description smaller */
    .hero-slide-desc {
        font-size: 13.5px !important;
        line-height: 1.6;
    }

    /* CTA Buttons stack vertically */
    .hero-cta-group {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .hero-cta-group .btn {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Page hero inner pages */
    .page-hero {
        padding-top: calc(var(--navbar-height) + 24px) !important;
        padding-bottom: 48px !important;
    }

    .page-hero h1 {
        font-size: clamp(1.4rem, 6vw, 2rem) !important;
        line-height: 1.25;
    }

    .page-hero .hero-sub {
        font-size: 14px !important;
    }

    /* page-hero with image */
    .page-hero-img {
        min-height: 360px !important;
        padding-bottom: 56px !important;
    }

    /* Blog post hero metadata */
    div[style*="display:flex;align-items:center;gap:20px;flex-wrap:wrap"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    /* Share buttons go to bottom */
    div[style*="margin-left:auto;display:flex;gap:8px"] {
        margin-left: 0 !important;
    }

    /* Service cards: force single column */
    div[style*="grid-template-columns:repeat(auto-fill"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Section padding */
    .section-pad {
        padding: 56px 0 !important;
    }

    /* Container horizontal padding */
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* FAQs */
    .faq-question {
        font-size: 14.5px !important;
    }

    /* Breadcrumb */
    .breadcrumb,
    .breadcrumbs {
        font-size: 11.5px !important;
        flex-wrap: wrap !important;
    }

    /* Slider dots */
    .slider-indicators {
        bottom: 12px !important;
    }

    /* Tables scroll */
    table {
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Badge text */
    .hero-badge-top {
        font-size: 11px;
    }

    /* Section headings */
    .section-title {
        font-size: clamp(1.4rem, 6vw, 1.9rem) !important;
    }
}

/* Extra small screens (Galaxy Fold etc) */
@media (max-width: 375px) {
    .hero-slide-title {
        font-size: 1.3rem !important;
    }

    .page-hero h1 {
        font-size: 1.3rem !important;
    }

    #navContact {
        padding: 6px 10px;
        font-size: 11px;
    }
}

/* ── MOBILE NAV FIX v3 — WhatsApp button hidden below 640px ── */
@media (max-width: 640px) {

    /* Hide WhatsApp button in navbar with maximum specificity */
    a.nav-hide-mobile,
    a.nav-hide-mobile.btn,
    a.nav-hide-mobile.btn-sm,
    .nav-cta a.nav-hide-mobile {
        display: none !important;
        visibility: hidden !important;
    }

    /* Make Free Quote button more compact */
    #navContact.btn {
        padding: 8px 12px !important;
        font-size: 12.5px !important;
        gap: 5px !important;
    }

    #navContact.btn i {
        font-size: 11px !important;
    }

    /* Navbar height compact */
    #navbar {
        padding: 0 14px;
    }

    /* Logo size on mobile */
    .nav-logo img {
        height: 38px !important;
    }

    /* Hero slide content better mobile padding */
    .hero-slide-content {
        padding-top: 30px !important;
        padding-bottom: 20px !important;
    }

    /* Hero badge compact */
    .hero-badge-top {
        font-size: 11px !important;
        padding: 5px 12px !important;
    }

    /* Slider navigation arrows hide on mobile */
    .slider-btn {
        display: none !important;
    }
}

/* Tablet range adjustments */
@media (min-width: 480px) and (max-width: 768px) {

    a.nav-hide-mobile,
    .nav-cta a.nav-hide-mobile {
        display: none !important;
    }

    #navContact.btn {
        padding: 8px 14px !important;
        font-size: 13px !important;
    }
}


/* ════════════════════════════════════════════════════
   FINAL MOBILE RESPONSIVE STYLESHEET
   Fixes all identified mobile issues
   ════════════════════════════════════════════════════ */

/* ── Tablet (max 900px): WhatsApp hide, nav links hide ── */
@media (max-width: 900px) {

    .btn-whatsapp-nav,
    a.nav-hide-mobile {
        display: none !important;
    }
}

/* ── Mobile (max 640px): compact nav, hero fixes ── */
@media (max-width: 640px) {

    /* ─ Navbar ─ */
    .nav-inner {
        padding: 0 !important;
    }

    .nav-cta {
        gap: 6px;
    }

    #navContact {
        padding: 7px 11px !important;
        font-size: 12px !important;
    }

    #navContact i {
        font-size: 11px !important;
    }

    /* ─ Hero Slider ─ */
    .hero-slide-content {
        padding-top: 24px !important;
        padding-bottom: 20px !important;
    }

    .hero-slide-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem) !important;
        line-height: 1.2;
        margin-bottom: 12px !important;
    }

    .hero-slide-desc {
        font-size: 14px !important;
        line-height: 1.6;
        margin-bottom: 20px !important;
    }

    .hero-cta-group {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .hero-cta-group .btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 20px !important;
    }

    .hero-badge-top {
        font-size: 11px !important;
        padding: 5px 12px !important;
        margin-bottom: 14px !important;
    }

    /* Hide slider L/R arrows on mobile */
    .slider-btn,
    .hero-prev,
    .hero-next,
    .slider-prev,
    .slider-next {
        display: none !important;
    }

    /* ─ Page Hero (inner pages) ─ */
    .page-hero {
        padding-top: calc(var(--navbar-height) + 20px) !important;
        padding-bottom: 50px !important;
    }

    .page-hero h1 {
        font-size: clamp(1.4rem, 6.5vw, 2rem) !important;
        line-height: 1.25;
    }

    .page-hero p,
    .page-hero .hero-sub {
        font-size: 14px !important;
    }

    /* ─ Page Hero with BG Image ─ */
    .page-hero-img {
        min-height: 350px !important;
        padding-bottom: 52px !important;
    }

    /* ─ Breadcrumb ─ */
    .breadcrumb,
    .breadcrumbs {
        font-size: 11.5px !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
    }

    /* ─ Section headings ─ */
    .section-title {
        font-size: clamp(1.4rem, 6vw, 1.9rem) !important;
    }

    h2[style*="font-size:clamp"] {
        font-size: clamp(1.3rem, 6vw, 1.8rem) !important;
    }

    /* ─ Stats row ─ */
    .stats-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
    }

    /* ─ Service cards grid: single col ─ */
    div[style*="grid-template-columns:repeat(auto-fill"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* ─ Portfolio grid ─ */
    .portfolio-grid,
    div[style*="grid-template-columns:repeat(auto-fill,minmax(320"] {
        grid-template-columns: 1fr !important;
    }

    /* ─ Blog hero meta ─ */
    div[style*="display:flex;align-items:center;gap:20px;flex-wrap:wrap"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    div[style*="margin-left:auto;display:flex;gap:8px"] {
        margin-left: 0 !important;
    }

    /* ─ Blog sidebar: move below content ─ */
    div[style*="grid-template-columns:1fr 320px"] {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    div[style*="grid-template-columns:1fr 320px"] aside {
        position: static !important;
        display: block !important;
    }

    /* ─ Service page sidebar ─ */
    div[style*="grid-template-columns:1fr 320px;gap:48px"] {
        grid-template-columns: 1fr !important;
    }

    /* ─ 2-column grids ─ */
    div[style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* ─ CTA banner buttons ─ */
    .cta-banner-btns,
    div[style*="display:flex;gap:20px;justify-content:center"] {
        flex-direction: column !important;
        align-items: center !important;
    }

    .cta-banner-btns .btn {
        width: 100% !important;
        justify-content: center !important;
        max-width: 300px !important;
    }

    /* ─ Section padding ─ */
    .section-pad {
        padding: 56px 0 !important;
    }

    /* ─ Container padding ─ */
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* ─ Tables overflow ─ */
    table {
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* ─ FAQ font ─ */
    .faq-question {
        font-size: 14.5px !important;
    }

    /* ─ Footer ─ */
    .footer-main {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        gap: 12px !important;
        text-align: center !important;
    }

    /* ─ About timeline ─ */
    div[style*="grid-template-columns:1fr 3px 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* ─ Contact info cards ─ */
    div[style*="grid-template-columns:repeat(3,1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* ─ Hero CTA Buttons for page-hero ─ */
    .hero-cta {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .hero-cta .btn {
        width: 100% !important;
        justify-content: center !important;
    }

    /* ─ Badges row ─ */
    div[style*="display:flex;gap:12px;margin:24px 0;flex-wrap:wrap"] {
        gap: 8px !important;
    }
}

/* ── Extra small (max 380px) ── */
@media (max-width: 380px) {
    .nav-logo img {
        max-height: 38px !important;
    }

    #navContact {
        padding: 6px 9px !important;
        font-size: 11px !important;
    }

    .hero-slide-title {
        font-size: 1.3rem !important;
    }

    .page-hero h1 {
        font-size: 1.3rem !important;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* ── About Page: Core Values Cards ── */
.value-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.value-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.val-ico {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

@media (max-width: 640px) {
    .value-item {
        gap: 12px;
        padding: 16px;
    }

    .value-item h4 {
        font-size: 14px !important;
    }

    .value-item p {
        font-size: 12.5px !important;
    }

    .val-ico {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 17px;
    }
}

/* ── About Page Mobile Fixes ── */
@media (max-width: 640px) {

    /* Mission/Vision/Promise cards */
    div[style*="minmax(260px,1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* Stats bar section */
    div[style*="minmax(180px,1fr)"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    /* Quick stat pills in hero - wrap on mobile */
    div[style*="justify-content:center;flex-wrap:wrap;padding:0 8px"] {
        gap: 8px !important;
    }

    div[style*="justify-content:center;flex-wrap:wrap;padding:0 8px"]>div {
        font-size: 12px !important;
        padding: 8px 13px !important;
    }

    /* About story grid (2-col) → 1 col */
    .about-story-grid {
        grid-template-columns: 1fr !important;
    }

    /* Timeline on mobile */
    .timeline-grid,
    div[style*="grid-template-columns:1fr 3px 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Team department cards */
    div[style*="minmax(280px,1fr)"],
    div[style*="minmax(260px,1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* Tech stack icons grid */
    div[style*="minmax(100px"] {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
    }

    /* Achievement cards */
    div[style*="minmax(240px,1fr)"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 14px !important;
    }
}

@media (max-width: 420px) {

    /* Very small: achievement cards single col */
    div[style*="minmax(240px,1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* Stats 1 col on very small */
    div[style*="minmax(180px,1fr)"] {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* ── About Stats Bar - Responsive ── */
.stats-bar-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 1px !important;
}

@media (max-width: 900px) {
    .stats-bar-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .stats-bar-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1px !important;
    }

    .stats-bar-grid>div {
        padding: 16px 10px !important;
    }

    .stats-bar-grid>div div:first-child {
        font-size: 1.5rem !important;
    }

    .stats-bar-grid>div div:last-child {
        font-size: 11px !important;
    }
}

@media (max-width: 380px) {
    .stats-bar-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}