/* ===========================
   5L CONSULTING – STYLESHEET
   Color Palette:
   --teal-primary: #0D9488
   --teal-light:   #F0FDFA
   --teal-mid:     #14B8A6
   --dark-slate:   #1E293B
   --dark-text:    #0F172A
   --body-text:    #374151
   --muted:        #6B7280
   --border:       #E2E8F0
   --white:        #FFFFFF
   --bg-light:     #F1F5F9
=========================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --teal-primary: #0D9488;
  --teal-light: #F0FDFA;
  --teal-mid: #14B8A6;
  --dark-slate: #1E293B;
  --dark-text: #0F172A;
  --body-text: #374151;
  --muted: #6B7280;
  --border: #E2E8F0;
  --white: #FFFFFF;
  --bg-light: #F1F5F9;

  --font: 'Inter', sans-serif;
  --transition: 0.22s ease;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-dropdown: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body-text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
}

.btn-primary {
  background: var(--dark-slate);
  color: var(--white);
  border-color: var(--dark-slate);
}

.btn-primary:hover {
  background: #0f172a;
  border-color: #0f172a;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--dark-slate);
  border-color: var(--dark-slate);
}

.btn-outline:hover {
  background: var(--dark-slate);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: translateY(-1px);
}

.btn-teal {
  background: var(--teal-primary);
  color: var(--white);
  border-color: var(--teal-primary);
}

.btn-teal:hover {
  background: #0b7c71;
  border-color: #0b7c71;
  transform: translateY(-1px);
}

.btn-career {
  background: var(--teal-primary);
  color: var(--white);
  border-color: var(--teal-primary);
  padding: 11px 24px;
  margin-top: 16px;
}

.btn-career:hover {
  background: #0b7c71;
  border-color: #0b7c71;
}

.btn-submit {
  background: var(--dark-slate);
  color: var(--white);
  border: none;
  padding: 15px 36px;
  font-size: 1rem;
  width: 100%;
  justify-content: center;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font);
  font-weight: 600;
  transition: background var(--transition);
}

.btn-submit:hover {
  background: #0f172a;
}

/* ===================================
   NAVBAR (SHARED)
=================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: relative;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark-text);
  flex-shrink: 0;
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--dark-slate);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.logo-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark-text);
}

/* Desktop Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Dropdown Wrapper */
.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--body-text);
  font-size: 0.93rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}

.nav-link:hover,
.nav-link.active {
  color: var(--teal-primary);
  background: var(--teal-light);
}

.nav-link .chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
  stroke: currentColor;
}

.nav-item:hover .chevron,
.nav-item.open .chevron {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  /* start flush under button – no gap */
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dropdown);
  padding: 16px 8px 8px;
  /* top padding creates visual gap INSIDE element */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 100;
}

/* Invisible bridge above the dropdown so cursor can travel over the gap */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-item:hover .dropdown-menu,
.nav-item.open .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 9px 14px;
  text-decoration: none;
  color: var(--body-text);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  line-height: 1.4;
}

.dropdown-item:hover {
  background: var(--teal-light);
  color: var(--teal-primary);
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 8px;
}

/* Contact nav button */
.nav-btn {
  text-decoration: none;
  background: var(--teal-primary);
  color: var(--white);
  padding: 9px 22px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background var(--transition);
  margin-left: 6px;
  white-space: nowrap;
}

.nav-btn:hover {
  background: #0b7c71;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark-text);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 8px 16px 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.open {
  display: flex;
  max-height: 600px;
}

.mobile-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 10px 8px 4px;
}

.mobile-link {
  padding: 9px 8px;
  text-decoration: none;
  color: var(--body-text);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.mobile-link:hover {
  background: var(--teal-light);
  color: var(--teal-primary);
}

.mobile-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

/* ===================================
   SECTION HELPERS
=================================== */
.section {
  padding: 92px 0;
}

.section-light {
  background: var(--bg-light);
}

.section-dark {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%),
    url('assets/img/section_dark_bg.png') center center / cover no-repeat;
  color: var(--white);
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--teal-primary);
  background: var(--teal-light);
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--dark-text);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-dark .section-title {
  color: var(--white);
}

.section-intro {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 52px;
  line-height: 1.7;
}

/* ===================================
   HERO (Homepage)
=================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 118px;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(13, 148, 136, 0.58) 100%),
    url('assets/img/dynamic_hero.png') center center / cover no-repeat;
  animation: heroKenBurns 18s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.badge-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--teal-primary);
  background: var(--teal-light);
  border: 1px solid rgba(13, 148, 136, 0.25);
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

/* Reduced heading ~2-3 sizes from original */
.hero-heading {
  font-size: clamp(1.8rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.hero-highlight {
  color: var(--teal-primary);
}

.hero-para {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Replaced box-style blockquote with a simple teal left-border line */
.hero-statement {
  border-left: 3px solid var(--teal-primary);
  padding: 4px 0 4px 18px;
  font-size: 0.98rem;
  color: var(--white);
  line-height: 1.7;
  margin: 22px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-tagline {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 32px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ===================================
   PAGE HERO (inner pages)
=================================== */
.page-hero {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(13, 148, 136, 0.82) 60%, rgba(15, 23, 42, 0.96) 100%),
    url('assets/img/page_hero_bg.png') center center / cover no-repeat;
  padding: 64px 0 72px;
  position: relative;
}

.page-hero .section-label {
  background: rgba(255, 255, 255, 0.1);
  color: var(--teal-mid);
}

.page-hero-title {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.page-hero-sub {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 620px;
  line-height: 1.7;
}

/* ===================================
   SERVICES PAGE
=================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--teal-primary);
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.93rem;
  color: var(--body-text);
  line-height: 1.68;
  margin-bottom: 12px;
}

.service-sub {
  font-weight: 600;
  color: var(--dark-text) !important;
  margin-top: 12px !important;
}

.service-list {
  list-style: none;
  margin-bottom: 14px;
}

.service-list li {
  font-size: 0.9rem;
  color: var(--body-text);
  padding: 4px 0 4px 18px;
  position: relative;
  line-height: 1.6;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-primary);
}

.service-note {
  font-size: 0.88rem !important;
  color: var(--muted) !important;
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 12px !important;
  margin-top: 8px !important;
}

/* ===================================
   COMMISSIONING LEVELS
=================================== */
.cx-levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.cx-level-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.cx-level-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-primary), var(--teal-mid));
}

.cx-level-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cx-level-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--dark-slate);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 8px;
  margin-bottom: 14px;
}

.cx-level-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 10px;
}

.cx-level-card p {
  font-size: 0.9rem;
  color: var(--body-text);
  line-height: 1.65;
}

.cx-approaches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.cx-approach-card {
  background: var(--dark-slate);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  color: var(--white);
  transition: transform var(--transition);
}

.cx-approach-card:hover {
  transform: translateY(-3px);
}

.cx-approach-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--teal-mid);
}

.cx-approach-icon svg {
  width: 24px;
  height: 24px;
}

.cx-approach-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cx-approach-card p {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

/* ===================================
   CULTURE PAGE
=================================== */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 52px;
}

.culture-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.culture-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.culture-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-light);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--teal-primary);
}

.culture-icon svg {
  width: 20px;
  height: 20px;
}

.culture-card h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.culture-card p {
  font-size: 0.9rem;
  color: var(--body-text);
  line-height: 1.65;
}

.vision-mission {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.vm-card {
  background: var(--white);
  border-left: 4px solid var(--teal-primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.vm-card h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-primary);
  margin-bottom: 12px;
}

.vm-card p {
  font-size: 0.97rem;
  color: var(--body-text);
  line-height: 1.75;
}

/* ===================================
   TEAM PAGE
=================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--dark-slate) 0%, #2d3f57 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

.team-avatar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-primary), var(--teal-mid));
}

.team-body {
  padding: 22px 22px 24px;
}

.team-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  color: var(--teal-primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.88rem;
  color: var(--body-text);
  line-height: 1.65;
  margin-bottom: 14px;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.team-tag {
  font-size: 0.74rem;
  font-weight: 600;
  background: var(--teal-light);
  color: var(--teal-primary);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.team-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 10px;
}

.team-location svg {
  width: 13px;
  height: 13px;
}

/* ===================================
   CAREERS PAGE
=================================== */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 16px;
}

.career-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.career-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.career-icon {
  width: 60px;
  height: 60px;
  background: var(--teal-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--teal-primary);
}

.career-icon svg {
  width: 26px;
  height: 26px;
}

.career-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 10px;
}

.career-card p {
  font-size: 0.93rem;
  color: var(--body-text);
  line-height: 1.65;
  flex: 1;
}

/* Apply Form */
.apply-section {
  scroll-margin-top: 80px;
}

.apply-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
}

.apply-form-wrap h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 8px;
}

.apply-form-wrap p {
  font-size: 0.93rem;
  color: var(--muted);
  margin-bottom: 28px;
}

/* ===================================
   CONTACT PAGE
=================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 52px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 16px;
}

.contact-list {
  list-style: none;
  margin-bottom: 28px;
}

.contact-list li {
  font-size: 0.93rem;
  color: var(--body-text);
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
}

.contact-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-primary);
}

/* Address blocks */
.address-blocks {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.address-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}

.address-country {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-primary);
  margin-bottom: 6px;
}

.address-country svg {
  width: 14px;
  height: 14px;
}

.address-card p {
  font-size: 0.88rem;
  color: var(--body-text);
  line-height: 1.7;
}

.response-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--teal-light);
  border: 1px solid rgba(13, 148, 136, 0.25);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: #0f766e;
  margin-top: 4px;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}

/* Shared Form Styles */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font);
  font-size: 0.92rem;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--dark-text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9CA3AF;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal-primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group input[type="file"] {
  padding: 8px 10px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--muted);
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--teal-light);
  color: #065f59;
  border: 1px solid rgba(13, 148, 136, 0.3);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 12px;
}

.form-success.show {
  display: flex;
}

/* ===================================
   FOOTER (SHARED)
=================================== */
.footer {
  background: var(--dark-slate);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-light .logo-text {
  color: var(--white);
}

.footer-brand .logo-light .logo-badge {
  background: var(--teal-primary);
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 340px;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--teal-mid);
}

.footer-bottom {
  padding: 20px 24px;
  text-align: center;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ===================================
   ANIMATIONS
=================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.55s ease forwards;
  opacity: 0;
}

.fade-up:nth-child(1) {
  animation-delay: 0.05s;
}

.fade-up:nth-child(2) {
  animation-delay: 0.10s;
}

.fade-up:nth-child(3) {
  animation-delay: 0.15s;
}

.fade-up:nth-child(4) {
  animation-delay: 0.20s;
}

.fade-up:nth-child(5) {
  animation-delay: 0.25s;
}

.fade-up:nth-child(6) {
  animation-delay: 0.30s;
}

/* ===================================
   RESPONSIVE
=================================== */
@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 60px 0 80px;
  }

  .section {
    padding: 68px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .apply-form-wrap {
    padding: 28px 20px;
  }
}

@media (max-width: 520px) {
  .hero-cta {
    flex-direction: column;
  }

  .services-grid,
  .cx-levels-grid,
  .culture-grid,
  .careers-grid,
  .cx-approaches,
  .vision-mission,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px 18px;
  }
}

/* ===================================
   FORM PROCESSING OVERLAY & SUCCESS
=================================== */

/* Wrapper needs relative positioning for the overlay */
.form-ajax-wrap {
  position: relative;
}

/* Semi-transparent overlay with spinner */
.form-processing-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 50;
  border-radius: var(--radius-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.form-processing-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.form-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--border);
  border-top-color: var(--teal-primary);
  border-radius: 50%;
  animation: formSpin 0.8s linear infinite;
}

.form-processing-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-text);
  letter-spacing: 0.01em;
}

@keyframes formSpin {
  to { transform: rotate(360deg); }
}

/* Success card shown after form hides */
.form-success-card {
  display: none;
  padding: 32px 32px 32px 28px;
  background: var(--white);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-left: 5px solid var(--teal-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-success-card.show {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  animation: successFadeIn 0.5s ease;
}

.success-checkmark {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--teal-light);
  border: 2px solid var(--teal-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: successPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-checkmark svg {
  width: 22px;
  height: 22px;
  color: var(--teal-primary);
}

.success-content {
  flex: 1;
}

.form-success-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 6px;
}

.form-success-card p {
  font-size: 0.95rem;
  color: var(--body-text);
  line-height: 1.7;
  margin: 0 0 4px;
}

.form-success-card .success-ref {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 10px;
}

@keyframes successFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes successPop {
  0%   { transform: scale(0); }
  100% { transform: scale(1); }
}

/* Error toast for AJAX errors */
.form-error-toast {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  display: none;
}

.form-error-toast.show {
  display: block;
  animation: successFadeIn 0.3s ease;
}