/* ============================================================
   NIK SYSTEM - MAIN STYLESHEET (MOBILE OPTIMIZED)
   Company: NIK SYSTEM LTD
   Description: Security, Technology, Control
   Language: Bulgarian (BG)
   ============================================================ */

/* ----------------------------------------------------------
   1. CSS VARIABLES & ROOT SETTINGS
   ---------------------------------------------------------- */
:root {
    /* Brand Colors */
    --primary-blue: #2563eb;
    --primary-blue-hover: #1d4ed8;
    --primary-blue-light: #3b82f6;
    --accent-cyan: #06b6d4;

    /* Background Colors */
    --bg-dark: #0a0e17;
    --bg-darker: #070a10;
    --bg-card: #111827;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;

    /* Text Colors */
    --text-white: #ffffff;
    --text-gray: #94a3b8;
    --text-dark: #1e293b;
    --text-muted: #64748b;

    /* Border & Shadow */
    --border-dark: #1e293b;
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.2);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.3);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;

    /* Spacing */
    --section-padding: 5rem;
    --container-max: 1280px;
    --container-padding: 1.5rem;

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

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

/* Fluid typography for mobile */
@media (max-width: 768px) {
    :root {
        --font-size-5xl: clamp(1.75rem, 6vw, 2.5rem);
        --font-size-4xl: clamp(1.5rem, 5vw, 2rem);
        --font-size-3xl: clamp(1.25rem, 4vw, 1.75rem);
        --font-size-2xl: clamp(1.125rem, 3.5vw, 1.5rem);
        --section-padding: 3rem;
        --container-padding: 1rem;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-5xl: clamp(1.5rem, 7vw, 2rem);
        --font-size-4xl: clamp(1.375rem, 6vw, 1.75rem);
        --section-padding: 2.5rem;
        --container-padding: 0.875rem;
    }
}

/* ----------------------------------------------------------
   2. RESET & BASE STYLES
   ---------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

input, textarea, select {
    font-family: inherit;
    outline: none;
    -webkit-appearance: none;
    border-radius: var(--radius-md);
}

input[type="checkbox"],
input[type="radio"] {
    -webkit-appearance: auto;
}

/* ----------------------------------------------------------
   3. UTILITY CLASSES
   ---------------------------------------------------------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.section-padding {
    padding: var(--section-padding) 0;
}

.bg-dark { background-color: var(--bg-dark); }
.bg-darker { background-color: var(--bg-darker); }
.bg-white { background-color: var(--bg-white); }
.bg-light { background-color: var(--bg-light); }

.text-white { color: var(--text-white); }
.text-gray { color: var(--text-gray); }
.text-dark { color: var(--text-dark); }
.text-primary { color: var(--primary-blue); }
.text-center { text-align: center; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

.hidden { display: none; }

/* ----------------------------------------------------------
   4. BUTTONS
   ---------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap;
    min-height: 44px;
    min-width: 44px;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--text-white);
    border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--primary-blue-hover);
    border-color: var(--primary-blue-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

.btn-outline:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--bg-white);
    color: var(--primary-blue);
    border: 2px solid var(--bg-white);
}

.btn-white:hover {
    background-color: transparent;
    color: var(--text-white);
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: var(--font-size-xs);
}

/* ----------------------------------------------------------
   5. HEADER & NAVIGATION
   ---------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(10, 14, 23, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 48px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-brand {
    font-size: var(--font-size-xl);
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-white);
    line-height: 1.2;
}

.logo-tagline {
    font-size: var(--font-size-xs);
    color: var(--text-gray);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-gray);
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width var(--transition-base);
}

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

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-white);
    font-size: var(--font-size-sm);
    font-weight: 600;
    transition: color var(--transition-fast);
    min-height: 44px;
}

.phone-link:hover {
    color: var(--primary-blue-light);
}

.phone-link i {
    font-size: 1.1rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.75rem;
    z-index: 1001;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: var(--radius-md);
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.1);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-white);
    transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ----------------------------------------------------------
   6. HERO SECTIONS
   ---------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,14,23,0.95) 0%, rgba(10,14,23,0.7) 50%, rgba(10,14,23,0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-title .accent {
    color: var(--primary-blue);
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1;
    min-width: 180px;
}

.hero-feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.3);
    flex-shrink: 0;
}

.hero-feature-text {
    font-size: var(--font-size-sm);
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

.hero-feature-text strong {
    display: block;
    color: #ffffff;
    font-weight: 600;
    font-size: var(--font-size-base);
    margin-bottom: 0.25rem;
}

/* Page Hero */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.page-hero .hero-overlay {
    background: linear-gradient(90deg, rgba(10,14,23,0.95) 0%, rgba(10,14,23,0.6) 100%);
}

.page-hero .hero-title {
    font-size: var(--font-size-4xl);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: var(--font-size-sm);
    color: var(--text-gray);
    flex-wrap: wrap;
}

.breadcrumb a:hover {
    color: var(--primary-blue-light);
}

.breadcrumb-separator {
    color: var(--text-muted);
}

/* ----------------------------------------------------------
   7. SECTION HEADERS
   ---------------------------------------------------------- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
    padding: 0 var(--container-padding);
}

.section-header-left {
    text-align: left;
    margin: 0 0 3rem 0;
}

.section-label {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.25;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section-title .accent {
    color: var(--primary-blue);
}

.section-desc {
    font-size: var(--font-size-base);
    color: var(--text-gray);
    line-height: 1.7;
}

/* ----------------------------------------------------------
   8. SERVICES SECTION
   ---------------------------------------------------------- */
.services-section {
    background: var(--bg-white);
    color: var(--text-dark);
}

.services-section .section-title,
.services-section .section-desc {
    color: var(--text-dark);
}

.services-section .section-desc {
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

/* Service card header */
.service-card-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1rem;
}

.service-icon-circle {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #ffffff;
    flex-shrink: 0;
}

.service-icon-circle.red { background: #dc2626; }
.service-icon-circle.green { background: #16a34a; }
.service-icon-circle.blue { background: #2563eb; }
.service-icon-circle.purple { background: #9333ea; }
.service-icon-circle.orange { background: #ea580c; }
.service-icon-circle.teal { background: #dc2626; }
.service-icon-circle.indigo { background: #2563eb; }
.service-icon-circle.cyan { background: #0891b2; }

.service-card-header .service-title {
    margin-bottom: 0;
    font-size: var(--font-size-lg);
    line-height: 1.3;
    word-wrap: break-word;
}

/* Service image */
.service-card-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    border: 1px solid var(--border-light);
    transition: transform var(--transition-base);
}

.service-card:hover .service-card-img {
    transform: scale(1.02);
}

/* Service description */
.service-card-desc {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Feature list */
.service-features {
    list-style: none;
    margin-bottom: 1.25rem;
    margin-top: auto;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.service-features li i {
    font-size: 0.85rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.service-features.red-check li i { color: #dc2626; }
.service-features.green-check li i { color: #16a34a; }
.service-features.blue-check li i { color: #2563eb; }
.service-features.purple-check li i { color: #9333ea; }
.service-features.orange-check li i { color: #ea580c; }
.service-features.teal-check li i { color: #dc2626; }
.service-features.indigo-check li i { color: #2563eb; }
.service-features.cyan-check li i { color: #0891b2; }

/* Service link */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    font-weight: 600;
    transition: gap var(--transition-fast);
    min-height: 44px;
}

.service-link:hover {
    gap: 0.75rem;
}

.service-link.red { color: #dc2626; }
.service-link.green { color: #16a34a; }
.service-link.blue { color: #2563eb; }
.service-link.purple { color: #9333ea; }
.service-link.orange { color: #ea580c; }
.service-link.teal { color: #dc2626; }
.service-link.indigo { color: #2563eb; }
.service-link.cyan { color: #0891b2; }

/* Legacy service icon styles */
.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.service-icon.red { background: #fef2f2; color: #dc2626; }
.service-icon.green { background: #f0fdf4; color: #16a34a; }
.service-icon.blue { background: #eff6ff; color: #2563eb; }
.service-icon.purple { background: #faf5ff; color: #9333ea; }
.service-icon.orange { background: #fff7ed; color: #ea580c; }
.service-icon.teal { background: #f0fdfa; color: #0d9488; }
.service-icon.indigo { background: #eef2ff; color: #4f46e5; }
.service-icon.cyan { background: #ecfeff; color: #0891b2; }

.service-desc {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* ----------------------------------------------------------
   9. PROCESS / HOW WE WORK SECTION
   ---------------------------------------------------------- */
.process-section {
    background: var(--bg-darker);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), transparent);
    opacity: 0.3;
}

.process-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--text-white);
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    position: relative;
    z-index: 2;
}

.process-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.process-desc {
    font-size: var(--font-size-sm);
    color: var(--text-gray);
    line-height: 1.5;
}

/* ----------------------------------------------------------
   10. WHY CHOOSE US / FEATURES SECTION
   ---------------------------------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.features-grid.single-row {
    grid-template-columns: repeat(6, 1fr);
}

.feature-item {
    text-align: center;
}

.feature-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: all var(--transition-base);
}

.feature-item:hover .feature-icon-wrap {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.feature-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: var(--font-size-sm);
    color: var(--text-gray);
    line-height: 1.6;
}

/* ----------------------------------------------------------
   11. ABOUT SECTION
   ---------------------------------------------------------- */
.about-section {
    background: var(--bg-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(10,14,23,0.6) 100%);
}

.about-content .section-title {
    margin-bottom: 1.25rem;
}

.about-text {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-dark);
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-gray);
    margin-top: 0.25rem;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-base);
}

.info-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}

.info-card-icon {
    font-size: 1.75rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.info-card-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-card-desc {
    font-size: var(--font-size-sm);
    color: var(--text-gray);
    line-height: 1.5;
}

/* ----------------------------------------------------------
   12. PARTNERS / BRANDS SECTION
   ---------------------------------------------------------- */
.partners-section {
    background: var(--bg-darker);
    padding: 3rem 0;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner-logo {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--text-muted);
    opacity: 0.6;
    transition: all var(--transition-base);
    letter-spacing: 1px;
}

.partner-logo:hover {
    opacity: 1;
    color: var(--text-white);
}

/* ----------------------------------------------------------
   13. CTA / CALL TO ACTION SECTION
   ---------------------------------------------------------- */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,14,23,0.98) 0%, rgba(10,14,23,0.85) 100%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-text .section-title {
    margin-bottom: 1rem;
}

.cta-text p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.cta-image {
    display: flex;
    justify-content: center;
}

.cta-image img {
    max-height: 300px;
    width: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
}

/* Separate CTA */
.cta-separate {
    margin-top: 3rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    border-top: 1px solid var(--border-light);
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.cta-separate .cta-bg,
.cta-separate .cta-overlay {
    display: none;
}

.cta-separate .cta-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-separate .section-title {
    color: var(--text-dark);
    font-size: var(--font-size-3xl);
}

.cta-separate p {
    color: var(--text-muted);
    font-size: var(--font-size-base);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.cta-separate .cta-image img {
    max-height: 280px;
    width: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* ----------------------------------------------------------
   14. CONTACT SECTION & FORM
   ---------------------------------------------------------- */
.contact-section {
    background: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
}

.contact-info-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-info-card h3 i {
    color: var(--primary-blue);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.contact-item-text {
    font-size: var(--font-size-sm);
    color: var(--text-gray);
    line-height: 1.5;
    word-break: break-word;
}

.contact-item-text strong {
    display: block;
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.contact-item-text a {
    color: var(--text-gray);
    transition: color var(--transition-fast);
    word-break: break-word;
}

.contact-item-text a:hover {
    color: var(--primary-blue-light);
}

/* Contact Form */
.contact-form-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    color: var(--text-dark);
}

.contact-form-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-form-card h3 i {
    color: var(--primary-blue);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    color: var(--text-dark);
    background: var(--bg-white);
    transition: all var(--transition-fast);
    min-height: 44px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    margin-top: 0.5rem;
}

/* Map */
.map-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    text-align: center;
    padding: 2rem;
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.map-placeholder p {
    font-size: var(--font-size-sm);
}

.map-placeholder strong {
    color: var(--text-white);
    display: block;
    margin-bottom: 0.5rem;
}

.map-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: contain;
    border-radius: var(--radius-xl);
}

.map-iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    border-radius: var(--radius-xl);
    filter: grayscale(0.3) contrast(1.1);
}

/* Contact Bottom Info Bar */
.contact-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-dark);
}

.contact-bar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-bar-item i {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-bar-item div strong {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-white);
    margin-bottom: 0.125rem;
}

.contact-bar-item div span {
    font-size: var(--font-size-xs);
    color: var(--text-gray);
}

/* ----------------------------------------------------------
   15. FOOTER
   ---------------------------------------------------------- */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-dark);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: var(--font-size-sm);
    color: var(--text-gray);
    line-height: 1.7;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: var(--font-size-sm);
    transition: all var(--transition-fast);
    min-width: 40px;
    min-height: 40px;
}

.footer-social a:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--text-white);
}

.footer-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-white);
}

.footer-links li {
    margin-bottom: 0.625rem;
}

.footer-links a {
    font-size: var(--font-size-sm);
    color: var(--text-gray);
    transition: color var(--transition-fast);
    display: inline-block;
    min-height: 28px;
}

.footer-links a:hover {
    color: var(--primary-blue-light);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    font-size: var(--font-size-sm);
    color: var(--text-gray);
    word-break: break-word;
}

.footer-contact li i {
    color: var(--primary-blue);
    margin-top: 0.25rem;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--text-gray);
    transition: color var(--transition-fast);
    word-break: break-word;
}

.footer-contact a:hover {
    color: var(--primary-blue-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-dark);
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--text-gray);
}

/* ----------------------------------------------------------
   16. ANIMATIONS & EFFECTS
   ---------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----------------------------------------------------------
   17. HERO FLOATING ICONS
   ---------------------------------------------------------- */
.hero-icons-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-float-icon {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.2);
    backdrop-filter: blur(6px);
    border: 2px solid rgba(59, 130, 246, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5), 0 4px 15px rgba(0,0,0,0.3);
    animation: iconPulse 2.5s ease-in-out infinite;
    pointer-events: auto;
}

.hero-float-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        rgba(59, 130, 246, 0.8) 0px,
        rgba(59, 130, 246, 0.8) 6px,
        transparent 6px,
        transparent 12px
    );
    transform-origin: left center;
    z-index: -1;
    opacity: 0.7;
    pointer-events: none;
}

.hero-float-icon:nth-child(1) { top: 16%; right: 26%; animation-delay: 0s; }
.hero-float-icon:nth-child(1)::after { transform: rotate(35deg); width: 100px; }
.hero-float-icon:nth-child(2) { top: 30%; right: 12%; animation-delay: 0.4s; }
.hero-float-icon:nth-child(2)::after { transform: rotate(55deg); width: 80px; }
.hero-float-icon:nth-child(3) { top: 20%; right: 40%; animation-delay: 0.8s; }
.hero-float-icon:nth-child(3)::after { transform: rotate(15deg); width: 110px; }
.hero-float-icon:nth-child(4) { top: 46%; right: 20%; animation-delay: 1.2s; }
.hero-float-icon:nth-child(4)::after { transform: rotate(65deg); width: 70px; }
.hero-float-icon:nth-child(5) { top: 36%; right: 32%; animation-delay: 0.6s; }
.hero-float-icon:nth-child(5)::after { transform: rotate(40deg); width: 90px; }
.hero-float-icon:nth-child(6) { top: 52%; right: 8%; animation-delay: 1.0s; }
.hero-float-icon:nth-child(6)::after { transform: rotate(75deg); width: 60px; }

@keyframes iconPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 15px rgba(59, 130, 246, 0.5); }
    50% { transform: scale(1.12); box-shadow: 0 0 25px rgba(59, 130, 246, 0.8), 0 0 40px rgba(59, 130, 246, 0.3); }
}

/* ----------------------------------------------------------
   18. ADDITIONAL UTILITY STYLES
   ---------------------------------------------------------- */


.about-info-light {
    background: var(--bg-white) !important;
    color: var(--text-dark) !important;
}
.about-info-light .info-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}
.about-info-light .info-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}
.about-info-light .info-card-title { color: var(--text-dark); }
.about-info-light .info-card-desc { color: var(--text-muted); }

.about-process-light {
    background: var(--bg-light) !important;
}
.about-process-light .section-title,
.about-process-light .process-title { color: var(--text-dark); }
.about-process-light .process-desc { color: var(--text-muted); }
.about-process-light .process-number {
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}
.about-process-light .process-step:not(:last-child)::after {
    background: linear-gradient(90deg, var(--primary-blue), rgba(37,99,235,0.1));
    opacity: 0.5;
}

/* Social icons colors */
.footer-social a[aria-label="Viber"]:hover {
    background: #7360f2 !important;
    border-color: #7360f2 !important;
}
.footer-social a[aria-label="WhatsApp"]:hover {
    background: #25d366 !important;
    border-color: #25d366 !important;
}

/* Service icon custom */
.service-icon-custom {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
    background: transparent;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon-custom {
    border-color: var(--primary-blue);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    transform: scale(1.05);
}

.service-icon-custom.red { color: #ef4444; border-color: rgba(239, 68, 68, 0.4); }
.service-icon-custom.red:hover { box-shadow: 0 0 20px rgba(239, 68, 68, 0.3); }
.service-icon-custom.green { color: #22c55e; border-color: rgba(34, 197, 94, 0.4); }
.service-icon-custom.green:hover { box-shadow: 0 0 20px rgba(34, 197, 94, 0.3); }
.service-icon-custom.blue { color: #3b82f6; border-color: rgba(59, 130, 246, 0.4); }
.service-icon-custom.blue:hover { box-shadow: 0 0 20px rgba(59, 130, 246, 0.3); }
.service-icon-custom.purple { color: #a855f7; border-color: rgba(168, 85, 247, 0.4); }
.service-icon-custom.purple:hover { box-shadow: 0 0 20px rgba(168, 85, 247, 0.3); }
.service-icon-custom.orange { color: #f97316; border-color: rgba(249, 115, 22, 0.4); }
.service-icon-custom.orange:hover { box-shadow: 0 0 20px rgba(249, 115, 22, 0.3); }
.service-icon-custom.teal { color: #14b8a6; border-color: rgba(20, 184, 166, 0.4); }
.service-icon-custom.teal:hover { box-shadow: 0 0 20px rgba(20, 184, 166, 0.3); }
.service-icon-custom.indigo { color: #6366f1; border-color: rgba(99, 102, 241, 0.4); }
.service-icon-custom.indigo:hover { box-shadow: 0 0 20px rgba(99, 102, 241, 0.3); }
.service-icon-custom.cyan { color: #06b6d4; border-color: rgba(6, 182, 212, 0.4); }
.service-icon-custom.cyan:hover { box-shadow: 0 0 20px rgba(6, 182, 212, 0.3); }

/* Nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}

.nav-overlay.active {
    display: block;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--border-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* ----------------------------------------------------------
   19. RESPONSIVE DESIGN - TABLET (max-width: 1024px)
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
    .about-grid,
    .cta-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .process-step:not(:last-child)::after {
        display: none;
    }

    .features-grid.single-row {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .cta-separate .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-separate .cta-image {
        display: none;
    }

    .hero-float-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .hero-float-icon::after {
        width: 60px !important;
    }
}

/* ----------------------------------------------------------
   20. RESPONSIVE DESIGN - MOBILE (max-width: 768px)
   ---------------------------------------------------------- */
@media (max-width: 768px) {
    :root {
        --section-padding: 3rem;
        --container-padding: 1rem;
    }

    .header-inner {
        height: 70px;
    }

    .logo-img {
        height: 40px;
    }

    .logo-brand {
        font-size: var(--font-size-lg);
    }

    .logo-tagline {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    /* Mobile Navigation */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background: var(--bg-card);
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        gap: 0;
        transition: right var(--transition-base);
        border-left: 1px solid var(--border-dark);
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav.active {
        right: 0;
    }

    .nav-link {
        padding: 1rem 0;
        font-size: var(--font-size-base);
        border-bottom: 1px solid var(--border-dark);
        width: 100%;
        color: var(--text-white);
    }

    .nav-link::after {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .header-actions .phone-link span {
        display: none;
    }

    .header-actions .btn {
        display: none;
    }

    /* Hero Mobile */
    .hero {
        min-height: auto;
        padding: 100px 0 3rem;
    }

    .hero-title {
        font-size: var(--font-size-4xl);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: var(--font-size-base);
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        margin-bottom: 2rem;
    }

    .hero-features {
        flex-wrap: wrap;
        gap: 1.25rem;
    }

    .hero-feature {
        flex: 1 1 calc(50% - 1rem);
        min-width: 140px;
    }

    .hero-feature-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        font-size: 0.9rem;
    }

    .hero-feature-text strong {
        font-size: var(--font-size-sm);
    }

    .hero-feature-text {
        font-size: var(--font-size-xs);
    }

    /* Floating icons - hide on mobile or reposition */
    .hero-icons-layer {
        display: none;
    }

    /* Page hero */
    .page-hero {
        min-height: auto;
        padding: 100px 0 2rem;
    }

    .page-hero .hero-title {
        font-size: var(--font-size-3xl);
    }

    /* Sections */
    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .section-desc {
        font-size: var(--font-size-sm);
    }

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

    .service-card {
        padding: 1.25rem;
    }

    .service-card-img {
        height: 200px;
    }

    /* Process */
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .process-number {
        width: 48px;
        height: 48px;
        font-size: var(--font-size-lg);
    }

    /* Features */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

    .feature-icon-wrap {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }

    /* About */
    .about-grid {
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        text-align: center;
    }

    .stat-number {
        font-size: var(--font-size-2xl);
    }

    .info-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 2rem;
    }

    /* Partners */
    .partners-grid {
        gap: 1.5rem;
    }

    .partner-logo {
        font-size: var(--font-size-lg);
    }

    /* CTA */
    .cta-section {
        padding: 3rem 0;
    }

    .cta-content {
        gap: 2rem;
    }

    .cta-image img {
        max-height: 200px;
    }

    .cta-separate {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    /* Contact */
    .contact-grid {
        gap: 1.5rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .map-card,
    .map-placeholder,
    .map-image,
    .map-iframe {
        min-height: 280px;
    }

    .contact-bar {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 2rem;
        padding-top: 2rem;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

/* ----------------------------------------------------------
   21. RESPONSIVE DESIGN - SMALL MOBILE (max-width: 480px)
   ---------------------------------------------------------- */
@media (max-width: 480px) {
    :root {
        --section-padding: 2.5rem;
        --container-padding: 0.875rem;
    }

    .header-inner {
        height: 64px;
    }

    .logo-img {
        height: 36px;
    }

    .logo-brand {
        font-size: var(--font-size-base);
    }

    .logo-tagline {
        display: none;
    }

    .nav {
        width: 90%;
        padding: 4.5rem 1.25rem 1.5rem;
    }

    /* Hero */
    .hero {
        padding: 84px 0 2.5rem;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: var(--font-size-sm);
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        padding: 0.875rem 1.25rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-feature {
        flex: 1 1 100%;
        min-width: auto;
    }

    /* Page hero */
    .page-hero {
        padding: 84px 0 2rem;
    }

    .page-hero .hero-title {
        font-size: var(--font-size-2xl);
    }

    .breadcrumb {
        font-size: var(--font-size-xs);
    }

    /* Sections */
    .section-header {
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: var(--font-size-xl);
    }

    .section-label {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
    }

    /* Services */
    .service-card {
        padding: 1rem;
    }

    .service-card-header {
        gap: 0.625rem;
    }

    .service-icon-circle {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1rem;
    }

    .service-card-header .service-title {
        font-size: var(--font-size-base);
    }

    .service-card-img {
        height: 160px;
    }

    .service-features li {
        font-size: var(--font-size-xs);
    }

    /* Process */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .process-step {
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: left;
    }

    .process-number {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-base);
        margin: 0;
        flex-shrink: 0;
    }

    .process-step > div {
        flex: 1;
    }

    /* Features */
    .features-grid,
    .features-grid.single-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .feature-icon-wrap {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .feature-title {
        font-size: var(--font-size-base);
    }

    /* About */
    .about-grid {
        gap: 1.5rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: left;
    }

    .stat-number {
        font-size: var(--font-size-xl);
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .info-card {
        padding: 1.25rem;
    }

    /* Partners */
    .partners-grid {
        gap: 1rem;
    }

    .partner-logo {
        font-size: var(--font-size-base);
    }

    /* CTA */
    .cta-section {
        padding: 2.5rem 0;
    }

    .cta-content {
        gap: 1.5rem;
    }

    .cta-text .section-title {
        font-size: var(--font-size-xl);
    }

    .cta-image {
        display: none;
    }

    .cta-separate {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .cta-separate .section-title {
        font-size: var(--font-size-xl);
    }

    /* Contact */
    .contact-info-card,
    .contact-form-card {
        padding: 1.25rem;
        border-radius: var(--radius-lg);
    }

    .contact-item {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .contact-item-icon {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.625rem 0.875rem;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    .map-card,
    .map-placeholder,
    .map-image,
    .map-iframe {
        min-height: 240px;
        border-radius: var(--radius-lg);
    }

    .contact-bar-item i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Footer */
    .footer {
        padding: 2.5rem 0 1.25rem;
    }

    .footer-grid {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-title {
        font-size: var(--font-size-sm);
        margin-bottom: 1rem;
    }

    .footer-links a,
    .footer-contact li {
        font-size: var(--font-size-xs);
    }

    .footer-social a {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.7rem;
    }
}

/* ----------------------------------------------------------
   22. TOUCH & ACCESSIBILITY IMPROVEMENTS
   ---------------------------------------------------------- */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .service-card:hover,
    .info-card:hover,
    .feature-item:hover .feature-icon-wrap {
        transform: none;
    }

    .service-card:hover::before {
        transform: scaleX(0);
    }

    .service-card:active::before {
        transform: scaleX(1);
    }

    .hero-float-icon {
        animation: none;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-float-icon {
        animation: none;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 2rem;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .nav {
        padding: 4rem 1.5rem 1.5rem;
    }

    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* High DPI / Retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-overlay,
    .page-hero .hero-overlay,
    .cta-overlay {
        background-blend-mode: multiply;
    }
}

/* Print styles */
@media print {
    .header,
    .hero-icons-layer,
    .menu-toggle,
    .nav-overlay,
    .footer-social,
    .btn {
        display: none !important;
    }

    .hero,
    .page-hero {
        min-height: auto;
        padding: 2rem 0;
        background: white !important;
        color: black !important;
    }

    .hero-title,
    .section-title,
    .feature-title,
    .service-title {
        color: black !important;
    }

    .service-card,
    .info-card,
    .contact-form-card,
    .contact-info-card {
        border: 1px solid #ccc;
        break-inside: avoid;
    }

    body {
        background: white;
        color: black;
    }
}

/* ============================================================
   INLINE STYLE REPLACEMENTS (Mobile Optimized)
   ============================================================ */

/* Logo sizes */
.logo-img-lg { height: 48px; width: auto; }
.logo-img-sm { height: 40px; width: auto; }


/* Required asterisk */
.required { color: #dc2626; }

/* About image overlay */
.about-image-overlay {
    position: relative;
    min-height: 450px;
}

.about-image-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.about-logo-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(10,14,23,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(59,130,246,0.3);
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-logo-badge img {
    height: 40px;
    width: auto;
    border-radius: 0;
}

.about-logo-badge-text {
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-logo-badge-brand {
    font-weight: 800;
    font-size: 0.9rem;
    color: #fff;
}

.about-logo-badge-tagline {
    color: var(--text-gray);
}

/* RTL helper for about grid */
.about-grid-rtl {
    direction: rtl;
}

.about-grid-rtl > .about-content,
.about-grid-rtl > .about-image {
    direction: ltr;
}

/* Info note */
.info-note {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 1rem;
    text-align: center;
}

/* Section desc centered */
.section-desc-center {
    max-width: 700px;
    margin: 0 auto;
}

/* Map overflow fix */
.map-overflow {
    overflow: hidden;
}

/* Mobile adjustments for overlay elements */
@media (max-width: 768px) {
    .about-image-overlay {
        min-height: 300px;
    }

    .about-logo-badge {
        bottom: 12px;
        left: 12px;
        padding: 8px 14px;
        gap: 8px;
    }

    .about-logo-badge img {
        height: 32px;
    }

    .about-logo-badge-brand {
        font-size: 0.8rem;
    }

    .about-logo-badge-tagline {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .about-image-overlay {
        min-height: 240px;
    }

    .logo-img-lg { height: 36px; }
    .logo-img-sm { height: 32px; }
}

/* Process section using features-grid style */
.about-process-light .features-grid.single-row {
    margin-top: 2rem;
}

.about-process-light .feature-item {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    transition: all var(--transition-base);
}

.about-process-light .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.about-process-light .feature-icon-wrap {
    border-color: rgba(37, 99, 235, 0.2);
    color: var(--primary-blue);
}

.about-process-light .feature-item:hover .feature-icon-wrap {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--primary-blue);
}

.about-process-light .feature-title {
    color: var(--text-dark);
    font-size: var(--font-size-base);
}

.about-process-light .feature-desc {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

@media (max-width: 768px) {
    .about-process-light .features-grid.single-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-process-light .feature-item {
        padding: 1.25rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .about-process-light .features-grid.single-row {
        grid-template-columns: 1fr;
    }
}

/* Additional mobile optimizations */
@media (max-width: 768px) {
    .service-card-img {
        height: auto;
        max-height: 220px;
        width: 100%;
    }

    .about-image-overlay {
        min-height: auto;
    }

    .about-image-overlay img {
        height: auto;
        max-height: 350px;
    }

    .cta-image {
        display: none;
    }

    .cta-bg img {
        object-position: center;
    }
}

@media (max-width: 480px) {
    .service-card-img {
        max-height: 180px;
    }

    .about-image-overlay img {
        max-height: 280px;
    }

    .hero-feature {
        flex: 1 1 100%;
    }
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for form elements on iOS */
input, textarea, select, button {
    font-size: 16px;
}

/* Smooth scrolling for anchor links with fixed header */
html {
    scroll-padding-top: 90px;
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }
}

