/* ============================================
   KENICO GLOBAL - Classic Corporate CSS System
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700;800&family=Poppins:wght@300;400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors matching original site */
  --color-primary: #0b1a2d;
  /* Dark Corporate Navy */
  --color-primary-dark: #071220;
  --color-primary-light: #162a45;
  --color-accent: #ff6600;
  /* Vibrant Kenico Orange */
  --color-accent-dark: #e05800;
  --color-accent-light: #ff8533;
  --color-blue: #0066b2;
  /* Section Blue */
  --color-cyan: #00d9b8;
  /* Vision Accent Cyan */

  /* Neutrals */
  --color-white: #ffffff;
  --color-off-white: #f4f6f8;
  --color-footer-bg: #eef0f3;
  --color-light: #e5e8ed;
  --color-grey: #667085;
  --color-dark: #1a1a1a;
  --color-text: #333333;
  --color-text-light: #4a4a5a;

  /* Typography */
  --font-primary: 'Open Sans', 'Roboto', sans-serif;
  --font-poppins: 'Poppins', sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-subheading: 'Roboto', sans-serif;

  /* Layout */
  --container-max: 1200px;

  /* Spacing */
  --section-py: 50px;

  /* Transitions & Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
  --transition-slow: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--color-accent);
  color: var(--color-white);
}

/* --- Images --- */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-style: none;
  transition: var(--transition);
}

.img-fluid,
.img-responsive {
  max-width: 100%;
  height: auto;
}

.img-rounded {
  border-radius: var(--radius-md);
}

.img-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.img-zoom {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.img-zoom img {
  transition: transform 0.5s ease;
}

.img-zoom:hover img {
  transform: scale(1.04);
}

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- Typography (Headings & Paragraphs) --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
}

h4 {
  font-size: 1.15rem;
  font-weight: 600;
}

h5 {
  font-size: 1.02rem;
  font-weight: 600;
}

h6 {
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
  color: var(--color-accent);
}

p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
}

.lead-p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-dark);
  font-weight: 500;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-py) 0;
}

.section-sm {
  padding: 50px 0;
}

.text-center {
  text-align: center;
}

.text-accent {
  color: var(--color-accent);
}

.text-primary {
  color: var(--color-primary);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.section-title {
  margin-bottom: 16px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-accent);
  margin-top: 14px;
  border-radius: 2px;
}

.section-title.center::after {
  margin: 14px auto 0;
}

.section-subtitle {
  max-width: 600px;
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(240, 124, 26, 0.35);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(240, 124, 26, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-dark:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--color-off-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 15px 36px;
  font-size: 1rem;
}

/* --- Top Bar --- */
.topbar {
  background: var(--color-primary);
  color: var(--color-white);
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.08); */
  position: relative;
  z-index: 10;
}

.topbar-right-wrap {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 28px;
  padding-left: 20px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-white);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  height: 100%;
}

.topbar-item:hover {
  color: var(--color-accent-light);
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: currentColor;
}

.topbar-enquiry-block {
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 0 28px;
  text-transform: uppercase;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  text-decoration: none;
}

.topbar-enquiry-block:hover {
  background: var(--color-accent-dark);
  color: var(--color-white);
}

.topbar-enquiry-block svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* --- Header / Navigation --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
  padding: 8px 0;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 0;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-primary);
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-blue);
}

.nav-link .chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.3s;
}

.nav-item:hover .chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
  overflow: hidden;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 11px 18px;
  font-size: 0.875rem;
  color: var(--color-text);
  transition: var(--transition);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.dropdown-link:hover {
  background: var(--color-off-white);
  color: var(--color-accent);
  padding-left: 24px;
}

.dropdown-link:last-child {
  border-bottom: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  border-radius: 50%;
  transition: var(--transition);
  position: relative;
  z-index: 1070;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.nav-toggle.open {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1070;
  background: var(--color-off-white);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-toggle.open span {
  background: var(--color-dark);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Page Banner --- */
.page-banner {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  padding: 60px 0;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/call-center-services.webp') center/cover no-repeat;
  opacity: 0.12;
}

.page-banner-content {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  color: var(--color-white);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: var(--color-accent);
}

.breadcrumb a:hover {
  color: var(--color-accent-light);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-primary-dark);
}

.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(11, 26, 45, 0.62) 0%, rgba(7, 18, 32, 0.86) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240, 124, 26, 0.22);
  border: 1px solid rgba(240, 124, 26, 0.45);
  color: var(--color-accent-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
}

.hero h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.25;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero h1 span {
  color: var(--color-accent);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  margin: 0 auto 36px;
  max-width: 620px;
  text-align: center;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 auto;
}

/* Hero Slider Dots */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.hero-dot.active {
  width: 28px;
  border-radius: 6px;
  background: var(--color-accent);
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--color-primary);
  padding: 28px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 16px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Service Cards --- */
.services-section {
  background: var(--color-off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  border-color: rgba(240, 124, 26, 0.3);
}

.service-card-img {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(11, 26, 45, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.service-card:hover .service-card-img::after {
  opacity: 1;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease;
  transform-origin: center center;
  will-change: transform;
}

.service-card:hover .service-card-img img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.service-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 12px;
}

.service-card-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.service-card:hover .service-card-title::after {
  width: 48px;
}

.service-card-text {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.service-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.service-card-link svg {
  transition: transform 0.3s ease;
}

.service-card:hover .service-card-link svg {
  transform: translateX(5px);
}

.service-card-link:hover {
  gap: 10px;
  color: var(--color-accent-dark);
}

.view-all-wrap {
  text-align: center;
  margin-top: 40px;
}

/* --- Outbound Section --- */
.outbound-section {
  background: var(--color-white);
}

/* --- Why We Section --- */
.why-section {
  background: var(--color-off-white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 32px;
}

.why-feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.why-feature-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-feature-icon svg {
  width: 22px;
  height: 22px;
  color: white;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.why-feature h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  margin: 0;
}

.why-feature p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-text-light);
}

.why-img-wrap {
  position: relative;
}

.why-img-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  max-height: 480px;
}

.why-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-accent);
  color: white;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.why-img-badge .badge-number {
  font-size: 2rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.why-img-badge .badge-text {
  font-size: 0.78rem;
  opacity: 0.9;
  margin-top: 4px;
}

/* --- Grow Section --- */
.grow-section {
  /* background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%); */
  background: #efefed;
  position: relative;
  overflow: hidden;
}

.grow-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(240, 124, 26, 0.12) 0%, transparent 70%);
}

.grow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.grow-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.grow-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* .grow-content h2 {
  color: var(--color-white);
} */

.grow-content p {
  /* color: rgba(255, 255, 255, 0.8); */
  margin: 20px 0 32px;
  font-size: 1.02rem;
  line-height: 1.75;
}

.grow-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- Mission Vision / Success Stories Section --- */
.mv-section {
  background: #005a9c;
  padding: 0;
  overflow: hidden;
}

.mv-container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 520px;
}

.mv-main-card {
  background: linear-gradient(135deg, #005a9c 0%, #00457a 100%);
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--color-white);
}

.mv-main-card .section-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.mv-main-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.25;
  color: var(--color-white);
  font-weight: 700;
  margin-bottom: 20px;
}

.mv-main-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 580px;
}

.mv-main-card .btn {
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  border: none;
  box-shadow: 0 4px 15px rgba(240, 124, 26, 0.35);
  transition: var(--transition);
  text-decoration: none;
}

.mv-main-card .btn:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(240, 124, 26, 0.45);
}

/* Right Side 2x2 Grid */
.mv-right-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.mv-tile {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

.mv-tile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.mv-tile-photo:hover img {
  transform: scale(1.06);
}

/* Mission Tile (Dark Navy) */
.mv-tile-mission {
  background: #071322;
  color: var(--color-white);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Vision Tile (Vibrant Cyan / Teal) */
.mv-tile-vision {
  background: #00d9b8;
  color: #052621;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mv-tile-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  transition: opacity 0.5s ease, transform 0.6s ease;
}

.mv-tile:hover .mv-tile-bg {
  opacity: 0.25;
  transform: scale(1.05);
}

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

.mv-tile-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.mv-tile-mission .mv-tile-title {
  color: var(--color-white);
}

.mv-tile-vision .mv-tile-title {
  color: #052621;
}

.mv-tile-text {
  font-size: 0.86rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.mv-tile-mission .mv-tile-text {
  color: rgba(255, 255, 255, 0.85);
}

.mv-tile-vision .mv-tile-text {
  color: rgba(5, 38, 33, 0.9);
}

.mv-tile-link {
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.mv-tile-mission .mv-tile-link {
  color: var(--color-white);
}

.mv-tile-vision .mv-tile-link {
  color: #052621;
}

.mv-tile-link:hover {
  gap: 10px;
  opacity: 0.85;
}

/* --- Testimonials --- */
.testimonials-section {
  background: var(--color-off-white);
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 50px;
}

.testimonial-slide {
  text-align: center;
  padding: 20px;
}

.testimonial-quote {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: 30px;
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  font-size: 5rem;
  color: var(--color-accent);
  opacity: 0.2;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-author {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.testimonial-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.testimonial-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
}

.testimonial-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-light);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.tdot.active {
  background: var(--color-accent);
  transform: scale(1.3);
}

/* --- Expertise Page Cards --- */
.expertise-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-accent);
  transition: var(--transition);
  margin-bottom: 24px;
}

.expertise-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(4px);
}

.expertise-card h3 {
  color: var(--color-primary);
  margin-bottom: 16px;
}

.expertise-feature {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.expertise-feature-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.expertise-feature strong {
  display: block;
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.expertise-feature p {
  font-size: 0.875rem;
  margin: 0;
}

/* --- Technology Page --- */
.tech-resources {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.tech-resource {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}

.tech-resource:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.tech-resource-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-resource-icon svg {
  width: 20px;
  height: 20px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

.tech-resource strong {
  display: block;
  color: var(--color-accent);
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.tech-resource p {
  font-size: 0.82rem;
  margin: 0;
}

/* --- Inbound/Outbound Services Sidebar Layout --- */
.services-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.services-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-accent);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--color-off-white);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  border: 2px solid transparent;
  transition: var(--transition);
}

.sidebar-link:hover,
.sidebar-link.active {
  background: rgba(240, 124, 26, 0.08);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.sidebar-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  opacity: 0;
  transition: var(--transition);
}

.sidebar-link:hover svg,
.sidebar-link.active svg {
  opacity: 1;
}

.services-main-content h2 {
  margin-bottom: 20px;
}

.services-main-content p {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}

.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 0 48px;
  box-shadow: var(--shadow-md);
}

.contact-form h2 {
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-off-white);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-accent);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(240, 124, 26, 0.12);
}

.form-control::placeholder {
  color: #aaa;
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-submit {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

.contact-info-text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-grey);
  margin-bottom: 4px;
}

.contact-info-text span {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
}

.contact-info-text small {
  font-size: 0.8rem;
  color: var(--color-accent);
}

/* --- Career Page --- */
.career-intro {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  margin-bottom: 60px;
}

.career-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(240, 124, 26, 0.15), transparent 60%);
}

.career-intro-content {
  position: relative;
  z-index: 1;
}

.career-intro h2 {
  color: white;
  margin-bottom: 12px;
}

.career-intro p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 600px;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.training-card {
  background: var(--color-off-white);
  border-radius: var(--radius-md);
  padding: 28px;
  border-top: 3px solid var(--color-accent);
  transition: var(--transition);
}

.training-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.training-card h4 {
  color: var(--color-primary);
  margin-bottom: 14px;
}

.training-list {
  list-style: none;
}

.training-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 6px 0;
  font-size: 0.875rem;
  color: var(--color-text-light);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.training-list li:last-child {
  border-bottom: none;
}

.training-list li::before {
  content: '▸';
  color: var(--color-accent);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Job Opportunities Table */
.jobs-table-wrap {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 36px;
}

.jobs-table {
  width: 100%;
  border-collapse: collapse;
}

.jobs-table th {
  background: var(--color-primary);
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 16px 20px;
  text-align: left;
}

.jobs-table td {
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-light);
}

.jobs-table tr:last-child td {
  border-bottom: none;
}

.jobs-table tr:hover td {
  background: var(--color-off-white);
}

.jobs-table .job-num {
  color: var(--color-grey);
  font-size: 0.82rem;
}

.jobs-table .job-dept {
  font-weight: 600;
  color: var(--color-dark);
}

/* --- Blog Page --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.blog-card-date {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-accent);
  color: white;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  margin: 20px 20px 0;
}

.blog-date-day {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.blog-date-month {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card-body {
  padding: 20px;
}

.blog-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--color-dark);
  line-height: 1.4;
}

.blog-card h3 a:hover {
  color: var(--color-accent);
}

.blog-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.blog-card-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.blog-card-link:hover {
  gap: 10px;
}

/* --- Footer --- */
.footer {
  background: var(--color-off-white);
  padding: 70px 0 0;
  border-top: 1px solid var(--color-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  /* height: 52px; */
  height: auto;
  width: 25%;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--color-grey);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.footer-contact-item a:hover {
  color: var(--color-accent);
}

.footer-contact-item svg {
  width: 15px;
  height: 15px;
  color: var(--color-accent);
}

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--color-grey);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition);
}

.footer-link::before {
  content: '›';
  color: var(--color-accent);
  font-size: 1rem;
}

.footer-link:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-newsletter p {
  font-size: 0.85rem;
  color: var(--color-grey);
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-input {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--color-light);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  outline: none;
  transition: var(--transition);
  background: var(--color-white);
}

.newsletter-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(240, 124, 26, 0.1);
}

.newsletter-btn {
  width: 100%;
  padding: 12px;
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background: var(--color-accent-dark);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Footer Bottom Bar */
.footer-bottom {
  background: var(--color-primary-dark);
  padding: 18px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-link {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-bottom-link:hover {
  color: var(--color-accent);
}

/* --- Loading Screen --- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
}

.loader-logo {
  width: 80px;
  margin: 0 auto 20px;
  animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
  width: 160px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-bar-fill {
  height: 100%;
  background: var(--color-accent);
  border-radius: 2px;
  animation: loadbar 1.8s ease-in-out forwards;
}

@keyframes loadbar {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

@keyframes pulse {

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

  50% {
    transform: scale(1.05);
    opacity: 0.85;
  }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

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

.animate-fade-up {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}

.animate-fade-left {
  opacity: 0;
  animation: fadeInLeft 0.7s ease forwards;
}

.animate-fade-right {
  opacity: 0;
  animation: fadeInRight 0.7s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   RESPONSIVE - Tablet (≤1024px)
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-py: 60px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stat-item:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .why-img-wrap {
    order: -1;
  }

  .why-img-badge {
    bottom: -10px;
    right: 10px;
  }

  .grow-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .grow-img {
    order: -1;
  }

  .grow-img img {
    height: 300px;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-info-card {
    flex: 1;
    min-width: 200px;
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

  .services-sidebar {
    position: static;
  }

  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sidebar-link {
    flex: 1;
    min-width: 140px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-resources {
    grid-template-columns: 1fr;
  }

  .training-grid {
    grid-template-columns: 1fr;
  }

  /* Subpage sidebar stacks */
  .subpage-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   RESPONSIVE - Mobile (≤768px)
   ============================================ */
@media (max-width: 768px) {
  :root {
    --section-py: 48px;
  }

  /* ---- Topbar ---- */
  .topbar {
    height: auto;
    padding: 8px 0;
  }

  .topbar-right-wrap {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    padding: 0 12px;
  }

  .topbar-item {
    font-size: 0.8rem;
  }

  .topbar-enquiry-block {
    padding: 6px 16px;
    font-size: 0.78rem;
  }

  /* ---- Nav Mobile ---- */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 40px;
    box-shadow: var(--shadow-xl);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1060;
    gap: 0;
    overflow-y: auto;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-light);
    border-radius: 0;
    font-size: 0.95rem;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--color-off-white);
    border-radius: 0;
    display: none;
    padding: 4px 0 4px 16px;
  }

  .nav-item.open .dropdown {
    display: block;
  }

  .dropdown-link {
    border-radius: 4px;
    font-size: 0.875rem;
  }

  .nav-cta .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-overlay.open {
    opacity: 1;
    visibility: visible;
  }

  /* ---- Hero ---- */
  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding: 20px 16px;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin: 0 auto;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* ---- Page Banner ---- */
  .page-banner {
    padding: 36px 0;
  }

  .page-banner h1 {
    font-size: 1.4rem;
  }

  /* ---- Stats ---- */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ---- Services & Subpage Layouts ---- */
  .services-layout,
  .subpage-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .sidebar-card {
    position: relative !important;
    top: 0 !important;
    margin-bottom: 8px;
    border-radius: var(--radius-sm) !important;
  }

  .sidebar-header {
    padding: 12px 16px !important;
    font-size: 0.9rem !important;
  }

  .sidebar-menu,
  .sidebar-nav {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    padding: 10px 12px !important;
    gap: 8px !important;
    background: var(--color-off-white) !important;
    -webkit-overflow-scrolling: touch;
  }

  .sidebar-menu-item {
    width: auto !important;
    border-bottom: none !important;
    flex-shrink: 0 !important;
  }

  .sidebar-link {
    padding: 8px 16px !important;
    border-radius: 30px !important;
    background: var(--color-white) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    font-size: 0.85rem !important;
    color: var(--color-dark) !important;
    display: inline-block !important;
  }

  .sidebar-link.active,
  .sidebar-link:hover {
    background: var(--color-accent) !important;
    color: var(--color-white) !important;
    border-color: var(--color-accent) !important;
    padding-left: 16px !important;
  }

  .subpage-content-card,
  .services-main-content {
    padding: 20px 16px !important;
    border-radius: var(--radius-sm) !important;
  }

  .subpage-title {
    font-size: 1.45rem !important;
  }

  .subpage-subtitle {
    font-size: 1.15rem !important;
  }

  /* Force multi-column inline grids to stack on mobile */
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns:repeat(2,1fr)"],
  div[style*="grid-template-columns: repeat(2,1fr)"],
  div[style*="grid-template-columns:repeat(3,1fr)"],
  div[style*="grid-template-columns: repeat(3, 1fr)"],
  div[style*="grid-template-columns: 1.5fr 1fr"],
  div[style*="grid-template-columns: 1fr 380px"],
  div[style*="grid-template-columns: 1fr 300px"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Flex containers with fixed image widths on service subpages */
  .subpage-content-card div[style*="display:flex"],
  .services-main-content div[style*="display:flex"],
  .expertise-card div[style*="display:flex"] {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
  }

  .subpage-content-card img,
  .services-main-content img,
  .expertise-card img,
  .services-main-content div[style*="width:160px"],
  .expertise-card div[style*="width:160px"] {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
    border-radius: var(--radius-sm) !important;
  }

  .why-features {
    grid-template-columns: 1fr;
  }

  .grow-actions {
    flex-direction: column;
  }

  .grow-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* ---- Footer ---- */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* ---- Contact ---- */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .contact-form {
    padding: 24px 16px !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .contact-info {
    flex-direction: column;
  }

  /* ---- Blog ---- */
  .blog-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* ---- Jobs Table ---- */
  .jobs-table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .jobs-table {
    min-width: 480px;
  }

  .jobs-table th,
  .jobs-table td {
    padding: 10px 12px !important;
    font-size: 0.82rem !important;
  }

  /* ---- Mission Vision Section ---- */
  .mv-container {
    grid-template-columns: 1fr !important;
  }

  .mv-main-card {
    padding: 40px 20px !important;
  }

  /* ---- Floating buttons ---- */
  .quick-enquiry-btn {
    font-size: 0.78rem;
    padding: 8px 14px;
    right: 16px;
    bottom: 80px;
  }

  .scroll-top {
    right: 16px;
    bottom: 24px;
  }
}

/* ============================================
   RESPONSIVE - Small Mobile (≤480px)
   ============================================ */
@media (max-width: 480px) {
  h1 {
    font-size: 1.65rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .nav {
    height: auto;
    padding: 8px 0;
  }

  .nav-logo img {
    height: auto;
    width: 55%;
  }

  .hero {
    min-height: 60vh;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 5px 12px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .mv-right-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }

  .mv-tile {
    min-height: 220px !important;
  }

  .careers-intro {
    padding: 50px 0;
  }

  .services-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  /* Horizontal scrollable sidebar pills on small screens */
  .sidebar-nav,
  .sidebar-menu {
    flex-direction: column !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    padding: 8px 10px !important;
  }

  .sidebar-link {
    flex: none !important;
    width: auto !important;
    display: inline-block !important;
  }

  .subpage-content-card {
    padding: 20px 14px;
  }

  .container {
    padding: 0 16px;
  }

  .btn-lg {
    padding: 13px 24px;
    font-size: 0.92rem;
  }

  .footer-contact-item {
    font-size: 0.85rem;
  }
}

/* --- Scroll to Top --- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--color-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--color-accent-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.scroll-top svg {
  width: 18px;
  height: 18px;
  stroke: white;
  fill: none;
  stroke-width: 2.5;
}

/* Quick Enquiry Float */
.quick-enquiry-btn {
  position: fixed;
  bottom: 84px;
  right: 30px;
  background: var(--color-primary);
  color: white;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  z-index: 998;
  text-decoration: none;
}

.quick-enquiry-btn:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
}

.quick-enquiry-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ============================================
   SUBPAGES & SIDEBAR LAYOUT
   ============================================ */
.service-subpage-section {
  padding: 60px 0;
  background: #ffffff;
}

.services-layout,
.subpage-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.services-sidebar,
.sidebar-card {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.sidebar-title,
.sidebar-header {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  background: transparent;
  padding: 0 0 10px 0;
  margin-bottom: 20px;
  border-bottom: 3px solid var(--color-accent);
  border-radius: 0;
}

.sidebar-nav,
.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu-item {
  border: none;
  margin: 0;
  padding: 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f2f4f7;
  color: #333333;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid #e5e8ed;
}

.sidebar-link svg {
  display: none;
}

.sidebar-link:hover {
  background: #e5e8ed;
  color: var(--color-accent);
  padding-left: 20px;
}

.sidebar-link.active,
.sidebar-link.active:hover {
  background: var(--color-accent) !important;
  color: #ffffff !important;
  font-weight: 600;
  padding-left: 20px;
  border-color: var(--color-accent) !important;
}

.subpage-content-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.subpage-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.subpage-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}

.subpage-body p {
  color: var(--color-text-muted);
  line-height: 1.8;
  font-size: 0.98rem;
  margin-bottom: 18px;
}

.subpage-subtitle {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-accent);
  margin: 28px 0 14px;
  font-weight: 700;
}

.subpage-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.subpage-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--color-text);
  line-height: 1.6;
  font-size: 0.95rem;
}

.subpage-list li::before {
  content: '°';
  position: absolute;
  left: 6px;
  top: -2px;
  color: var(--color-text-muted);
  font-weight: bold;
  font-size: 1.2rem;
}

/* ============================================
   SITEMAP PAGE STYLES
   ============================================ */
.sitemap-header-bar {
  background: #b1d1e8;
  padding: 30px 0 50px;
}

.sitemap-header-title {
  background: #f3f3f3;
  color: #666;
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  padding: 12px 20px;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 10px 20px -12px rgba(0, 0, 0, 0.42);
  margin-bottom: 20px;
}

.sitemap-meta {
  color: #666;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.sitemap-container {
  margin-top: -30px;
  margin-bottom: 60px;
  background: #f3f3f3;
  border-radius: 6px;
  padding: 30px;
  box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14);
}

.sitemap-tree {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-head-badge {
  background: #ddd;
  padding: 10px 16px;
  margin: 16px 0 10px;
  font-weight: bold;
  color: var(--color-primary);
  display: flex;
  justify-content: space-between;
  border-radius: 4px;
}

.sitemap-item {
  border-bottom: 1px solid #ddd;
  padding: 10px 12px;
  transition: var(--transition);
}

.sitemap-item:hover {
  background: rgba(0, 0, 0, 0.02);
}

.sitemap-item a {
  color: #0180AF;
  text-decoration: underline;
  font-weight: 500;
}

.sitemap-item a:hover {
  color: var(--color-accent);
}

.sitemap-sublist {
  list-style: none;
  padding-left: 24px;
  margin-top: 8px;
}

@media (max-width: 992px) {
  .subpage-grid {
    grid-template-columns: 1fr;
  }
}