* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins, sans-serif;
}

body {
    background: #0c0c1d;
    color: white;
}

/* =============================================================================================== */

/* HERO */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Logo behaves like background */
.hero .logo-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;   /* makes it behave like background-size: cover */
    z-index: -1;         /* pushes it behind the content */
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(5, 5, 20, 0.85),
            rgba(5, 5, 30, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* TYPING EFFECT */
#typing {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;

    /* gradient text */

    background: linear-gradient(90deg,
            #ffffff,
            #9a4dff,
            #4a4aff,
            #ffffff);

    background-size: 300%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;

    /* gradient animation */

    animation: gradientMove 6s linear infinite;
}

#typing {
    text-shadow:
        0 0 15px rgba(154, 77, 255, 0.6),
        0 0 40px rgba(74, 74, 255, 0.3);
}

/* moving gradient */

@keyframes gradientMove {

    0% {
        background-position: 0%;
    }

    100% {
        background-position: 300%;
    }

}

#typing::after {
    content: "|";
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.hero p {
    max-width: 650px;
    margin: auto;
    opacity: 0.85;
}

.hero-sub {
    margin-top: 20px;
    font-size: 18px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    margin-top: 30px;
}

.btn-primary {
    background: linear-gradient(45deg, #4a4aff, #9a4dff);
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    margin-right: 15px;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    border: 1px solid white;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: white;
    color: #111;
}

.hero-trust {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    opacity: 0.8;
}

/* IMAGE REELS */

.reel {
    position: absolute;
    top: 0;
    height: 100%;
    width: 150px;
    overflow: hidden;
    z-index: 2;
}

.reel-left {
    left: clamp(30px, 6vw, 120px);
}

.reel-right {
    right: clamp(30px, 6vw, 120px);
}

/* reel track */

.reel-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: scrollReel 25s linear infinite;
}

/* opposite direction */

.reel-right .reel-track {
    animation-direction: reverse;
}

/* images */

.reel img {
    width: 150px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0.7;
    transition: 0.3s;
}

.reel img:hover {
    opacity: 1;
    transform: scale(1.05);
}


/* fade edges */

.reel::before,
.reel::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 3;
    pointer-events: none;
}

.reel::before {
    top: 0;
    background: linear-gradient(#0c0c1d, transparent);
}

.reel::after {
    bottom: 0;
    background: linear-gradient(transparent, #0c0c1d);
}


/* scrolling animation */

@keyframes scrollReel {

    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }

}

/* =============================================================================================== */

/* TAGLINE */

#tagline {
    background: linear-gradient(190deg,
        #40d6a9,
        #501997,
        #4a4aff,
        #ee6262);
}

.tagline {
    padding: 120px 10%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* world map background */

.tagline-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: auto;
}

.tagline-desc {
    margin-bottom: 40px;
    opacity: 0.8;
}

/* country buttons */

.country-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.country-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 18px;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.country-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.country-btn.active {
    background: linear-gradient(45deg, #4a4aff, #9a4dff);
}

/* display section */

.country-display {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

/* image */

.country-image img {
    width: 320px;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* text */

.country-info {
    max-width: 400px;
    text-align: left;
}

.country-info h3 {
    margin-bottom: 12px;
}

.country-info p {
    opacity: 0.85;
    line-height: 1.6;
}

/* COUNTRY TRANSITIONS */

.country-image img,
.country-info h3,
.country-info p{
transition:opacity 0.5s ease, transform 0.5s ease;
}

/* hidden state */

.fade-out{
opacity:0;
transform:translateY(20px);
}

/* visible state */

.fade-in{
opacity:1;
transform:translateY(0);
}

/* =============================================================================================== */

/* COUNTRIES */

.countries {
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.countries h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.countries-sub {
    opacity: 0.75;
    margin-bottom: 60px;
}

.countries-slider {
    width: 100%;
    overflow: hidden;
}

.countries-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollCountries 40s linear infinite;
    will-change: transform;
}

.countries-slider:hover .countries-track {
    animation-play-state: paused;
}

.country-card {
    position: relative;
    min-width: 260px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    transition: 0.4s;
}

.country-card:hover {
    transform: scale(1.08);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.2));
}

.country-info {
    position: relative;
    z-index: 2;
    padding: 20px;
    text-align: left;
}

.country-info span {
    font-size: 22px;
    display: block;
    margin-bottom: 5px;
}

.country-info h3 {
    font-size: 18px;
    margin-bottom: 3px;
}

.country-info p {
    font-size: 14px;
    opacity: 0.85;
}


/* infinite scroll animation */

@keyframes scrollCountries {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

}


/* BACKGROUND IMAGES */

.usa {
    background-image: url("https://images.unsplash.com/photo-1505765050516-f72dcac9c60e");
}

.uk {
    background-image: url("https://images.unsplash.com/photo-1505764706515-aa95265c5abc");
}

.australia {
    background-image: url("https://images.unsplash.com/photo-1506973035872-a4ec16b8e8d9");
}

.canada {
    background-image: url("https://images.unsplash.com/photo-1517935706615-2717063c2225");
}

.eu {
    background-image: url("https://images.unsplash.com/photo-1502602898657-3e91760cbb34");
}

.singapore {
    background-image: url("https://images.unsplash.com/photo-1496939376851-89342e90adcd");
}

.dubai {
    background-image: url("https://images.unsplash.com/photo-1512453979798-5ea266f8880c");
}

/* =============================================================================================== */

/* SERVICES */

.services {
    padding: 120px 10%;
    text-align: center;
    /* background: linear-gradient(180deg, #111132, #0c0c1d); */
    background: linear-gradient(190deg,
        #da4619,
        #b97f13,
        #0d690d,
        #95bd28);
}

.services h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.services-sub {
    opacity: 0.75;
    margin-bottom: 60px;
}

.service-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.service-box {
    flex: 1;
    min-width: 280px;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 16px;
    text-align: left;
    transition: 0.35s;
}

.service-box:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, #4a4aff, #9a4dff);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.service-box h3 {
    margin-bottom: 15px;
}

.service-box ul {
    list-style: none;
    line-height: 1.9;
}

.service-box li {
    position: relative;
    padding-left: 20px;
}

.service-box li::before {
    content: "✔";
    position: absolute;
    left: 0;
    opacity: 0.8;
}

/* =============================================================================================== */

/* CTA */

.cta {
    position: relative;
    padding: 120px 10%;
    text-align: center;
    background: #0c0c1d;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #4a4aff, transparent 60%);
    transform: translate(-50%, -50%);
    opacity: 0.35;
    animation: ctaPulse 6s infinite ease-in-out;
}

@keyframes ctaPulse {

    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }

}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: auto;
}

.cta h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.cta p {
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-outline {
    border: 1px solid white;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.btn-outline:hover {
    background: white;
    color: #111;
}

/* =============================================================================================== */

/* FOOTER */

.footer {
    background: #070714;
    padding: 50px 10%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.footer-links ul {
    list-style: none;
    margin: 10px 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-map iframe {
    width: 100%;
    height: 150px;
    border: none;
    border-radius: 8px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    opacity: 0.7;
}

.rights {
    margin-top: 10px;
}

/* =============================================================================================== */
