/* ============================================
   MAID SERVICES — FULL STYLESHEET
   Hero BG Image | White Hero Text | Poppins
   Version: 1.0.1 | Cache-Busting Ready
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ---- RESET & BASE ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary:        #3B82F6;
    --primary-dark:   #2563EB;
    --primary-light:  #EFF6FF;
    --primary-mid:    #BFDBFE;
    --secondary:      #0F172A;
    --bg:             #FFFFFF;
    --card:           #F8FAFC;
    --card-border:    #E2E8F0;
    --text:           #0F172A;
    --text-muted:     #64748B;
    --border:         #E2E8F0;
    --whatsapp:       #25D366;
    --call:           #3B82F6;
    --accent:         #06B6D4;
    --accent-light:   #ECFEFF;
    --dark-bg:        #0F172A;
    --dark-card:      #1E293B;
    --radius:         1rem;
    --radius-lg:      1.5rem;
    --radius-xl:      2rem;
    --shadow:         0 4px 24px rgba(59,130,246,.08);
    --shadow-lg:      0 8px 40px rgba(59,130,246,.15);
    --shadow-card:    0 2px 16px rgba(15,23,42,.06);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    font-family: 'Poppins', inherit;
    border: none;
    background: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container { padding: 0 2rem; }
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    line-height: 1.15;
}

.section-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--primary);
    background: var(--primary-light);
    padding: .35rem 1.1rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: 1rem;
    border: 1.5px solid var(--primary-mid);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    font-weight: 400;
}

/* ---- SCROLL ANIMATIONS ---- */
[data-fade] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s cubic-bezier(.22,1,.36,1),
                transform .65s cubic-bezier(.22,1,.36,1);
}

[data-fade].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    font-weight: 600;
    font-size: .9rem;
    border-radius: .75rem;
    transition: all .25s cubic-bezier(.22,1,.36,1);
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background .2s;
}

.btn:hover::after {
    background: rgba(255,255,255,.08);
}

.btn-pill      { border-radius: 999px; }
.btn-primary   {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(59,130,246,.35);
}
.btn-primary:hover  { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(59,130,246,.45); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary      { background: #000000; color: #fff; }
.btn-secondary:hover{ background: #222222; transform: translateY(-2px); }
.btn-sm  { padding: .5rem 1rem; font-size: .82rem; }
.btn-lg  { padding: 1rem 2.25rem; font-size: 1rem; height: 3.25rem; }
.btn-full{ width: 100%; justify-content: center; }

/* ================================================
   HEADER
   ================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    background: rgba(255,255,255,.6);
    backdrop-filter: blur(12px);
    padding: 1.25rem 0;
    transition: all .35s cubic-bezier(.22,1,.36,1);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 30px rgba(59,130,246,.08);
    padding: .7rem 0;
    border-bottom-color: var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-decoration: none;
}

.logo-top    { font-family: 'Poppins', sans-serif; font-weight: 900; font-size: 1.15rem; color: var(--text); }
.logo-bottom { font-family: 'Poppins', sans-serif; font-weight: 900; font-size: 1.05rem; color: var(--primary); }

.main-nav {
    display: none;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) { .main-nav { display: flex; } }

.nav-link {
    font-size: .875rem;
    font-weight: 600;
    color: rgba(15,23,42,.65);
    transition: color .2s;
}
.nav-link:hover { color: var(--primary); }

.header-actions {
    display: none;
    gap: .75rem;
    align-items: center;
}
@media (min-width: 768px) { .header-actions { display: flex; } }

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: .5rem;
    border-radius: .5rem;
}
@media (min-width: 768px) { .hamburger { display: none; } }

.hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: .25rem;
}
.mobile-menu.open { display: flex; }

.mobile-link {
    padding: .75rem 0;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}
.mobile-link:last-child { border-bottom: none; }

/* ================================================
   HERO  — Background image, top-aligned, white text
   ================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 7rem 1.5rem 5rem;

    /* ---- Background image with cache-busting ---- */
    background-image: url('/assets/images/hero.webp?v=<?php echo $css_version; ?>');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #0F172A;
}

/* Dark overlay for text legibility */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        160deg,
        rgba(10, 20, 50, 0.72) 0%,
        rgba(10, 20, 50, 0.55) 50%,
        rgba(10, 20, 50, 0.65) 100%
    );
    z-index: 0;
    pointer-events: none;
}

/* Decorative blobs — sit above overlay, below content */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}

.hero-blob-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,.22), rgba(6,182,212,.06));
    top: -200px; right: -150px;
    animation: blobFloat 8s ease-in-out infinite;
}

.hero-blob-2 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(6,182,212,.15), rgba(59,130,246,.05));
    bottom: -100px; left: -100px;
    animation: blobFloat 10s ease-in-out infinite reverse;
}

.hero-blob-3 {
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(59,130,246,.12), transparent);
    top: 42%; left: 38%;
    animation: blobFloat 13s ease-in-out infinite 2s;
}

@keyframes blobFloat {
    0%,100% { transform: translate(0,0) scale(1); }
    33%      { transform: translate(18px,-18px) scale(1.04); }
    66%      { transform: translate(-14px,14px) scale(.97); }
}

/* All hero content above overlay & blobs */
.hero .container {
    position: relative;
    z-index: 2;
}

.hero-center {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ---- Hero Badge ---- */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.15);
    color: #ffffff;
    font-weight: 700;
    font-size: .82rem;
    padding: .55rem 1.4rem;
    border-radius: 999px;
    border: 1.5px solid rgba(255,255,255,.35);
    margin-bottom: 1.75rem;
    box-shadow: 0 2px 14px rgba(0,0,0,.2);
    backdrop-filter: blur(8px);
    animation: fadeInDown .6s cubic-bezier(.22,1,.36,1) both;
    white-space: nowrap;
    flex-wrap: nowrap;
}

@media (max-width: 480px) {
    .hero-badge {
        white-space: nowrap;
        font-size: .7rem;
        padding: .45rem 1rem;
        gap: .35rem;
        max-width: 95%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .hero-badge::-webkit-scrollbar { display: none; }
}

@media (max-width: 380px) {
    .hero-badge {
        font-size: .65rem;
        padding: .4rem .9rem;
        gap: .3rem;
    }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Hero Title — WHITE ---- */
.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.1rem);
    font-weight: 900;
    line-height: 1.09;
    letter-spacing: -.025em;
    color: #ffffff;
    margin-bottom: 1.35rem;
    animation: fadeInUp .7s cubic-bezier(.22,1,.36,1) .1s both;
    text-shadow: 0 2px 20px rgba(0,0,0,.35);
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: .05em;
    height: .12em;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 4px;
    opacity: .7;
}

/* ---- Hero Description — WHITE ---- */
.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,.88);
    max-width: 560px;
    line-height: 1.75;
    margin-bottom: 2.25rem;
    animation: fadeInUp .7s cubic-bezier(.22,1,.36,1) .2s both;
    text-shadow: 0 1px 8px rgba(0,0,0,.25);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    animation: fadeInUp .7s cubic-bezier(.22,1,.36,1) .3s both;
}

.hero-actions .btn-lg {
    padding: .95rem 2rem;
    font-size: 1rem;
    min-width: 180px;
    justify-content: center;
}

/* ---- Trust Badges — WHITE ---- */
.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .6rem 1.1rem;
    animation: fadeInUp .7s cubic-bezier(.22,1,.36,1) .4s both;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255,255,255,.92);
    white-space: nowrap;
}

.trust-icon {
    color: #ffffff;
    flex-shrink: 0;
}

.trust-sep {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,.3);
    display: none;
}

@media (min-width: 540px) { .trust-sep { display: block; } }

@media (max-width: 480px) {
    .hero {
        padding: 6rem 1rem 4rem;
    }
    .hero-title {
        font-size: 2.1rem;
    }
    .hero-actions .btn-lg {
        min-width: auto;
        flex: 0 1 auto;
    }
    .trust-sep { display: none; }
}

/* ================================================
   STATS BAR
   ================================================ */
.stats-bar {
    background: linear-gradient(135deg, var(--secondary), #1E293B);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(59,130,246,.12), transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(6,182,212,.08), transparent 60%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
}

@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-item             { text-align: center; color: #fff; }
.stat-item .num        { font-size: 2.5rem; font-weight: 900; color: var(--primary); font-family: 'Poppins', sans-serif; display: block; line-height: 1; }
.stat-item .label      { font-size: .85rem; color: rgba(255,255,255,.55); margin-top: .4rem; font-weight: 500; }

/* ================================================
   SECTIONS
   ================================================ */
section { padding: 5.5rem 0; }
.section-head { margin-bottom: 3.5rem; }
.bg-card { background: #F8FAFC; }

/* ================================================
   SERVICE CARDS
   ================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.service-card {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 1.25rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(15,23,42,.06);
    transition: transform .35s cubic-bezier(.22,1,.36,1),
                box-shadow .35s,
                border-color .35s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(59,130,246,.16);
    border-color: rgba(59,130,246,.3);
}

.service-card-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(160deg, #C7DCFF 0%, #DBEAFE 40%, #EFF6FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .35s cubic-bezier(.22,1,.36,1);
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-image .service-icon-wrap {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 76px; height: 76px;
    background: rgba(255,255,255,.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(59,130,246,.18);
    z-index: 1;
    border: 1.5px solid rgba(255,255,255,.7);
    backdrop-filter: blur(6px);
}

.service-card:hover .service-icon-wrap {
    transform: translate(-50%,-50%) scale(1.1);
    box-shadow: 0 8px 28px rgba(59,130,246,.28);
}

.service-card-inner {
    padding: 1.35rem 1.4rem .9rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-inner h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; line-height: 1.3; }
.service-card-inner p  { font-size: .845rem; color: var(--text-muted); line-height: 1.65; flex: 1; }

.service-card-footer {
    padding: .9rem 1.4rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    border-top: 1px solid var(--card-border);
    margin-top: .75rem;
}

.service-price {
    font-weight: 600;
    color: var(--text);
    font-size: .8rem;
    background: transparent;
    border: 1.5px solid var(--card-border);
    padding: .28rem .85rem;
    border-radius: 999px;
    white-space: nowrap;
    letter-spacing: -.01em;
}

.service-card-footer .btn-sm {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: .5rem 1.2rem;
    font-size: .82rem;
    border-radius: 999px;
    font-weight: 700;
    border: none;
    flex-shrink: 0;
    transition: transform .25s, box-shadow .25s;
    box-shadow: 0 3px 12px rgba(59,130,246,.3);
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    text-decoration: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.service-card-footer .btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59,130,246,.4);
}

@media (max-width: 1100px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (max-width: 480px)  { .services-grid { grid-template-columns: 1fr; gap: .9rem; } }

/* ================================================
   JOB CARDS
   ================================================ */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

.job-card {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 1.25rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: transform .35s cubic-bezier(.22,1,.36,1),
                box-shadow .35s,
                border-color .35s;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(59,130,246,.14);
    border-color: rgba(59,130,246,.22);
}

.job-card-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .35s cubic-bezier(.22,1,.36,1);
}

.job-card:hover .job-card-image img { transform: scale(1.05); }

.job-card-image .job-image-placeholder {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
}

.job-card-content { flex: 1; display: flex; flex-direction: column; }

.job-card-header {
    padding: 1.5rem 1.5rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
    border-bottom: 1px solid var(--card-border);
    position: relative;
}

.job-card-header::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 1.25rem 0 0 0;
}

.job-card-header h3 { font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: .8rem; padding-left: .25rem; }

.job-meta { display: flex; flex-wrap: wrap; gap: .5rem; padding-left: .25rem; }

.job-tag {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .77rem;
    font-weight: 600;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: .25rem .75rem;
    border-radius: 999px;
}

.job-tag--salary { color: var(--primary); background: var(--primary-light); border-color: var(--primary-mid); }

.job-card-body {
    padding: 1.25rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.job-desc { font-size: .875rem; color: var(--text-muted); line-height: 1.7; }

.job-req {
    font-size: .82rem;
    color: var(--text-muted);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: .75rem;
    padding: .75rem 1rem;
    line-height: 1.65;
}

.job-req strong { color: var(--text); font-weight: 600; display: block; margin-bottom: .2rem; }

.job-card-footer {
    padding: 1.1rem 1.5rem;
    border-top: 1px solid var(--card-border);
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: .6rem;
    align-items: center;
}

.job-card-footer .btn-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-weight: 700;
    font-size: .875rem;
    padding: .65rem 1rem;
    border-radius: 999px;
    transition: all .25s;
    box-shadow: 0 4px 16px rgba(59,130,246,.3);
}

.job-card-footer .btn-apply:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(59,130,246,.4); }

.btn-call {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: .82rem;
    padding: .65rem 1rem;
    border-radius: 999px;
    transition: all .25s;
    white-space: nowrap;
}
.btn-call:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn-whatsapp-job {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    font-size: .82rem;
    padding: .65rem 1rem;
    border-radius: 999px;
    transition: all .25s;
    white-space: nowrap;
}
.btn-whatsapp-job:hover { background: #1ebe5d; transform: translateY(-2px); }
.btn-whatsapp-job svg { width: 14px; height: 14px; flex-shrink: 0; }

@media (max-width: 480px) {
    .jobs-grid { grid-template-columns: 1fr; }
    .job-card-footer {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }
    .job-card-footer .btn-apply { grid-column: 1 / -1; }
    .btn-call, .btn-whatsapp-job { justify-content: center; }
}

@media (min-width: 481px) and (max-width: 767px)   { .jobs-grid { grid-template-columns: 1fr; } }
@media (min-width: 768px) and (max-width: 1023px)  { .jobs-grid { grid-template-columns: repeat(2, 1fr); } }

/* ================================================
   WHY CHOOSE US
   ================================================ */
.why-section {
    background: linear-gradient(145deg, #0F172A, #1E293B);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 15% 50%, rgba(59,130,246,.10), transparent 60%),
                radial-gradient(ellipse at 85% 50%, rgba(6,182,212,.07), transparent 55%);
}

.why-section .section-label { background: rgba(59,130,246,.15); color: #93C5FD; border-color: rgba(59,130,246,.25); }
.why-section .section-desc  { color: rgba(255,255,255,.55); }

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 3rem;
    position: relative;
}

@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

.why-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all .35s cubic-bezier(.22,1,.36,1);
    backdrop-filter: blur(4px);
}

.why-card:hover {
    background: rgba(59,130,246,.08);
    border-color: rgba(59,130,246,.25);
    transform: translateY(-3px);
}

.why-icon {
    width: 2.5rem; height: 2.5rem;
    background: rgba(59,130,246,.15);
    border-radius: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #93C5FD;
    flex-shrink: 0;
}

.why-card h4 { font-size: 1rem; margin-bottom: .2rem; color: #fff; font-weight: 700; }
.why-card p  { color: rgba(255,255,255,.55); font-size: .85rem; line-height: 1.65; }
.why-cta     { text-align: center; position: relative; }

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all .35s cubic-bezier(.22,1,.36,1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: .5rem; right: 1.25rem;
    font-size: 5rem; line-height: 1;
    color: var(--primary-light);
    font-family: Georgia, serif;
    font-weight: 900;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(59,130,246,.2);
}

.stars      { display: flex; gap: .2rem; }
.star       { color: #F59E0B; font-size: 1rem; }
.star-empty { color: #E2E8F0; }

.testimonial-content { color: var(--text-muted); font-size: .9rem; line-height: 1.75; font-style: italic; flex: 1; }
.testimonial-author  { display: flex; flex-direction: column; }
.testimonial-name    { font-weight: 700; font-size: .95rem; }
.testimonial-loc     { font-size: .78rem; color: var(--text-muted); }

/* ================================================
   FORMS
   ================================================ */
.forms-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px) { .forms-grid { grid-template-columns: repeat(2, 1fr); } }

.form-card {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
}

.form-card h3       { font-size: 1.45rem; margin-bottom: .4rem; font-weight: 800; }
.form-card .form-desc { color: var(--text-muted); margin-bottom: 1.5rem; font-size: .875rem; }

.form-group { margin-bottom: 1rem; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: .82rem;
    margin-bottom: .4rem;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: .75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: .75rem;
    font-size: .9rem;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--card);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

textarea.form-control { resize: vertical; min-height: 95px; }

.form-msg { display: none; padding: .75rem 1rem; border-radius: .75rem; font-size: .875rem; margin-bottom: 1rem; }
.form-msg.success { display: block; background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.form-msg.error   { display: block; background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
    background: linear-gradient(145deg, #0F172A, #1E293B);
    color: rgba(255,255,255,.7);
    padding: 4.5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-logo-top    { font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 900; color: #fff; }
.footer-logo-bottom { font-family: 'Poppins', sans-serif; font-size: 1.05rem; font-weight: 900; color: var(--primary); }
.footer-logo        { margin-bottom: 1rem; }
.footer-tagline     { font-size: .85rem; line-height: 1.75; color: rgba(255,255,255,.45); margin-top: .75rem; }

.footer-heading { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 1.25rem; }

.footer-links { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
    color: rgba(255,255,255,.5);
    font-size: .875rem;
    transition: color .2s;
    display: flex;
    align-items: center;
    gap: .4rem;
}
.footer-links a:hover { color: var(--primary); }
.footer-links a::before { content: '›'; color: var(--primary); opacity: .6; }

.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.footer-contact-list li {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    font-size: .875rem;
    color: rgba(255,255,255,.55);
}
.footer-contact-list svg { flex-shrink: 0; color: var(--primary); margin-top: .1rem; }
.footer-contact-list a  { color: inherit; transition: color .2s; }
.footer-contact-list a:hover { color: var(--primary); }

.footer-hours { list-style: none; display: flex; flex-direction: column; gap: .65rem; margin-bottom: 1.25rem; }
.footer-hours li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .82rem;
    color: rgba(255,255,255,.55);
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding-bottom: .55rem;
}
.footer-hours strong { color: #fff; font-weight: 600; }

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    font-size: .875rem;
    padding: .75rem 1.25rem;
    border-radius: 999px;
    transition: all .25s;
    width: 100%;
    justify-content: center;
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.3); }
.whatsapp-icon { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 0; }
.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}
@media (min-width: 768px) {
    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.35); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: .78rem; color: rgba(255,255,255,.35); transition: color .2s; }
.footer-bottom-links a:hover { color: #fff; }

/* ================================================
   FLOATING BUTTONS
   ================================================ */
.floating-btns {
    position: fixed;
    right: 1.5rem; bottom: 1.5rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.float-btn {
    width: 3.25rem; height: 3.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all .3s cubic-bezier(.22,1,.36,1);
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

.float-btn:hover { transform: translateY(-4px) scale(1.1); box-shadow: 0 10px 28px rgba(0,0,0,.25); }

.float-btn--jobs      { background: var(--secondary); }
.float-btn--call      { background: var(--primary); }
.float-btn--whatsapp  { background: var(--whatsapp); width: 3.75rem; height: 3.75rem; }

.float-tooltip {
    position: absolute;
    right: calc(100% + .75rem);
    background: var(--secondary);
    color: #fff;
    font-weight: 600;
    font-size: .78rem;
    padding: .35rem .85rem;
    border-radius: .5rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}
.float-btn:hover .float-tooltip { opacity: 1; }

/* ================================================
   CACHE-BUSTING UTILITIES
   ================================================ */
.version-tag {
    display: none;
}

/* Performance optimization */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ================================================
   UTILITIES
   ================================================ */
.text-center  { text-align: center; }
.text-primary { color: var(--primary); }
.mt-2         { margin-top: .5rem; }
.mt-4         { margin-top: 1rem; }
.mb-2         { margin-bottom: .5rem; }
.mb-4         { margin-bottom: 1rem; }


/* ================================================
   ANIMATED STATS SECTION
   ================================================ */
.stats-section {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.stats-grid-animated {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.2rem;
    background: linear-gradient(135deg, var(--primary, #3B82F6), var(--primary-dark, #2563EB));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    position: relative;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(59,130,246,0.3);
}

.stat-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.stat-number span {
    display: inline-block;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Counter animation */
.counter {
    transition: all 0.2s ease;
}

/* ================================================
   RESPONSIVE DESIGN - 2x2 on mobile
   ================================================ */

/* Tablet - 2x2 grid */
@media (max-width: 991px) and (min-width: 769px) {
    .stats-section {
        padding: 3.5rem 0;
    }
    
    .stats-grid-animated {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .stat-card {
        padding: 1.75rem 1.25rem;
    }
    
    .stat-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 1rem;
    }
    
    .stat-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .stat-number {
        font-size: 2.4rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
}

/* Mobile - 2x2 grid (exactly 2 columns) */
@media (max-width: 768px) {
    .stats-section {
        padding: 3rem 0;
    }
    
    .stats-grid-animated {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 0.8rem;
    }
    
    .stat-icon svg {
        width: 26px;
        height: 26px;
    }
    
    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
        letter-spacing: 0.3px;
    }
}

/* Small Mobile (below 480px) - Still 2x2 but smaller padding */
@media (max-width: 480px) {
    .stats-section {
        padding: 2.5rem 0;
    }
    
    .stats-grid-animated {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .stat-card {
        padding: 1.2rem 0.8rem;
    }
    
    .stat-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0.6rem;
    }
    
    .stat-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .stat-number {
        font-size: 1.5rem;
        margin-bottom: 0.2rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
        letter-spacing: 0.2px;
    }
}

/* Extra Small Mobile (below 360px) */
@media (max-width: 360px) {
    .stats-section {
        padding: 2rem 0;
    }
    
    .stats-grid-animated {
        gap: 0.6rem;
    }
    
    .stat-card {
        padding: 1rem 0.6rem;
    }
    
    .stat-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 0.5rem;
    }
    
    .stat-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
}

/* Optional: For very large screens */
@media (min-width: 1400px) {
    .stats-section {
        padding: 5rem 0;
    }
    
    .stats-grid-animated {
        gap: 2rem;
    }
    
    .stat-card {
        padding: 2.5rem 2rem;
    }
    
    .stat-icon {
        width: 85px;
        height: 85px;
        margin-bottom: 1.5rem;
    }
    
    .stat-icon svg {
        width: 38px;
        height: 38px;
    }
    
    .stat-number {
        font-size: 3.2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

/* Animation for stats when they come into view */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card {
    animation: countUp 0.6s ease-out forwards;
    opacity: 0;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

/* Ensure stats are visible after animation */
.stat-card {
    opacity: 1;
}

/* Optional: Add a subtle pulse effect on hover for the number */
.stat-card:hover .stat-number {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
