/* ============================================================
   BRIGHT SKY HOSPITALITY SERVICES — style.css
   Mobile-first, responsive, lag-free
   ============================================================ */

/* ─── 1. RESET & BASE ─────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors */
  --navy: #1a3a6e;
  --navy-dark: #122b55;
  --navy-deep: #0d2244;
  --orange: #F5A623;
  --orange-hover: #e8961a;
  --green: #28a745;
  --green-hover: #1e8038;
  --white: #ffffff;
  --off-white: #f9f5ee;
  --gray-bg: #f4f6f8;
  --gray: #666;
  --gray-border: #e0e4ea;
  --text: #1e2535;

  /* Spacing — fluid scale */
  --section-pad: clamp(40px, 7vw, 80px);
  --container-pad: clamp(16px, 5vw, 40px);

  /* Typography — fluid */
  --fs-hero: clamp(1.6rem, 4.5vw, 2.7rem);
  --fs-h2: clamp(1.25rem, 2.8vw, 1.75rem);
  --fs-h3: clamp(1rem, 2vw, 1.15rem);
  --fs-body: clamp(0.875rem, 1.6vw, 1rem);
  --fs-small: clamp(0.78rem, 1.4vw, 0.88rem);

  /* Shadows */
  --shadow-sm: 0 2px 12px rgba(26, 58, 110, 0.10);
  --shadow: 0 4px 24px rgba(26, 58, 110, 0.14);
  --shadow-lg: 0 10px 40px rgba(26, 58, 110, 0.18);

  /* Radii */
  --radius: 10px;
  --radius-sm: 6px;

  /* Transition */
  --ease: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  /* Reduce reflow by telling browser about scroll */
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  /* GPU-friendly rendering */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeSpeed;
  overflow-x: hidden;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ─── 2. LAYOUT UTILITY ───────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  width: 100%;
}

/* ─── 3. BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: var(--fs-small);
  cursor: pointer;
  border: none;
  transition:
    background var(--ease),
    box-shadow var(--ease),
    transform var(--ease);
  white-space: nowrap;
  /* Minimum tap target */
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Only lift on non-touch devices */
@media (hover: hover) {
  .btn:hover {
    transform: translateY(-2px);
  }
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
}

@media (hover: hover) {
  .btn-orange:hover {
    background: var(--orange-hover);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.45);
  }
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

@media (hover: hover) {
  .btn-green:hover {
    background: var(--green-hover);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.45);
  }
}

.btn-orange-large {
  background: var(--orange);
  color: var(--white);
  padding: 14px 48px;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-family: inherit;
  min-height: 48px;
  transition: background var(--ease), box-shadow var(--ease), transform var(--ease);
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
  .btn-orange-large:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(245, 166, 35, 0.5);
  }
}

/* Focus styles for keyboard accessibility */
.btn:focus-visible,
.nav-link:focus-visible,
.social-icon:focus-visible,
.contact-item:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

/* ─── 4. NAVBAR ───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
  /* Composited layer for smooth scroll */
  will-change: transform;
  transform: translateZ(0);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  min-height: 44px;
}

.logo-img {
  /* Show real brand colours inside a compact pill */
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  object-position: center;
  display: block;
  /* Rounded pill background so white JPG bg blends in neatly */
  background: none;
  border-radius: 8px;
  padding: 3px 10px;
  /* Subtle shadow to lift it off the navbar */
  /*box-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);*/
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

@media (hover: hover) {
  .logo:hover .logo-img {
    /*box-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);*/
    /*transform: scale(1.03);*/
  }
}

/* Desktop nav links — push to centre */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.82rem, 1.4vw, 0.92rem);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 4px;
  transition: color var(--ease), background var(--ease);
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--ease);
  border-radius: 2px;
}

@media (hover: hover) {
  .nav-link:hover::after {
    width: calc(100% - 28px);
  }

  .nav-link:hover {
    color: var(--white);
  }
}

.nav-link.active::after {
  width: calc(100% - 28px);
}

.nav-link.active {
  color: var(--white);
}

/* Hamburger — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 8px;
  margin-left: auto;
  /* 44×44 tap target */
  min-width: 44px;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay (backdrop) */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 800;
  /* Fade in */
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ─── 5. HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  margin-top: 64px;
  min-height: clamp(320px, 55vw, 520px);
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Contain paint to avoid repaints on children */
  contain: layout paint;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  /* Promote to composited layer */
  will-change: transform;
  transform: translateZ(0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg,
      rgba(13, 34, 68, 0.88) 0%,
      rgba(13, 34, 68, 0.60) 50%,
      rgba(13, 34, 68, 0.20) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: clamp(40px, 8vw, 80px);
  padding-bottom: clamp(40px, 8vw, 80px);
  max-width: 620px;
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
  font-weight: 400;
}

.hero-btn {
  padding: 13px 36px;
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  font-weight: 700;
}

/* ─── 6. ABOUT ────────────────────────────────────────────── */
.about {
  background: var(--white);
  padding: var(--section-pad) 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.about-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  /* Contain visual overflow */
  contain: layout paint;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Only animate on hover / non-touch */
  transition: transform 0.5s ease;
  will-change: transform;
}

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

.section-label {
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.about-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.about-desc {
  color: var(--gray);
  font-size: var(--fs-small);
  margin-bottom: 24px;
  line-height: 1.7;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--navy);
  padding: 10px 14px;
  background: var(--gray-bg);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--navy);
  transition: background var(--ease), transform var(--ease);
  min-height: 44px;
}

@media (hover: hover) {
  .feature-item:hover {
    background: #e4eaf8;
    transform: translateX(3px);
  }
}

.feature-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(26, 58, 110, 0.12);
}

.feature-icon svg {
  width: 16px;
  height: 16px;
}

/* ─── 7. APPLY SECTION ────────────────────────────────────── */
.apply-section {
  background: var(--navy);
  padding: var(--section-pad) 0 calc(var(--section-pad) - 8px);
}

.section-heading-center {
  text-align: center;
  margin-bottom: 28px;
}

.section-title-white {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--white);
  position: relative;
  display: inline-block;
}

.section-title-white::before,
.section-title-white::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 44px;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
}

.section-title-white::before {
  right: calc(100% + 10px);
}

.section-title-white::after {
  left: calc(100% + 10px);
}

.section-sub-white {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--fs-small);
  margin-top: 6px;
}

/* Form layout — pill shape on desktop, stacked on mobile */
.apply-form {
  background: white;
  border-radius: var(--radius);
  padding: clamp(10px, 2vw, 14px) clamp(12px, 2vw, 16px);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  /* flexbox row by default */
  display: flex;
  align-items: stretch;
  gap: 10px;
}

/* Left group: text inputs + upload */
.form-fields {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  /* prevent overflow */
  flex-wrap: wrap;
}

.form-input {
  flex: 1;
  min-width: 100px;
  border: none;
  border-bottom: 1.5px solid transparent;
  outline: none;
  font-size: var(--fs-small);
  color: #444;
  font-family: inherit;
  padding: 10px 6px;
  background: transparent;
  transition: border-color var(--ease);
  min-height: 44px;
}

.form-input::placeholder {
  color: #bbb;
}

.form-input:focus {
  border-bottom-color: var(--navy);
}

.upload-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: 1.5px solid var(--green);
  border-radius: var(--radius-sm);
  color: var(--green);
  font-size: var(--fs-small);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--ease);
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

@media (hover: hover) {
  .upload-label:hover {
    background: rgba(40, 167, 69, 0.08);
  }
}

.apply-submit {
  padding: 10px 22px;
  font-size: var(--fs-small);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Form error message */
.form-error {
  color: #ffcccc;
  font-size: 0.82rem;
  text-align: center;
  min-height: 18px;
  margin-top: -16px;
  margin-bottom: 12px;
  transition: opacity var(--ease);
}

/* Process Steps */
.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  padding: 14px 0 0;
  gap: 0;
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.78rem, 1.5vw, 0.92rem);
  font-weight: 600;
  white-space: nowrap;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(40, 167, 69, 0.4);
  transition: background var(--ease), transform var(--ease);
}

.step-line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.22);
  min-width: 24px;
  max-width: 72px;
  margin: 0 10px;
}

/* ─── 8. TESTIMONIALS ─────────────────────────────────────── */
.testimonials {
  background: var(--off-white);
  padding: var(--section-pad) 0;
}

.section-heading-divider {
  text-align: center;
  margin-bottom: clamp(24px, 4vw, 44px);
  position: relative;
}

.section-heading-divider::before,
.section-heading-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: clamp(40px, 6vw, 90px);
  height: 1.5px;
  background: #ccc;
}

.section-heading-divider::before {
  right: calc(50% + 100px);
}

.section-heading-divider::after {
  left: calc(50% + 100px);
}

.section-title-blue {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--navy);
  display: inline-block;
}

.testimonials-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.carousel-btn {
  background: white;
  color: var(--navy);
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 10;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.carousel-btn:hover {
  background: var(--navy);
  color: white;
}

.carousel-btn.prev-btn {
  left: -22px;
}

.carousel-btn.next-btn {
  right: -22px;
}

.testimonials-grid {
  display: flex !important;
  gap: clamp(16px, 3vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 20px;
  width: 100%;
}

.testimonials-grid::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 calc(100% / 3 - 18px) !important;
  scroll-snap-align: start;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
  contain: layout paint;
}

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

.tcard-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f4f7f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tcard-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  will-change: transform;
}

@media (hover: hover) {
  .testimonial-card:hover .tcard-img {
    transform: scale(1.06);
  }
}

.tcard-body {
  padding: clamp(12px, 2vw, 18px);
}

.tcard-title {
  font-size: clamp(0.88rem, 1.6vw, 1rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.tcard-text {
  font-size: var(--fs-small);
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 14px;
}

.tcard-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-border);
}

.author-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
}

.author-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
}

.author-role {
  font-size: 0.73rem;
  color: var(--gray);
}

/* ─── 9. CONTACT ──────────────────────────────────────────── */
.contact {
  background: white;
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--gray-border);
}

/* Company name banner */
.contact-info-bar {
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 28px) clamp(20px, 4vw, 36px);
  margin-bottom: 36px;
}

.contact-company-name {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.contact-details-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  font-weight: 600;
  color: var(--navy);
  transition: color var(--ease);
  min-height: 44px;
  max-width: 100%;
  min-width: 0;
  -webkit-tap-highlight-color: transparent;
}

.contact-item span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (hover: hover) {
  .contact-item:hover {
    color: var(--orange);
  }

  .contact-item:hover .contact-icon {
    background: #fde9b5;
  }
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--gray-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--ease);
}

.contact-send {
  padding: 12px 36px;
  font-size: clamp(0.88rem, 1.6vw, 0.95rem);
  min-height: 48px;
}

/* ── Team Section ───────────────────────────────────────────── */
.team-section {
  margin-top: 32px;
}

.team-heading {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.team-heading::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--orange);
  border-radius: 2px;
  flex-shrink: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 18px);
}

.team-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px 22px;
  min-width: 0;
  gap: 0;
  transition: transform var(--ease), box-shadow var(--ease);
  /* Coloured top stripe via pseudo-element */
}

/* Coloured accent stripe at top of each card */
.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
}

#team-founder::before {
  background: linear-gradient(90deg, #1a3a6e, #2d5db5);
}

#team-executive::before {
  background: linear-gradient(90deg, #c0392b, #e74c3c);
}

#team-advisor::before {
  background: linear-gradient(90deg, #16793a, #27ae60);
}

#team-partner::before {
  background: linear-gradient(90deg, #7d3c98, #9b59b6);
}

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

/* Avatar circle */
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
  /* Ring border */
  outline: 3px solid white;
  box-shadow: 0 0 0 4px rgba(26, 58, 110, 0.12), 0 6px 20px rgba(0, 0, 0, 0.15);
}

.team-avatar span {
  font-size: 1.65rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  letter-spacing: -0.02em;
}

.team-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.team-name {
  font-size: clamp(0.88rem, 1.5vw, 0.97rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.team-role {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: normal;
  max-width: 100%;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: break-word;
}

/* Role colour badges */
.role-founder {
  background: #dce8ff;
  color: #1a3a6e;
}

.role-executive {
  background: #ffe0de;
  color: #a93226;
}

.role-advisor {
  background: #d4f5e2;
  color: #16793a;
}

.role-partner {
  background: #eedcff;
  color: #7d3c98;
}

/* ── WhatsApp Button (in contact row) ───────────────────────── */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  height: 44px;
  background: #25D366;
  color: white;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
  .btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  }
}

.btn-whatsapp:focus-visible {
  outline: 3px solid #25D366;
  outline-offset: 3px;
}

/* ── WhatsApp Modal ─────────────────────────────────────────── */
.wa-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  /* Fade in */
  animation: waFadeIn 0.2s ease;
}

.wa-modal-overlay[hidden] {
  display: none;
}

@keyframes waFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.wa-modal {
  background: white;
  border-radius: 14px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  position: relative;
  animation: waSlideUp 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes waSlideUp {
  from {
    transform: translateY(30px) scale(0.97);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.wa-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease);
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
  .wa-modal-close:hover {
    background: rgba(255, 255, 255, 0.38);
  }
}

.wa-modal-header {
  background: linear-gradient(135deg, #128c5e, #25D366);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.wa-modal-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-modal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin-bottom: 3px;
}

.wa-modal-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
}

.wa-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.wa-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  display: block;
}

.wa-label span {
  color: #e74c3c;
}

.wa-input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.wa-input:focus {
  border-color: #25D366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}

.wa-input::placeholder {
  color: #bbb;
}

/* Phone row: country code select + digits input */
.wa-phone-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.wa-country-wrapper {
  position: relative;
  height: 46px;
  width: 90px;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  background: white;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.wa-country-wrapper:focus-within {
  border-color: #25D366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}

#wa-country-display {
  pointer-events: none;
  white-space: nowrap;
}

.wa-country-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

border-color: #25D366;
box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}

.wa-phone-digits {
  /* Takes remaining space */
  flex: 1;
  min-width: 0;
}

.wa-hint {
  font-size: 0.73rem;
  color: #999;
  margin-top: 5px;
}

.wa-error {
  font-size: 0.78rem;
  color: #e74c3c;
  font-weight: 500;
  min-height: 18px;
  margin-top: 8px;
}

.wa-send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 50px;
  background: #25D366;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-top: 18px;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
  .wa-send-btn:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  }
}

.wa-send-btn:focus-visible {
  outline: 3px solid #25D366;
  outline-offset: 3px;
}

/* ─── 10. BROCHURE / FOOTER ───────────────────────────────── */
.brochure-section {
  background: var(--navy);
  padding: clamp(40px, 6vw, 64px) 0 0;
}

.brochure-inner {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(40px, 6vw, 60px);
}

.brochure-thumb-wrap {
  width: clamp(120px, 18vw, 200px);
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.45);
}

.brochure-thumb {
  width: 100%;
  height: auto;
  display: block;
}

.brochure-content {
  flex: 1;
  min-width: 0;
}

.brochure-title {
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.brochure-desc {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 22px;
  font-size: var(--fs-small);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px var(--container-pad);
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease), transform var(--ease);
  -webkit-tap-highlight-color: transparent;
  /* 44px touch target via padding trick */
  min-width: 44px;
  min-height: 44px;
}

@media (hover: hover) {
  .social-icon:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-3px);
  }
}

/* ─── 11. TOAST ───────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: clamp(16px, 4vw, 28px);
  right: clamp(16px, 4vw, 28px);
  background: var(--green);
  color: white;
  padding: 14px 22px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 6px 24px rgba(40, 167, 69, 0.4);
  transform: translateY(120px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
  z-index: 9999;
  max-width: calc(100vw - 32px);
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ─── 12. BACK TO TOP ─────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: clamp(70px, 12vw, 88px);
  right: clamp(16px, 4vw, 28px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 500;
  transform: translateY(80px);
  opacity: 0;
  transition: opacity var(--ease), transform var(--ease), background var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) {
  .back-to-top:hover {
    background: var(--orange);
  }
}

/* ─── 13. SCROLL-REVEAL ANIMATIONS ───────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero entrance */
.hero-title {
  animation: fadeUp 0.7s 0.05s ease both;
}

.hero-subtitle {
  animation: fadeUp 0.7s 0.20s ease both;
}

.hero-btn {
  animation: fadeUp 0.7s 0.35s ease both;
}

/* JS-driven scroll reveal class */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── 14. FORM SHAKE ──────────────────────────────────────── */
@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  18% {
    transform: translateX(-9px);
  }

  36% {
    transform: translateX(9px);
  }

  54% {
    transform: translateX(-6px);
  }

  72% {
    transform: translateX(6px);
  }
}

.shake {
  animation: shake 0.42s ease;
}

/* ─── 15. RESPONSIVE — TABLET (≤ 960px) ─────────────────── */
@media (max-width: 960px) {

  /* About: stack vertically */
  .about-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-img-wrap {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  /* Testimonials: 2 columns */
  .testimonial-card {
    flex: 0 0 calc(100% / 2 - 14px) !important;
  }

  /* Team grid: 2x2 on tablet */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Section divider lines shorter */
  .section-heading-divider::before {
    right: calc(50% + 88px);
    width: 40px;
  }

  .section-heading-divider::after {
    left: calc(50% + 88px);
    width: 40px;
  }
}

/* ─── 16. RESPONSIVE — MOBILE NAV (≤ 768px) ─────────────── */
@media (max-width: 768px) {

  /* Show hamburger, hide desktop nav */
  .hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  /* Shrink logo on mobile */
  .logo-img {
    height: 40px;
    max-width: 140px;
    padding: 3px 8px;
  }

  /* Mobile nav drawer — slides down from top */
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    padding: 12px 0 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    z-index: 850;
    /* Hidden state */
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    padding: 13px 24px;
    font-size: 1rem;
    border-radius: 0;
  }

  .nav-link::after {
    bottom: 6px;
    left: 24px;
    transform: none;
  }

  .nav-link.active::after,
  .nav-link:hover::after {
    width: 32px;
  }

  /* Hero */
  .hero-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .hero-content {
    max-width: 100%;
  }

  /* Apply form: stack fields + button */
  .apply-form {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 10px;
  }

  .form-fields {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .form-input {
    border: 1.5px solid #ddd;
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    min-height: 48px;
  }

  .form-input:focus {
    border-color: var(--navy);
  }

  .upload-label {
    justify-content: center;
  }

  .apply-submit {
    min-height: 50px;
    font-size: 1rem;
  }

  /* Steps: 2×2 grid */
  .process-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
    padding-top: 14px;
  }

  .step-line {
    display: none;
  }

  /* Testimonials: 1 column */
  .testimonial-card {
    flex: 0 0 100% !important;
  }

  /* Contact: stack detail row and send button full width */
  .contact-details-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .contact-send {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  /* Team grid: 2 cols on mobile */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Brochure: stacked */
  .brochure-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .brochure-thumb-wrap {
    margin: 0 auto;
  }

  /* Section divider lines: hide */
  .section-heading-divider::before,
  .section-heading-divider::after {
    display: none;
  }

  .section-title-white::before,
  .section-title-white::after {
    display: none;
  }

  /* Footer: already centred by default flex-column */
}

/* ─── 17. RESPONSIVE — SMALL MOBILE (≤ 480px) ───────────── */
@media (max-width: 480px) {

  /* Features grid: 1 column */
  .about-features {
    grid-template-columns: 1fr;
  }

  /* Process steps: 1 column */
  .process-steps {
    grid-template-columns: 1fr;
  }

  /* Team: 1 column on very small screens */
  .team-grid {
    grid-template-columns: 1fr;
  }

  /* Contact items full-width */
  .contact-item {
    width: 100%;
  }

  /* Brochure button: full-width */
  .btn-orange-large {
    width: 100%;
    padding: 14px 24px;
  }

  /* Reduce card padding */
  .tcard-body {
    padding: 14px;
  }

  /* Small fix on hero min-height */
  .hero {
    min-height: 300px;
  }
}

/* ─── 18. LANDSCAPE PHONE FIX (≤ 768px height) ──────────── */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 260px;
  }

  .hero-content {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .hero-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }

  .hero-subtitle {
    margin-bottom: 14px;
  }
}

/* ─── 19. LARGE SCREENS (≥ 1400px) ──────────────────────── */
@media (min-width: 1400px) {
  .container {
    max-width: 1280px;
  }

  .testimonials-grid {
    gap: 32px;
  }
}

.footer-rights-text {
  text-align: center;
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px var(--container-pad) 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.reserved {
  color: rgba(255, 255, 255, 0.60);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  margin: 0;
}

.reserved strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.footer-link {
  color: rgba(255, 255, 255, 0.70);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-link:hover,
.footer-link:active,
.footer-link:focus-visible {
  color: #f97316;
  text-decoration-color: #f97316;
}

.footer-heart {
  color: #f97316;
  display: inline-block;
  animation: heartbeat 1.4s ease-in-out infinite;
}

@keyframes heartbeat {

  0%,
  100% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.3);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.2);
  }

  70% {
    transform: scale(1);
  }
}

[hidden] {
  display: none !important;
}


/* ===== RECRUITER TESTIMONIALS (Message Tabs) ===== */
.recruiter-testimonials {
  padding: 60px 0;
  background: var(--light-bg);
}

.message-tabs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.message-tab {
  display: flex;
  flex-direction: column;
}

.message-bubble {
  background: #f0f4f8;
  border-radius: 20px;
  border-bottom-left-radius: 0;
  padding: 24px;
  margin-bottom: 12px;
  position: relative;
}

.message-bubble p {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}

.message-author {
  padding-left: 12px;
  display: flex;
  flex-direction: column;
}

.message-author strong {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.message-author span {
  color: var(--text-color);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .message-tabs-grid {
    grid-template-columns: 1fr;
  }
}


/* Fix wide title overlapping divider */
.recruiter-testimonials .section-heading-divider::before {
  right: calc(50% + 160px) !important;
}

.recruiter-testimonials .section-heading-divider::after {
  left: calc(50% + 160px) !important;
}