/*
  ╔══════════════════════════════════════════════════════════════╗
  ║           DESIGNED & DEVELOPED BY BARKATH NISHAR S          ║
  ║      This website is the intellectual property of           ║
  ║      Barkath Nishar S. Unauthorized copying or              ║
  ║      reproduction of this code is strictly prohibited.      ║
  ╚══════════════════════════════════════════════════════════════╝
*/
:root {
    --primary: #33c2a0;
    /* Refined Mint */
    --primary-light: rgba(51, 194, 160, 0.1);
    --secondary: #0aa58b;
    --accent: #f1da52;
    --text: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.55);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.1);
    --radius-lg: 24px;
    --radius-md: 16px;
    --transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --bg-light: #0f172a;
    --white: #1e293b;
    --glass: rgba(15, 23, 42, 0.45);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.5);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.theme-transition-lock,
.theme-transition-lock *,
.theme-transition-lock *::before,
.theme-transition-lock *::after {
    transition: none !important;
    animation: none !important;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text);
    line-height: 1.6;
    transition: background-color 0.4s ease, color 0.4s ease;
    will-change: background-color, color;
}

section,
footer {
    position: relative;
    overflow: hidden;
}

p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.footer-bottom p,
.service-description,
.country-overlay p,
.text-item p,
.stat-text {
    text-align: center;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#content {
    width: 100%;
}

/* ================= UTILS ================= */
.section-heading, h3 {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text);
    line-height: 1.2;
}

.section-heading span, h3 span {
    color: var(--primary);
}

/* ================= GLOBAL BACKGROUND ANIMATIONS ================= */
@keyframes float1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 40px) scale(1.1); } }
@keyframes float2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-50px, 60px) scale(1.2); } }
@keyframes float3 { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(40px, -60px) rotate(180deg); } }
@keyframes float4 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-60px, -40px) scale(1.3); } }

.shape-circle { position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; pointer-events: none; opacity: 0.15; will-change: transform, opacity; }
.shape-1 { width: 400px; height: 400px; background: radial-gradient(circle, var(--primary), transparent); animation: float1 20s ease-in-out infinite; }
.shape-2 { width: 350px; height: 350px; background: radial-gradient(circle, var(--secondary), transparent); animation: float2 25s ease-in-out infinite; }
.shape-3 { width: 300px; height: 300px; background: radial-gradient(circle, var(--accent), transparent); animation: float3 18s ease-in-out infinite; opacity: 0.1; }

/* ================= CAROUSEL ================= */
.carousel-section { position: relative; height: var(--carousel-height, 75vh); min-height: 600px; background: #000; overflow: hidden; }
.carousel-container { height: 100%; display: flex; align-items: center; }
.carousel-left { position: relative; z-index: 2; padding: 0 10%; max-width: 1000px; }
.text-item { display: none; text-align: left; }
.text-item.active { display: block; animation: slideUpFade 1s both; }

@keyframes slideUpFade { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

.text-item h1 { font-size: 56px; font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 25px; }
.text-item .lead { font-size: 20px; color: rgba(255, 255, 255, 0.9); letter-spacing: 1px; text-transform: uppercase; font-weight: 500; }
.carousel-progress { position: absolute; bottom: 0; left: 0; width: 100%; height: 6px; background: rgba(255, 255, 255, 0.1); z-index: 3; }
.carousel-progress-bar { height: 100%; background: var(--primary); width: 0%; }

/* ================= ABOUT SECTION ================= */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-left h3 {
    text-align: left;
    margin-bottom: 25px;
}

.about-left p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.8;
}

.about-right {
    position: relative;
    height: 480px;
}

.about-globe {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* ================= WHY CHOOSE US ================= */
.why-choose-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.why-heading {
    margin-bottom: 80px;
}

.why-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.why-left {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.why-point h4 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 12px;
}

.why-right {
    position: relative;
    height: 550px;
    perspective: 1000px;
}

.frame {
    position: absolute;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    background: #fff;
    padding: 6px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-md) - 6px);
}

/* Magnetic Collage Positioning */
.frame-1 { width: 220px; height: 160px; top: 0; left: 0; transform: rotate(-6deg); z-index: 2; }
.frame-2 { width: 240px; height: 320px; top: -30px; right: 40px; transform: rotate(4deg); z-index: 1; }
.frame-3 { width: 200px; height: 260px; top: 120px; left: 160px; transform: rotate(2deg); z-index: 4; }
.frame-4 { width: 180px; height: 240px; bottom: 0; left: 20px; transform: rotate(-3deg); z-index: 3; }
.frame-5 { width: 260px; height: 180px; bottom: 40px; right: 0; transform: rotate(5deg); z-index: 2; }
.frame-6 { width: 140px; height: 140px; top: 180px; left: 0; transform: rotate(-10deg); z-index: 0; opacity: 0.8; }

.frame:hover {
    transform: scale(1.1) rotate(0deg) translateY(-20px);
    z-index: 50;
    box-shadow: 0 30px 60px rgba(51, 194, 160, 0.4);
}

/* === WHY ICON CARDS (replaces image collage) === */
.why-icon-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(51, 194, 160, 0.1);
}

.why-icon-card:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(51, 194, 160, 0.2);
}

.why-icon-card i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 14px;
    display: block;
}

.why-icon-card h5 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}

.why-icon-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    text-align: center;
}


@media(max-width: 991px) {
    .about-container, .why-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .about-left h3 { text-align: center; }
    .why-right { height: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 40px; }
    .frame { position: relative; width: 100%; height: 120px; top: auto !important; left: auto !important; right: auto !important; transform: none !important; }
}

@media(max-width: 600px) {
    .about-section, .why-choose-section { padding: 80px 0; }
    .section-heading, h3 { font-size: 28px; }
    .about-left p { font-size: 15px; }
    .why-right { grid-template-columns: 1fr 1fr; }
}


/* ================= PAGE HEADER (Inner Pages) ================= */
.page-header {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 20px 80px;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
    color: #fff;
}

.page-header h1 {
    font-size: 56px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.1;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
    text-align: center;
}

/* ================= STATS BOXES ================= */

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Stats Box Hover Effect */
.stat-box {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat-box:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 20px 50px rgba(51, 194, 160, 0.3);
}

.stat-number {
    font-size: 52px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 8px 0;
    transition: all 0.3s ease;

}

.stat-box:hover .stat-number {
    color: white;
    transform: scale(1.1);
}

.stat-text {
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.stat-box:hover .stat-text {
    color: white;
}

/* Generic Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* Carousel Cross-Fade Styles */
.carousel-bg-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.5s ease-in-out, transform 6s ease-out;
    filter: brightness(0.85);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1.1);
}

/* ================= COUNTRIES WE OFFER ================= */

.countries-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.countries-section h3 {
    margin: 0 0 50px 0;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.countries-carousel-wrapper {
    background: transparent;
    border-radius: 0;
    padding: 20px 0;
    margin: 0 auto;
    max-width: 100%;
    position: relative;
    overflow: visible;
    box-shadow: none !important;
    border: none !important;
    animation: scaleIn 0.8s ease-out 0.2s both;
}

.countries-track-container {
    overflow: hidden;
    position: relative;
    margin: 0;
    padding: 30px 0;
    /* Add space for the hover translate/scale effect */
}

.countries-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    will-change: transform;
    touch-action: pan-y;
    /* Allow vertical scroll, capture horizontal */
}

.country-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.country-frame {
    min-width: 150px;
    height: 150px;
    background: transparent;
    border-radius: 24px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: none;
    overflow: hidden;
}

.country-frame:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 16px 32px rgba(51, 194, 160, 0.25);
}

.country-frame img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.country-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
}

.country-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: inherit;
    /* Inherit the 24px from .country-frame */
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.country-frame:hover .country-overlay {
    opacity: 1;
}

.country-overlay h4 {
    font-size: 14px;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.country-overlay p {
    font-size: 12px;
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--primary);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* ================= OUR SERVICES ================= */

.services-section {
    padding: 50px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

/* Decorative floating shapes */
.services-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(51, 194, 160, 0.15), transparent);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    animation: float1 20s ease-in-out infinite;
}

.services-section::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(241, 218, 82, 0.12), transparent);
    border-radius: 50%;
    bottom: -80px;
    right: -80px;
    animation: float2 18s ease-in-out infinite;
}

.services-section h3 {
    margin: 0 0 60px 0;
    position: relative;
    z-index: 1;
}

.services-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.service-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    min-width: 0;
}

.service-link:hover {
    flex: 2;
}

.service-card {
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: cardPulse 2s ease-in-out;
}

@keyframes cardPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

/* Gradient overlay */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(51, 194, 160, 0.92), rgba(123, 224, 207, 0.88));
    transition: opacity 0.6s ease, background 0.6s ease;
    z-index: 1;
}

.service-link:hover .service-card::before {
    background: linear-gradient(135deg, rgba(51, 194, 160, 0.75), rgba(123, 224, 207, 0.70));
}

/* Animated border glow removed for cleaner look */
/* .service-card::after { ... } */

.service-link:hover .service-card {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(51, 194, 160, 0.35);
}

.service-card h4 {
    font-size: 20px;
    color: white;
    margin: 0 0 12px 0;
    font-weight: 700;
    transition: transform 0.4s ease, color 0.4s ease;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 100%;
}

.service-link:hover .service-card h4 {
    font-size: 32px;
    transform: translateY(-5px);
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.4);
}

.service-description {
    font-size: 14px;
    color: white;
    line-height: 1.7;
    margin: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.6s ease;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    text-align: center;
    width: 100%;
}

.service-link:hover .service-description {
    opacity: 1;
    max-height: 200px;
    margin-top: 15px;
    font-size: 15px;
}

/* SEO Keywords styling */
.service-keywords {
    position: relative;
    z-index: 2;
    margin-top: 12px;
    font-size: 11px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transition: all 0.5s ease;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.service-link:hover .service-keywords {
    opacity: 1;
}

@media(max-width:900px) {

    .why-heading {
        margin-bottom: 50px;
    }

    .why-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 0 20px 50px;
    }

    .why-right {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        grid-template-rows: auto;
        gap: 10px;
        align-items: center;
        justify-items: center;
        max-width: 100%;
        margin: 0 auto;
    }

    .why-img {
        width: 100%;
        height: 200px;
    }

    .why-img-0 {
        width: 120px;
        height: 120px;
    }

    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding: 0 20px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-globe {
        width: 100%;
        height: 350px;
        position: relative;
        right: 0;
        top: 0;
        transform: none;
        margin-top: 30px;
    }

    .about-right {
        height: auto;
    }

    .stat-number {
        font-size: 40px;
    }

    /* Services mobile */
    .services-container {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .service-link {
        flex: 1 !important;
    }

    .service-card {
        height: 250px;
    }

    .shape-1,
    .shape-2,
    .shape-3 {
        width: 100px;
        height: 100px;
    }

}

@media(max-width:600px) {

    .why-heading {
        margin-bottom: 40px;
    }

    .why-point h4 {
        font-size: 20px;
    }

    .why-point p {
        font-size: 14px;
        text-align: center;
    }

    .about-right {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 8px;
    }

    .why-img {
        height: 150px;
    }

    .why-img-0 {
        width: 80px;
        height: 80px;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 16px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-text {
        font-size: 14px;
    }

    /* Smaller flags for mobile */
    .country-frame {
        min-width: 100px;
        height: 100px;
        padding: 10px;
        border-radius: 12px;
    }

    .country-frame img {
        width: 50px;
        height: 35px;
        margin-bottom: 8px;
    }

    .country-name {
        font-size: 11px;
    }

    .countries-track {
        gap: 10px;
    }

    /* Grid cards on countries.html */
    .country-grid-card {
        padding: 15px !important;
        border-radius: 12px !important;
    }

    .country-grid-card img {
        width: 50px !important;
        height: 40px !important;
        margin-bottom: 8px !important;
    }

    .country-grid-card h4 {
        font-size: 14px !important;
    }

    .country-grid-card p {
        font-size: 10px !important;
    }
}

.testimonials-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonials-section h3 {
    margin: 0 0 60px 0;
    position: relative;
    z-index: 1;
}

.testimonials-wrapper {
    width: 100%;
    max-width: none;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    animation: scrollTestimonials 60s linear infinite;
    width: max-content;
    padding: 20px 0;
    /* Add top/bottom padding for shadow visibility */
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    width: 400px;
    box-shadow: var(--shadow-soft);
    border: none;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(51, 194, 160, 0.15);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.client-details h4 {
    margin: 0;
    font-size: 18px;
    color: var(--text);
}

.client-details span {
    font-size: 14px;
    color: var(--primary);
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    font-style: italic;
    text-align: justify;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 60px;
    color: rgba(51, 194, 160, 0.1);
    font-family: serif;
}

/* ================= CONTACT SECTION ================= */
.contact-section {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.contact-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: 40px;
    box-shadow: var(--shadow-heavy);
    position: relative;
    flex: 1;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-map {
    flex: 1.2;
    min-height: 550px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.05);
    position: relative;
}

.contact-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form-wrapper h3 {
    margin: 0 0 30px 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: 15px;
    border: none;
    background: var(--bg-light);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    color: var(--text);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
}

.service-select-btn {
    width: 100%;
    padding: 15px;
    background: var(--bg-light);
    color: var(--text);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: var(--text-muted);
    transition: background 0.3s;
}

.service-select-btn:hover {
    background: #e0e0e0;
}

.service-options-list {
    display: none;
    /* Hidden by default */
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 12px;
}

.service-options-list.show {
    display: grid;
    animation: fadeIn 0.3s ease;
}

.checkbox-group {
    /* Legacy fallback if needed, but overridden above */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-item input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(51, 194, 160, 0.3);
}

/* ================= FOOTER ================= */
.site-footer {
    background: #0f1113;
    /* Premium deeper dark */
    color: white;
    padding: 100px 0 50px;
    margin-top: auto;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
    margin: 0 0 25px 0;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 2;
    font-size: 13px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(8px);
    display: inline-block;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 25px;
    font-size: 13px;
    line-height: 1.6;
}

.contact-info i {
    color: var(--primary);
    font-size: 18px;
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: background-color 0.4s ease, transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(51, 194, 160, 0.4);
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.footer-links-group {
    display: flex;
    gap: 40px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }

    .footer-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 50px !important;
        padding: 60px 20px !important;
    }

    .footer-col {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .footer-links ul {
        align-items: center !important;
    }

    .contact-info li {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .social-links {
        justify-content: center !important;
    }

    /* Keep side-by-side for links group */
    .footer-links-group {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        gap: 40px !important;
        text-align: center !important;
    }

    .footer-links-group .footer-col {
        width: auto !important;
        align-items: center !important;
        margin-bottom: 0 !important;
    }

    .footer-links-group .footer-links ul {
        align-items: center !important;
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* ================= MOBILE OPTIMIZATIONS (HIGH-FIDELITY) ================= */
@media (max-width: 768px) {
    :root {
        --carousel-height: 55vh;
    }

    body {
        text-align: center;
        overflow-x: hidden;
    }

    p {
        font-size: 15px;
        line-height: 1.7;
        text-align: center;
        padding: 0 10px;
    }

    section {
        padding: 50px 15px !important;
    }

    h1, h2, h3 {
        text-align: center !important;
    }

    /* 1. Hero Carousel Optimization */
    .carousel-section {
        height: 70vh !important;
        min-height: 500px;
    }
    
    .carousel-container {
        height: 100% !important;
    }

    .carousel-slide {
        background-position: center center !important;
        background-attachment: scroll !important;
    }

    .carousel-left {
        padding: 0 20px;
        width: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0,0,0,0.3); /* Subtle overlay for mobile text readability */
    }

    .text-item h1 {
        font-size: 2.2rem !important;
        line-height: 1.1;
        margin-bottom: 20px;
        text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    }

    .text-item .lead {
        font-size: 1.1rem !important;
        line-height: 1.4;
        opacity: 1;
        background: rgba(51, 194, 160, 0.9);
        display: inline-block;
        padding: 8px 15px;
        border-radius: 5px;
    }

    .carousel-texts {
        padding: 0 10px;
    }

    /* 2. About & Journey Sections */
    .about-container, .why-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px;
        padding: 0;
    }

    .about-left h3 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .about-right {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .about-globe {
        position: relative;
        width: 280px;
        height: 280px;
        margin: 40px auto 0; /* Add top spacing */
        z-index: 10;
        pointer-events: auto;
    }

    /* 3. Grid Visuals (About Frames / Why Images) */
    .why-right {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 20px;
    }
    
    .why-icon-card {
        padding: 25px !important;
    }

    /* 4. Stats & Counters */
    .stats-container {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        margin-top: 40px !important;
    }

    .stat-number {
        font-size: 38px;
    }

    .stat-text {
        font-size: 13px;
    }

    /* 5. Services Grid */
    .services-container {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 5px;
    }

    .service-card {
        height: auto;
        padding: 40px 25px;
        border-radius: 24px;
        text-align: center;
    }
    
    .service-keywords {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* 8. Countries Carousel Optimization */
    .countries-track {
        gap: 15px !important;
        padding: 10px !important;
    }
    .country-frame {
        width: 140px !important;
        height: 180px !important;
    }
    .country-name {
        font-size: 13px !important;
    }
    .nav-btn {
        display: none !important; /* Hide arrows on mobile carousel, use touch scroll */
    }
    .countries-track-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    /* 9. Testimonials Carousel */
    .testimonials-track {
        gap: 20px !important;
        animation-duration: 20s !important; /* Faster for mobile */
    }
    .testimonial-card {
        min-width: 280px !important;
        padding: 30px 20px !important;
    }

    /* 6. Contact Form & Map */
    .contact-container {
        flex-direction: column;
        gap: 50px;
        padding: 0 10px;
    }

    .contact-form-wrapper {
        width: 100%;
        padding: 35px 20px;
        border-radius: 30px;
    }

    .contact-map {
        width: 100%;
        min-height: 350px;
        border-radius: 30px;
    }

    /* 7. Footer Optimization */
    .footer-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px;
        text-align: center;
        padding: 0 20px;
    }

    .footer-col {
        width: 100%;
    }

    .footer-col h4 { 
        font-size: 20px; 
        margin-bottom: 20px; 
    }
    
    .footer-links ul { 
        padding: 0;
        list-style: none;
    }

    .social-links { 
        justify-content: center; 
        margin-top: 15px;
    }

    .contact-info li { 
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }
}

/* ================= POPUP MODAL ================= */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

/* ================= COUNTRY PAGES & NEW UTILITIES ================= */

.page-header {
    padding: 180px 20px 100px;
    text-align: center;
    color: white;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
    z-index: 1;
    transition: padding 0.3s ease;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    filter: brightness(0.7);
    z-index: -1;
}

.luxury-content {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(51, 194, 160, 0.15);
}

.country-grid-card {
    text-align: center;
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

.country-grid-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(51, 194, 160, 0.15);
    border-color: var(--primary);
}

.country-grid-card img {
    width: 80px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
}

.country-grid-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text);
}

.country-grid-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Mobile Alignment & Perfection */
@media(max-width: 900px) {
    .page-header {
        padding: 100px 15px 50px;
    }
    
    .page-header h1 {
        font-size: 2.2rem !important;
    }
    
    .page-header p {
        font-size: 1.1rem !important;
    }

    /* Stats: 4-col becomes 2x2 on tablet */
    .stats-container {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px;
    }

    /* Globe on about page - ensure visible */
    .about-globe {
        width: 100%;
        height: 360px !important;
        position: relative;
        margin: 0 auto;
    }

    .about-right {
        height: auto !important;
    }

    .luxury-content {
        padding: 50px 15px;
    }
    
    .luxury-content h2 {
        font-size: 1.8rem;
    }

    .info-card {
        padding: 25px 20px;
    }
}

@media(max-width: 600px) {
    .page-header h1 {
        font-size: 1.8rem !important;
    }
    
    .page-header p {
        font-size: 1rem !important;
    }

    /* Stats: full single col on small phones */
    .stats-container {
        grid-template-columns: 1fr 1fr !important;
    }

    .luxury-content h2 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .luxury-content p {
        font-size: 14px;
        text-align: center;
    }

    .section-heading, h2, h3 {
        text-align: center !important;
    }

    /* Fixed alignment for tables on mobile */
    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    th, td {
        min-width: 150px;
        font-size: 13px;
    }
}

/* Fix for navbar alignment */
@media(min-width: 901px) {
    .nav-menu {
        gap: 25px;
    }
}

/* WhatsApp Float animation refinement */
.whatsapp-float {
    animation: whatsappPulse 3s infinite;
}

@keyframes whatsappPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 15px 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* CTA Section Styles */
.cta-box {
    margin-top: 80px;
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, var(--primary), #000);
    color: white;
    border-radius: 30px;
}
.cta-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.cta-btn {
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    display: inline-block;
    transition: transform 0.3s ease;
}
.cta-btn:hover {
    transform: translateY(-3px);
}
.cta-btn-white {
    background: #fff;
    color: var(--primary);
}
.cta-btn-whatsapp {
    background: #25d366;
    color: white;
}

@media(max-width: 600px) {
    .cta-box {
        padding: 40px 20px;
        margin-top: 50px;
    }
    .cta-box h2 {
        font-size: 1.5rem;
    }
    .cta-box p {
        font-size: 14px;
        margin-bottom: 30px;
    }
    .cta-btn {
        padding: 15px 20px;
        font-size: 15px;
        width: 100%;
        box-sizing: border-box;
    }
    .cta-btn-group {
        flex-direction: column;
        gap: 15px;
    }
}

