/* ========================================
   VISA EXPERTS - GLOBAL STYLES
======================================== */

/* ========= ROOT BRAND COLORS ========= */
:root {
    --brand-deep-blue: #004d7c;
    --brand-blue: #0F5F87;
    --brand-cyan: #18B7E3;
    --brand-pink: #c64a89;
    --brand-green: #21af66;

    --brand-dark: #05080D;
    --brand-soft-dark: #0D1B26;

    --brand-deep-blue: #004d7c;

    --text-light: #ffffff;
    --text-muted: #94a3b8;
}

html {
    scroll-behavior: smooth;
}
/* ========= GLOBAL ========= */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-light);
}

.bg-brand-deep { background-color: var(--brand-deep-blue); }
.bg-brand-blue { background-color: var(--brand-blue); }
.bg-brand-deep-blue { background-color: var(--brand-deep-blue); }

.bg-brand-green{ background-color: var(--brand-green); }

.bg-brand-cyan { background-color: var(--brand-cyan); }
.bg-brand-pink { background-color: var(--brand-pink); }

.bg-brand-dark { background-color: var(--brand-dark); }
.bg-brand-soft { background-color: var(--brand-soft-dark); }

.text-brand-deep { color: var(--brand-deep-blue); }
.text-brand-blue { color: var(--brand-blue); }
.text-brand-cyan { color: var(--brand-cyan); }
.text-brand-pink { color: var(--brand-pink); }

.text-brand-dark { color: var(--brand-dark); }
.text-brand-soft { color: var(--brand-soft-dark); }

/* Optional: subtle muted variation */
.text-brand-muted-soft {
    color: rgba(148, 163, 184, 0.75);
}

/* ========================================
   PRELOADER
======================================== */

#preloader {
    position: fixed;
    inset: 0;
    background: #0B1E2D; /* deep brand background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    width: 180px;
    opacity: 0;
    transform: translateY(20px);
    animation: logoReveal 1s ease forwards;
      filter: brightness(0) invert(1);
}

/* Modern loading bar */
.preloader-line {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    margin: 30px auto 0;
    border-radius: 999px;
    overflow: hidden;
}

.preloader-line span {
    display: block;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        90deg,
        var(--brand-blue),
        var(--brand-cyan),
        var(--brand-pink)
    );
    animation: loadingMove 1.4s infinite ease-in-out;
}

/* Animations */
@keyframes loadingMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(300%); }
}

@keyframes logoReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hide */
#preloader.hide {
    opacity: 0;
    visibility: hidden;
}



/* ========= HERO OVERLAY ========= */
.hero-overlay {
    background: linear-gradient(
        90deg,
        rgba(5, 8, 13, 0.95) 0%,
        rgba(0, 77, 124, 0.85) 50%,
        rgba(5, 8, 13, 0.75) 100%
    );
}

/* ========= FADE ANIMATION ========= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.9s ease forwards;
}

/* ========= SWIPER FIX (Fade Mode) ========= */
.heroSwiper .swiper-slide {
    opacity: 0 !important;
    transition: opacity 0.8s ease;
    position: relative;
}

.heroSwiper .swiper-slide-active {
    opacity: 1 !important;
}

/* ========= MODERN PAGINATION ========= */
.heroSwiper .swiper-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.heroSwiper .swiper-pagination-bullet {
    width: 28px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,0.2);
    opacity: 1;
    transition: all 0.4s ease;
}

.heroSwiper .swiper-pagination-bullet-active {
    width: 48px;
    background: linear-gradient(
        90deg,
        var(--brand-deep-blue),
        var(--brand-cyan)
    );
    box-shadow: 0 0 12px rgba(24, 183, 227, 0.5);
}

/* ========= BUTTON STYLES ========= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;

    background: linear-gradient(
        90deg,
        var(--brand-deep-blue),
        var(--brand-cyan)
    );
    background-size: 200% 200%;
    background-position: left center;

    color: #ffffff;
    border: none;
    cursor: pointer;

    transition:
        background-position 0.4s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

/* Hover */
.btn-primary:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Active (click) */
.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

/* Focus (accessibility) */
.btn-primary:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(255,255,255,0.6),
        0 0 0 6px rgba(0, 150, 255, 0.4);
}

.btn-secondary {
    background-color: var(--brand-pink);
    color: #fff;
    transition: 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200, 76, 134, 0.35);
}

/* Brand Gradient */

.bg-gradient {
    background: linear-gradient(
        90deg,
        var(--brand-deep-blue),
        var(--brand-blue)
    );
}

.bg-brand-gradient {
    background: linear-gradient(
        90deg,
        var(--brand-blue),
        var(--brand-deep-blue),
        var(--brand-dark)
    );
}

.bg-brand-gradient-soft {
    background: linear-gradient(
        90deg,
        var(--brand-cyan),
        var(--brand-blue)
    );
}

.bg-brand-hero-gradient {
    background: linear-gradient(
        90deg,
        var(--brand-blue),
        var(--brand-deep-blue),
        var(--brand-dark)
    );
}


/* ========= NAV LINK ANIMATION ========= */
.nav-link {
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--brand-deep-blue),
        var(--brand-cyan)
    );
    transition: width 0.3s ease;
}

.nav-link.active {
    color: var(--brand-deep-blue);
}

.nav-link.active::after {
    width: 100%;
    height: 3px; /* slightly thicker */
}

.nav-link:hover {
    color: var(--brand-deep-blue);
}

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

/* ========= MOBILE LINK ========= */
.mobile-link {
    display: block;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--brand-deep-blue);
}


.section-label {
    color: var(--brand-cyan);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ========= STUDY CTA BACKGROUND ========= */
.study-cta-bg {
    background: linear-gradient(
        90deg,
        var(--brand-deep-blue) 0%,
        var(--brand-blue) 50%,
        var(--brand-cyan) 100%
    );
}

/* ========= CTA OUTLINE BUTTON ========= */
.cta-outline-btn {
    border: 2px solid rgba(255,255,255,0.7);
    color: #fff;
    transition: all 0.3s ease;
}

.cta-outline-btn:hover {
    background: var(--brand-pink);
    border-color: var(--brand-pink);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(200, 76, 134, 0.4);
}

/* ========================================
   SERVICES SECTION
======================================== */

.service-card {
    background: #ffffff;
    padding: 40px 28px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.35s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.service-card h3 {
    margin-top: 20px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
}

.service-card p {
    margin-top: 14px;
    font-size: 0.95rem;
    color: #6b7280;
}

/* Icon box */
.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        var(--brand-deep-blue),
        var(--brand-cyan)
    );
    color: #ffffff;
}

/* Featured Card */
.service-card.featured {
    background: linear-gradient(
        135deg,
        var(--brand-deep-blue),
        var(--brand-blue)
    );
    color: #ffffff;
}

.service-card.featured h3,
.service-card.featured p {
    color: #ffffff;
}

.service-card.featured .service-icon {
    background: rgba(255,255,255,0.15);
}

/* ========================================
   ABOUT SECTION
======================================== */

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: 40px;
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    text-align: center;
    border-left: 6px solid var(--brand-cyan);
}

.exp-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--brand-deep-blue);
}

.exp-text {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Responsive tweak */
@media (max-width: 1024px) {
    .experience-badge {
        position: static;
        margin-top: 20px;
        display: inline-block;
    }
}


/* ========================================
   COUNTRIES SECTION
======================================== */
.countries-soft-bg {
    background: radial-gradient(
        circle at center,
        rgba(14, 79, 109, 0.05),
        transparent 70%
    );
}


/* ========================================
   WHATSAPP FLOAT BUTTON
======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: whatsapp-blink 2s infinite;
}

/* Hover effect */
.whatsapp-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* Soft blinking pulse */
@keyframes whatsapp-blink {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: #111;
    color: #fff;
    padding: 6px 12px;
    font-size: 0.75rem;
    border-radius: 6px;
    opacity: 0;
    transition: 0.3s ease;
    white-space: nowrap;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}


/* ========================================
   FOOTER SECTION
======================================== */

.footer-section {
    background: linear-gradient(
        135deg,
        var(--brand-deep-blue),
        var(--brand-blue)
    );
    color: #ffffff;
}

/* Subtle world map effect (optional if you add bg image) */
.footer-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(255,255,255,0.05),
        transparent 70%
    );
    opacity: 0.5;
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-text {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    font-size: 14px;
}

.footer-links {
    margin-top: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.85);
    transition: 0.3s ease;
}

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

.footer-social {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.footer-social:hover {
    background: var(--brand-pink);
    border-color: var(--brand-pink);
}

.footer-contact {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 14px;
    color: rgba(255,255,255,0.9);
}

.footer-contact i {
    font-size: 20px;
    color: var(--brand-cyan);
}

.footer-divider {
    margin: 60px 0 30px;
    height: 1px;
    background: rgba(255,255,255,0.2);
}

/* ========================================
   FOOTER BOTTOM ROW
======================================== */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-credit {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7);
}

.footer-credit a {
    color: #fff;
    font-weight: 500;
    transition: 0.3s ease;
}

.footer-credit a:hover {
    color: #fff;
}

/* Mobile */
@media (max-width: 640px) {
    .footer-bottom {
        text-align: center;
        flex-direction: column;
    }
}


/* ========================================
   REGION PANELS - MODERN STYLE
======================================== */

.region-panel {
    background: #f9fafb;
    padding: 45px 35px;
    border-radius: 20px;
    transition: 0.35s ease;
    position: relative;
    overflow: hidden;
}

.region-panel:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* Subtle brand accent strip */
.region-panel::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(
        var(--brand-deep-blue),
        var(--brand-cyan)
    );
}

.region-panel h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--brand-deep-blue);
}

/* Country chips */
.country-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.country-chips span {
    background: white;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    color: #374151;
    border: 1px solid #e5e7eb;
    transition: 0.3s ease;
}

.country-chips span:hover {
    background: var(--brand-cyan);
    color: white;
    border-color: var(--brand-cyan);
}

/* CTA button */
.panel-cta {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 22px;
    background: var(--brand-deep-blue);
    color: #fff;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: 0.3s ease;
}

.panel-cta:hover {
    background: var(--brand-pink);
}


/* ========================================
   GO TO TOP BUTTON - MODERN UI
======================================== */

#goTopBtn {
    position: fixed;
    right: 30px;
    bottom: 110px; /* above WhatsApp */
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(
        135deg,
        var(--brand-deep-blue),
        var(--brand-cyan)
    );
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);

    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
}

/* Visible state */
#goTopBtn.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* Hover */
#goTopBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

/* Mobile adjustment */
@media (max-width: 640px) {
    #goTopBtn {
        right: 20px;
        bottom: 95px;
        width: 44px;
        height: 44px;
    }
}



.service-card {
    background: #ffffff;
    padding: 42px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.35s ease;
    border: 1px solid #f1f5f9;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(15, 95, 135, 0.08);
    border-color: transparent;
}

.icon-wrapper {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--brand-deep-blue),
        var(--brand-cyan)
    );
    transition: 0.35s ease;
}

.service-card:hover .icon-wrapper {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #0f172a;
}

.service-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #64748b;
}
