/* ================= HEADER ================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5rem;
    position: sticky;
    top: 0;
    z-index: 2000;
    background-color: #242f67;
    color: #fff;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: bold;
}

.logo img {
    width: 70px;
    height: auto;
}

header h1 a {
    text-decoration: none;
    color: #fff;
}/* ================= HEADER ================= */



/* ===== Photo Slider ===== */
.photo-slider {
  width: 100%;
  overflow: hidden;
  background: #fff;
  padding: 2rem 0;
}

/* Moving row */
.slider-track {
  display: flex;
  width: max-content;
  gap: 1.5rem;
  animation: scroll 30s linear infinite;
}

/* Images */
.slider-track img {
  width: 250px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  flex-shrink: 0;
}
.photo-slider:hover .slider-track {
  animation-play-state: paused;
}


/* Animation */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* 📱 Tablet */
@media (max-width: 768px) {
  .slider-track img {
    width: 200px;
    height: 160px;
  }
}

/* 📱 Mobile */
@media (max-width: 480px) {
  .slider-track img {
    width: 160px;
    height: 120px;
  }
}
:root {
  --bs-primary: #1f2f63;
}

.content-box {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.list-group-item {
  cursor: pointer;
}
/* Default button color */
.list-group-item {
  background-color: #ffffff;
  color: #000;
  border-color: #ddd;
}

/* Active button color */
.list-group-item.active {
  background-color: #1f275c !important;
  color: #ffffff !important;
  border-color: #1f275c !important;
}

/* Hover effect */
.list-group-item:hover {
  background-color: #1f275c;
  color: #ffffff;
}
/* Keep all text black EXCEPT buttons */
.job-detail,
.job-detail *:not(.btn):not(.btn *) {
  color: #000000 !important;
}

/* Apply button */
.btn-apply {
  background-color: #d94c5c !important;
  border-color: #d94c5c !important;
  color: #ffffff !important;
}

.btn-apply:hover {
  background-color: #c34352 !important;
  border-color: #c34352 !important;
  color: #ffffff !important;
}




/* ===== Job position dropdown (ALL DEVICES) ===== */
/* Hide by default (desktop & tablet) */
#jobSelect {
  display: none;   /* 🔴 THIS WAS MISSING */
  background-color: #1f2f63 !important;
  color: #ffffff !important;
  border: 1px solid #1f2f63;
  font-weight: 500;
  font-size: 16px;
  padding: 12px 14px;
  border-radius: 6px;
  height: auto;
  line-height: 1.4;
}

/* Hover & focus */
#jobSelect:hover,
#jobSelect:focus {
  background-color: #ffffff !important;
  color: #1f2f63 !important;
}

/* Dropdown options */
#jobSelect option {
  background-color: #ffffff;
  color: #1f2f63;
}

/* Selected option */
#jobSelect option:checked {
  background-color: #1f2f63;
  color: #ffffff;
}

/* Show only on mobile (≤ 767px) */
@media (max-width: 767px) {
  #jobSelect {
    display: block;
  }
}



/* Default state */
#JobList .list-group-item {
  background-color: #1f2f63;
  color: #ffffff;
  border: 1px solid #1f2f63;
}

/* Hover state */
#JobList .list-group-item:hover {
  background-color: #ffffff;
  color: #1f2f63;
}

/* Active (clicked) state */
#JobList .list-group-item.active,
#JobList .list-group-item:active {
  background-color: #ffffff !important;
  color: #1f2f63 !important;
  border-color: #1f2f63;
}

#JobList .list-group-item {
  transition: all 0.3s ease;
}

.img_one{
    margin-top: 60px;
}

  
  

.joinus-intro {
  max-width: 820px;
  margin: 0 auto 30px auto;
  text-align: center;
}


/* Intro paragraph */
.intro-text-one {
  max-width: 760px;
  margin: 20px auto 40px;
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  text-align: center;
  font-weight: 400;
}
.intro-text-one::before {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #1f2f63;
  margin: 0 auto 18px;
  border-radius: 2px;
}

@media (max-width: 767px) {
  .intro-text-one {
    font-size: 16px;
    line-height: 1.6;
    padding: 0 12px;
  }
}


    /* Scroll To Top Btn */

#scroll-to-top {
  position: fixed;
  right: 30px;
  bottom: 40px; /* higher than chat box */
  z-index: 10000; /* above everything */
}


#scroll-to-top img {
  width: 40px;   /* make smaller */
  height: auto;
  cursor: pointer;
  opacity: 1;
}

#scroll-to-top img:hover {
  opacity: 1;
}


/* Chat Button */
#chat-btn {
  position: fixed;
  bottom: 100px;
  justify-content: right;  
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: #ff5757;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 9999;
}
#chat-btn img {
    width: 40px;
    height: 40px;
}


/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 320px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  z-index: 9999;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

/* Header */
.chat-header {
  background: #1f2f63;
  color: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-title img {
  width: 28px;
  height: 28px;
}

.close-btn {
  position: absolute;
  top: 8px;
  left: 140px;
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

/* Status */
.chat-status {
  padding: 6px 12px;
  font-size: 12px;
  color: green;
  border-bottom: 1px solid #eee;
}

/* Body */
.chat-body {
  height: 260px;
  padding: 10px;
  overflow-y: auto;
  background: #f8f9fa;
}

/* Messages */
.message {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  max-width: 80%;
  font-size: 14px;
  width: fit-content;        /* 👈 key line */
}

.message.support {
  background: #e9ecef;
  align-self: flex-start;
}

.message.user {
  background: #1f2f63;
  color: white;
  margin-left: auto;
}

/* Footer */
.chat-footer {
  display: flex;
  padding: 10px;
  gap: 8px;
  border-top: 1px solid #eee;
   flex-direction: column;
}

/* 3 buttons row */
.quick-contact {
  display: flex;
  gap: 6px;
}

.quick-contact button {
  flex: 1;
  border: none;
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  color: white;
}

/* Colors */
.quick-contact button:nth-child(1) { background: #06C755; }
.quick-contact button:nth-child(2) { background: #25D366; }
.quick-contact button:nth-child(3) { background: #0068FF; }

/* Input + send row */
.chat-input-row {
  display: flex;
  gap: 8px;
}

.chat-input-row input {
  flex: 1;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid #ccc;
}

.chat-input-row .send-btn {
  margin-top: 0; /* remove old margin */
}

.chat-footer input {
  flex: 1;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid #ccc;
  outline: none;
}

.send-btn {
  background: #1f2f63;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 9px;   /* move down */
}


/* ===== CHAT CONTACT BUTTONS ===== */
.contact-links {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.contact-links a {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  color: white;
  font-weight: 600;
}

.contact-line { background: #06C755; }
.contact-whatsapp { background: #25D366; }
.contact-zalo { background: #0068FF; }

/*chat */

.quick-contact {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}

.quick-contact button {
  flex: 1;
  border: none;
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  color: white;
}

.quick-contact button:nth-child(1) { background: #06C755; }
.quick-contact button:nth-child(2) { background: #25D366; }
.quick-contact button:nth-child(3) { background: #0068FF; }

.chat-contact-img {
  width: 120px;
  margin-top: 6px;
  border-radius: 10px;
  cursor: pointer;
}


/* Contact card title */
.contact-card span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 800;          /* 👈 stronger bold */
  color: #222;               /* 👈 clearer contrast */
  letter-spacing: 0.5px;     /* 👈 more readable */
  text-transform: uppercase;/* 👈 cleaner look */
}
/*chat end*/
/* Language Drop down*/
.flag-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-size: cover;
    display: inline-block;
}


/* button */
.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}


/* dropdown */
.lang-dropdown {
    position: relative;
    margin-right: 12px;
}

.lang-menu {
    display: none;
    position: absolute;
    right: 0;
    background: #e7e7e7;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.lang-menu.show {
    display: block;
}

.lang-menu li {
    list-style: none;
    margin: 6px 0;
}


/* 📱 Mobile tweak*/
@media (max-width: 767px) {
  header h5 a {
    text-decoration: none;
    color: #fff;
}
  .lang-menu {
    right: 0;
    left: auto;
    min-width: 120px;
  }

    .lang-menu {
        padding: 6px;
        border-radius: 8px;
        min-width: auto; /* prevent wide box */
    }

    .lang-menu li {
        margin: 4px 0;
    }

    .flag-circle {
        width: 26px;
        height: 26px;
    }
    .lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: -15px;
    }
}/* Language Drop down*/


/* ===== OUR SERVICES HOVER DROPDOWN ===== */
.services-dropdown {
  position: relative;
  display: inline-block;
}

.services-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-bottom: 6px;
}

.services-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 14px;
}

.services-menu {
  position: absolute;
  top: 100%;              /* 👈 key fix */
  left: 0;
  background: #f9fafc;
  min-width: 220px;
  padding: 12px 0;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  display: none;
  z-index: 3000;
}

.services-dropdown:hover .services-menu {
  display: block;
}

.services-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  color: #242f67;           /* normal text */
  text-decoration: none;
  transition: all 0.2s ease;
}

.services-menu a:hover {
  background-color: #242f67; /* 👈 dark blue hover */
  color: #ffffff;           /* 👈 readable white text */
}


@media (max-width: 767px) {
  .services-menu {
    display: none !important;
  }
}




/* ===== STAFF LOGIN MODAL (NEW UI) ===== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

/* CARD */
.modal-content {
  background: #ffffff;
  width: 360px;
  border-radius: 20px;
  padding: 30px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: scaleIn 0.3s ease;
}

@media (max-width: 767px) {
  .location-info {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 14px;
  }
}


/* ANIMATION */
@keyframes scaleIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* CLOSE BUTTON */
.close {
  position: absolute;
  right: 18px;
  top: 14px;
  font-size: 22px;
  color: #999;
  cursor: pointer;
}

.close:hover {
  color: #e64555;
}

/* AVATAR */
.imgcontainer {
  text-align: center;
  margin-bottom: 15px;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #f25f70;
}

/* FORM */
.container {
  padding: 0;
}

.container label {
  font-size: 13px;
  font-weight: 600;
  color: #444;
}

.container input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  margin: 6px 0 14px;
  font-size: 14px;
  transition: 0.2s;
}

.container input:focus {
  outline: none;
  border-color: #f25f70;
  box-shadow: 0 0 0 3px rgba(242, 95, 112, 0.15);
}

/* LOGIN BUTTON */
.container button[type="submit"] {
  width: 100%;
  background: linear-gradient(135deg, #f25f70, #e64555);
  border: none;
  padding: 12px;
  border-radius: 14px;
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}

.container button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(242, 95, 112, 0.45);
}
/* ==========================================================================
       ISOLATED JOB BOARD SECTION (Prefix: ac-jb-)
       ========================================================================== */
    .ac-jb-wrapper {
        font-family: system-ui, -apple-system, sans-serif;
        color: #334155;
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .ac-jb-header { margin-bottom: 2.5rem; }
    .ac-jb-title {
        font-weight: 800;
        color: #1f2f63;
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    .ac-jb-guide {
        font-size: 1.1rem;
        color: #64748b;
        max-width: 700px;
        line-height: 1.6;
    }

    /* --- Sidebar Navigation --- */
    .ac-jb-list {
        background: #ffffff;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
        padding: 0.5rem;
        box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    }
    .ac-jb-list .list-group-item {
        border: none;
        border-radius: 8px !important;
        margin-bottom: 4px;
        padding: 12px 16px;
        color: #475569;
        font-weight: 500;
        transition: all 0.2s ease;
        background: transparent;
        cursor: pointer;
    }
    .ac-jb-list .list-group-item:hover { background: #f1f5f9; color: #1f2f63; }
    .ac-jb-list .list-group-item.active {
        background: #1f2f63 !important;
        color: #ffffff !important;
        font-weight: 600;
        box-shadow: 0 4px 10px rgba(31, 47, 99, 0.2);
    }

    /* --- Content Box & Details --- */
    .ac-jb-content {
        background: #ffffff;
        border-radius: 16px;
        padding: 2.5rem;
        border: 1px solid #e2e8f0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    }
    .ac-jb-job-title {
        font-weight: 800;
        color: #1f2f63;
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 2px solid #f1f5f9;
    }
    .ac-jb-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 1rem;
    }
    .ac-jb-tag {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        padding: 6px 12px;
        border-radius: 50px;
        font-size: 0.85rem;
        font-weight: 600;
        color: #475569;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
    
    /* Meta list */
    .ac-jb-meta {
        background: #f8fafc;
        border-radius: 8px;
        padding: 1rem 1.5rem;
        margin-bottom: 2rem;
        border: 1px dashed #cbd5e1;
    }
    .ac-jb-meta ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 0.5rem 1rem;
    }
    .ac-jb-meta li { font-size: 0.95rem; margin-bottom: 0 !important; }
    .ac-jb-meta strong { color: #1f2f63; }

    .ac-jb-section-title {
        font-weight: 700;
        color: #0f172a;
        font-size: 1.15rem;
        margin: 2rem 0 1rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .ac-jb-content ul { padding-left: 1.2rem; margin-bottom: 1.5rem; }
    .ac-jb-content li { margin-bottom: 0.75rem; line-height: 1.6; }

    /* --- Call To Action (Apply Button) --- */
    .ac-jb-cta {
        background: linear-gradient(135deg, #f25f70, #d94c5c);
        color: white !important;
        padding: 12px 30px;
        border-radius: 50px;
        font-weight: 700;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: all 0.3s ease;
        border: none;
        box-shadow: 0 4px 15px rgba(217, 76, 92, 0.3);
    }
    .ac-jb-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(217, 76, 92, 0.4);
    }

    /* --- Navigation Controls (Next/Prev) --- */
    .ac-jb-controls {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 3rem;
        padding-top: 1.5rem;
        border-top: 1px solid #e2e8f0;
    }
    .ac-jb-nav-btn {
        background: #f8fafc;
        border: 1px solid #cbd5e1;
        color: #475569;
        padding: 10px 20px;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    .ac-jb-nav-btn:hover:not(:disabled) {
        background: #1f2f63;
        color: white;
        border-color: #1f2f63;
    }
    .ac-jb-nav-btn:disabled { opacity: 0.5; cursor: not-allowed; }

    /* COC Buttons */
    .ac-coc-btn { font-weight: 600; border-radius: 8px; padding: 6px 16px; font-size: 0.9rem; }

    /* --- Mobile Enhancements --- */
    #acJobSelect {
        background-color: #1f2f63;
        color: white;
        font-weight: 600;
        border-radius: 10px;
        padding: 12px;
        border: none;
        box-shadow: 0 4px 12px rgba(31, 47, 99, 0.2);
    }
    @media (max-width: 768px) {
        .ac-jb-content { padding: 1.5rem; }
        .ac-jb-job-title { font-size: 1.5rem; }
        .ac-jb-controls { flex-direction: column-reverse; gap: 15px; }
        .ac-jb-nav-btn { width: 100%; justify-content: center; }
        .ac-jb-meta ul { grid-template-columns: 1fr; }
    }
    /* ==========================================================================
       ISOLATED CAROUSEL & CTA SECTION (Prefix: ac-)
       ========================================================================== */
    .ac-jobs-module {
        padding: 3rem 1rem;
        background-color: transparent;
        font-family: inherit;
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .ac-section-header {
        text-align: center;
        margin-bottom: 2rem;
    }

    .ac-title {
        font-weight: 800;
        color: #1f2f63;
        margin-bottom: 0.75rem;
        font-size: 2.2rem;
    }

    /* --- Text Guides --- */
    .ac-text-guide {
        max-width: 700px;
        margin: 0 auto;
        color: #64748b;
        font-size: 1.05rem;
        line-height: 1.6;
    }

    /* --- Slider Wrapper & Controls --- */
    .ac-slider-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        margin-bottom: 2rem;
    }

    .ac-slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(31, 47, 99, 0.9);
        color: white;
        border: none;
        cursor: pointer;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        transition: all 0.2s ease;
    }
    .ac-slider-btn:hover {
        background: #d94c5c;
        transform: translateY(-50%) scale(1.1);
    }
    .ac-slider-btn.prev { left: -20px; }
    .ac-slider-btn.next { right: -20px; }

    /* Hide arrows on smaller screens to encourage native touch swiping */
    @media (max-width: 768px) {
        .ac-slider-btn { display: none; }
    }

    /* --- Native Scroll-Snap Track --- */
    .ac-slider-track {
        display: flex;
        gap: 1.5rem;
        overflow-x: auto;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        padding: 1rem 5px;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none;  /* IE and Edge */
        width: 100%;
    }
    .ac-slider-track::-webkit-scrollbar {
        display: none; /* Chrome, Safari and Opera */
    }

    /* --- Image Styling --- */
    .ac-slider-track img {
        scroll-snap-align: center;
        width: 280px;
        height: 190px;
        object-fit: cover;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        flex-shrink: 0;
        background-color: #f1f5f9;
    }

    .ac-slider-track img:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }

    /* --- Call To Action (CTA) --- */
    .ac-cta-container {
        text-align: center;
        margin-bottom: 4rem;
    }
    
    .ac-btn-primary {
        background: linear-gradient(135deg, #f25f70, #d94c5c);
        color: #ffffff !important;
        padding: 14px 36px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 1.1rem;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        transition: all 0.3s ease;
        border: none;
        box-shadow: 0 6px 20px rgba(217, 76, 92, 0.25);
    }
    .ac-btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(217, 76, 92, 0.35);
    }
    .ac-btn-primary svg { transition: transform 0.3s ease; }
    .ac-btn-primary:hover svg { transform: translateX(5px); }

    /* --- EEO Statement --- */
    .ac-eeo-text {
        max-width: 800px;
        margin: 3rem auto 0;
        text-align: center;
        font-size: 0.85rem;
        color: #64748b;
        line-height: 1.6;
        padding: 1.5rem;
        background: #f8fafc;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
    }

    /* Mobile Responsiveness */
    @media (max-width: 768px) {
        .ac-title { font-size: 1.75rem; }
        .ac-text-guide { font-size: 0.95rem; padding: 0 1rem; }
        .ac-slider-track img { width: 240px; height: 160px; }
        .ac-slider-track { padding: 1rem 15px; }
    }