/* ==========================================================================
   PUBLIC.CSS — Landing Page & Service Detail Page Styles
   Covers: Navbar, Hero, Stats, Services Grid, Testimonials, FAQ,
   Contact, Footer, WhatsApp FAB, and Service Detail layouts.
   ========================================================================== */

/* ==========================================================================
   NAVBAR
   ========================================================================== */

/* Accent line — brand signature at the very top */
.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 10;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
    transition: background 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.45s ease,
                box-shadow 0.45s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border-bottom-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 32px rgba(0, 0, 0, 0.06);
}

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

/* Logo */
.navbar-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.01em;
}

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

/* Links */
.navbar-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar-links a {
    position: relative;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--gray-500);
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.25s ease, background 0.25s ease;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 1.5px;
    background: var(--navy);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-links a:hover {
    color: var(--navy);
    background: var(--gray-50);
}

.navbar-links a:hover::after {
    transform: scaleX(1);
}

/* CTA button */
.navbar-cta.btn.btn-primary {
    padding: 9px 22px;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    transition: all 0.3s ease;
}

.navbar-cta.btn.btn-primary::after {
    display: none;
}

.navbar-cta.btn.btn-primary:hover {
    box-shadow: 0 4px 16px rgba(6, 214, 160, 0.3);
    transform: translateY(-1px);
    color: var(--white);
}

/* Mobile hamburger */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.navbar-toggle:hover {
    background: var(--gray-100);
}

.navbar-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.25s ease;
    transform-origin: center;
}

/* Mobile menu */
.navbar-mobile-menu {
    display: none;
    position: absolute;
    top: 108px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    padding: 8px 16px;
}

.navbar-mobile-menu.active {
    display: block;
    animation: mobileMenuIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes mobileMenuIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-mobile-menu a {
    display: block;
    padding: 14px 12px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
    opacity: 0;
    animation: mobileItemIn 0.3s ease forwards;
}

.navbar-mobile-menu.active a:nth-child(1) { animation-delay: 0.04s; }
.navbar-mobile-menu.active a:nth-child(2) { animation-delay: 0.08s; }
.navbar-mobile-menu.active a:nth-child(3) { animation-delay: 0.12s; }
.navbar-mobile-menu.active a:nth-child(4) { animation-delay: 0.16s; }
.navbar-mobile-menu.active a:nth-child(5) { animation-delay: 0.20s; }

@keyframes mobileItemIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.navbar-mobile-menu a:hover {
    background: var(--gray-50);
    color: var(--navy);
}

.navbar-mobile-menu a:last-child {
    margin-top: 4px;
    margin-bottom: 4px;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    font-weight: 600;
    border-radius: var(--radius-pill);
}

.navbar-mobile-menu a:last-child:hover {
    opacity: 0.9;
    color: var(--white);
}


/* Mobile login button */
.navbar-mobile-right {
    display: none;
    align-items: center;
    gap: 10px;
}
.mobile-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    background: var(--accent, #06d6a0);
    color: #fff;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.mobile-login-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: mobileLoginShimmer 3s ease-in-out infinite;
}
@keyframes mobileLoginShimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}
.mobile-login-btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .navbar-mobile-right {
        display: flex;
    }
}

@media (max-width: 768px) {
    .navbar-links {
        display: none;
    }

    .navbar-toggle {
        display: flex;
    }
}


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

/* Radial gradient accents */
.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 214, 160, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Floating decorative elements */
.hero-floating {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    pointer-events: none;
    animation: floatDrift 18s ease-in-out infinite;
    color: rgba(255,255,255,0.5);
}

.hero-floating:nth-child(1) { top: 15%; left: 5%; animation-duration: 14s; }
.hero-floating:nth-child(2) { top: 35%; right: 8%; animation-duration: 20s; animation-delay: -3s; }
.hero-floating:nth-child(3) { bottom: 25%; left: 12%; animation-duration: 24s; animation-delay: -7s; }
.hero-floating:nth-child(4) { top: 60%; left: 40%; animation-duration: 16s; animation-delay: -5s; }
.hero-floating:nth-child(5) { bottom: 15%; right: 20%; animation-duration: 22s; animation-delay: -10s; }

@keyframes floatDrift {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(15px, -20px) rotate(5deg);
    }
    50% {
        transform: translate(-10px, -35px) rotate(-3deg);
    }
    75% {
        transform: translate(20px, -15px) rotate(4deg);
    }
}

/* Hero left content */
.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(6, 214, 160, 0.1);
    border: 1px solid rgba(6, 214, 160, 0.2);
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--hero-accent-1);
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--hero-accent-1);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
}

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

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-300);
    margin-bottom: 32px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 40px;
    align-items: center;
}

/* ── Hero CTA Buttons ── */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease,
                background 0.25s ease;
    position: relative;
    text-decoration: none;
}

.hero-cta-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── WhatsApp ── */
.hero-cta-wa {
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.25);
    color: #25d366;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-cta-wa:hover {
    background: rgba(37, 211, 102, 0.18);
    border-color: rgba(37, 211, 102, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.2),
                0 0 0 1px rgba(37, 211, 102, 0.15);
    color: #2ee672;
}

.hero-cta-label {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.hero-cta-live {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(37, 211, 102, 0.7);
}

.hero-cta-dot {
    width: 5px;
    height: 5px;
    background: #25d366;
    border-radius: 50%;
    animation: heroDotPulse 2s ease-in-out infinite;
}

@keyframes heroDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.7); }
}

/* WhatsApp pulse rings */
.hero-cta-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid #25d366;
    opacity: 0;
    animation: heroWaPulse 3s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero-cta-pulse-2 {
    animation-delay: 1s;
}

@keyframes heroWaPulse {
    0%  { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.6); opacity: 0; }
    100%{ transform: scale(1.6); opacity: 0; }
}

/* ── Phone ── */
.hero-cta-phone {
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.2);
    color: var(--hero-accent-2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-cta-phone:hover {
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.15),
                0 0 0 1px rgba(14, 165, 233, 0.1);
    color: #38bdf8;
}

.hero-cta-phone:hover .hero-cta-icon {
    animation: heroPhoneRing 0.6s ease;
}

@keyframes heroPhoneRing {
    0%, 100% { transform: rotate(0deg); }
    10%      { transform: rotate(14deg); }
    20%      { transform: rotate(-12deg); }
    30%      { transform: rotate(10deg); }
    40%      { transform: rotate(-8deg); }
    50%      { transform: rotate(5deg); }
    60%      { transform: rotate(-3deg); }
}

/* ── Apply ── */
.hero-cta-apply {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 14px 28px;
    font-size: 0.95rem;
    box-shadow: 0 4px 16px rgba(6, 214, 160, 0.2);
}

.hero-cta-apply:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 30px rgba(6, 214, 160, 0.3),
                0 0 60px rgba(6, 214, 160, 0.1);
    color: var(--white);
}

.hero-cta-arrow {
    transition: transform 0.25s ease;
}

.hero-cta-apply:hover .hero-cta-arrow {
    transform: translateX(4px);
}

.hero-cta-text {
    font-weight: 600;
}

/* ── Responsive ── */
/* Mobile hero CTA — handled in 768px block below */

/* ── Hero Stats Strip ── */
.hero-stats {
    display: flex;
    gap: 12px;
}

.hero-stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    animation: statCardIn 0.5s ease forwards;
    animation-delay: calc(0.7s + var(--stat-delay, 0s));
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.hero-stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

@keyframes statCardIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(6, 214, 160, 0.1);
    color: var(--hero-accent-1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-stat-icon-blue {
    background: rgba(14, 165, 233, 0.1);
    color: var(--hero-accent-2);
}

.hero-stat-body {
    flex: 1;
    min-width: 0;
}

.hero-stat-num {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
}

.hero-stat-label {
    font-size: 0.7rem;
    color: var(--gray-400);
    font-weight: 500;
    margin-top: 1px;
}

/* Progress bars */
.hero-stat-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255,255,255,0.04);
}

.hero-stat-bar-fill {
    height: 100%;
    width: 0;
    background: var(--hero-accent-1);
    border-radius: 0 2px 2px 0;
    animation: statBarFill 1.2s ease forwards;
    animation-delay: calc(1s + var(--stat-delay, 0s));
}

.hero-stat-bar-blue {
    background: var(--hero-accent-2);
}

@keyframes statBarFill {
    to { width: var(--bar-width, 80%); }
}

/* Ring */
.hero-stat-ring {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.hero-ring-progress {
    animation: ringDraw 1.5s ease forwards;
    animation-delay: 1.1s;
}

/* 98% of circumference (2*pi*16 = 100.53) → offset = 100.53 * (1 - 0.98) = 2.01 */
@keyframes ringDraw {
    to { stroke-dashoffset: 2.01; }
}

.hero-ring-num {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--white);
    opacity: 0;
    animation: fadeIn 0.3s ease forwards 1.8s;
}

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

@media (max-width: 768px) {
    .hero-stats {
        flex-wrap: wrap;
        gap: 8px;
    }
    .hero-stat-card {
        padding: 10px 14px;
    }
    .hero-stat-num {
        font-size: 1rem;
    }
}

/* Hero right — Query Card */
.hero-query-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 36px;
}

.hero-query-card h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 24px;
    text-align: center;
}

.hero-query-card .form-group {
    margin-bottom: 16px;
}

.hero-query-card label {
    color: var(--gray-300);
    font-size: 0.8125rem;
    margin-bottom: 8px;
}

.hero-query-header {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.hero-query-card select,
.hero-query-card input {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.hero-query-card select option {
    background: var(--hero-bg);
    color: var(--white);
}

.hero-query-card .btn {
    width: 100%;
    margin-top: 8px;
}

.hero-trust-indicators {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--gray-300);
}

.hero-trust-item .icon {
    font-size: 1rem;
    color: var(--hero-accent-1);
}

/* Staggered hero animations */
.hero .delay-1 { animation: fadeInUp 0.8s ease both; animation-delay: 0.1s; }
.hero .delay-2 { animation: fadeInUp 0.8s ease both; animation-delay: 0.25s; }
.hero .delay-3 { animation: fadeInUp 0.8s ease both; animation-delay: 0.4s; }
.hero .delay-4 { animation: fadeInUp 0.8s ease both; animation-delay: 0.55s; }
.hero .delay-5 { animation: fadeInUp 0.8s ease both; animation-delay: 0.7s; }

/* Hero wave divider */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
}

.hero-wave svg {
    width: 100%;
    height: 50px;
    fill: var(--gray-50);
}

/* Flag marquee */
.flag-marquee {
    background: var(--gray-50);
    padding: 18px 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    border-bottom: 1px solid var(--gray-100);
}

.flag-marquee + .services-section,
.flag-marquee + section {
    margin-top: 0;
}

.flag-marquee-track {
    display: flex;
    gap: 48px;
    animation: marqueeScroll 60s linear infinite;
    width: max-content;
}

.flag-marquee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--gray-500);
    white-space: nowrap;
}

.flag-marquee-item .flag {
    font-size: 1.5rem;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .flag-marquee {
        padding: 10px 0;
    }
    .flag-marquee-track {
        gap: 28px;
    }
    .flag-marquee-item {
        font-size: 0.78rem;
    }
}

/* Stats Counter Bar */
.stats-counter-bar {
    padding: 48px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
}

.stats-counter-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.stats-counter-item {
    flex: 1;
    text-align: center;
    padding: 8px 24px;
}

.stats-counter-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 6px;
}

.stats-counter-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-500);
}

.stats-counter-divider {
    width: 1px;
    height: 48px;
    background: var(--gray-200);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .stats-counter-grid {
        flex-wrap: wrap;
        gap: 8px;
    }
    .stats-counter-item {
        flex: 1 1 40%;
        padding: 12px 16px;
    }
    .stats-counter-divider {
        display: none;
    }
    .stats-counter-num {
        font-size: 2rem;
    }
}

/* Hero responsive */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-query-card {
        max-width: 480px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: 124px;
        padding-bottom: 56px;
    }

    .hero-inner {
        gap: 24px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 5px 12px;
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 24px;
        line-height: 1.6;
    }

    /* Buttons: Apply full-width on top, WA + Phone side-by-side below */
    .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 24px;
    }

    .hero-cta {
        padding: 11px 16px;
        font-size: 0.82rem;
        justify-content: center;
    }

    .hero-cta-apply {
        grid-column: 1 / -1;
        order: -1;
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .hero-cta-wa,
    .hero-cta-phone {
        flex: 1;
    }

    /* Hide "Çevrimiçi" sub-label on mobile */
    .hero-cta-live {
        display: none;
    }

    .hero-cta-label {
        line-height: 1.3;
    }

    /* Hide WhatsApp pulse rings on mobile — saves performance */
    .hero-cta-pulse {
        display: none;
    }

    /* Query card — compact mobile version */
    .hero-query-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .hero-query-card h3 {
        font-size: 1.05rem;
        margin-bottom: 16px;
    }

    .hero-query-card .form-group {
        margin-bottom: 12px;
    }

    .hero-query-card label {
        font-size: 0.75rem;
        margin-bottom: 5px;
    }

    .hero-query-card select {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .hero-query-card .btn {
        padding: 12px;
        font-size: 0.88rem;
    }

    .hero-trust-indicators {
        flex-direction: row;
        gap: 0;
        justify-content: space-between;
        margin-top: 16px;
        padding-top: 14px;
    }

    .hero-trust-item {
        font-size: 0.68rem;
        gap: 4px;
        flex-direction: column;
        text-align: center;
    }

    .hero-trust-item .icon {
        font-size: 0.85rem;
    }

    .hero-floating {
        display: none;
    }

    .hero-wave svg {
        height: 30px;
    }
}


/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stats-bar {
    background: var(--gray-50);
    padding: 48px 0;
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 0 32px;
    position: relative;
}

/* Vertical divider between stats */
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: var(--gray-300);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .stats-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .stat-item::after {
        display: none;
    }

    .stat-number {
        font-size: 1.75rem;
    }
}


/* ==========================================================================
   SERVICES GRID
   ========================================================================== */
.services-section {
    padding: 56px 0 var(--section-py);
    background: var(--white);
}

.services-section .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.services-section .section-header h2 {
    margin-bottom: 12px;
}

.services-section .section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* Services Group */
.services-group {
    margin-bottom: 48px;
}

.services-group:last-child {
    margin-bottom: 0;
}

.services-group-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gray-200);
}

.services-group-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.services-group-header p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

.services-group-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #003399, #0055cc);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.services-group-icon.popular {
    background: linear-gradient(135deg, #e65100, #ff8f00);
}

.services-group-badge {
    margin-left: auto;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-pill);
    background: rgba(0, 51, 153, 0.08);
    color: #003399;
}

.services-group-badge.popular {
    background: rgba(230, 81, 0, 0.08);
    color: #e65100;
}

.services-group-icon.africa {
    background: linear-gradient(135deg, #2e7d32, #43a047);
}

.services-group-badge.africa {
    background: rgba(46, 125, 50, 0.08);
    color: #2e7d32;
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-card);
    padding: 28px;
    text-align: center;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

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

/* Staggered reveal for service cards */
.services-grid .service-card:nth-child(1) { transition-delay: 0s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.06s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.12s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.18s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.24s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(7) { transition-delay: 0.36s; }
.services-grid .service-card:nth-child(8) { transition-delay: 0.42s; }
.services-grid .service-card:nth-child(9) { transition-delay: 0.48s; }
.services-grid .service-card:nth-child(10) { transition-delay: 0.54s; }

.service-card .flag-emoji {
    font-size: 3rem;
    margin-bottom: 16px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .flag-emoji {
    transform: scale(1.15) rotate(-3deg);
}

.service-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 16px;
    flex: 1;
}

.service-card .visa-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card .visa-tag {
    padding: 3px 10px;
    font-size: 0.6875rem;
    font-weight: 500;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: var(--radius-pill);
}

.service-card .service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
    transition: gap var(--transition-fast), color var(--transition-fast);
    margin-top: auto;
    position: relative;
}

.service-card .service-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.service-card:hover .service-link {
    gap: 10px;
    color: var(--hero-accent-2);
}

.service-card:hover .service-link::after {
    width: 100%;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-group-header {
        flex-wrap: wrap;
    }

    .services-group-badge {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-section {
    padding: var(--section-py) 0;
    background: var(--gray-50);
}

.testimonials-section .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.testimonials-section .section-header p {
    max-width: 500px;
    margin: 0 auto;
}

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

.review-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-card);
    padding: 24px;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.review-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.review-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.review-author-info {
    flex: 1;
    min-width: 0;
}

.review-author {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--gray-800);
}

.review-where {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 1px;
}

.review-rating {
    text-align: right;
    flex-shrink: 0;
}

.review-rating-num {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--gray-800);
}

.review-stars {
    display: flex;
    gap: 1px;
    color: #f59e0b;
    margin-top: 2px;
    justify-content: flex-end;
}

.review-text {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
    padding: var(--section-py) 0;
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--navy);
}

.faq-question .arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--transition-base);
    color: var(--gray-400);
}

.faq-item.active .faq-question .arrow {
    transform: rotate(180deg);
    color: var(--navy);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-answer-inner {
    padding-bottom: 20px;
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
}


@media (max-width: 768px) {
    .faq-section { padding: 48px 0; }
    .faq-section .section-header { margin-bottom: 32px; }
    .faq-question { font-size: 0.9rem; padding: 16px 0; }
    .faq-question .arrow { width: 16px; height: 16px; }
    .faq-answer-inner { font-size: 0.85rem; padding-bottom: 16px; }
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
/* ==========================================================================
   CONTACT SECTION — Dark, Bold, Inviting
   ========================================================================== */
.contact-section {
    padding: var(--section-py) 0;
    background: var(--hero-bg);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 214, 160, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.contact-header {
    text-align: center;
    margin-bottom: 48px;
}

.contact-header h2 {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

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

.contact-header p {
    color: var(--gray-300);
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto;
}

/* Cards Grid */
.contact-cards {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr;
    gap: 20px;
    align-items: start;
}

/* Shared Card */
.contact-card {
    border-radius: var(--radius-card);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.contact-card h3 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.contact-card-desc {
    font-size: 0.8125rem;
    margin-bottom: 16px;
    line-height: 1.4;
}

.contact-card-phone {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

/* Card Icons */
.contact-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

/* Buttons shared */
.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-body);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 8px;
    text-align: center;
    width: 100%;
}

/* ── WhatsApp Card ── */
.contact-wa {
    background: linear-gradient(165deg, #0f2027 0%, #0b1a2b 60%, #0d2818 100%);
    border: 1px solid rgba(37, 211, 102, 0.15);
    color: var(--white);
}

.contact-wa h3 { color: var(--white); }
.contact-wa .contact-card-desc { color: rgba(255,255,255,0.6); }
.contact-wa .contact-card-phone { color: #25d366; }

.contact-wa-icon {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
}

.contact-wa-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 18px;
    border: 2px solid #25d366;
    opacity: 0;
    animation: waPulse 2.5s ease-out infinite;
}

@keyframes waPulse {
    0%  { transform: scale(0.9); opacity: 0.5; }
    70% { transform: scale(1.2); opacity: 0; }
    100%{ transform: scale(1.2); opacity: 0; }
}

.contact-wa-bubble {
    position: absolute;
    top: 20px;
    right: 24px;
    color: rgba(37, 211, 102, 0.15);
    animation: bubbleFloat 4s ease-in-out infinite;
}

@keyframes bubbleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-6px) rotate(5deg); }
}

.contact-card-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #25d366;
    margin-bottom: 16px;
}

.contact-online-dot {
    width: 7px;
    height: 7px;
    background: #25d366;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.contact-card-status-blue {
    color: var(--hero-accent-2);
}

.contact-btn-wa {
    background: #25d366;
    color: var(--white);
}

.contact-btn-wa:hover {
    background: #20bd5a;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    transform: translateY(-2px);
}

/* ── Phone Card ── */
.contact-phone {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--white);
}

.contact-phone h3 { color: var(--white); }
.contact-phone .contact-card-desc { color: rgba(255,255,255,0.6); }
.contact-phone .contact-card-phone { color: var(--hero-accent-2); }

.contact-phone-icon {
    background: rgba(14, 165, 233, 0.1);
    color: var(--hero-accent-2);
}

.contact-phone:hover .contact-phone-icon {
    animation: phoneRing 0.5s ease;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0); }
    15%      { transform: rotate(12deg); }
    30%      { transform: rotate(-10deg); }
    45%      { transform: rotate(8deg); }
    60%      { transform: rotate(-5deg); }
    75%      { transform: rotate(3deg); }
}

.contact-card-hours {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
    margin-bottom: 8px;
}

.contact-btn-phone {
    background: var(--navy);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.1);
}

.contact-btn-phone:hover {
    background: var(--navy-light);
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.2);
    transform: translateY(-2px);
}

/* ── Form Card ── */
.contact-form-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--white);
    padding: 24px 22px;
}

.contact-form-icon {
    background: rgba(255,255,255,0.06);
    color: var(--gray-400);
}

.contact-form-card h3 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 1rem;
}

.contact-form-new {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

/* Floating label fields */
.cf-field {
    position: relative;
    margin-bottom: 12px;
}

.cf-field input,
.cf-field textarea {
    width: 100%;
    padding: 14px 0 8px;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid rgba(255,255,255,0.12);
    color: var(--white);
    font-size: 0.9375rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.25s ease;
    resize: none;
}

.cf-field label {
    position: absolute;
    left: 0;
    top: 14px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
}

.cf-field input:focus ~ label,
.cf-field input:not(:placeholder-shown) ~ label,
.cf-field textarea:focus ~ label,
.cf-field textarea:not(:placeholder-shown) ~ label {
    top: -6px;
    font-size: 0.7rem;
    color: var(--hero-accent-1);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cf-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cf-field input:focus ~ .cf-line,
.cf-field textarea:focus ~ .cf-line {
    width: 100%;
}

.contact-btn-send {
    background: var(--gradient-primary);
    color: var(--white);
    margin-top: 8px;
}

.contact-btn-send:hover {
    box-shadow: 0 4px 20px rgba(6, 214, 160, 0.3);
    transform: translateY(-2px);
}

.cf-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    margin-top: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-cards {
        grid-template-columns: 1fr 1fr;
    }
    .contact-form-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
    .contact-header h2 {
        font-size: 1.75rem;
    }
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 48px 0 24px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-brand .footer-logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.footer-brand .footer-logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--gray-500);
    max-width: 280px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.9375rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links a,
.footer-links span {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-400);
    padding: 4px 0;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 24px;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.footer-bottom p {
    margin-bottom: 6px;
}

.footer-legal-note {
    font-size: 0.75rem;
    color: var(--gray-600);
}

.footer-legal-note a {
    color: var(--gray-400);
    text-decoration: underline;
}

.footer-legal-note a:hover {
    color: var(--white);
}

@media (max-width: 1024px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 32px 0 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 16px;
    }

    /* Hide brand description, quick links, contact on mobile */
    .footer-brand .footer-desc,
    .footer-inner .footer-links:first-of-type,
    .footer-inner .footer-links:last-child {
        display: none;
    }

    .footer-brand {
        text-align: center;
        margin-bottom: 16px;
    }

    /* Keep legal links — centered, horizontal */
    .footer-inner .footer-links:nth-of-type(2) {
        text-align: center;
    }

    .footer-inner .footer-links:nth-of-type(2) h4 {
        display: none;
    }

    .footer-inner .footer-links:nth-of-type(2) ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px 16px;
    }

    .footer-bottom {
        padding-top: 16px;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-page {
    padding: 120px 0 80px;
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
}

.legal-header h1 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
}

.legal-header p {
    color: var(--gray-500);
    font-size: 0.9375rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-top: 36px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gray-200);
}

.legal-content h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-content p {
    color: var(--gray-600);
    margin-bottom: 12px;
}

.legal-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content li {
    color: var(--gray-600);
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--navy);
    font-weight: 500;
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--hero-accent-2);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 0.875rem;
}

.legal-table th,
.legal-table td {
    padding: 10px 14px;
    text-align: left;
    border: 1px solid var(--gray-200);
}

.legal-table th {
    background: var(--gray-100);
    font-weight: 600;
    color: var(--gray-800);
}

.legal-table td {
    color: var(--gray-600);
}

@media (max-width: 480px) {
    .legal-header h1 {
        font-size: 1.75rem;
    }

    .legal-table {
        font-size: 0.8125rem;
    }

    .legal-table th,
    .legal-table td {
        padding: 8px 10px;
    }
}


/* ==========================================================================
   MOBILE STICKY APPLY BAR (Service Detail)
   ========================================================================== */
.mobile-apply-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-apply-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 900;
        background: var(--white);
        border-top: 1px solid var(--gray-200);
        box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
        padding: 12px 16px;
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }

    .mobile-apply-inner {
        display: flex;
        align-items: center;
        gap: 16px;
        max-width: 600px;
        margin: 0 auto;
    }

    .mobile-apply-price {
        display: flex;
        flex-direction: column;
        flex-shrink: 0;
    }

    .mobile-apply-amount {
        font-family: var(--font-heading);
        font-size: 1.25rem;
        font-weight: 800;
        color: var(--navy);
        line-height: 1.1;
    }

    .mobile-apply-label {
        font-size: 0.68rem;
        color: var(--gray-400);
        font-weight: 500;
    }

    .mobile-apply-btn {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 13px 24px;
        background: var(--gradient-primary);
        color: var(--white);
        border-radius: var(--radius-pill);
        font-size: 0.9rem;
        font-weight: 700;
        transition: box-shadow 0.2s ease;
    }

    .mobile-apply-btn:hover {
        box-shadow: 0 4px 16px rgba(6, 214, 160, 0.3);
    }

    /* Add bottom padding to page so content isn't hidden behind sticky bar */
    .service-detail-layout {
        padding-bottom: 80px;
    }
}

/* ==========================================================================
   WHATSAPP FAB
   ========================================================================== */
.whatsapp-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25d366;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-base);
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-fab svg {
    width: 28px;
    height: 28px;
    fill: var(--white);
}


/* ==========================================================================
   SERVICE DETAIL PAGE
   ========================================================================== */

/* Page header */
.service-detail-header {
    background: var(--hero-bg);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.service-detail-header::before {
    content: '';
    position: absolute;
    top: 30%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 214, 160, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.service-detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.service-detail-breadcrumb a {
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.service-detail-breadcrumb a:hover {
    color: var(--white);
}

.service-detail-breadcrumb .separator {
    color: var(--gray-600);
}

.service-detail-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
}

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

.service-detail-stats {
    display: flex;
    gap: 32px;
}

.service-detail-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: var(--gray-300);
}

.service-detail-stat .stat-icon {
    color: var(--hero-accent-1);
    font-size: 1.125rem;
}

.service-detail-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.service-detail-wave svg {
    width: 100%;
    height: 60px;
    fill: var(--white);
}

/* Country chip bar */
.country-chip-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 0;
    position: relative;
    
    z-index: 1;
}

.country-chips {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 4px 0;
}

.country-chips::-webkit-scrollbar {
    display: none;
}

.country-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-600);
    white-space: nowrap;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.country-chip:hover {
    background: var(--gray-200);
}

.country-chip.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

.country-chip .chip-flag {
    font-size: 1.125rem;
}

/* Two-column layout */
.service-detail-layout {
    display: grid;
    grid-template-columns: 1fr 0.55fr;
    gap: 40px;
    padding: 48px 0;
    align-items: start;
}

.service-detail-content .content-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-card);
    padding: 32px;
    margin-bottom: 24px;
}

.service-detail-content .content-card h3 {
    margin-bottom: 20px;
}

/* Visa type tabs */
.visa-type-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--gray-100);
    padding-bottom: 12px;
}

.visa-type-tab {
    padding: 8px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    border: none;
    background: none;
    cursor: pointer;
    border-radius: var(--radius-btn);
    transition: all var(--transition-fast);
}

.visa-type-tab.active {
    background: var(--navy);
    color: var(--white);
}

.visa-type-tab:hover:not(.active) {
    background: var(--gray-100);
    color: var(--gray-700);
}

/* Document list */
.document-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--gray-50);
    border-radius: var(--radius-btn);
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.document-item .doc-icon {
    color: var(--hero-accent-2);
    font-size: 1.125rem;
    flex-shrink: 0;
}

/* Process steps */
.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.process-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.process-step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.process-step-content h4 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.process-step-content p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Sidebar */
.service-detail-sidebar {
    position: sticky;
    top: 140px;
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-card);
    padding: 28px;
    margin-bottom: 20px;
}

.sidebar-pricing .price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.9375rem;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}

.sidebar-pricing .price-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 0;
    font-size: 1.125rem;
    font-weight: 700;
}

.sidebar-pricing .price-total .amount {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-pricing .btn {
    width: 100%;
    margin-top: 20px;
}

.sidebar-trust {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.sidebar-trust-item .trust-icon {
    color: var(--hero-accent-1);
    font-size: 1rem;
}

@media (max-width: 1024px) {
    .service-detail-layout {
        grid-template-columns: 1fr;
    }

    .service-detail-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .service-detail-title {
        font-size: 1.75rem;
    }

    .service-detail-stats {
        flex-direction: column;
        gap: 12px;
    }

    .service-detail-header {
        padding: 100px 0 60px;
    }
}

/* WhatsApp icon float animation */
.hero-cta-wa .hero-cta-icon svg {
@keyframes waFloat {
    0%,100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.05); }
}
.hero-cta-wa:hover .hero-cta-icon svg {
    animation: waShake .5s ease;
    filter: drop-shadow(0 4px 16px rgba(37,211,102,.5));
}
@keyframes waShake {
    0%,100% { transform: rotate(0); }
    20% { transform: rotate(-8deg); }
    40% { transform: rotate(8deg); }
    60% { transform: rotate(-5deg); }
    80% { transform: rotate(5deg); }
}

/* WhatsApp icon subtle glow */
.hero-cta-wa .hero-cta-icon svg {
    filter: drop-shadow(0 1px 4px rgba(37,211,102,.3));
    transition: filter .2s ease;
}
.hero-cta-wa:hover .hero-cta-icon svg {
    filter: drop-shadow(0 2px 8px rgba(37,211,102,.45));
}

/* ═══ Hero Buttons v2 ═══ */
.hb {
    display:inline-flex;align-items:center;gap:10px;
    padding:14px 28px;border-radius:14px;
    font-size:.92rem;font-weight:600;
    text-decoration:none;cursor:pointer;
    transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
    position:relative;overflow:hidden;
}
.hb::after {
    content:'';position:absolute;inset:0;
    background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,.08) 50%,transparent 70%);
    transform:translateX(-100%);transition:transform .5s ease;
}
.hb:hover::after { transform:translateX(100%); }
.hb:hover { transform:translateY(-2px); }
.hb:active { transform:translateY(0) scale(.98); }

/* Primary - Basvur */
.hb-primary {
    background:var(--gradient-primary);color:#fff;border:none;
    box-shadow:0 4px 20px rgba(6,214,160,.2);font-size:.95rem;
}
.hb-primary:hover {
    box-shadow:0 8px 32px rgba(6,214,160,.3);color:#fff;
}
.hb-primary svg { transition:transform .2s ease; }
.hb-primary:hover svg { transform:translateX(4px); }

/* WhatsApp */
.hb-wa {
    background:rgba(37,211,102,.08);border:1px solid rgba(37,211,102,.2);
    color:#25d366;backdrop-filter:blur(12px);
}
.hb-wa:hover {
    background:rgba(37,211,102,.15);border-color:rgba(37,211,102,.35);
    box-shadow:0 6px 24px rgba(37,211,102,.15);color:#22c55e;
}

/* Phone */
.hb-phone {
    background:rgba(14,165,233,.06);border:1px solid rgba(14,165,233,.18);
    color:#0ea5e9;backdrop-filter:blur(12px);
}
.hb-phone:hover {
    background:rgba(14,165,233,.12);border-color:rgba(14,165,233,.3);
    box-shadow:0 6px 24px rgba(14,165,233,.12);color:#38bdf8;
}

.hb-text { font-weight:600; }

@media(max-width:768px){
    .hero-actions { flex-direction:column;gap:10px;width:100%; }
    .hb { width:100%;justify-content:center;padding:14px 20px; }
}

/* Service detail mobile overflow fix */
html, body { overflow-x: hidden; }
.service-detail-header { overflow: hidden; }
.service-detail-content { overflow: hidden; word-break: break-word; }
.service-detail-content .content-card { overflow: hidden; }
.service-detail-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.service-detail-sidebar { overflow: hidden; }

@media (max-width: 480px) {
    .service-detail-header { padding: 80px 0 40px; }
    .service-detail-title { font-size: 1.4rem; }
    .service-detail-breadcrumb { font-size: .72rem; }
    .service-detail-stat { padding: 10px 14px; font-size: .8rem; }
    .service-detail-stat .stat-icon { width: 32px; height: 32px; }
    .service-detail-content .content-card { padding: 16px; }
    .service-detail-content .content-card h3 { font-size: 1rem; }
    .container { padding-left: 16px; padding-right: 16px; }
}

/* === AGGRESSIVE MOBILE OVERFLOW FIX === */
@media (max-width: 768px) {
    html { overflow-x: hidden !important; }
    body { overflow-x: hidden !important; max-width: 100vw !important; }
    * { max-width: 100vw; }
    .container { padding-left: 16px !important; padding-right: 16px !important; max-width: 100% !important; box-sizing: border-box !important; }
    img, video, iframe, svg, table { max-width: 100% !important; }
    pre, code { overflow-x: auto; max-width: 100%; word-break: break-all; }
    .service-detail-header { overflow: hidden !important; }
    .service-detail-content { overflow: hidden !important; }
    .service-detail-content .content-card { overflow: hidden !important; word-break: break-word; }
    .service-detail-sidebar { overflow: hidden !important; }
    .service-detail-layout { overflow: hidden !important; }
    .service-detail-stat { min-width: 0 !important; flex-shrink: 1 !important; }
    .service-detail-stats { overflow: hidden !important; }
    .service-detail-title { word-break: break-word; }
    table { display: block !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
}

/* Visa type tabs mobile fix */
@media (max-width: 768px) {
    .visa-type-tabs {
        flex-wrap: wrap;
        gap: 6px;
    }
    .visa-type-tab {
        padding: 7px 14px;
        font-size: .78rem;
        flex-shrink: 0;
    }
    .visa-content > div[style*='grid-template-columns'] {
        grid-template-columns: 1fr !important;
    }
    .document-item {
        flex-wrap: wrap;
        gap: 8px;
    }
    .document-item span[style*='margin-left:auto'] {
        margin-left: 0 !important;
    }
}

/* Visa tabs force wrap */
.visa-type-tabs{flex-wrap:wrap!important;gap:6px!important}
.visa-type-tab{white-space:nowrap;flex-shrink:0}
@media(max-width:480px){.visa-type-tab{padding:6px 12px!important;font-size:.75rem!important}}



/* mobile-logo-fix-vizeexpert */
@media (max-width: 1024px) {
    .navbar-logo {
        font-size: 1rem !important;
        max-width: 65vw !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
    }
    .navbar-logo span {
        display: none !important;
    }
    .navbar-inner {
        gap: 8px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}
@media (max-width: 600px) {
    .navbar-logo {
        font-size: 0.95rem !important;
        max-width: 55vw !important;
    }
}
