body {
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
}

/* PRELOADER BACKGROUND */
#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    background: var(--primary-color);
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s;
}

.loader-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(var(--primary-color-rgb), 0.85),
        rgba(0,0,0,0.85)
    );
    backdrop-filter: blur(2px);
    z-index: 2;
}

/* CENTER WRAPPER */
.loader-wrapper {
    text-align: center;
    z-index: 3;
}

/* LOGO ANIMATION */
.loader-logo {
    width: 25%;
    margin-bottom: 30px;
    opacity: 0;
    transform: scale(0.8);
    animation: logoFade 1s ease forwards;
}

/* LOGO FADE-IN */
@keyframes logoFade {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* PROGRESS LINE */
.loader-line {
    width: 40%;
    height: 3px;
    background: rgba(var(--white-color-rgb), 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: auto;
}

/* ANIMATED LINE */
.loader-line span {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--white-color);
    animation: loading 2s ease forwards;
}

/* LOADING ANIMATION */
@keyframes loading {
    0% { width: 0; }
    100% { width: 100%; }
}

/* FADE OUT CLASS */
#preloader.hide {
    opacity: 0;
    visibility: hidden;
}


/* HERO */
/* .hero-video {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white-color);
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(var(--primary-color-rgb), 0.75),
        rgba(0,0,0,0.6)
    );
    backdrop-filter: blur(2px);
    z-index: 2;
}

.hero-content {
    position: relative;
    animation: fadeUp 1s ease;
    z-index: 3;
}

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

.hero-video h1 {
    font-size: 60px;
    font-weight: 700;
}

.hero-video p {
    font-size: 20px;
    margin-top: 20px;
}

@media(max-width: 768px) {
    .hero-video {
        height: 85vh;
        text-align: center;
    }

    .hero-video h1 {
        font-size: 36px;
    }
} */

.hero-content {
    transition: all 0.2s ease-out;
}

.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slider img {
    height: 100vh;
    object-fit: cover;
    filter: brightness(0.6);
}

/* TEXT */
.carousel-caption {
    bottom: 20%;
    text-align: left;
    max-width: 600px;
    z-index: 3;
}

.carousel-caption h1 {
    font-size: 55px;
    font-weight: 700;
}

.carousel-caption p {
    font-size: 18px;
    margin: 15px 0;
}

/* SMOOTH TRANSITION */
.carousel-item {
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

.gallery-section {
    background: linear-gradient(
        180deg,
        var(--white-color) 0%,
        rgba(var(--primary-color-rgb), 0.03) 100%
    );
    position: relative;
    overflow: hidden;
}

.gallery-head {
    max-width: 760px;
    margin: 0 auto 30px;
}

.gallery-subtitle {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.8;
    margin-top: -10px;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.gallery-chip {
    border: 1px solid rgba(var(--primary-color-rgb), 0.18);
    background: var(--white-color);
    color: var(--primary-color);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.gallery-chip.active,
.gallery-chip:hover {
    background: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.gallery-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 260px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
    background: #ddd;
    cursor: pointer;
    isolation: isolate;
}

.gallery-item.large {
    min-height: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.72) 0%,
        rgba(0,0,0,0.18) 45%,
        rgba(0,0,0,0.05) 100%
    );
    z-index: 1;
}

.gallery-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    z-index: 2;
    color: var(--white-color);
    transform: translateY(0);
    transition: all 0.35s ease;
}

.gallery-overlay.small {
    padding: 18px;
}

.gallery-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(var(--primary-color-rgb), 0.92);
    color: var(--white-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
}

.gallery-overlay h4,
.gallery-overlay h5 {
    margin-bottom: 8px;
    font-weight: 700;
}

.gallery-overlay p {
    margin-bottom: 0;
    color: rgba(var(--white-color-rgb), 0.88);
    font-size: 14px;
    line-height: 1.7;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(-6px);
}

.gallery-footer .btn-primary {
    padding: 12px 28px;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(var(--primary-color-rgb), 0.22);
}

@media (max-width: 991px) {
    .gallery-layout {
        grid-template-columns: 1fr;
    }

    .gallery-item.large {
        min-height: 380px;
    }
}

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

    .gallery-item,
    .gallery-item.large {
        min-height: 260px;
    }

    .gallery-overlay {
        padding: 18px;
    }

    .gallery-subtitle {
        font-size: 15px;
    }
}





/* SECTIONS */
.section {
    padding: 90px 0;
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 50px;
}

/* SERVICE CARD */
.service-card {
    padding: 35px;
    border-radius: 16px;
    background: var(--white-color);
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transition: var(--transition-speed);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
}

.service-card:hover::before {
    height: 100%;
    opacity: 0.05;
}

.timeline-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-top: 50px;
    flex-wrap: wrap;
}

.timeline-horizontal::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    z-index: 0;
}

.timeline-step {
    position: relative;
    text-align: center;
    width: 18%;
    z-index: 1;
    transition: all var(--transition-speed) ease;
}

.timeline-step:hover {
    transform: translateY(-5px);
}

.circle {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) ease;
}

.timeline-step:hover .circle {
    transform: scale(1.15) rotate(360deg);
    background: var(--primary-dark);
}

.timeline-step h6 {
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-step p {
    font-size: 0.85rem;
    color: #555;
}

@media (max-width: 768px) {
    .timeline-horizontal {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-horizontal::before {
        width: 4px;
        height: 100%;
        left: 25px;
        top: 0;
    }

    .timeline-step {
        width: 100%;
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        text-align: left;
    }

    .circle {
        margin: 0 15px 0 0;
    }
}

/* COUNTRIES MARQUEE SECTION */
.countries-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1ff 100%);
    overflow: hidden;
}

.countries-subtitle {
    color: #666;
    font-size: 1rem;
    margin-top: -30px;
    margin-bottom: 40px;
}

.countries-marquee-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0 30px;
    /* fade edges */
}

.countries-marquee-wrapper::before,
.countries-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.countries-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #eef1ff, transparent);
}

.countries-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #eef1ff, transparent);
}

.countries-marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marqueeScroll 35s linear infinite;
}

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

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

.country-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    background: var(--white-color);
    border-radius: 20px;
    padding: 24px 28px;
    min-width: 140px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    cursor: default;
    flex-shrink: 0;
}

.country-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 12px 32px rgba(var(--primary-color-rgb), 0.18);
}

.country-flag-wrap {
    width: 70px;
    height: 50px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.country-flag-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-card span {
    font-size: 0.88rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    white-space: nowrap;
}

/* CTA */
.cta {
    background: var(--black-color);
    color: var(--white-color);
    padding: 80px 0;
}


/* RESPONSIVE */
@media(max-width: 768px) {
    .loader-logo {
        width: 55%;
    }
    .loader-line {
        width: 70%;
    }
    .loader-logo {
        width: 55%;
    }
    .loader-line {
        width: 70%;
    }
}