@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* =========================
   PALETTE & BASE
   ========================= */
:root {
    --brand: #85639F;       /* main purple */
    --brand-dark: #32113E;  /* deep purple */
    --accent-lime: #BFFF00; /* lime accent */

    --soft: #F5DEFF;        /* page background */
    --surface: #FFFFFF;     /* cards / panels */

    --ink: #32113E;         /* main text */
    --muted: #6c7a89;       /* secondary text */
    --shadow: 0 24px 60px rgba(50, 17, 62, 0.16);
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--soft);
    color: var(--ink);
}

a {
    color: var(--brand);
}

/* =========================
   LOGO & NAVBAR
   ========================= */

.brand-logo {
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(133, 99, 159, 0.25);
}

.language-switch .btn {
    min-width: 84px;
}

/* Compact navbar */
.site-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(9, 30, 66, 0.06);
    padding: .25rem 0;
}
.site-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    flex-wrap: nowrap;
}
.site-navbar .h4 { margin: 0; font-weight: 700; }
.site-navbar .site-logo { margin-right: .5rem; }
.site-navbar a { white-space: nowrap; }
.site-navbar .btn {
    padding: .32rem .5rem;
    font-size: .95rem;
    margin-left: .2rem;
    margin-right: .2rem;
}

@media (max-width: 700px) {
    .site-navbar .container { flex-wrap: wrap; gap: .4rem; }
    .site-navbar .btn { margin-top: .25rem; }
}

/* =========================
   HERO
   ========================= */

.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #F5DEFF 0%, #ffffff 55%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    background: rgba(133, 99, 159, 0.15);
    color: var(--brand);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
}

.hero-visual {
    position: relative;
    min-height: 360px;
    border-radius: 40px;
    background:
        radial-gradient(circle at 0% 0%, rgba(191, 255, 0, 0.18), transparent 55%),
        linear-gradient(140deg, #85639F, #32113E);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle,
        rgba(255, 255, 255, 0.65) 0%,
        rgba(255, 255, 255, 0) 70%);
    transform: translate(-20%, -10%);
}

.hero-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    padding: 2rem;
    text-align: center;
}

/* =========================
   METRICS
   ========================= */

.metrics-row .metric-card {
    padding: 1rem 1.25rem;
    background: var(--surface);
    border-radius: 18px;
    border: 1px solid rgba(133, 99, 159, 0.18);
    box-shadow: 0 18px 45px rgba(50, 17, 62, 0.12);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.metrics-row .metric-card strong {
    color: var(--accent-lime);
}

.metrics-row .metric-card span {
    color: #6c7a89;
    opacity: 0.9;
    font-size: 0.95rem;
}

.metrics-row .metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 55px rgba(50, 17, 62, 0.20);
}

/* =========================
   SECTIONS / CARDS
   ========================= */

.section-space {
    padding: 5rem 0;
}

.section-eyebrow {
    display: inline-block;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    color: var(--brand);
}

.mw-640 {
    max-width: 640px;
}

/* Section titles with gradient underline */
.section-space h2.h1,
.section-space .h1.fw-semibold {
    position: relative;
    display: inline-block;
}
.section-space h2.h1::after,
.section-space .h1.fw-semibold::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    margin: 0.75rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #85639F, #BFFF00);
}

/* About highlight cards */
.highlight-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: var(--shadow);
    height: 100%;
    border-left: 4px solid #85639F;
}

.icon-circle-lg {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(133, 99, 159, 0.14);
    color: var(--brand-dark);
}

/* Services cards */
.service-card {
    border-radius: 24px;
    padding: 2rem;
    background: var(--surface);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.2s ease;
    border: 1px solid rgba(133, 99, 159, 0.12);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 70px rgba(50, 17, 62, 0.18);
    border-color: rgba(133, 99, 159, 0.35);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(133, 99, 159, 0.12);
    color: var(--brand);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ===== Services grid layout: 3 per row, last row centered ===== */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;   /* this centers the last row with 2 cards */
    gap: 2rem;
}

/* each card takes ~1/3 width on large screens */
.services-grid > .service-card {
    flex: 0 0 calc(33.333% - 2rem);
    max-width: calc(33.333% - 2rem);
}

@media (max-width: 991.98px) {
    /* on tablets/phones – full width cards */
    .services-grid > .service-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* =========================
   PROCESS (PURPLE GRADIENT)
   ========================= */

.bg-gradient {
    background: radial-gradient(120% 120% at 10% 10%, #85639F, #32113E);
    color: #ffffff;
}

.process-step {
    position: relative;
    border-radius: 22px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    height: 100%;
}

.process-step .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* =========================
   PRICING / VACANCY CARDS
   ========================= */

.pricing-card {
    background: var(--surface);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.pricing-card .btn {
    margin-top: auto;
}

.vacancy-stack {
    display: grid;
    gap: 1.5rem;
}

.vacancy-card {
    border-radius: 22px;
    padding: 1.75rem;
    background: var(--surface);
    box-shadow: var(--shadow);
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
    background: var(--brand-dark);
    color: #ffffff;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.1);
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transition: background 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    text-decoration: none;
}

.site-footer .form-control,
.site-footer .form-select {
    border-radius: 16px;
    border-color: rgba(255, 255, 255, 0.18);
}

.site-footer .form-control:focus,
.site-footer .form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(156, 105, 180, 0.35);
    border-color: var(--brand);
}

/* =========================
   HERO LANGUAGE CAROUSEL
   ========================= */

.languages-card {
    position: relative;
    z-index: 2;
    max-width: 440px;
    margin-inline: auto;
    padding: 1.75rem 2rem;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 60px rgba(50, 17, 62, 0.18);
}

.languages-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.languages-header i {
    font-size: 1.4rem;
    color: var(--brand);
}

.languages-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
}

.languages-slide {
    display: flex;
    justify-content: center;
}

.languages-card .language-pill {
    padding: 0.45rem 1.2rem;
    border-radius: 999px;
    background: #f5deff;
    border: 1px solid rgba(50, 17, 62, 0.22);
    font-size: 0.96rem;
    font-weight: 600;
    color: #32113E;
    white-space: nowrap;
}

.languages-dots {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.9rem;
}

.languages-dots .dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(50, 17, 62, 0.28);
    transition: width 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.languages-dots .dot.active {
    width: 18px;
    background: var(--accent-lime);
    transform: translateY(-1px);
}

.language-pill.fade-in {
    animation: langFade 0.35s ease-out;
}

@keyframes langFade {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   BUTTONS IN BRAND COLORS
   ========================= */

.btn-primary {
    background-color: var(--brand);
    border-color: var(--brand);
    box-shadow: 0 12px 25px rgba(50, 17, 62, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 16px 35px rgba(50, 17, 62, 0.45);
}

.btn-outline-primary {
    color: var(--brand);
    border-color: var(--brand);
    background-color: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #ffffff;
    border-color: var(--brand);
    background-color: var(--brand);
}

/* =========================
   RESPONSIVE TWEAKS
   ========================= */

@media (max-width: 991.98px) {
    .hero-visual {
        min-height: 280px;
    }
    .pricing-card,
    .service-card,
    .highlight-card {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        text-align: center;
    }
    .metrics-row .metric-card {
        align-items: center;
    }
    .vacancy-card {
        text-align: left;
    }
    .languages-card {
        padding: 1.4rem 1.5rem;
        margin-top: 1.2rem;
    }
}
/* Equal height for service boxes */
#services .col-md-6,
#services .col-xl-4 {
    display: flex;
}

#services .service-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

