/**
 * Golden Wings - Main Stylesheet
 * Brand Colors: Gold #C9A227, Navy #101C2C, Charcoal #171717, Offwhite #F7F5F0
 */

:root {
    --gw-gold: #C9A227;
    --gw-gold-dark: #A8831A;
    --gw-navy: #101C2C;
    --gw-navy-light: #1A2D45;
    --gw-charcoal: #171717;
    --gw-offwhite: #F7F5F0;
    --gw-lightgold: #E8D9A8;
    --gw-white: #FFFFFF;
    --gw-gray-light: #F8F9FA;
    --gw-gray-border: #E5E7EB;
    --font-main: 'Poppins', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --box-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --box-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --box-shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.12);
    --site-header-height: 104px;
}

html {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--gw-charcoal);
    background-color: var(--gw-white);
    line-height: 1.7;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    padding-top: var(--site-header-height);
    position: relative;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--gw-navy);
    line-height: 1.3;
}

.text-gold { color: var(--gw-gold) !important; }
.text-navy { color: var(--gw-navy) !important; }
.bg-gold { background-color: var(--gw-gold) !important; color: var(--gw-navy) !important; }
.bg-navy { background-color: var(--gw-navy) !important; }
.bg-navy-light { background-color: var(--gw-navy-light) !important; }
.bg-offwhite { background-color: var(--gw-offwhite) !important; }
.bg-charcoal { background-color: var(--gw-charcoal) !important; }

/* Featured Vacancy Cards (Dark Theme) */
.card.bg-navy-light {
    background-color: var(--gw-navy-light) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: var(--gw-white) !important;
    transition: var(--transition);
}

.card.bg-navy-light:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 162, 39, 0.5) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3) !important;
}

.card.bg-navy-light h4 {
    color: #FFFFFF !important;
}

.card.bg-navy-light .text-secondary {
    color: #CBD5E1 !important;
}

.card.bg-navy-light .text-light {
    color: #E2E8F0 !important;
}

.card.bg-navy-light .border-secondary {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Buttons */
.btn-gold {
    background-color: var(--gw-gold);
    color: var(--gw-white) !important;
    border: 1px solid var(--gw-gold);
    padding: 12px 28px;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-gold:hover {
    background-color: var(--gw-gold-dark);
    border-color: var(--gw-gold-dark);
    color: var(--gw-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(201, 162, 39, 0.3);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--gw-gold) !important;
    border: 2px solid var(--gw-gold);
    padding: 11px 26px;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-outline-gold:hover {
    background-color: var(--gw-gold);
    color: var(--gw-white) !important;
    transform: translateY(-2px);
}

.btn-transparent {
    background-color: transparent;
    color: var(--gw-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 12px 28px;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-transparent:hover {
    background-color: var(--gw-white);
    color: var(--gw-navy) !important;
    border-color: var(--gw-white);
    transform: translateY(-2px);
}

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

.section-label, .about-label {
    color: var(--gw-gold);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
    padding-left: 18px;
}

.section-label::before, .about-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 2px;
    background-color: var(--gw-gold);
    transform: translateY(-50%);
}

.section-heading {
    font-size: 38px;
    margin-bottom: 20px;
}

/* Main Site Header (Completely Fixed - Zero Movement on Scroll) */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
    background-color: var(--gw-white);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
}

/* Top Utility Bar */
.top-bar {
    background-color: var(--gw-navy);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--gw-gold);
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 20px;
}

/* Navigation - Consistent Height, No Jitter or Movement */
.navbar {
    background-color: var(--gw-white);
    padding: 14px 0;
    z-index: 1020;
    border: none;
}

.navbar-brand {
    font-weight: 700;
    font-size: 24px;
    color: var(--gw-navy) !important;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.navbar-brand span {
    color: var(--gw-gold);
}

.navbar-brand-badge {
    font-size: 11px;
    background: var(--gw-offwhite);
    color: var(--gw-navy);
    border: 1px solid rgba(201, 162, 39, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Site Branding Logo Sizing & Alignment */
.site-logo-img {
    max-height: 46px;
    max-width: 220px;
    height: auto;
    width: auto;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    transition: var(--transition);
}

.navbar-brand:hover .site-logo-img {
    transform: scale(1.02);
}

.site-logo-mobile {
    max-height: 38px;
    max-width: 170px;
    height: auto;
    width: auto;
    object-fit: contain;
    display: inline-block;
}

.site-logo-footer {
    max-height: 52px;
    max-width: 240px;
    height: auto;
    width: auto;
    object-fit: contain;
    display: inline-block;
}


.nav-link {
    color: var(--gw-charcoal) !important;
    font-weight: 500;
    font-size: 15px;
    margin: 0 8px;
    transition: var(--transition);
    position: relative;
    padding: 8px 4px !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--gw-gold) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--gw-gold);
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 750px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--gw-navy);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    opacity: 0.55;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 28, 44, 0.95) 0%, rgba(16, 28, 44, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--gw-white);
    padding: 80px 0;
}

.hero-eyebrow {
    color: var(--gw-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
}

.hero-title {
    font-size: 58px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--gw-white);
}

.hero-title span {
    color: var(--gw-gold);
}

.hero-text {
    font-size: 18px;
    margin-bottom: 35px;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-trust {
    margin-top: 35px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 18px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-trust-item i {
    color: var(--gw-gold);
}

/* Statistics Bar */
.stats-section {
    background-color: var(--gw-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
    margin-top: -50px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.stat-item {
    text-align: center;
    padding: 35px 20px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 50%;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-size: 46px;
    font-weight: 700;
    color: var(--gw-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-text {
    font-size: 14px;
    color: var(--gw-charcoal);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Cards & Industries */
.industry-card {
    background: var(--gw-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition);
    position: relative;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--box-shadow-md);
    border-color: rgba(201, 162, 39, 0.4);
}

.industry-img-wrap {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.industry-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.industry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(16, 28, 44, 0.2);
    transition: var(--transition);
}

.industry-card:hover .industry-overlay {
    background-color: rgba(201, 162, 39, 0.25);
}

.industry-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.industry-title {
    font-size: 20px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.industry-card:hover .industry-title {
    color: var(--gw-gold);
}

.industry-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
}

.industry-link {
    color: var(--gw-gold);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.industry-link:hover {
    color: var(--gw-navy);
    gap: 10px;
}

/* Center lonely last industry card on Desktop 3-col grid */
@media (min-width: 992px) {
    .industries-row > .col-lg-4:last-child:nth-child(3n+1) {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==========================================================================
   INDUSTRIES CAROUSEL — universal (works on all screen sizes)
   Mobile  : 1 card visible per viewport
   Tablet  : 2 cards visible
   Desktop : 3 cards visible
   Arrow buttons always shown to drive the snap-track
   ========================================================================== */

/* Outer wrapper: position context for the nav buttons with overflow containment */
.industries-carousel-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Arrow buttons always visible */
.industries-carousel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(12, 21, 33, 0.92);
    color: #C9A227;
    font-size: 18px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
    transition: background 0.2s, transform 0.2s;
}
.industries-carousel-btn:hover {
    background: #C9A227;
    color: #0C1521;
    transform: translateY(-50%) scale(1.06);
}
.industries-carousel-prev { left: 10px; }
.industries-carousel-next { right: 10px; }

/* Horizontal snap track — works at any viewport width */
.industries-carousel-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 0 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}
.industries-carousel-track::-webkit-scrollbar { display: none; }

/* Default (mobile): 1 card per viewport, no peek */
.industries-carousel-track > [class*="col-"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
}
/* Tablet (md): 2 cards visible side-by-side */
@media (min-width: 768px) {
    .industries-carousel-track > [class*="col-"] {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
}
/* Desktop (lg+): 3 cards visible side-by-side */
@media (min-width: 992px) {
    .industries-carousel-track > [class*="col-"] {
        flex: 0 0 calc(100% / 3) !important;
        max-width: calc(100% / 3) !important;
        width: calc(100% / 3) !important;
    }
}
/* Inner visual card handles its own gutter so adjacent cards have breathing room */
.industries-carousel-track > [class*="col-"] > .industry-card {
    margin: 0 10px;
    height: 100%;
}
@media (min-width: 992px) {
    .industries-carousel-track > [class*="col-"] > .industry-card {
        margin: 0 12px;
    }
}

/* Countries */
.country-card {
    display: flex;
    align-items: center;
    background: var(--gw-white);
    padding: 18px 22px;
    border-radius: 8px;
    box-shadow: var(--box-shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    margin-bottom: 20px;
    text-decoration: none;
    color: var(--gw-charcoal);
}

.country-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-md);
    border-color: rgba(201, 162, 39, 0.4);
    color: var(--gw-navy);
}

.country-flag {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 16px;
    border: 2px solid #E5E7EB;
}

.country-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 2px;
}

.country-desc {
    font-size: 12px;
    color: #777;
    margin: 0;
}

/* Recruitment Process Timeline */
.process-timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.process-step {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.process-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--gw-white);
    border: 2px solid var(--gw-gold);
    color: var(--gw-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    z-index: 2;
    transition: var(--transition);
}

.process-step:hover .process-number {
    background-color: var(--gw-gold);
    color: var(--gw-white);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.4);
}

.process-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.process-desc {
    font-size: 14px;
    color: #666;
}

/* Client Logos Marquee - Clean, Minimal & Professional */
.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 32px 0;
    display: flex;
    background: linear-gradient(180deg, #f8f9fa 0%, #f1f3f5 100%);
    border-top: 1px solid rgba(0, 31, 63, 0.05);
    border-bottom: 1px solid rgba(0, 31, 63, 0.05);
}

.marquee-wrapper::before, .marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 140px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa 20%, rgba(248, 249, 250, 0) 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa 20%, rgba(248, 249, 250, 0) 100%);
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 16px;
    animation: scroll-marquee 58s linear infinite;
    will-change: transform;
}

.marquee-wrapper:hover .marquee-content,
.marquee-content:hover {
    animation-play-state: paused;
}

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

.client-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.client-logo-card {
    background: #ffffff;
    border: 1px solid rgba(13, 27, 42, 0.08);
    border-radius: 12px;
    width: 196px;
    height: 74px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.client-logo-card img {
    max-width: 156px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.client-logo-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 8px 20px rgba(0, 31, 63, 0.08);
    background: #ffffff;
}

.client-logo-card:hover img {
    transform: scale(1.05);
}

/* Testimonials */
.testimonial-card {
    background: var(--gw-white);
    padding: 36px;
    border-radius: 8px;
    box-shadow: var(--box-shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-stars {
    color: var(--gw-gold);
    margin-bottom: 16px;
    font-size: 15px;
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    color: #444;
    margin-bottom: 24px;
    line-height: 1.7;
}

.testimonial-author-name {
    font-weight: 600;
    color: var(--gw-navy);
    margin-bottom: 2px;
}

.testimonial-author-role {
    font-size: 13px;
    color: #777;
    margin: 0;
}

/* Footer */
.footer {
    background-color: var(--gw-navy);
    color: #CBD5E1;
    padding: 80px 0 30px;
    font-size: 15px;
}

.footer .text-secondary {
    color: #94A3B8 !important; /* WCAG AA Compliant contrast against dark navy */
}

.footer-brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--gw-white);
    margin-bottom: 18px;
    display: inline-block;
    text-decoration: none;
}

.footer-brand span {
    color: var(--gw-gold);
}

.footer-heading {
    color: var(--gw-white);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--gw-gold);
}

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

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

.footer-links a,
.footer-links span {
    color: #CBD5E1 !important;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--gw-gold) !important;
    transform: translateX(4px);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom .text-secondary {
    color: #94A3B8 !important;
}

.social-icons a {
    color: var(--gw-white);
    background: rgba(255, 255, 255, 0.1);
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 8px;
    transition: var(--transition);
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--gw-gold);
    transform: translateY(-3px);
}

/* Back to top button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background-color: var(--gw-gold);
    color: var(--gw-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1050;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    touch-action: manipulation;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    background-color: var(--gw-navy);
    transform: translateY(-3px);
}

@media (max-width: 767.98px) {
    #backToTop {
        bottom: calc(90px + env(safe-area-inset-bottom, 0px)) !important;
        right: 20px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 20px !important;
        z-index: 1050 !important;
    }
}

/* Split Section Cards (Candidates & Employers) */
.split-card {
    position: relative;
    height: 440px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 45px;
    overflow: hidden;
    box-shadow: var(--box-shadow-md);
    transition: var(--transition);
}

.split-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--box-shadow-lg);
}

.split-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(16, 28, 44, 0.95) 0%, rgba(16, 28, 44, 0.6) 60%, rgba(16, 28, 44, 0.2) 100%);
    z-index: 1;
    transition: var(--transition);
}

.split-card:hover .split-overlay {
    background: linear-gradient(to top, rgba(16, 28, 44, 0.98) 0%, rgba(16, 28, 44, 0.65) 60%, rgba(16, 28, 44, 0.25) 100%);
}

.split-content {
    position: relative;
    z-index: 2;
    color: var(--gw-white);
}

.split-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--gw-white);
    margin-bottom: 12px;
}

/* Call to Action Section */
.cta-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    background: #101C2C url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 28, 44, 0.94) 0%, rgba(26, 45, 69, 0.88) 100%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: #FFFFFF !important;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   VIDEO TESTIMONIALS & MODAL PLAYER
   ========================================================================== */
.testimonial-video-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    min-height: 460px;
    aspect-ratio: 9 / 14;
    cursor: pointer;
    background: #0C1521;
    box-shadow: 0 8px 30px rgba(12, 21, 33, 0.18);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.testimonial-video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 44px rgba(12, 21, 33, 0.38);
    border-color: rgba(201, 162, 39, 0.6);
}

.testimonial-video-thumb {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-video-card:hover .testimonial-video-thumb {
    transform: scale(1.08);
}

.testimonial-video-overlay {
    position: relative;
    z-index: 2;
    padding: 24px 20px;
    background: linear-gradient(to top, rgba(12, 21, 33, 0.96) 0%, rgba(12, 21, 33, 0.72) 48%, rgba(12, 21, 33, 0.15) 85%, transparent 100%);
    width: 100%;
}

.testimonial-play-btn {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C9A227, #f3cf58);
    color: #0C1521;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
    box-shadow: 0 0 0 8px rgba(201, 162, 39, 0.28);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonial-video-card:hover .testimonial-play-btn {
    transform: scale(1.14);
    box-shadow: 0 0 0 14px rgba(201, 162, 39, 0.42);
}

.testimonial-video-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    background: rgba(12, 21, 33, 0.88);
    border: 1px solid rgba(201, 162, 39, 0.75);
    color: #C9A227;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.testimonial-video-stars {
    color: #C9A227;
    font-size: 14px;
    margin-bottom: 8px;
}

.testimonial-quote-snippet {
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 6px;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   TESTIMONIALS MOBILE CAROUSEL
   ========================================================================== */

/* Carousel buttons — hidden on desktop */
.testi-carousel-btn {
    display: none;
}

@media (max-width: 767.98px) {
    /* Outer wrapper: position context for the nav buttons with overflow containment */
    .testi-carousel-wrap {
        position: relative;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    /* Arrow buttons positioned safely inside track boundaries */
    .testi-carousel-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: none;
        background: rgba(12, 21, 33, 0.88);
        color: #C9A227;
        font-size: 17px;
        cursor: pointer;
        backdrop-filter: blur(8px);
        box-shadow: 0 4px 14px rgba(0,0,0,0.4);
        transition: background 0.2s, transform 0.2s;
    }
    .testi-carousel-btn:hover {
        background: #C9A227;
        color: #0C1521;
        transform: translateY(-50%) scale(1.06);
    }
    .testi-carousel-prev { left: 6px; }
    .testi-carousel-next { right: 6px; }

    /* Convert the Bootstrap row into a horizontal snap track with no negative margins */
    .testi-carousel-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 0 20px;
        /* hide scrollbar */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .testi-carousel-track::-webkit-scrollbar { display: none; }

    /* Each slide fills the full viewport width so only ONE card is visible
       at a time. snap-align: start makes scrollBy(cardWidth) land exactly on
       the next card for reliable card-by-card advancement. */
    .testi-carousel-track > [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
    /* Inner card handles its own gutter so no peek of adjacent cards shows */
    .testi-carousel-track > [class*="col-"] > .testimonial-card,
    .testi-carousel-track > [class*="col-"] > .testimonial-video-card {
        margin: 0 14px;
        height: 100%;
    }

    .testi-carousel-track .testimonial-video-card {
        min-height: 420px;
    }
}

/* Video Testimonial Modal */
.video-testi-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-testi-modal.open {
    display: flex !important;
}

.video-testi-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 14, 23, 0.94);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.video-testi-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 880px;
    background: #0C1521;
    border-radius: 18px;
    border: 1px solid rgba(201, 162, 39, 0.35);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    padding: 16px;
    animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transition: max-width 0.3s ease;
}

/* 9:16 Vertical Reel Mode for Smartphone Videos */
.video-testi-modal.modal-9-16 .video-testi-inner {
    max-width: 440px;
    border-radius: 22px;
    padding: 14px;
}

@keyframes modalPopIn {
    0% { opacity: 0; transform: scale(0.92) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.video-testi-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.video-testi-close:hover {
    background: #C9A227;
    color: #0C1521;
    transform: rotate(90deg);
}

.video-testi-player {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.video-testi-player iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}

.video-testi-player video {
    width: 100%;
    height: auto;
    max-height: 76vh;
    aspect-ratio: 9 / 16;
    object-fit: contain;
    background: #000;
    display: block;
    border-radius: 10px;
}

.video-testi-info {
    padding: 12px 6px 4px;
}

/* ==========================================================================
   GALLERY SECTION & LIGHTBOX (Homepage & Standalone)
   ========================================================================== */
.gallery-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-filter-btn {
    border: 1px solid rgba(201, 162, 39, 0.35);
    background: #FFFFFF;
    color: var(--gw-navy);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--gw-navy);
    color: #FFFFFF;
    border-color: var(--gw-navy);
}

.gallery-filter-count {
    display: inline-block;
    background: rgba(201, 162, 39, 0.2);
    color: #9A7718;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 12px;
    margin-left: 6px;
}

.gallery-filter-btn.active .gallery-filter-count {
    background: #C9A227;
    color: #0C1521;
}

/* Masonry Column Layout for Mixed Orientation Gallery (Portraits & Landscapes) */
.gallery-grid {
    column-count: 3;
    column-gap: 24px;
}

@media (max-width: 991px) {
    .gallery-grid {
        column-count: 2;
        column-gap: 18px;
    }
}

@media (max-width: 575px) {
    .gallery-grid {
        column-count: 1;
    }
}

.gallery-item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 24px;
    display: inline-block;
    width: 100%;
}

/* ==========================================================================
   HOMEPAGE GALLERY MOBILE CAROUSEL
   ========================================================================== */
.home-gallery-carousel-btn {
    display: none;
}

@media (max-width: 767.98px) {
    .home-gallery-carousel-wrap {
        position: relative;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .home-gallery-carousel-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: none;
        background: rgba(12, 21, 33, 0.88);
        color: #C9A227;
        font-size: 17px;
        cursor: pointer;
        backdrop-filter: blur(8px);
        box-shadow: 0 4px 14px rgba(0,0,0,0.4);
        transition: background 0.2s, transform 0.2s;
    }
    .home-gallery-carousel-btn:hover {
        background: #C9A227;
        color: #0C1521;
        transform: translateY(-50%) scale(1.06);
    }
    .home-gallery-carousel-prev { left: 6px; }
    .home-gallery-carousel-next { right: 6px; }

    /* Convert homepage gallery to horizontal snap carousel on mobile */
    .home-gallery-carousel-wrap .home-gallery-carousel-track {
        display: flex !important;
        column-count: unset !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 0 20px;
        margin-bottom: 0 !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .home-gallery-carousel-wrap .home-gallery-carousel-track::-webkit-scrollbar {
        display: none;
    }

    .home-gallery-carousel-wrap .gallery-item {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
        display: flex !important;
    }
    /* Inner card handles its own gutter so no peek of adjacent cards shows */
    .home-gallery-carousel-wrap .gallery-item > .gallery-card {
        margin: 0 14px;
    }

    .home-gallery-carousel-wrap .gallery-card {
        width: 100%;
        height: 380px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .home-gallery-carousel-wrap .gallery-card img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .home-gallery-carousel-wrap .gallery-overlay {
        opacity: 1 !important;
        padding: 16px;
    }
}

.gallery-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: auto;
    cursor: pointer;
    background: #0C1521;
    box-shadow: 0 6px 20px rgba(12, 21, 33, 0.12);
    border: 1px solid rgba(201, 162, 39, 0.18);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(12, 21, 33, 0.28);
    border-color: rgba(201, 162, 39, 0.55);
}

.gallery-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 21, 33, 0.94) 0%, rgba(12, 21, 33, 0.55) 45%, rgba(12, 21, 33, 0.08) 80%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0.96;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(12, 21, 33, 0.98) 0%, rgba(12, 21, 33, 0.65) 50%, rgba(12, 21, 33, 0.15) 85%, transparent 100%);
}

.gallery-overlay-content {
    color: #FFFFFF;
    width: 100%;
}

.gallery-zoom-icon {
    font-size: 22px;
    color: #C9A227;
    margin-bottom: 6px;
    display: inline-block;
    transition: transform 0.3s;
}

.gallery-card:hover .gallery-zoom-icon {
    transform: scale(1.2);
}

.gallery-overlay-title {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 4px;
    line-height: 1.35;
}

.gallery-overlay-caption {
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Lightbox Modal */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-lightbox.open {
    display: flex !important;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 14, 23, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-close {
    position: absolute;
    top: -46px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: #C9A227;
    color: #0C1521;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(12, 21, 33, 0.7);
    border: 1px solid rgba(201, 162, 39, 0.5);
    color: #FFFFFF;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: var(--transition);
}

.lightbox-nav:hover {
    background: #C9A227;
    color: #0C1521;
}

.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

@media (max-width: 991px) {
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

.lightbox-img-wrap {
    width: 100%;
    max-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    display: block;
}

.lightbox-caption-bar {
    width: 100%;
    padding: 14px 6px;
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
}

.lightbox-caption-title {
    font-size: 17px;
    font-weight: 600;
    color: #C9A227;
}

.lightbox-caption-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    flex: 1 1 100%;
}

.lightbox-counter {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-family: monospace;
}

/* ==========================================================================
   NURSING RECRUITMENT DIVISION (PDF PAGE 5)
   ========================================================================== */
.nursing-section {
    position: relative;
    background: linear-gradient(135deg, #091320 0%, #102138 100%);
    color: #FFFFFF;
    overflow: hidden;
}

.nursing-client-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 8px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.nursing-client-badge:hover {
    background: rgba(201, 162, 39, 0.15);
    border-color: #C9A227;
    transform: translateY(-2px);
}

.nursing-client-badge i {
    font-size: 24px;
    color: #C9A227;
}

/* ==========================================================================
   CLIENT DIRECTORY BY REGION (PDF PAGE 6)
   ========================================================================== */
.client-country-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 24px;
    height: 100%;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition);
}

.client-country-card:hover {
    box-shadow: var(--box-shadow-md);
    border-color: rgba(201, 162, 39, 0.4);
}

.client-tag {
    display: inline-block;
    background: #F1F5F9;
    color: #334155;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    margin: 4px;
    border: 1px solid #E2E8F0;
    transition: var(--transition);
}

.client-tag:hover {
    background: #0C1521;
    color: #C9A227;
    border-color: #0C1521;
}

/* ==========================================================================
   FEATURE ICON CIRCLES (GUARANTEED 1:1 PERFECT CIRCLE, NO OVAL DISTORTION)
   ========================================================================== */
.feature-icon-circle {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    margin: 0;
    line-height: 1 !important;
    box-sizing: border-box !important;
    text-align: center;
}

.feature-icon-circle i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.feature-icon-circle.sm {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
}

.feature-icon-circle.lg {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    min-height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
}

.cf-turnstile-wrapper {
    min-height: 65px;
    overflow: visible;
}

.cf-turnstile-wrapper .cf-turnstile {
    max-width: 100%;
}


