:root {
    --brand-dark: #001f68;
    --brand-blue: #00a0e3;
    --brand-blue-dark: #007cc0;
    --page-bg: #f5f7fb;
    --body-text: #555;
    --nav-height: 56px;
    --shadow-soft: 0 8px 28px rgba(0, 31, 104, 0.08);
    --shadow-raised: 0 18px 42px rgba(0, 31, 104, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--page-bg);
    overflow-x: hidden;
    color: #222;
}

section {
    position: relative;
}

.section-kicker,
.page-tag,
.hero-tag {
    display: inline-block;
    color: var(--brand-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.page-tag,
.hero-tag {
    color: #fff;
    background: var(--brand-blue);
    padding: 7px 18px;
    border-radius: 30px;
    margin-bottom: 18px;
}

.theme-accent-line {
    width: 82px;
    height: 5px;
    margin: 18px auto 22px;
    border-radius: 30px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-dark));
}

.theme-accent-line.align-start {
    margin-left: 0;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* Navigation */

.custom-navbar {
    min-height: var(--nav-height);
    padding: 4px 0;
    background: #fff;
    box-shadow: 0 2px 14px rgba(0, 31, 104, 0.08);
    z-index: 1030;
}

.custom-navbar .navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.custom-navbar .navbar-brand img {
    display: block;
    height: 46px;
    width: auto;
}

.custom-navbar .navbar-nav {
    align-items: center;
    gap: 12px;
}

.custom-navbar .nav-link {
    position: relative;
    padding: 0.65rem 0.65rem !important;
    color: var(--brand-dark) !important;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.25s ease;
}

.custom-navbar .nav-link::after {
    transition: transform 0.25s ease;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link:focus {
    color: var(--brand-blue) !important;
}

.custom-navbar .dropdown-menu {
    border: 0;
    border-radius: 14px;
    padding: 10px 0;
    min-width: 285px;
    box-shadow: 0 16px 38px rgba(0, 31, 104, 0.14);
}

.custom-navbar .dropdown-item {
    padding: 11px 22px;
    color: var(--brand-dark);
    font-weight: 500;
    transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
}

.custom-navbar .dropdown-item:hover,
.custom-navbar .dropdown-item:focus {
    color: var(--brand-blue);
    background: #eef8fd;
    padding-left: 28px;
}

@media (min-width: 992px) {
    .custom-navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(12px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    }

    .custom-navbar .dropdown:hover > .dropdown-menu,
    .custom-navbar .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Buttons */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: 0;
    border-radius: 8px;
    background: var(--brand-blue);
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--brand-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 160, 227, 0.3);
}

/* Home hero */

.hero-slider {
    background: var(--brand-dark);
}

/* Smooth crossfade: outgoing slide fades out while incoming fades in */
.hero-slider .carousel-item {
    transition: opacity 1.2s ease !important;
}

/* Zoom keyframe: starts slightly zoomed in, slowly pulls back during display */
@keyframes sliderZoom {
    from { transform: scale(1.06); }
    to   { transform: scale(1.0);  }
}

/* Zoom-out keyframe: when leaving, continue zooming out gently so there's no snap */
@keyframes sliderZoomOut {
    from { transform: scale(1.0);  }
    to   { transform: scale(0.97); }
}

.slider-image {
    width: 100%;
    height: clamp(560px, calc(100vh - var(--nav-height)), 720px);
    object-fit: cover;
    transform: scale(1.06);
    will-change: transform;
}

/* Active slide: zoom in → normal over the full display duration */
.carousel-item.active .slider-image {
    animation: sliderZoom 6s ease forwards;
}

/* Leaving slide: continue zooming out gently instead of snapping back */
.carousel-item.active.carousel-item-start .slider-image,
.carousel-item.active.carousel-item-end .slider-image {
    animation: sliderZoomOut 1.2s ease forwards;
}

.hero-slider .carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 20, 65, 0.84), rgba(0, 31, 104, 0.48) 53%, rgba(0, 0, 0, 0.32));
}

.custom-caption {
    z-index: 2;
    left: 8%;
    right: auto;
    bottom: 20%;
    max-width: 700px;
    text-align: left;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0s, transform 0s;
}

/* Caption animates in sync with the slide image — triggered by JS with zero delay */
@keyframes captionFadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0);    }
}

/* JS adds .caption-animate the instant Bootstrap starts the slide transition,
   so text and image arrive together. No delay needed. */
.custom-caption.caption-animate {
    animation: captionFadeUp 0.75s ease 0s forwards;
}

.custom-caption h1 {
    max-width: 700px;
    margin-bottom: 18px;
    color: #fff;
    font-size: clamp(42px, 4.3vw, 62px);
    line-height: 1.12;
    font-weight: 800;
}

.custom-caption h1 span {
    color: var(--brand-blue);
}

.custom-caption p {
    max-width: 610px;
    margin-bottom: 32px;
    color: rgba(255,255,255,0.9);
    font-size: 19px;
    line-height: 1.7;
}

.hero-slider .carousel-indicators {
    z-index: 3;
    bottom: 28px;
}

.hero-slider .carousel-indicators button {
    width: 38px;
    height: 4px;
    border: 0;
    border-radius: 10px;
}

/* Home sections */

.home-section {
    padding: 78px 0 60px;
    background: var(--page-bg);
}

.home-section-title {
    max-width: 670px;
    margin: 0 auto 46px;
    text-align: center;
}

.home-section-title h2 {
    margin: 10px 0 0;
    color: var(--brand-dark);
    font-size: clamp(32px, 3.2vw, 42px);
    font-weight: 800;
}

.home-section-title p {
    color: var(--body-text);
    font-size: 17px;
    line-height: 1.7;
}

.home-industry-card {
    position: relative;
    display: block;
    height: 100%;
    padding: 34px 30px;
    border-radius: 16px;
    color: inherit;
    background: #fff;
    border-top: 4px solid transparent;
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-industry-card:hover {
    color: inherit;
    border-color: var(--brand-blue);
    transform: translateY(-8px);
    box-shadow: var(--shadow-raised);
}

.home-industry-card .service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #e7f5fc;
    color: var(--brand-dark);
    font-size: 26px;
}

.home-industry-card h4 {
    margin-bottom: 12px;
    color: var(--brand-dark);
    font-size: 21px;
    font-weight: 700;
}

.home-industry-card p {
    min-height: 52px;
    margin-bottom: 18px;
    color: var(--body-text);
    line-height: 1.65;
}

.home-industry-card span,
.home-industry-card > a {
    color: var(--brand-blue);
    font-weight: 600;
    text-decoration: none;
}

.home-industry-card span i,
.home-industry-card > a i {
    margin-left: 7px;
}

.home-consult-card {
    color: #fff;
    background: var(--brand-dark);
}

.home-consult-card h4,
.home-consult-card p {
    color: #fff;
}

.counter-section {
    padding: 24px 0 80px;
    background: var(--page-bg);
}

.counter-box {
    height: 100%;
    padding: 30px 18px;
    border-radius: 16px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #001f68, #00a0e3);
    box-shadow: 0 13px 30px rgba(0, 31, 104, 0.17);
    transition: transform 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-6px);
}

.counter-box > i {
    font-size: 28px;
    color: rgba(255,255,255,0.84);
}

.counter-box h2 {
    margin: 12px 0 4px;
    font-size: 42px;
    font-weight: 800;
}

.counter-box p {
    margin: 0;
    color: rgba(255,255,255,0.88);
    font-size: 16px;
    font-weight: 500;
}

.timeline-section {
    padding: 78px 0 86px;
    background: var(--brand-dark);
}

.home-section-title-light h2 {
    color: #fff;
}

.home-section-title-light .section-kicker {
    color: rgba(255,255,255,0.72);
}

.home-section-title-light .theme-accent-line {
    background: var(--brand-blue);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.process-card {
    padding: 28px 20px;
    border-radius: 14px;
    text-align: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    transition: background 0.3s ease, transform 0.3s ease;
}

.process-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.11);
}

.process-card span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 19px;
    border-radius: 50%;
    color: #fff;
    background: var(--brand-blue);
    font-size: 19px;
    font-weight: 800;
}

.process-card h4 {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.process-card p {
    margin-bottom: 0;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.6;
}

.home-contact-cta {
    padding: 76px 0;
    background: var(--page-bg);
}

.home-contact-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 46px 55px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.home-contact-panel h2 {
    margin: 10px 0 0;
    color: var(--brand-dark);
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 800;
}

/* About */

.about-banner,
.contact-banner {
    min-height: 420px;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
}

.about-banner {
    background-image: linear-gradient(105deg, rgba(0,31,104,0.88), rgba(0,31,104,0.52)), url("../images/about-banner.jpg");
}

.banner-content h1,
.contact-banner-content h1 {
    max-width: 770px;
    margin-bottom: 16px;
    color: #fff;
    font-size: clamp(40px, 4.4vw, 58px);
    font-weight: 800;
}

.banner-content h1 span,
.contact-banner-content h1 span {
    color: var(--brand-blue);
}

.banner-content p,
.contact-banner-content p {
    color: rgba(255,255,255,0.88);
    font-size: 20px;
}

.about-company {
    padding: 82px 0;
    background: var(--page-bg);
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 46px rgba(0,31,104,0.17);
}

.about-image img {
    display: block;
    width: 100%;
    min-height: 470px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.about-image:hover img {
    transform: scale(1.04);
}

.about-image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    padding: 14px 20px;
    border-radius: 10px;
    color: #fff;
    background: var(--brand-dark);
    font-weight: 600;
}

.about-image-badge i {
    margin-right: 8px;
    color: var(--brand-blue);
}

.about-content {
    padding: 42px;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.about-content h2 {
    margin: 10px 0 0;
    color: var(--brand-dark);
    font-size: clamp(31px, 3.2vw, 40px);
    line-height: 1.2;
    font-weight: 800;
}

.about-content p {
    color: var(--body-text);
    font-size: 16px;
    line-height: 1.8;
}

.about-counter-box {
    display: flex;
    gap: 18px;
    margin-top: 30px;
}

.counter-card {
    flex: 1;
    padding: 19px 14px;
    border-radius: 12px;
    text-align: center;
    background: var(--page-bg);
    border-bottom: 3px solid var(--brand-blue);
}

.counter-card h3 {
    margin: 0 0 5px;
    color: var(--brand-dark);
    font-size: 30px;
    font-weight: 800;
}

.counter-card span {
    color: var(--body-text);
    font-size: 14px;
}

.vision-section,
.why-section,
.countries-section,
.countries-source-section {
    padding: 78px 0;
}

.vision-section,
.countries-section {
    background: #fff;
}

.why-section {
    background: var(--page-bg);
}

.countries-source-section {
    background: var(--page-bg);
    padding-top: 88px;
    padding-bottom: 92px;
}

.section-title h2 {
    margin: 10px 0 0;
    color: var(--brand-dark);
    font-size: clamp(31px, 3.2vw, 40px);
    font-weight: 800;
}

.section-title p {
    color: var(--body-text);
    font-size: 17px;
}

.vision-card,
.why-card {
    height: 100%;
    padding: 35px 28px;
    border-radius: 16px;
    text-align: center;
    background: #fff;
    box-shadow: var(--shadow-soft);
    border-top: 4px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.vision-card:hover,
.why-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-raised);
}

.vision-icon,
.why-card > i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin: 0 auto 21px;
    border-radius: 50%;
    color: var(--brand-dark);
    background: #e7f5fc;
    font-size: 31px;
}

.vision-card h4,
.why-card h5 {
    color: var(--brand-dark);
    font-weight: 700;
}

.vision-card p,
.why-card p {
    color: var(--body-text);
    line-height: 1.65;
}

.country-card {
    height: 100%;
    padding: 24px 14px;
    border-radius: 14px;
    text-align: center;
    background: var(--page-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.country-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-soft);
}

.country-card img {
    width: 68px;
    height: 46px;
    margin-bottom: 14px;
    object-fit: cover;
}

.country-card h6 {
    margin: 0;
    color: var(--brand-dark);
    font-weight: 700;
}

.source-country-card {
    height: 100%;
    padding: 25px 14px;
    border-radius: 14px;
    text-align: center;
    background: #fff;
    border-top: 4px solid transparent;
    box-shadow: 0 8px 24px rgba(0, 31, 104, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.source-country-card:hover {
    border-color: var(--brand-blue);
    transform: translateY(-7px);
    box-shadow: var(--shadow-soft);
}

.source-country-card img {
    width: 68px;
    height: 46px;
    margin-bottom: 14px;
    object-fit: cover;
}

.source-country-card h6 {
    margin: 0;
    color: var(--brand-dark);
    font-weight: 700;
}

.about-cta {
    padding: 78px 0;
    color: #fff;
    background: var(--brand-dark);
}

.about-cta h2 {
    max-width: 700px;
    margin: 15px auto 30px;
    font-size: clamp(29px, 3.2vw, 42px);
    font-weight: 800;
}

/* Contact */

.contact-banner {
    background-image: linear-gradient(105deg, rgba(0,31,104,0.9), rgba(0,31,104,0.45)), url("../images/contact-banner.jpg");
}

.contact-banner-content {
    width: min(1140px, calc(100% - 48px));
    margin: 0 auto;
}

.contact-section {
    padding: 76px 0 86px;
    background: var(--page-bg);
}

/* ── Contact Map Section ── */
.contact-map-section {
    padding: 0 0 80px;
    background: var(--page-bg);
}

.contact-map-heading {
    padding: 60px 0 40px;
}

.contact-map-heading h2 {
    font-size: 36px;
    font-weight: 800;
    color: #001f68;
    margin-bottom: 0;
}

.contact-map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 31, 104, 0.14);
    border: 3px solid rgba(0, 160, 227, 0.25);
    line-height: 0; /* removes gap under iframe */
}

.contact-map-wrapper iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
}

.contact-heading {
    margin-bottom: 44px;
}

.contact-heading h2 {
    margin: 10px 0 0;
    color: var(--brand-dark);
    font-size: clamp(31px, 3.2vw, 40px);
    font-weight: 800;
}

.contact-info,
.contact-form-box {
    height: 100%;
    border-radius: 16px;
}

.contact-info {
    padding: 42px 34px;
    color: #fff;
    background: var(--brand-dark);
}

.contact-info h2 {
    color: #fff;
    font-size: 35px;
    font-weight: 800;
}

.contact-intro {
    margin: 17px 0 33px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
}

.info-box {
    display: flex;
    gap: 17px;
    align-items: flex-start;
    padding: 19px 0;
    border-top: 1px solid rgba(255,255,255,0.13);
}

.info-box > i {
    color: var(--brand-blue);
    font-size: 22px;
}

.info-box h5 {
    margin-bottom: 5px;
    font-size: 15px;
    color: rgba(255,255,255,0.67);
}

.info-box p {
    margin: 0;
    color: #fff;
}

.contact-form-box {
    padding: 42px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.contact-form-box h3 {
    color: var(--brand-dark);
    font-size: 29px;
    font-weight: 800;
}

.contact-form-box > p {
    margin-bottom: 28px;
    color: var(--body-text);
}

.form-label {
    color: var(--brand-dark);
    font-size: 14px;
    font-weight: 600;
}

.form-note {
    color: #778;
    font-weight: 400;
}

.form-control,
.form-select {
    min-height: 54px;
    border: 1px solid #dbe4ee;
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 0.22rem rgba(0,160,227,0.14);
}

textarea.form-control {
    min-height: 128px;
}

/* Paragraph text About us */

.justify-text {
    text-align: justify;
}

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


/* Footer and floating contact */

.footer-section {
    padding: 58px 0;
    color: rgba(255,255,255,0.82);
    background: #00194f;
}

.footer-section h5 {
    margin-bottom: 22px;
    color: #fff;
    font-weight: 700;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

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

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1040;
    transition: transform 0.25s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px);
}


/* ==========================================
   Language Translator
   ========================================== */

.language-switcher {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

#google_translate_element {
    min-width: 100px;
}

.goog-te-gadget {
    font-size: 0 !important;
}

    .goog-te-gadget select {
        background: #fff;
        color: #001f68;
        border: 1px solid #001f68;
        border-radius: 6px;
        padding: 5px 10px;
        font-size: 12px !important;
        cursor: pointer;
        width: 100px;
        
    }

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

#google_translate_element select {
    background: #ffffff;
    color: #001f68;
    border: 1px solid #001f68;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 14px;
    font-weight: 500;
}

/* Hide Google Translate logo */
.goog-logo-link,
.goog-te-gadget span {
    display: none !important;
}

/* Hide Google Translate text */
.goog-te-gadget {
    color: transparent !important;
}

    /* Keep only dropdown visible */
    .goog-te-gadget .goog-te-combo {
        color: #001f68 !important;
        margin: 0 !important;
        width: 120px;
        height: 36px;
        padding: 5px 10px;
        font-size: 14px;
    }

.goog-te-gadget-simple img,
.goog-te-gadget-icon {
    display: none !important;
}

.goog-te-gadget-simple {
    border: none !important;
    background: transparent !important;
}

body {
    top: 0 !important;
}

/* Responsive */

@media (max-width: 1199px) {
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    :root {
        --nav-height: 54px;
    }

    .custom-navbar {
        min-height: var(--nav-height);
    }

    .custom-navbar .navbar-brand img {
        height: 44px;
    }

    .custom-navbar .navbar-nav {
        align-items: stretch;
        gap: 0;
        padding: 10px 0 13px;
    }

    .custom-navbar .dropdown-menu {
        box-shadow: none;
        background: #f5f8fc;
    }

    .slider-image {
        height: 560px;
    }

    .custom-caption {
        bottom: 16%;
    }

    .about-banner,
    .contact-banner {
        min-height: 360px;
    }

    .about-content,
    .contact-form-box,
    .contact-info {
        padding: 34px 28px;
    }

    .home-contact-panel {
        display: block;
        padding: 38px 30px;
        text-align: center;
    }

    .home-contact-panel .btn {
        margin-top: 27px;
    }
}

@media (max-width: 767px) {
    .hero-tag,
    .page-tag {
        margin-bottom: 14px;
    }

    .slider-image {
        height: 510px;
    }

    .custom-caption {
        left: 7%;
        right: 7%;
        bottom: 14%;
    }

    .custom-caption h1 {
        font-size: 34px;
    }

    .custom-caption p {
        font-size: 16px;
        line-height: 1.55;
        margin-bottom: 22px;
    }

    .home-section,
    .vision-section,
    .why-section,
    .countries-section,
    .countries-source-section,
    .timeline-section,
    .home-contact-cta,
    .about-company,
    .about-cta,
    .contact-section {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .about-image img {
        min-height: 330px;
    }

    .about-counter-box {
        flex-direction: column;
    }
}
