/* ============================================
   TechTest Solutions - Professional Website
   Lightning Fast CSS (Pure CSS, No Framework)
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    /* Colors */
    --primary: #4F46E5;
    --primary-dark: #3730A3;
    --primary-light: #818CF8;
    --secondary: #0EA5E9;
    --accent: #10B981;
    --accent-2: #F59E0B;
    
    --dark: #0F172A;
    --dark-light: #1E293B;
    --gray-900: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #0EA5E9 100%);
    --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    --gradient-text: linear-gradient(135deg, #4F46E5 0%, #0EA5E9 50%, #10B981 100%);

    /* Typography */
    --font-primary: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 40px rgba(79, 70, 229, 0.15);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-base); }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: var(--section-padding); }
.section--dark { background-color: var(--dark); }
.section--gray { background-color: var(--gray-50); }

.highlight { color: var(--primary); }
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Section Headers ---------- */
.section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}
.section__header--light .section__subtitle,
.section__header--light .section__title,
.section__header--light .section__description { color: var(--white); }

.section__subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section__description {
    font-size: 18px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn--primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.35);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.45);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}
.btn--outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn--whatsapp {
    background: #25D366;
    color: var(--white);
    gap: 8px;
}
.btn--whatsapp:hover {
    background: #20BD5A;
    transform: translateY(-2px);
}

.btn--large { padding: 16px 36px; font-size: 16px; }
.btn--full { width: 100%; justify-content: center; }

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-base);
    background: transparent;
}

.header--scrolled,
.header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

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

.nav__logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 4px;
}
.logo-icon { font-size: 28px; }

.nav__list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}
.nav__link:hover,
.nav__link.active {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.nav__toggle,
.nav__close { display: none; }

.nav__item {
    position: relative;
}

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

.nav__caret-icon {
    margin-left: 6px;
    transition: transform var(--transition-fast);
}

.nav__dropdown-toggle {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.nav__dropdown-toggle:hover {
    opacity: 0.8;
}

.has-dropdown {
    position: relative;
}

.has-dropdown > .nav__link {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Megamenu */
.megamenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 1200px;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    margin-top: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    z-index: 1001;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.has-dropdown:hover .megamenu,
.megamenu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.megamenu__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.megamenu__col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.megamenu__header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.megamenu__badge {
    font-size: 16px;
}

.megamenu__link {
    display: block;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: transparent;
    transition: all var(--transition-fast);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
}

.megamenu__link:hover {
    background: rgba(79, 70, 229, 0.2);
    color: var(--white);
    padding-left: 20px;
}

.megamenu__link-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.megamenu__link-desc {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

.megamenu__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 12px 0;
}

.megamenu__feature {
    position: relative;
}

.megamenu__feature-inner {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(99, 102, 241, 0.15));
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
}

.megamenu__feature-inner h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.megamenu__feature-inner p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    line-height: 1.5;
}

.megamenu__all {
    display: block;
    font-size: 13px;
    color: var(--primary-light);
    font-weight: 600;
    margin-top: 12px;
    transition: var(--transition-fast);
}

.megamenu__all:hover {
    color: var(--primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 80px;
}

.hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(79, 70, 229, 0.15);
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.hero__title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
}

.hero__description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray-400);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero__stats {
    display: flex;
    gap: 40px;
}

.stat { text-align: center; }
.stat__number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
}
.stat__label {
    font-size: 13px;
    color: var(--gray-400);
}

/* Hero Visual Cards */
.hero__visual {
    position: relative;
    height: 450px;
}

.hero__card {
    position: absolute;
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    animation: float 6s ease-in-out infinite;
    box-shadow: var(--shadow-xl);
}
.card-icon { font-size: 24px; }

.hero__card--1 { top: 10%; left: 5%; animation-delay: 0s; }
.hero__card--2 { top: 5%; right: 10%; animation-delay: 1.5s; }
.hero__card--3 { bottom: 25%; left: 0; animation-delay: 3s; }
.hero__card--4 { bottom: 5%; right: 5%; animation-delay: 4.5s; }

.hero__orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
}

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

.hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
}
.hero__wave svg { display: block; width: 100%; height: 80px; fill: var(--white); }

/* ============================================
   SERVICES SECTION
   ============================================ */
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-base);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
}
.service-card--qa .service-card__icon { background: linear-gradient(135deg, #4F46E5, #6366F1); }
.service-card--dev .service-card__icon { background: linear-gradient(135deg, #0EA5E9, #38BDF8); }
.service-card--support .service-card__icon { background: linear-gradient(135deg, #10B981, #34D399); }

.service-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-card__text {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card__list {
    margin-bottom: 20px;
}
.service-card__list li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 8px;
}
.service-card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

.service-card__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}
.service-card__link:hover { color: var(--primary-dark); }

/* ============================================
   TECH STACK
   ============================================ */
.tech-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.tech-category {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.tech-category__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    padding: 6px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-300);
    transition: var(--transition-fast);
}
.tech-tag:hover {
    background: rgba(79, 70, 229, 0.2);
    border-color: var(--primary);
    color: var(--primary-light);
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us__text {
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 32px;
}

.features-list { display: flex; flex-direction: column; gap: 20px; }

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #4F46E5, #10B981);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}
.feature-item p { font-size: 14px; color: var(--gray-500); }

.why-us__visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.visual-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition-base);
}
.visual-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}
.visual-card--accent {
    background: var(--gradient-primary);
    border-color: transparent;
}
.visual-card--accent .visual-card__number,
.visual-card--accent .visual-card__text { color: var(--white); }

.visual-card__number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
}
.visual-card__text {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.cta__content {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.cta__title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta__text {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
}

.cta__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta .btn--primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: none;
}
.cta .btn--primary:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: var(--gradient-hero);
    padding: 140px 0 80px;
    text-align: center;
}

.page-header__title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.page-header__text {
    font-size: 18px;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.breadcrumb {
    font-size: 14px;
    color: var(--gray-500);
}
.breadcrumb a { color: var(--primary-light); }
.breadcrumb a:hover { color: var(--white); }

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-main { padding-top: 60px; }

.service-category { margin-bottom: 80px; }

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--gray-200);
}

.category-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.category-icon--qa { background: linear-gradient(135deg, #EEF2FF, #E0E7FF); color: var(--primary); }
.category-icon--dev { background: linear-gradient(135deg, #ECFEFF, #CFFAFE); color: var(--secondary); }
.category-icon--support { background: linear-gradient(135deg, #ECFDF5, #D1FAE5); color: var(--accent); }

.category-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}
.category-desc { font-size: 16px; color: var(--gray-500); }

.service-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.service-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-base);
    position: relative;
    cursor: pointer;
}
.service-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}
.service-item:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 6px;
}

.service-item__number {
    font-size: 48px;
    font-weight: 900;
    color: var(--gray-100);
    line-height: 1;
    margin-bottom: 12px;
}

.service-item__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-item__desc {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-item__features {
    margin-bottom: 20px;
}
.service-item__features li {
    position: relative;
    padding-left: 22px;
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 6px;
}
.service-item__features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

.service-item__tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tool-badge {
    padding: 4px 12px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-600);
}

.services-cta {
    text-align: center;
    padding: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    color: var(--white);
}
.services-cta h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}
.services-cta p {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 28px;
}
.services-cta .btn--primary {
    background: var(--white);
    color: var(--primary);
}

/* ============================================
   SERVICE DETAIL PAGES
   ============================================ */

/* Service Hero Section */
.srv-hero {
    position: relative;
    background: var(--gradient-hero);
    padding: 100px 0 60px;
    margin-top: 80px;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.srv-hero__badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(79, 70, 229, 0.2);
    border: 1px solid rgba(79, 70, 229, 0.4);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-light);
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.srv-hero__title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--white);
}

.srv-hero__desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 700px;
    margin-bottom: 32px;
}

.srv-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.srv-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.srv-hero__chips span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Service Stats */
.srv-stats {
    padding: 60px 0;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.srv-stats__card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

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

.srv-stat b {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.srv-stat span {
    display: block;
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

/* Service Sections */
.srv-section {
    padding: var(--section-padding);
}

.srv-section--alt {
    background: var(--gray-50);
}

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

.section__subtitle {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section__title {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 0;
}

.section__title .highlight {
    color: var(--primary);
}

/* Overview Grid */
.overview__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.overview__text p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
}

.check-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.6;
    padding-left: 0;
}

.check-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: 50%;
    color: var(--primary);
    font-weight: 700;
    font-size: 12px;
}

.overview-visual {
    display: flex;
    justify-content: center;
}

.overview-visual__card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow-lg);
}

.vrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--gray-700);
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.ic {
    font-size: 20px;
}

/* Capabilities Grid */
.cap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.cap-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all var(--transition-base);
}

.cap-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.cap-ic {
    font-size: 40px;
    line-height: 1;
}

.cap-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.cap-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Process Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.step {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all var(--transition-base);
    position: relative;
    padding-left: 60px;
}

.step:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.step-no {
    position: absolute;
    top: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.step p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Tools Panel */
.tools-panel {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.tools-panel > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tools-panel p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 15px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.chip {
    display: inline-block;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    transition: all var(--transition-fast);
}

.chip:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Deliverables Grid */
.dlv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.dlv-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all var(--transition-base);
}

.dlv-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.dlv-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.dlv-card ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.dlv-card li {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.dlv-card li::before {
    content: '•';
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

/* Related Services */
.rel-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

.rel-card:hover {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.rel-ic {
    font-size: 32px;
    flex-shrink: 0;
}

.rel-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 4px 0;
}

.rel-card p {
    font-size: 13px;
    color: var(--gray-600);
    margin: 0;
}

.rel-arrow {
    margin-left: auto;
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

/* Engagement Models */
.engage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.engage-card {
    position: relative;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all var(--transition-base);
}

.engage-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.engage-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.engage-sub {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
    font-weight: 500;
}

.engage-card ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    flex-grow: 1;
}

.engage-card li {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.engage-card li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.engage-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.engage-card--pop {
    border-color: var(--primary);
    border-width: 2px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(79, 70, 229, 0.02));
    transform: scale(1.02);
}

.engage-card--pop:hover {
    transform: scale(1.02) translateY(-4px);
    border-color: var(--primary-dark);
}

.engage-tag {
    position: absolute;
    top: -12px;
    left: 20px;
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-2);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
}

.btn--ghost {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    font-weight: 600;
}

.btn--ghost:hover {
    background: var(--primary);
    color: var(--white);
}

.btn--full {
    width: 100%;
    text-align: center;
}

/* FAQ Section */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 24px;
    background: var(--white);
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.faq-q:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.faq-q[aria-expanded="true"] {
    background: var(--gray-50);
    color: var(--primary);
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.faq-q[aria-expanded="true"] .faq-icon {
    background: var(--primary-dark);
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
    background: var(--gray-50);
}

.faq-item.open .faq-a {
    max-height: 500px;
}

.faq-a p {
    padding: 0 24px 20px 24px;
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 20px 0 0 0;
}

/* Related Services Grid */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-main { padding-top: 60px; }

.about-story {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
}

.about-story__content p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
}

.about-stat { text-align: center; }
.about-stat__number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}
.about-stat__label {
    font-size: 13px;
    color: var(--gray-500);
}

.about-story__visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    position: sticky;
    top: 100px;
}

.about-image-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-image-card--small {
    grid-row: 2;
    grid-column: 2;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #0EA5E9, #10B981);
}

.about-image-card__inner {
    text-align: center;
    color: var(--white);
}
.about-icon-large { font-size: 48px; margin-bottom: 8px; }
.about-image-card__inner p { font-size: 13px; font-weight: 600; opacity: 0.9; }

/* Mission & Vision */
.mission-vision {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 80px;
}

.mv-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    transition: var(--transition-base);
}
.mv-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.mv-card__icon { font-size: 48px; margin-bottom: 16px; }
.mv-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}
.mv-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition-base);
}
.value-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.value-card__icon { font-size: 40px; margin-bottom: 16px; }
.value-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.value-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.team-member {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition-base);
}
.team-member:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.team-member__avatar {
    width: 90px;
    height: 90px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 40px;
}

.team-member__name {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}
.team-member__role {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 12px;
}
.team-member__bio {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 12px;
}

.team-member__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-600);
    transition: var(--transition-fast);
}
.team-member__social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Process Steps */
.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    text-align: center;
    padding: 28px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}
.process-step:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.process-step__number {
    font-size: 32px;
    font-weight: 900;
    color: var(--gray-100);
    line-height: 1;
    margin-bottom: 8px;
}
.process-step__icon { font-size: 32px; margin-bottom: 12px; }
.process-step h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.process-step p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
}

.process-step__arrow {
    font-size: 24px;
    color: var(--gray-300);
    padding-top: 50px;
    font-weight: 300;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-main { padding-top: 60px; }

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    margin-bottom: 60px;
}

.contact-form-wrapper h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}
.contact-form-wrapper > p {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 28px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: var(--gray-800);
    background: var(--white);
    transition: var(--transition-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }

.form-success {
    text-align: center;
    padding: 48px 24px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}
.success-icon {
    width: 64px;
    height: 64px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 16px;
}
.form-success h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.form-success p { color: var(--gray-500); }

/* Contact Info Cards */
.contact-info-wrapper { display: flex; flex-direction: column; gap: 20px; }

.contact-info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}
.contact-info-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.contact-info-card__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.contact-info-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}
.contact-info-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}
.contact-info-card a { color: var(--primary); }
.contact-info-card a:hover { color: var(--primary-dark); }

.contact-info-card--whatsapp .contact-info-card__icon {
    background: #ECFDF5;
    color: #25D366;
}
.contact-info-card--whatsapp { border-color: #D1FAE5; }

.contact-socials { margin-top: 8px; }
.contact-socials h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.social-links--large {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.social-links--large .social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
}
.social-link--linkedin { background: #EFF6FF; color: #0A66C2; }
.social-link--facebook { background: #F0F9FF; color: #1877F2; }
.social-link--youtube { background: #FFF7ED; color: #FF0000; }
.social-link--whatsapp { background: #ECFDF5; color: #25D366; }

/* Map Section */
.map-section { margin-top: 40px; }
.map-placeholder {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.map-placeholder__content {
    text-align: center;
    padding: 40px;
}
.map-placeholder__content svg { color: var(--primary); margin-bottom: 16px; }
.map-placeholder__content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.map-placeholder__content p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 16px;
}

/* ============================================
   BLOG PAGE
   ============================================ */
.blog-main { padding-top: 60px; }

.blog-featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
}

.blog-featured__badge {
    position: absolute;
    top: 24px;
    left: 24px;
    padding: 6px 16px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-featured__content { padding-right: 20px; }

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.blog-meta time,
.blog-meta span:not(.blog-category) {
    font-size: 13px;
    color: var(--gray-400);
}

.blog-category {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.blog-category--qa { background: #EEF2FF; color: #4F46E5; }
.blog-category--dev { background: #ECFEFF; color: #0EA5E9; }
.blog-category--tutorials { background: #FEF3C7; color: #D97706; }
.blog-category--devops { background: #F0FDF4; color: #16A34A; }
.blog-category--industry { background: #FDF2F8; color: #DB2777; }

.blog-featured__title {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 16px;
}
.blog-featured__title a:hover { color: var(--primary); }

.blog-featured__excerpt {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-featured__author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.blog-featured__author strong {
    display: block;
    font-size: 14px;
    color: var(--dark);
}
.blog-featured__author span {
    font-size: 13px;
    color: var(--gray-400);
}

.blog-featured__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 280px;
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}
.blog-image-placeholder--small {
    min-height: 180px;
    background: linear-gradient(135deg, #F3F4F6, #E5E7EB);
    font-size: 40px;
}

/* Blog Filters */
.blog-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition-fast);
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.blog-card__image {
    position: relative;
}

.blog-card__image .blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
}

.blog-card__content { padding: 24px; }

.blog-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 10px;
}
.blog-card__title a:hover { color: var(--primary); }

.blog-card__excerpt {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}
.blog-card__link:hover { color: var(--primary-dark); }

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 60px;
}

.pagination__btn {
    padding: 10px 18px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition-fast);
}
.pagination__btn:hover,
.pagination__btn--active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.pagination__dots { color: var(--gray-400); padding: 0 4px; }

/* Newsletter */
.newsletter {
    background: var(--gradient-hero);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
}
.newsletter h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}
.newsletter p {
    font-size: 16px;
    color: var(--gray-400);
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}
.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 15px;
}
.newsletter-form input::placeholder { color: var(--gray-400); }
.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(255,255,255,0.15);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    padding: 60px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
}

.footer__desc {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.06);
    color: var(--gray-400);
    transition: var(--transition-fast);
}
.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer__heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer__links ul li { margin-bottom: 10px; }
.footer__links ul li a {
    font-size: 14px;
    color: var(--gray-400);
}
.footer__links ul li a:hover { color: var(--white); }

.footer__contact ul li {
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer__bottom {
    padding: 20px 0;
    text-align: center;
}
.footer__bottom p {
    font-size: 13px;
    color: var(--gray-500);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
    z-index: 999;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.5);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .hero__container { grid-template-columns: 1fr; text-align: center; }
    .hero__description { margin-left: auto; margin-right: auto; }
    .hero__buttons { justify-content: center; }
    .hero__stats { justify-content: center; }
    .hero__visual { height: 350px; margin-top: 40px; }

    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .tech-categories { grid-template-columns: 1fr; }
    .why-us__grid { grid-template-columns: 1fr; gap: 40px; }
    .about-story { grid-template-columns: 1fr; }
    .about-story__visual { position: static; }
    .mission-vision { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-featured { grid-template-columns: 1fr; }
    .blog-featured__image { order: -1; min-height: 240px; }
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { gap: 12px; }
    .process-step__arrow { display: none; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }

    /* Megamenu adjustment for tablet */
    .megamenu {
        min-width: auto;
        width: 100%;
        left: 0;
    }

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

/* Tablet */
@media (max-width: 1024px) {
    .engage-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
    :root { --section-padding: 60px 0; }

    /* Mobile Navigation */
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--dark);
        padding: 80px 30px 30px;
        transition: right var(--transition-base);
        box-shadow: -10px 0 30px rgba(0,0,0,0.2);
        z-index: 1001;
    }
    .nav__menu.show-menu { right: 0; }
    .nav__list { flex-direction: column; gap: 4px; }
    .nav__link {
        display: block;
        padding: 12px 16px;
        font-size: 16px;
        border-radius: var(--radius-sm);
    }
    .nav__close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 32px;
        color: var(--gray-400);
        background: none;
    }
    .nav__toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 8px;
        background: none;
    }
    .nav__toggle span {
        width: 24px;
        height: 2px;
        background: var(--white);
        border-radius: 2px;
        transition: var(--transition-fast);
    }

    /* Mobile Megamenu */
    .megamenu {
        position: static;
        min-width: auto;
        background: transparent;
        border: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0;
        margin: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-base);
    }

    .megamenu.show {
        max-height: 1000px;
    }

    .megamenu__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 16px 0;
    }

    .megamenu__col {
        gap: 8px;
    }

    .megamenu__header {
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .megamenu__link {
        padding: 10px 12px;
    }

    .megamenu__link:hover {
        padding-left: 16px;
    }

    .megamenu__feature {
        margin-top: 16px;
    }

    .megamenu__feature-inner {
        padding: 16px;
    }

    .megamenu__feature-inner h5 {
        font-size: 14px;
    }

    .megamenu__feature-inner p {
        font-size: 12px;
    }

    /* Hero Mobile */
    .hero { min-height: auto; padding: 120px 0 100px; }
    .hero__title { font-size: 32px; }
    .hero__stats { flex-direction: column; gap: 20px; }
    .hero__visual { height: 280px; }
    .hero__card { padding: 12px 16px; font-size: 12px; }
    .hero__orb { width: 180px; height: 180px; }

    /* Services Mobile */
    .services__grid { grid-template-columns: 1fr; }
    .service-items-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
    .blog-grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .category-header { flex-direction: column; text-align: center; }
    .newsletter-form { flex-direction: column; }
    .process-steps { flex-direction: column; align-items: stretch; }
    .process-step { max-width: 100%; }
    .page-header { padding: 120px 0 60px; }
    .blog-featured { padding: 24px; }
    .services-cta { padding: 32px 20px; }

    /* Service Detail Pages Mobile */
    .srv-hero { padding: 80px 0 50px; }
    .srv-hero__title { font-size: 28px; }
    .srv-hero__desc { font-size: 16px; }
    .srv-hero__actions { flex-direction: column; }
    .srv-hero__chips { flex-direction: column; gap: 12px; }
    
    .srv-stats__card { grid-template-columns: 1fr 1fr; gap: 24px; }
    
    .overview__grid { grid-template-columns: 1fr; gap: 40px; }
    
    .cap-grid { grid-template-columns: 1fr; }
    
    .steps { grid-template-columns: 1fr; }
    
    .tools-panel { grid-template-columns: 1fr; gap: 40px; }
    
    .dlv-grid { grid-template-columns: 1fr; }
    
    .section__title { font-size: 24px; }
    
    .chip-row { gap: 8px; }

    /* Engagement Models Mobile */
    .engage-grid { grid-template-columns: 1fr; }
    .engage-card { padding: 24px; }
    .engage-card--pop { transform: scale(1); }
    .engage-card--pop:hover { transform: translateY(-4px); }
    .btn--full { padding: 12px 16px; }

    /* FAQ Mobile */
    .faq-list { max-width: 100%; }
    .faq-q { padding: 16px 20px; font-size: 15px; }
    .faq-a p { padding: 0 20px 16px 20px; font-size: 14px; }
    
    /* Related Services Mobile */
    .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero__title { font-size: 28px; }
    .section__title { font-size: 24px; }
    .category-title { font-size: 22px; }
    .blog-featured__title { font-size: 22px; }
    .about-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .about-stat__number { font-size: 24px; }
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Overlay for mobile menu */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}
.nav-overlay.show { opacity: 1; visibility: visible; }
