/* ==============================================
   FlexJobs SG - Custom Styles
   Only for sections NOT in the original template
   ============================================== */

:root {
  --hotel-gold: #b08a4a;
  --hotel-gold-dark: #9a763e;
  --hotel-dark: #121212;
  --hotel-surface: #1b1b1b;
  --hotel-text: #f5f1e8;
  --hotel-subtext: #c9c1b4;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
iframe {
  max-width: 100%;
}

/* ---------- Logo ---------- */
.main-nav .logo img {
  height: 66px;
  width: auto;
  margin-top: 22px;
  transition: all 0.3s ease;
}

.background-header .main-nav .logo img {
  height: 52px;
  margin-top: 18px;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 14px;
}

/* ---------- Hero tweaks ---------- */
.hotel-career-hero {
  background-image:
    linear-gradient(90deg, rgba(12, 13, 14, 0.88) 0%, rgba(12, 13, 14, 0.72) 42%, rgba(12, 13, 14, 0.18) 100%),
    url('../images/hero-hotel-careers.png');
  background-position: center center;
  background-size: cover;
  min-height: 760px;
  display: flex;
  align-items: center;
}

.hotel-career-hero:before {
  content: '';
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    linear-gradient(0deg, rgba(12, 13, 14, 0.18), rgba(12, 13, 14, 0));
  pointer-events: none;
}

.hotel-career-hero:after {
  display: none;
}

.hotel-career-hero .container {
  position: relative;
  z-index: 1;
}

.hotel-career-hero .right-image {
  display: none;
}

.hotel-career-hero .left-content {
  margin-right: 0;
  max-width: 680px;
}

.main-banner.hotel-career-hero .left-content h6 {
  color: #d9b66f;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.main-banner.hotel-career-hero .left-content h2 {
  color: #fff;
  max-width: 640px;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

.main-banner.hotel-career-hero .left-content h2 em {
  color: #d9b66f;
}

.main-banner.hotel-career-hero .left-content h2 span {
  color: #fff;
}

.main-banner.hotel-career-hero .left-content p {
  color: #f2eee7;
  max-width: 600px;
}

.hero-roles {
  margin-top: 14px;
  font-size: 14px;
  color: #f2eee7;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 26px;
}

.hero-tags span {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.24);
}

.hotel-career-hero .main-red-button a {
  background: #d9b66f !important;
  color: #111315 !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.hotel-career-hero .main-red-button a:hover {
  background: #fff !important;
  color: #111315 !important;
}

.hero-img {
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  object-fit: cover;
}

/* ---------- Features section ---------- */
.features-section {
  padding: 100px 0 60px;
  background: #f9fafb;
}

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 22px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  margin-bottom: 30px;
  height: calc(100% - 30px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.10);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #03a4ed, #0286c3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon i {
  color: #fff;
  font-size: 24px;
}

.feature-card h5 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2a2a2a;
}

.feature-card p {
  font-size: 14px;
  line-height: 24px;
  color: #5b6574;
}

/* ---------- About image ---------- */
.about-img {
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
  object-fit: cover;
}

/* ---------- Stats strip ---------- */
.stats-strip {
  margin-top: 30px;
}

.stats-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
}

.stats-card h3 {
  font-size: 30px;
  font-weight: 700;
  color: var(--hotel-gold);
  margin: 0;
}

.stats-card p {
  margin: 6px 0 0;
  font-size: 13px;
  color: #5b6574;
}

/* ---------- Position cards ---------- */
.position-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.position-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

.position-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.position-body {
  padding: 24px;
}

.position-body h4 {
  font-size: 20px;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 8px;
}

.salary-tag {
  display: inline-block;
  background: var(--hotel-gold);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

.position-details {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.position-details li {
  font-size: 14px;
  color: #444;
  padding: 5px 0;
  line-height: 22px;
}

.position-details li i {
  color: #03a4ed;
  width: 20px;
  margin-right: 6px;
}

.position-radio {
  padding: 12px 0 0;
  border-top: 1px solid #eef1f6;
}

.position-radio input[type="radio"] {
  accent-color: #fe3f40;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 6px;
}

.position-radio label {
  font-size: 14px;
  font-weight: 500;
  color: #2a2a2a;
  cursor: pointer;
  vertical-align: middle;
}

/* ---------- Process / How To Apply ---------- */
.process-row {
  margin-bottom: 50px;
}

.process-img {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  object-fit: cover;
  width: 100%;
}

.process-text {
  padding: 20px 0;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #03a4ed, #0286c3);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.process-text h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2a2a2a;
}

.process-text p {
  font-size: 15px;
  line-height: 28px;
  color: #555;
}

/* ---------- FAQ section ---------- */
.faq-section {
  padding: 100px 0 80px;
  background: #f9fafb;
}

.faq-item {
  background: #fff;
  border: 1px solid #edf0f5;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-header .btn-link {
  width: 100%;
  text-align: left;
  text-decoration: none;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #2a2a2a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-header .btn-link i {
  font-size: 12px;
  color: #03a4ed;
  transition: transform 0.3s ease;
}

.faq-header .btn-link:not(.collapsed) i {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 20px 16px;
  font-size: 14px;
  line-height: 26px;
  color: #5b6574;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  height: 100%;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-card h5 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #2a2a2a;
}

.testimonial-role {
  font-size: 13px;
  color: #03a4ed;
  font-weight: 500;
}

.testimonial-card p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 24px;
  color: #555;
  font-style: italic;
}

/* ---------- Apply / CTA ---------- */
.apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  padding: 14px 36px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.apply-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.4);
}

/* ---------- Floating WhatsApp Button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float i {
  color: #fff;
  font-size: 32px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .main-nav .logo img {
    height: 40px;
    margin-top: 18px;
  }

  .features-section {
    padding: 60px 0 30px;
  }

  .process-text {
    padding: 20px 0 0;
    text-align: center;
  }

  .process-img {
    max-height: 260px;
  }

  .faq-section {
    padding: 60px 0 40px;
  }
}

@media (max-width: 767px) {
  .stats-card h3 {
    font-size: 24px;
  }

  .position-card img {
    height: 180px;
  }
}


.main-red-button a {
  background: var(--hotel-gold) !important;
}
.main-red-button a:hover {
  background: var(--hotel-gold-dark) !important;
}

#positions .row.mt-4 {
  margin-top: 18px !important;
  margin-bottom: 0 !important;
}
#positions {
  padding-bottom: 50px !important;
}

/* Hotel-style brand block */
.hotel-brands {
  background: #111315;
  padding: 90px 0;
}
.brand-hero h2 {
  color: #f5f5f5;
  font-size: 52px;
  font-weight: 300;
  letter-spacing: 0.4px;
  margin-bottom: 14px;
}
.brand-hero p {
  color: #d4d4d4;
  max-width: 980px;
  line-height: 1.6;
  margin-bottom: 26px;
}
.brand-wall {
  border: 1px solid rgba(255,255,255,0.35);
  padding: 28px 18px;
  background: rgba(255,255,255,0.01);
  overflow: hidden;
}
.brand-tier { margin-bottom: 18px; }
.brand-tier:last-child { margin-bottom: 0; }
.tier-label {
  color: #e5e5e5;
  text-align: center;
  font-weight: 600;
  letter-spacing: 2px;
  margin: 4px 0 12px;
}
.brand-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 12px;
}
.logo-pill,
.brand-logo-card {
  border: 1px solid rgba(255,255,255,0.18);
  color: #f1f1f1;
  border-radius: 6px;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 600;
  text-align: center;
  padding: 14px;
  min-width: 0;
}
.brand-logo-card {
  background: #fff;
  border-color: rgba(255,255,255,0.28);
}
.brand-logo-card img {
  display: block;
  width: 100%;
  max-width: 150px;
  max-height: 42px;
  object-fit: contain;
  filter: grayscale(1) brightness(0);
}
.brand-logo-card--light {
  background: #050505;
}
.brand-logo-card--light img {
  filter: grayscale(1) brightness(0) invert(1);
}
.brand-logo-card--outline {
  background: transparent;
}
.brand-logo-card--outline img {
  filter: grayscale(1) brightness(0) invert(1);
}
@media (max-width: 991px) {
  .hotel-career-hero {
    min-height: auto;
    padding: 180px 0 88px;
    background-image:
      linear-gradient(180deg, rgba(12, 13, 14, 0.86) 0%, rgba(12, 13, 14, 0.74) 46%, rgba(12, 13, 14, 0.52) 100%),
      url('../images/hero-hotel-careers.png');
    background-position: 62% center;
  }
  .main-banner.hotel-career-hero .left-content {
    text-align: left;
  }
  .main-banner.hotel-career-hero .left-content h2 {
    font-size: 42px;
    line-height: 56px;
  }
  .brand-hero h2 { font-size: 36px; }
  .brand-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .hotel-career-hero {
    padding: 164px 0 78px;
    background-position: 63% center;
  }
  .main-banner.hotel-career-hero .left-content {
    text-align: center;
  }
  .main-banner.hotel-career-hero .left-content h6 {
    font-size: 12px;
    line-height: 20px;
  }
  .main-banner.hotel-career-hero .left-content h2 {
    font-size: 38px;
    line-height: 50px;
  }
  .main-banner.hotel-career-hero .left-content p {
    font-size: 15px;
  }
  .hero-tags {
    justify-content: center;
  }
  .brand-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .brand-logo-card {
    min-height: 68px;
  }
  .brand-logo-card img {
    max-width: 116px;
    max-height: 36px;
  }
}

/* Fixed logo sizing to prevent layout break */
.logo img,
img.logo,
.footer-logo {
  max-height: 64px !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
}
@media (max-width: 768px) {
  .logo img,
  img.logo,
  .footer-logo {
    max-height: 48px !important;
  }
}


/* Residency notice */
.residency-notice { font-weight: 800; color: #1f2937; white-space: nowrap; letter-spacing: .01em; }
.header-residency-notice { margin-left: 30px; font-size: 15px; background: #fff8e8; border: 1px solid rgba(190,143,70,.38); border-radius: 999px; padding: 8px 16px; }
.header-area .main-nav { display: flex; align-items: center; }
@media (max-width: 991px) {
  .main-nav { flex-wrap: wrap; }
  .header-residency-notice {
    display: inline-flex;
    order: 3;
    width: 100%;
    margin: 8px 0 0;
    justify-content: center;
    white-space: normal;
    text-align: center;
    font-size: 12px;
    line-height: 1.25;
    padding: 7px 12px;
  }
}
