/* ======================================================
   Biltech Bilişim — Kurumsal Site CSS
   ====================================================== */

/* Google Fonts — Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --navy:        #0a1628;
    --navy-light:  #122040;
    --blue:        #1e40af;
    --blue-mid:    #2563eb;
    --blue-light:  #3b82f6;
    --blue-pale:   #eff6ff;
    --accent:      #f59e0b;
    --accent-dark: #d97706;
    --gray-50:     #f8fafc;
    --gray-100:    #f1f5f9;
    --gray-200:    #e2e8f0;
    --gray-400:    #94a3b8;
    --gray-600:    #475569;
    --gray-700:    #334155;
    --gray-900:    #0f172a;
    --text:        #1e293b;
    --text-muted:  #64748b;
    --border:      #e2e8f0;
    --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
    --shadow-md:   0 4px 20px rgba(0,0,0,0.10);
    --shadow-lg:   0 10px 40px rgba(0,0,0,0.12);
    --radius:      0.75rem;
    --radius-lg:   1.25rem;
    --transition:  all 0.25s ease;
    --page-bg:     #ffffff;
    --header-bg:   rgba(255,255,255,0.97);
    --surface:     #ffffff;
    --surface-alt: #f8fafc;
    --surface-soft:#eff6ff;
    --input-bg:    #ffffff;
}

/* ===================== RESET / BASE ===================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--page-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.25s ease, color 0.25s ease;
}

img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-mid); }

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--navy);
}

p { margin-bottom: 1rem; color: var(--text); }

/* ===================== HEADER / NAVBAR ===================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(10,22,40,0.10);
}

.navbar {
    padding: 0;
    min-height: 72px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0;
}

.navbar-brand img,
.brand-logo {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.brand-text small {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700) !important;
    padding: 0.5rem 0.875rem !important;
    border-radius: 0.5rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue) !important;
    background: var(--blue-pale);
}

.nav-cta {
    background: var(--navy);
    color: #fff !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 0.5rem;
}

.nav-cta:hover {
    background: var(--blue) !important;
    color: #fff !important;
}

.navbar-tools {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 1rem;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--gray-700);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
    background: var(--surface-soft);
    color: var(--blue);
    transform: translateY(-1px);
}

.theme-toggle i {
    font-size: 0.95rem;
}

.theme-toggle-label {
    white-space: nowrap;
}

.navbar-toggler {
    border: none;
    padding: 0.375rem;
    color: var(--navy);
}

.navbar-toggler:focus { box-shadow: none; }

/* ===================== HERO SLIDER ===================== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--navy) 0%, #1a2744 50%, #0f2460 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59,130,246,0.15);
    border: 1px solid rgba(59,130,246,0.3);
    color: #93c5fd;
    padding: 0.375rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 560px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 0.2rem;
}

.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    color: #fff;
    transition: transform 0.3s;
}

.hero-card:hover { transform: translateY(-4px); }

/* ===================== BUTTONS ===================== */
.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--blue);
    color: #fff;
    padding: 0.875rem 1.75rem;
    border-radius: 0.625rem;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--blue);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary-custom:hover {
    background: #1d3a8a;
    border-color: #1d3a8a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30,64,175,0.35);
}

.btn-secondary-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #fff;
    padding: 0.875rem 1.75rem;
    border-radius: 0.625rem;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-secondary-custom:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

.btn-outline-navy {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--navy);
    padding: 0.75rem 1.5rem;
    border-radius: 0.625rem;
    font-weight: 600;
    border: 2px solid var(--navy);
    transition: var(--transition);
    text-decoration: none;
}

.btn-outline-navy:hover {
    background: var(--navy);
    color: #fff;
}

/* ===================== SECTIONS ===================== */
.section-sm   { padding: 3rem 0; }
.section      { padding: 5rem 0; }
.section-lg   { padding: 7rem 0; }
.section-dark { background: var(--navy); }
.section-gray { background: var(--gray-50); }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 3px;
    background: var(--blue);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-dark .section-title { color: #fff; }

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
}

.section-dark .section-desc { color: #94a3b8; }

/* ===================== SERVICE CARDS ===================== */
.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--blue-light));
    opacity: 0;
    transition: opacity 0.3s;
}

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

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

.service-icon {
    width: 60px; height: 60px;
    background: var(--blue-pale);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    color: var(--blue);
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--blue);
    color: #fff;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--navy);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--blue);
    font-weight: 600;
    font-size: 0.875rem;
    transition: gap 0.2s;
}

.service-link:hover { gap: 0.7rem; color: var(--blue-mid); }

/* ===================== WHY US ===================== */
.why-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.why-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--blue-pale);
}

.why-icon {
    width: 48px; height: 48px;
    border-radius: 0.625rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    background: var(--blue-pale);
    color: var(--blue);
}

.why-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--navy);
}

.why-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===================== STATS ===================== */
.stat-box {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
}

.stat-box .num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
    line-height: 1;
}

.stat-box .label {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* ===================== REGION SECTION ===================== */
.region-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    color: #fff;
    transition: var(--transition);
}

.region-card:hover {
    background: rgba(59,130,246,0.2);
    border-color: rgba(59,130,246,0.4);
    transform: translateY(-3px);
}

.region-card i { font-size: 1.75rem; color: var(--accent); margin-bottom: 0.75rem; display: block; }

/* ===================== CTA SECTION ===================== */
.cta-section {
    background: linear-gradient(135deg, var(--blue) 0%, #1d3a8a 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    top: -100px; right: -100px;
}

.cta-section h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.25rem); }
.cta-section p  { color: rgba(255,255,255,0.8); font-size: 1.05rem; }

/* ===================== BLOG ===================== */
.blog-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 2rem;
}

.blog-card-body {
    padding: 1.5rem;
}

.blog-cat {
    display: inline-block;
    background: var(--blue-pale);
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 0.25rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--navy);
    line-height: 1.4;
}

.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { color: var(--blue); }

.blog-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

/* ===================== FAQ ===================== */
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.125rem 1.5rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: background 0.2s;
    background: #fff;
    font-size: 0.95rem;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover { background: var(--gray-50); }
.faq-question[aria-expanded="true"] { background: var(--blue-pale); color: var(--blue); }
.faq-question .faq-icon { font-size: 1rem; flex-shrink: 0; transition: transform 0.3s; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 1rem 1.5rem 1.25rem; color: var(--text-muted); font-size: 0.92rem; background: #fff; }

/* ===================== CONTACT ===================== */
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
    margin-bottom: 0.75rem;
}

.contact-icon {
    width: 44px; height: 44px;
    background: var(--blue-pale);
    border-radius: 0.625rem;
    display: flex; align-items: center; justify-content: center;
    color: var(--blue);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-card h4 { font-size: 0.825rem; color: var(--text-muted); margin: 0 0 0.25rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-card p, .contact-card a { font-size: 0.95rem; color: var(--text); margin: 0; font-weight: 500; }
.contact-card a:hover { color: var(--blue); }

/* ===================== FORMS ===================== */
.form-control, .form-select {
    border: 1.5px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.form-control:focus, .form-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(30,64,175,0.1);
    outline: none;
}

.form-label { font-weight: 600; font-size: 0.875rem; color: var(--gray-700); margin-bottom: 0.4rem; }
.btn-submit {
    background: var(--navy);
    color: #fff;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 0.625rem;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-submit:hover { background: var(--blue); transform: translateY(-2px); }

/* ===================== BREADCRUMB ===================== */
.site-breadcrumb {
    background: var(--gray-50);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.site-breadcrumb .breadcrumb { margin: 0; }
.site-breadcrumb .breadcrumb-item { font-size: 0.85rem; }
.site-breadcrumb .breadcrumb-item a { color: var(--blue); }
.site-breadcrumb .breadcrumb-item.active { color: var(--text-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--gray-400); }

/* ===================== PAGE HEADER ===================== */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, #1a2744 100%);
    padding: 3.5rem 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    right: -80px; top: -80px;
    width: 300px; height: 300px;
    background: rgba(59,130,246,0.1);
    border-radius: 50%;
}

.page-hero h1 { color: #fff; font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.page-hero p  { color: #94a3b8; font-size: 1rem; }

/* ===================== WHATSAPP FLOATING ===================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    width: 56px; height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #20ba5a;
    transform: scale(1.1);
    color: #fff;
}

/* ===================== FOOTER ===================== */
.site-footer {
    background: #0a1628;
    color: #94a3b8;
    padding: 4rem 0 0;
}

/* Brand / Logo */
.footer-brand { margin-bottom: 1.1rem; }
.footer-logo  { height: 36px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.88; }
.footer-tagline {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.footer-desc { font-size: 0.855rem; color: #64748b; line-height: 1.75; margin-bottom: 1.25rem; }

/* Column headings */
.footer-heading {
    color: #e2e8f0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Quick links & services */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a {
    color: #7a8fa8;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.18s, padding-left 0.18s;
}
.footer-links a:hover { color: #e2e8f0; padding-left: 4px; }

/* Contact list */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    font-size: 0.875rem;
    color: #7a8fa8;
}
.footer-contact li i {
    color: var(--blue-light);
    font-size: 0.95rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}
.footer-contact li a {
    color: #7a8fa8;
    text-decoration: none;
    transition: color 0.18s;
}
.footer-contact li a:hover { color: #e2e8f0; }

/* Social icons */
.footer-socials {
    display: flex;
    gap: 0.6rem;
}
.social-link, .footer-socials a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0.5rem;
    display: flex; align-items: center; justify-content: center;
    color: #7a8fa8;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-decoration: none;
}
.social-link:hover, .footer-socials a:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    transform: translateY(-2px);
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 1.25rem 0;
    margin-top: 3rem;
}
.footer-bottom p { margin: 0; font-size: 0.82rem; color: rgba(255,255,255,0.9); }
.footer-copyright {
    color: #ffffff !important;
    opacity: 0.96;
}

/* Legal links */
.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-legal li { }
.footer-legal a {
    color: #4a5568;
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.18s;
}
.footer-legal a:hover { color: #94a3b8; }

html[data-theme="dark"] {
    color-scheme: dark;
    --page-bg:     #08111f;
    --header-bg:   rgba(8,17,31,0.86);
    --surface:     #0f172a;
    --surface-alt: #0b1426;
    --surface-soft:#101d35;
    --input-bg:    #0b1221;
    --gray-50:     #0b1426;
    --gray-100:    #111b30;
    --gray-200:    #22314d;
    --gray-400:    #7f92af;
    --gray-600:    #9aa9bf;
    --gray-700:    #c7d4e7;
    --text:        #e5edf7;
    --text-muted:  #9caec7;
    --border:      rgba(148,163,184,0.16);
    --shadow-sm:   0 6px 18px rgba(0,0,0,0.20);
    --shadow-md:   0 12px 30px rgba(0,0,0,0.26);
    --shadow-lg:   0 18px 48px rgba(0,0,0,0.34);
}

html[data-theme="dark"] body,
html[data-theme="dark"] p,
html[data-theme="dark"] .section-lead,
html[data-theme="dark"] .service-desc,
html[data-theme="dark"] .blog-excerpt,
html[data-theme="dark"] .blog-meta,
html[data-theme="dark"] .faq-answer,
html[data-theme="dark"] .sdc-desc,
html[data-theme="dark"] .feature-desc,
html[data-theme="dark"] .footer-desc,
html[data-theme="dark"] .ref-card-desc,
html[data-theme="dark"] .contact-card h4,
html[data-theme="dark"] .about-badge-text,
html[data-theme="dark"] .about-stat-label,
html[data-theme="dark"] .post-excerpt,
html[data-theme="dark"] .content-body,
html[data-theme="dark"] .form-label {
    color: var(--text-muted);
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6,
html[data-theme="dark"] .service-title,
html[data-theme="dark"] .sdc-title,
html[data-theme="dark"] .feature-title,
html[data-theme="dark"] .blog-title,
html[data-theme="dark"] .sidebar-title,
html[data-theme="dark"] .form-card-title,
html[data-theme="dark"] .section-title,
html[data-theme="dark"] .value-card h3,
html[data-theme="dark"] .ref-card-name,
html[data-theme="dark"] .contact-card p,
html[data-theme="dark"] .contact-card a,
html[data-theme="dark"] .related-posts a,
html[data-theme="dark"] .content-body h2,
html[data-theme="dark"] .content-body h3 {
    color: #f4f8ff;
}

html[data-theme="dark"] .site-header {
    border-bottom-color: rgba(148,163,184,0.12);
}

html[data-theme="dark"] .brand-logo {
    filter: brightness(0) invert(1);
}

html[data-theme="dark"] .site-header.scrolled {
    box-shadow: 0 8px 28px rgba(0,0,0,0.34);
}

html[data-theme="dark"] .nav-link {
    color: #d6e2f3 !important;
}

html[data-theme="dark"] .nav-link:hover,
html[data-theme="dark"] .nav-link.active {
    color: #9fc0ff !important;
    background: rgba(37,99,235,0.16);
}

html[data-theme="dark"] .theme-toggle {
    background: rgba(148,163,184,0.08);
    border-color: rgba(148,163,184,0.14);
    color: #e2ebf8;
}

html[data-theme="dark"] .theme-toggle:hover {
    background: rgba(37,99,235,0.16);
    color: #cfe1ff;
}

html[data-theme="dark"] .whatsapp-popup {
    background: #132341;
    border-color: rgba(148,163,184,0.12);
    box-shadow: 0 22px 48px rgba(0,0,0,0.34);
}

html[data-theme="dark"] .whatsapp-popup::after {
    background: #132341;
    border-right-color: rgba(148,163,184,0.12);
    border-bottom-color: rgba(148,163,184,0.12);
}

html[data-theme="dark"] .whatsapp-popup-kicker {
    background: rgba(37,211,102,0.16);
    color: #87f0af;
}

html[data-theme="dark"] .whatsapp-popup strong {
    color: #f3f7ff;
}

html[data-theme="dark"] .whatsapp-popup p {
    color: #adc2df;
}

html[data-theme="dark"] .whatsapp-popup-close {
    background: rgba(148,163,184,0.1);
    color: #adc2df;
}

html[data-theme="dark"] .whatsapp-popup-close:hover {
    background: rgba(148,163,184,0.18);
    color: #ffffff;
}

html[data-theme="dark"] .navbar-toggler .toggler-bar {
    background: #d6e2f3;
}

html[data-theme="dark"] .navbar-collapse,
html[data-theme="dark"] .navbar-collapse.open,
html[data-theme="dark"] .dropdown-menu {
    background: var(--surface);
    border-color: var(--border);
}

html[data-theme="dark"] .dropdown-menu {
    box-shadow: var(--shadow-md);
}

html[data-theme="dark"] .dropdown-item {
    color: #d6e2f3;
}

html[data-theme="dark"] .dropdown-item:hover,
html[data-theme="dark"] .dropdown-item:focus {
    background: rgba(37,99,235,0.14);
    color: #ffffff;
}

html[data-theme="dark"] .dropdown-divider {
    border-top-color: var(--border);
}

html[data-theme="dark"] .bg-light-blue,
html[data-theme="dark"] .section-references,
html[data-theme="dark"] .site-breadcrumb,
html[data-theme="dark"] .breadcrumb-bar {
    background: var(--surface-alt);
}

html[data-theme="dark"] .service-card,
html[data-theme="dark"] .why-card,
html[data-theme="dark"] .blog-card,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .service-detail-card,
html[data-theme="dark"] .feature-item,
html[data-theme="dark"] .sidebar-card,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .success-box,
html[data-theme="dark"] .about-badge-card,
html[data-theme="dark"] .value-card,
html[data-theme="dark"] .reference-card,
html[data-theme="dark"] .ref-card,
html[data-theme="dark"] .ref-item,
html[data-theme="dark"] .accordion-item,
html[data-theme="dark"] .faq-item {
    background: var(--surface);
    border-color: var(--border);
}

html[data-theme="dark"] .service-card:hover,
html[data-theme="dark"] .service-detail-card:hover,
html[data-theme="dark"] .blog-card:hover,
html[data-theme="dark"] .value-card:hover,
html[data-theme="dark"] .reference-card:hover,
html[data-theme="dark"] .ref-card:hover,
html[data-theme="dark"] .why-card:hover {
    border-color: rgba(59,130,246,0.36);
    box-shadow: var(--shadow-lg);
}

html[data-theme="dark"] .service-icon,
html[data-theme="dark"] .why-icon,
html[data-theme="dark"] .feature-icon,
html[data-theme="dark"] .contact-icon,
html[data-theme="dark"] .contact-info-icon,
html[data-theme="dark"] .value-icon,
html[data-theme="dark"] .about-stat,
html[data-theme="dark"] .blog-category,
html[data-theme="dark"] .section-badge,
html[data-theme="dark"] .badge-service {
    background: rgba(37,99,235,0.14);
    color: #8db4ff;
}

html[data-theme="dark"] .sdc-icon.color-blue,
html[data-theme="dark"] .sdc-icon.color-indigo,
html[data-theme="dark"] .sdc-icon.color-green,
html[data-theme="dark"] .sdc-icon.color-amber,
html[data-theme="dark"] .sdc-icon.color-red {
    background: rgba(37,99,235,0.14);
    color: #8db4ff;
}

html[data-theme="dark"] .blog-card-img,
html[data-theme="dark"] .ref-item,
html[data-theme="dark"] .content-body table th {
    background: var(--surface-alt);
}

html[data-theme="dark"] .blog-cat-btn {
    border-color: var(--border);
    color: #c0d0e4;
    background: transparent;
}

html[data-theme="dark"] .blog-cat-btn:hover,
html[data-theme="dark"] .blog-cat-btn.active {
    color: #fff;
}

html[data-theme="dark"] .accordion-button {
    background: var(--surface);
    color: #f4f8ff;
    box-shadow: none;
}

html[data-theme="dark"] .accordion-button:not(.collapsed) {
    background: #132341;
    color: #d7e7ff;
}

html[data-theme="dark"] .accordion-button::after {
    filter: invert(1) brightness(2);
}

html[data-theme="dark"] .accordion-body {
    background: var(--surface);
    color: var(--text-muted);
}

html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select {
    background: var(--input-bg);
    border-color: var(--border);
    color: #eef4ff;
}

html[data-theme="dark"] .form-control::placeholder {
    color: #72839f;
}

html[data-theme="dark"] .form-control:focus,
html[data-theme="dark"] .form-select:focus {
    background: var(--input-bg);
    color: #ffffff;
}

html[data-theme="dark"] .related-posts li,
html[data-theme="dark"] .sidebar-info li,
html[data-theme="dark"] .contact-info-list li {
    border-color: var(--border);
}

html[data-theme="dark"] .breadcrumb-item a {
    color: #87b3ff;
}

html[data-theme="dark"] .breadcrumb-item.active,
html[data-theme="dark"] .site-breadcrumb .breadcrumb-item.active {
    color: #9caec7;
}

html[data-theme="dark"] .about-image-wrap img,
html[data-theme="dark"] .content-body img {
    box-shadow: var(--shadow-md);
}

html[data-theme="dark"] .ref-logo {
    filter: grayscale(0.2) brightness(0.96);
}

html[data-theme="dark"] .reference-slide {
    background: linear-gradient(180deg, rgba(17, 28, 48, 0.92) 0%, rgba(13, 22, 38, 0.96) 100%);
    border-color: rgba(123, 146, 179, 0.18);
    opacity: 0.84;
}

html[data-theme="dark"] .reference-marquee:hover .reference-slide {
    opacity: 0.56;
}

html[data-theme="dark"] .reference-marquee:hover .reference-slide:hover {
    opacity: 1;
}

html[data-theme="dark"] .reference-slide:hover {
    background: linear-gradient(180deg, rgba(20, 40, 75, 0.98) 0%, rgba(11, 23, 44, 0.98) 100%);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 20px 36px rgba(2, 8, 23, 0.45);
}

html[data-theme="dark"] .reference-slide-logo img {
    filter: grayscale(1) brightness(0.86) opacity(0.72);
}

html[data-theme="dark"] .reference-slide:hover .reference-slide-logo img {
    filter: grayscale(0) brightness(1) opacity(1);
}

html[data-theme="dark"] .reference-slide-name {
    color: #90a5c2;
}

html[data-theme="dark"] .reference-slide:hover .reference-slide-name {
    color: #eff6ff;
}

html[data-theme="dark"] .section-partners {
    background:
        radial-gradient(circle at top center, rgba(96,165,250,0.12), transparent 40%),
        linear-gradient(180deg, rgba(8,15,29,0.95) 0%, rgba(10,18,32,0.98) 100%);
    border-top-color: rgba(123,146,179,0.16);
    border-bottom-color: rgba(123,146,179,0.16);
}

html[data-theme="dark"] .partner-pill {
    background: rgba(59,130,246,0.12);
    border-color: rgba(96,165,250,0.18);
    color: #d7e7ff;
}

html[data-theme="dark"] .footer-bottom p,
html[data-theme="dark"] .footer-legal a {
    color: rgba(255,255,255,0.9);
}

html[data-theme="dark"] .footer-copyright {
    color: #ffffff !important;
}

html[data-theme="dark"] .footer-legal a:hover,
html[data-theme="dark"] .footer-links a:hover,
html[data-theme="dark"] .footer-contact li a:hover {
    color: #d8e3f4;
}

/* ===================== UTILITIES ===================== */
.text-accent { color: var(--accent); }
.text-navy   { color: var(--navy); }
.text-blue   { color: var(--blue); }
.bg-navy     { background: var(--navy); }
.bg-blue     { background: var(--blue); }

.badge-service {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: var(--blue-pale);
    color: var(--blue);
    padding: 0.375rem 0.875rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991.98px) {
    .hero-section { min-height: auto; }
    .hero-content { padding: 3rem 0; }
    .hero-stats   { gap: 1.5rem; }
    .section      { padding: 3.5rem 0; }
    .section-lg   { padding: 4rem 0; }
    .navbar-collapse { background: var(--surface); padding: 1rem; border-radius: 0.75rem; box-shadow: var(--shadow-md); margin-top: 0.5rem; }
    .theme-toggle-label { display: none; }
}

@media (max-width: 767.98px) {
    .hero-title { font-size: 1.875rem; }
    .section-title { font-size: 1.625rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn-primary-custom,
    .hero-actions .btn-secondary-custom { width: 100%; justify-content: center; }
    .whatsapp-widget { right: 1rem; bottom: 1rem; }
    .whatsapp-popup { width: min(248px, calc(100vw - 2rem)); }
    .reference-marquee { gap: 0.9rem; }
    .reference-slide,
    .reference-marquee.is-compact .reference-slide { width: 164px; min-height: 102px; padding: 0.85rem 0.85rem; }
    .reference-slide-logo img,
    .reference-marquee.is-compact .reference-slide-logo img { max-width: 104px; max-height: 42px; }
    .reference-slide-name { font-size: 0.82rem; }
    .reference-marquee-track { animation-duration: 28s; }
    .partner-pill-row { gap: 0.55rem; }
    .partner-pill { font-size: 0.76rem; padding: 0.5rem 0.8rem; }
}

/* ===================== NAVBAR MOBILE ===================== */
.navbar-collapse {
    display: none;
}
.navbar-collapse.open {
    display: block;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--surface);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
    z-index: 999;
}
@media (min-width: 992px) {
    .navbar-collapse { display: flex !important; position: static; box-shadow: none; border: none; padding: 0; }
    .navbar-toggler  { display: none; }
}
.navbar-toggler .toggler-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    margin: 5px 0;
    transition: all 0.25s;
}
.navbar-toggler.active .toggler-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggler.active .toggler-bar:nth-child(2) { opacity: 0; }
.navbar-toggler.active .toggler-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== BRAND ICON ===================== */
.brand-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--blue), var(--navy));
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ===================== HERO SLIDER ===================== */
.hero-section     { position: relative; min-height: 85vh; display: flex; align-items: center; overflow: hidden; }
.hero-static      { background: linear-gradient(135deg, var(--navy) 0%, #0f2460 100%); }
.hero-bg-img      { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); filter: saturate(1.08) brightness(0.88) contrast(1.03); will-change: transform; }
.hero-bg-gradient { position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy) 0%, #0f2460 100%); }
.hero-overlay     { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,18,35,0.72) 0%, rgba(10,22,40,0.28) 55%, rgba(8,18,35,0.48) 100%); }
.hero-section::after {
  content: '';
  position: absolute;
  right: -10rem;
  bottom: -14rem;
  width: 40rem;
  height: 40rem;
  background: radial-gradient(circle, rgba(59,130,246,0.22) 0%, rgba(59,130,246,0.05) 38%, rgba(59,130,246,0) 72%);
  pointer-events: none;
  z-index: 1;
  filter: blur(8px);
}
.carousel         { width: 100%; }
.carousel-item    { min-height: 85vh; position: relative; display: flex; align-items: center; justify-content: center; }
.carousel-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,18,35,0.68) 0%, rgba(8,18,35,0.34) 46%, rgba(8,18,35,0.56) 100%);
  z-index: 1;
}
.carousel-item .hero-content  { width: 100%; text-align: center; z-index: 2; }
.carousel-item .hero-actions  { justify-content: center; }
.carousel-indicators {
  margin-bottom: 1.65rem;
  gap: 0.55rem;
}
.carousel-indicators [data-bs-target] {
  width: 56px;
  height: 4px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.34);
  opacity: 1;
}
.carousel-indicators .active {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18);
}
.carousel-control-prev,
.carousel-control-next {
  width: 7%;
  opacity: 0.92;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(15,23,42,0.36);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background-size: 1rem 1rem;
  padding: 1.35rem;
}

/* --- Keyframes --- */
@keyframes heroBgZoom {
  0%   { transform: scale(1.03); }
  100% { transform: scale(1.12); }
}
@keyframes heroBadgeIn {
  0%   { opacity: 0; transform: translateX(-18px); letter-spacing: 0.3em; }
  100% { opacity: 1; transform: translateX(0);     letter-spacing: 0.14em; }
}
@keyframes heroTitleIn {
  0%   { opacity: 0; transform: translateY(36px) scale(0.95); filter: blur(8px); }
  55%  { filter: blur(0); }
  100% { opacity: 1; transform: translateY(0)     scale(1);   filter: blur(0); }
}
@keyframes heroSubIn {
  0%   { opacity: 0; transform: translateY(22px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes heroBtnIn {
  0%   { opacity: 0; transform: translateY(18px) scale(0.94); }
  100% { opacity: 1; transform: translateY(0)    scale(1); }
}

/* --- Reset opacity between slides --- */
.carousel-item .hero-badge,
.carousel-item .hero-title,
.carousel-item .hero-subtitle,
.carousel-item .hero-actions { opacity: 0; }

/* --- Staggered entrance on active slide --- */
.carousel-item.active .hero-bg-img      { animation: heroBgZoom 7.2s ease both; }
.carousel-item.active .hero-badge    { animation: heroBadgeIn 0.65s cubic-bezier(0.22,1,0.36,1) 0.08s both; }
.carousel-item.active .hero-title    { animation: heroTitleIn 0.85s cubic-bezier(0.22,1,0.36,1) 0.22s both; }
.carousel-item.active .hero-subtitle { animation: heroSubIn   0.75s cubic-bezier(0.22,1,0.36,1) 0.48s both; }
.carousel-item.active .hero-actions  { animation: heroBtnIn   0.75s cubic-bezier(0.22,1,0.36,1) 0.68s both; }

/* --- Hero badge pill --- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.92);
  padding: 0.45rem 1.1rem;
  border-radius: 2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: #f59e0b;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px #f59e0b;
}

/* --- Hero title --- */
.hero-title {
  font-size: clamp(2.1rem, 5.5vw, 3.9rem);
  font-weight: 900;
  line-height: 1.09;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 1.15rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

/* --- Hero subtitle --- */
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 600px;
  margin: 0 auto 2.2rem;
  line-height: 1.75;
  font-weight: 400;
}

/* --- Hero action buttons --- */
.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Primary CTA */
.hero-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #2563eb 0%, #1a3fbd 100%);
  border: none;
  padding: 0.9rem 2.1rem;
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 0.6rem;
  color: #fff;
  box-shadow: 0 4px 22px rgba(37,99,235,0.55), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: all 0.28s cubic-bezier(0.22,1,0.36,1);
}
.hero-actions .btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 8px 32px rgba(37,99,235,0.7), inset 0 1px 0 rgba(255,255,255,0.22);
  transform: translateY(-3px);
  color: #fff;
}
.hero-actions .btn-primary:active { transform: translateY(-1px); }

/* WhatsApp / secondary CTA */
.hero-actions .btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1.5px solid rgba(255,255,255,0.3);
  padding: 0.9rem 2.1rem;
  font-size: 0.97rem;
  font-weight: 600;
  border-radius: 0.6rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: rgba(255,255,255,0.9);
  transition: all 0.28s cubic-bezier(0.22,1,0.36,1);
}
.hero-actions .btn-outline-light:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.65);
  transform: translateY(-3px);
  color: #fff;
}
.hero-actions .btn-outline-light:active { transform: translateY(-1px); }

/* ===================== SECTION HELPERS ===================== */
.section-pad { padding: 5rem 0; }
.bg-light-blue { background: var(--blue-pale); }
.section-header { margin-bottom: 1rem; }
.section-badge {
    display: inline-block;
    background: rgba(30,64,175,0.1);
    color: var(--blue);
    padding: 0.3rem 0.9rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.section-lead { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ===================== SERVICE CARDS (new) ===================== */
.service-card {
    display: block;
    color: inherit;
    text-decoration: none;
}
.service-card:hover { color: inherit; }
.service-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--navy); }
.service-desc  { font-size: 0.9rem; color: var(--text-muted); flex: 1; }
.service-detail-card { display: flex; gap: 1.25rem; padding: 1.75rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); height: 100%; transition: var(--transition); }
.service-detail-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue-light); }
.sdc-icon { width: 56px; height: 56px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.sdc-icon.color-blue   { background: #eff6ff; color: #1d4ed8; }
.sdc-icon.color-indigo { background: #eef2ff; color: #4338ca; }
.sdc-icon.color-green  { background: #f0fdf4; color: #16a34a; }
.sdc-icon.color-amber  { background: #fffbeb; color: #d97706; }
.sdc-icon.color-red    { background: #fef2f2; color: #dc2626; }
.sdc-title { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.sdc-desc  { font-size: 0.9rem; color: var(--text-muted); }

/* ===================== FEATURE ITEMS ===================== */
.feature-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); transition: var(--transition); }
.feature-item:hover { box-shadow: var(--shadow-sm); }
.feature-icon { width: 44px; height: 44px; background: var(--blue-pale); border-radius: 0.625rem; display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 1.25rem; flex-shrink: 0; }
.feature-title { font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.feature-desc  { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* ===================== STATS SECTION ===================== */
.section-stats { background: linear-gradient(135deg, var(--navy), #0f2460); padding: 4rem 0; }
.stat-item  { padding: 1.5rem; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--accent); line-height: 1; }
.stat-label  { font-size: 0.875rem; color: #94a3b8; margin-top: 0.5rem; }

/* ===================== BLOG CARDS ===================== */
.blog-card-img-wrap { display: block; overflow: hidden; height: 200px; }
.blog-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card-img-wrap img { transform: scale(1.05); }
.blog-card-body { padding: 1.25rem; }
.blog-category { display: inline-block; background: var(--blue-pale); color: var(--blue); padding: 0.2rem 0.6rem; border-radius: 0.25rem; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.6rem; }
.blog-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; line-height: 1.4; }
.blog-title a { color: inherit; }
.blog-title a:hover { color: var(--blue); }
.blog-excerpt { font-size: 0.85rem; color: var(--text-muted); }
.blog-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 0.78rem; color: var(--text-muted); margin-top: 0.75rem; }
.blog-read-more { color: var(--blue); font-weight: 600; white-space: nowrap; }
.blog-categories { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.blog-cat-btn { padding: 0.35rem 1rem; border: 1.5px solid var(--border); border-radius: 2rem; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); transition: var(--transition); }
.blog-cat-btn:hover, .blog-cat-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Blog post content */
.post-title   { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.post-excerpt { color: var(--text-muted); border-left: 3px solid var(--blue); padding-left: 1rem; }
.post-content { line-height: 1.8; }
.post-content h2, .post-content h3 { margin-top: 2rem; }
.post-content img { border-radius: var(--radius); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.post-share .btn { border-radius: 0.375rem; }

/* ===================== BLOG SIDEBAR ===================== */
.blog-sidebar { position: sticky; top: 96px; }
.sidebar-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.25rem; }
.sidebar-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.related-posts { list-style: none; padding: 0; margin: 0; }
.related-posts li { padding: 0.625rem 0; border-bottom: 1px solid var(--border); }
.related-posts li:last-child { border-bottom: none; }
.related-posts a { font-size: 0.875rem; color: var(--navy); font-weight: 600; }
.related-posts a:hover { color: var(--blue); }
.sidebar-cta-card { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 1.5rem; }
.sidebar-cta-card h4 { color: #fff; font-size: 1rem; margin-bottom: 0.5rem; }
.sidebar-cta-card p  { color: #94a3b8; font-size: 0.85rem; margin-bottom: 1rem; }

/* ===================== CTA BOX ===================== */
.section-cta { padding: 4rem 0; background: linear-gradient(135deg, var(--blue), #1d3a8a); }
.cta-box { }
.cta-title { font-size: clamp(1.4rem, 2.5vw, 2rem); color: #fff; margin-bottom: 0.5rem; }
.cta-desc  { color: rgba(255,255,255,0.8); font-size: 1rem; margin: 0; }

/* ===================== ABOUT ===================== */
.about-image-wrap { position: relative; }
.about-badge-card { position: absolute; bottom: 1.5rem; left: -1rem; background: #fff; border-radius: var(--radius); padding: 1rem 1.5rem; box-shadow: var(--shadow-lg); text-align: center; }
.about-badge-num  { display: block; font-size: 2rem; font-weight: 800; color: var(--blue); line-height: 1; }
.about-badge-text { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }
.about-stat { text-align: center; padding: 1.25rem; background: var(--blue-pale); border-radius: var(--radius); }
.about-stat-num   { font-size: 2rem; font-weight: 800; color: var(--blue); }
.about-stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }
.value-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; height: 100%; transition: var(--transition); }
.value-card:hover { box-shadow: var(--shadow-md); }
.value-icon { width: 52px; height: 52px; background: var(--blue-pale); border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 1.4rem; margin-bottom: 1rem; }
.value-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.value-card p  { font-size: 0.875rem; color: var(--text-muted); margin: 0; }
.region-list { list-style: none; padding: 0; }
.region-list li { padding: 0.5rem 0; display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; }
.reference-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; height: 100%; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.reference-card:hover { box-shadow: var(--shadow-sm); }
.ref-logo { max-height: 48px; max-width: 100%; object-fit: contain; filter: grayscale(1); transition: filter 0.3s; }
.reference-card:hover .ref-logo { filter: none; }
.ref-name { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); }

/* ===================== SERVICE SIDEBAR ===================== */
.service-sidebar { position: sticky; top: 96px; }
.sidebar-info { list-style: none; padding: 0; margin: 1rem 0 0; }
.sidebar-info li { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0; font-size: 0.875rem; border-bottom: 1px solid var(--border); }
.sidebar-info li:last-child { border-bottom: none; }

/* ===================== FORM CARD ===================== */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.form-card-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--navy); }

/* ===================== CONTACT INFO ===================== */
.contact-info-list { list-style: none; padding: 0; }
.contact-info-list li { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-icon { width: 44px; height: 44px; background: var(--blue-pale); border-radius: 0.625rem; display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 1.1rem; flex-shrink: 0; }

/* ===================== SUCCESS BOX ===================== */
.success-box { max-width: 480px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); padding: 3rem 2rem; box-shadow: var(--shadow-lg); }
.success-icon { font-size: 4rem; color: #16a34a; }

/* ===================== CONTENT BODY ===================== */
.content-body { font-size: 1rem; line-height: 1.8; color: var(--text); }
.content-body h2, .content-body h3 { margin-top: 2rem; color: var(--navy); }
.content-body ul, .content-body ol { padding-left: 1.5rem; }
.content-body li { margin-bottom: 0.5rem; }
.content-body img { border-radius: var(--radius); max-width: 100%; }
.content-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.content-body table th, .content-body table td { padding: 0.75rem 1rem; border: 1px solid var(--border); }
.content-body table th { background: var(--gray-50); font-weight: 600; }

/* ===================== REFERENCES PAGE ===================== */
.ref-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.ref-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--blue-light);
    transform: translateY(-3px);
}
.ref-card-logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}
.ref-card-logo img {
    max-height: 60px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(0.5);
    transition: filter 0.3s;
}
.ref-card:hover .ref-card-logo img { filter: none; }
.ref-card-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
}
.ref-card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.reference-marquee {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.reference-marquee-row {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.reference-marquee-track {
    display: flex;
    width: max-content;
    gap: 1rem;
    animation: reference-marquee 38s linear infinite;
    will-change: transform;
}

.reference-marquee-row.is-reverse .reference-marquee-track {
    animation-direction: reverse;
}

.reference-marquee-row:hover .reference-marquee-track {
    animation-play-state: paused;
}

.reference-marquee-group {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.reference-slide {
    width: 220px;
    min-height: 132px;
    padding: 1rem 1.1rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: linear-gradient(180deg, #f8fbff 0%, #eef3fa 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-decoration: none;
    opacity: 0.78;
    filter: saturate(0.45);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease, opacity 0.28s ease, filter 0.28s ease;
}

.reference-marquee:hover .reference-slide {
    opacity: 0.54;
}

.reference-marquee:hover .reference-slide:hover {
    opacity: 1;
}

.reference-slide:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.32);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
    background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
    filter: saturate(1);
}

.reference-slide-logo {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reference-slide-logo img {
    max-width: 140px;
    max-height: 56px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.72);
    transition: filter 0.28s ease, transform 0.28s ease;
}

.reference-slide:hover .reference-slide-logo img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.03);
}

.reference-slide-name {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    color: #73849a;
    transition: color 0.28s ease;
}

.reference-slide:hover .reference-slide-name {
    color: var(--navy);
}

.reference-slide-text-only {
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.4;
    color: inherit;
}

.reference-marquee.is-compact .reference-slide {
    width: 190px;
    min-height: 116px;
}

.reference-marquee.is-compact .reference-slide-logo img {
    max-width: 124px;
    max-height: 48px;
}

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

/* ===================== PARTNER SHOWCASE ===================== */
.section-partners {
    background:
        radial-gradient(circle at top center, rgba(59,130,246,0.08), transparent 42%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border-top: 1px solid rgba(148,163,184,0.12);
    border-bottom: 1px solid rgba(148,163,184,0.12);
}

.partner-pill-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.partner-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.14);
    color: var(--navy);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* ===================== HERO SERVICE ICON ===================== */
.hero-service-icon { width: 72px; height: 72px; background: rgba(255,255,255,0.15); border-radius: 1rem; display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; color: #fff; margin-bottom: 1rem; }

/* ===================== BREADCRUMB BAR ===================== */
.breadcrumb-bar { background: var(--gray-50); padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.breadcrumb-bar .breadcrumb { margin: 0; font-size: 0.85rem; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--gray-400); }
.breadcrumb-item a { color: var(--blue); }
.breadcrumb-item.active { color: var(--text-muted); }

/* ===================== WHATSAPP FAB ===================== */
.whatsapp-fab {
    position: fixed;
    bottom: 2rem; right: 2rem;
    z-index: 999;
    width: 56px; height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(37,211,102,0.45);
    transition: var(--transition);
    text-decoration: none;
}
.whatsapp-fab:hover { transform: scale(1.1); color: #fff; background: #20ba5a; }

.whatsapp-widget {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.85rem;
}

.whatsapp-widget .whatsapp-fab {
    position: relative;
    right: auto;
    bottom: auto;
}

.whatsapp-popup {
    position: relative;
    width: min(280px, calc(100vw - 2.5rem));
    background: #fff;
    border: 1px solid rgba(15,35,60,0.08);
    border-radius: 1rem;
    box-shadow: 0 22px 48px rgba(15,23,42,0.18);
    padding: 1rem 1.1rem 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
}

.whatsapp-popup::after {
    content: '';
    position: absolute;
    right: 1.05rem;
    bottom: -9px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-right: 1px solid rgba(15,35,60,0.08);
    border-bottom: 1px solid rgba(15,35,60,0.08);
    transform: rotate(45deg);
}

.whatsapp-widget.popup-visible .whatsapp-popup,
.whatsapp-widget:hover .whatsapp-popup,
.whatsapp-widget:focus-within .whatsapp-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.whatsapp-popup-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(37,211,102,0.12);
    color: #0f8f45;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.whatsapp-popup strong {
    display: block;
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.whatsapp-popup p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    padding-right: 1.25rem;
}

.whatsapp-popup-close {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: rgba(15,35,60,0.06);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-popup-close:hover {
    background: rgba(15,35,60,0.12);
    color: var(--navy);
}

/* ===================== REFERENCES STRIP ===================== */
.section-references { background: #fff; }
.references-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
}
.ref-item {
    flex: 0 0 auto;
    width: 160px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}
.ref-item:hover { box-shadow: var(--shadow-sm); border-color: var(--blue-light); }
.ref-item img {
    max-width: 130px;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(0.3);
    transition: filter 0.3s;
}
.ref-item:hover img { filter: none; }
.ref-name-text { font-size: 0.9rem; font-weight: 700; color: var(--text-muted); text-align: center; }

/* ===================== SCROLL REVEAL ===================== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
