/* ==========================================================================
   ACE WORKFORCE SOLUTIONS - DIGITAL-FIRST INDUSTRIAL RECRUITMENT
   Logo Colors: Royal Blue (#1E75E8), High-Visibility Orange (#FF7700),
   Navy/Dark Blue (#0B386C), Pure White, Neutral Slate
   ========================================================================== */

:root {
  --primary-color: #1a64c4;       /* Royal Brand Blue */
  --primary-dark: #0b2f5c;        /* Deep Navy Blue */
  --primary-light: #2b7deb;       /* Vibrant Tech Blue */
  --secondary-color: #0c437a;     /* Industrial Blue */
  --secondary-light: #165b9e;     /* Medium Blue */
  
  --accent-orange: #ff7700;       /* High-Visibility Brand Orange */
  --accent-orange-hover: #e66a00; /* Darker Brand Orange */
  --accent-orange-light: #fff3e6; /* Soft Orange Tint */
  
  --accent-blue-light: #e8f2ff;   /* Soft Ice Blue Tint */
  --accent-green: #10b981;        /* Emerald Accent */
  --accent-green-light: #d1fae5;  /* Soft Emerald Tint */
  --accent-red: #ef4444;          /* Signal Red */
  --accent-red-light: #fee2e2;    /* Soft Red Tint */

  --bg-light: #f8fbff;
  --bg-alt: #eef5fc;
  --white: #ffffff;
  --text-dark: #0b1e36;
  --text-muted: #4b627f;
  --text-light: #889bb3;
  --border-color: #dce7f5;
  --border-dark: rgba(255, 255, 255, 0.15);

  --border-radius-sm: 8px;
  --border-radius: 14px;
  --border-radius-lg: 22px;
  --squircle-radius: 24px;
  
  --card-shadow: 0 10px 30px -5px rgba(26, 100, 196, 0.08), 0 4px 6px -2px rgba(26, 100, 196, 0.04);
  --card-shadow-hover: 0 20px 40px -8px rgba(26, 100, 196, 0.18), 0 8px 12px -3px rgba(26, 100, 196, 0.1);
  --card-shadow-dark: 0 15px 35px -5px rgba(11, 47, 92, 0.45);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

/* Layout Utilities */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.section-padding {
  padding: 3.25rem 0;
}

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.grid {
  display: grid;
  gap: 1.5rem;
}

/* ==========================================================================
   TYPOGRAPHY - POPPINS SYSTEM
   Main Headings (h1, h2, brand): Bold (700 / 800)
   Sub Headings (h3, h4, h5): Semi-Bold (600)
   Body / Paragraphs: Regular (400)
   ========================================================================== */
h1, h2, h3, h4, h5, h6, .brand-font {
  font-family: 'Poppins', sans-serif;
  color: var(--primary-dark);
  line-height: 1.25;
}

/* Main Headings: Bold */
h1, h2 {
  font-weight: 700;
}

h1 {
  font-size: 3.1rem;
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: 2.3rem;
  letter-spacing: -0.3px;
  margin-bottom: 1rem;
}

/* Sub Headings: Semi-Bold */
h3, h4, h5 {
  font-weight: 600;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

h4 {
  font-size: 1.15rem;
}

/* Body: Regular */
p {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.lead-text {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.75;
}

/* Section Tags / Badges */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-orange);
  background: var(--accent-orange-light);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 119, 0, 0.2);
}

.section-tag.blue {
  color: var(--primary-color);
  background: var(--accent-blue-light);
  border-color: rgba(26, 100, 196, 0.2);
}

.section-tag.emerald {
  color: var(--primary-color);
  background: var(--accent-blue-light);
  border-color: rgba(26, 100, 196, 0.2);
}


/* Hero Badge Highlight */
.hero-badge-container {
  margin-bottom: 1.25rem;
}

.hero-highlight-tag {
  font-size: 0.96rem;
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(26, 100, 196, 0.12), rgba(255, 119, 0, 0.12));
  border: 2px solid rgba(26, 100, 196, 0.35);
  color: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(26, 100, 196, 0.12);
  letter-spacing: 0.8px;
  animation: badgeGlow 3s ease-in-out infinite alternate;
}

.hero-highlight-tag i {
  color: var(--accent-orange);
  font-size: 1.1rem;
}

@keyframes badgeGlow {
  0% { box-shadow: 0 4px 14px rgba(26, 100, 196, 0.15); border-color: rgba(26, 100, 196, 0.3); }
  100% { box-shadow: 0 6px 22px rgba(255, 119, 0, 0.25); border-color: rgba(255, 119, 0, 0.45); }
}

.hero-main-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.highlight {
  position: relative;
  display: inline-block;
  z-index: 1;
  color: var(--primary-color);
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 12px;
  background: linear-gradient(90deg, var(--accent-orange-light), #ffd2a6);
  opacity: 0.7;
  z-index: -1;
  border-radius: 4px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: normal;
  text-align: center;
  word-break: break-word;
  max-width: 100%;
  box-sizing: border-box;
}



.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(26, 100, 196, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(26, 100, 196, 0.4);
  color: var(--white);
}

.btn-orange {
  background-color: var(--accent-orange);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 119, 0, 0.35);
}

.btn-orange:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 119, 0, 0.45);
  color: var(--white);
}

.btn-emerald {
  background-color: var(--accent-orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(255, 119, 0, 0.3);
}

.btn-emerald:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 119, 0, 0.45);
  color: var(--white);
}


.btn-outline-dark {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(26, 100, 196, 0.15), inset 0 1px 0 rgba(255,255,255,0.4);
}

.btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: var(--accent-orange);
  color: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(255, 119, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 1.05rem 2.25rem;
  font-size: 1.08rem;
}

/* Backgrounds & Text Modifiers */
.bg-light { background-color: var(--bg-light); }
.bg-alt { background-color: var(--bg-alt); }
.bg-dark { background-color: var(--primary-dark); color: var(--white); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }
.bg-dark p { color: #d1e1f5; }

.bg-blue-dark { background-color: #0b3260; color: var(--white); }
.bg-blue-dark h1, .bg-blue-dark h2, .bg-blue-dark h3, .bg-blue-dark h4 { color: var(--white); }
.bg-blue-dark p { color: #d1e1f5; }

.white-text { color: var(--white) !important; }
.orange-text { color: var(--accent-orange) !important; }
.blue-text { color: var(--primary-color) !important; }
.green-text { color: var(--accent-green) !important; }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220, 231, 245, 0.9);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 6px 24px rgba(26, 100, 196, 0.09);
  padding: 0.2rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  gap: 2rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-img-header {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(26, 100, 196, 0.12);
}

.logo-text {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.logo-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.1;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-orange);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  flex-shrink: 1;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
  letter-spacing: 0.1px;
}

.nav-links a:hover {
  color: var(--accent-orange);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--accent-orange), #ff9933);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Intermediate Laptop/Tablet Navbar handling */
@media (max-width: 1200px) {
  .nav-container {
    gap: 1.25rem;
  }
  .nav-links {
    gap: 1.15rem;
  }
  .nav-links a {
    font-size: 0.86rem;
  }
  .logo-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 992px) {
  .mobile-toggle {
    display: block !important;
  }
  .nav-actions {
    display: none !important;
  }
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 2.25rem 1.75rem;
    gap: 1.35rem;
    box-shadow: 0 20px 40px rgba(11, 47, 92, 0.15);
    border-bottom: 2px solid var(--accent-orange);
    transform: translateY(-160%);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }
  .nav-links.active {
    transform: translateY(0);
  }
  .nav-links a {
    font-size: 1.05rem;
    font-weight: 600;
  }
}


/* Mobile Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 26px;
  height: 2.5px;
  margin: 5px 0;
  background-color: var(--primary-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding: 3rem 0 3.5rem;
  background: radial-gradient(circle at 50% 15%, rgba(232, 242, 255, 0.9) 0%, rgba(255, 255, 255, 1) 75%);
  overflow: hidden;
}

.hero-ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: rgba(255, 119, 0, 0.12);
  top: 10%;
  left: -100px;
}

.blob-2 {
  width: 450px;
  height: 450px;
  background: rgba(26, 100, 196, 0.12);
  bottom: 5%;
  right: -100px;
}

.hero-container {
  position: relative;
  z-index: 1;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Desktop: side cards wrappers allow absolute floating freely */
.hero-side-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.hero-side-cards .hero-card {
  pointer-events: all;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 2.5rem 2.2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 40px -10px rgba(26, 100, 196, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.95);
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
}


/* Floating Squircle Profile Cards */
.hero-card {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: var(--squircle-radius);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(11, 47, 92, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
  border: 3px solid var(--white);
  transition: transform 0.3s ease;
  animation: floatCard 6s ease-in-out infinite;
}

.hero-card:hover {
  transform: scale(1.06) translateY(-5px) !important;
  box-shadow: 0 22px 45px rgba(255, 119, 0, 0.3);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-card .card-info {
  position: relative;
  z-index: 2;
  padding: 8px 10px;
  background: linear-gradient(to top, rgba(11, 47, 92, 0.95) 0%, rgba(11, 47, 92, 0.65) 70%, transparent 100%);
  text-align: left;
}

.hero-card .candidate-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  line-height: 1.15;
}

.hero-card .candidate-role {
  font-size: 0.68rem;
  color: var(--accent-orange);
  font-weight: 600;
  display: block;
}

.hero-card .candidate-loc {
  font-size: 0.62rem;
  color: #d1e1f5;
  display: block;
}

.card-tl {
  top: 8%;
  left: 3%;
  background: var(--accent-blue-light);
  animation-delay: 0s;
  transform: rotate(-4deg);
}

.card-bl {
  bottom: 12%;
  left: 6%;
  background: var(--accent-orange-light);
  animation-delay: 1.6s;
  transform: rotate(3deg);
}

.card-tr {
  top: 18%;
  right: 4%;
  background: var(--accent-blue-light);
  animation-delay: 0.8s;
  transform: rotate(5deg);
}

.card-br {
  bottom: 6%;
  right: 7%;
  background: var(--accent-orange-light);
  animation-delay: 2.4s;
  transform: rotate(-3deg);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(1deg); }
}

/* Hero Stats Ticker */
.hero-stats-banner {
  margin-top: 2rem;
  background: var(--white);

  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-alt);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.stat-item:nth-child(1) .stat-icon-wrap { background: var(--accent-blue-light); color: var(--primary-color); }
.stat-item:nth-child(2) .stat-icon-wrap { background: var(--accent-orange-light); color: var(--accent-orange); }
.stat-item:nth-child(3) .stat-icon-wrap { background: var(--accent-blue-light); color: var(--primary-color); }
.stat-item:nth-child(4) .stat-icon-wrap { background: var(--accent-orange-light); color: var(--accent-orange); }


.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   WHO WE ARE SECTION
   ========================================================================== */
.who-we-are-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.who-content p {
  margin-bottom: 1.25rem;
}

.contrast-cards {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.75rem 0;
}

.contrast-card {
  background: var(--white);
  padding: 1.15rem 1.4rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent-orange);
  box-shadow: 0 4px 15px rgba(26, 100, 196, 0.05);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.contrast-card:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 25px rgba(26, 100, 196, 0.1);
}

.contrast-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-orange-light);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contrast-text {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.difference-punchline {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.who-visual-box {
  position: relative;
}

.who-image-main {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow-hover);
  position: relative;
}

.who-image-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.who-floating-badge {
  position: absolute;
  bottom: -20px;
  right: -15px;
  background: var(--primary-dark);
  color: var(--white);
  padding: 1.4rem 1.75rem;
  border-radius: var(--border-radius);
  box-shadow: 0 15px 35px rgba(11, 47, 92, 0.4);
  max-width: 290px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.who-floating-badge h4 {
  color: var(--accent-orange);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.who-floating-badge p {
  color: #e2e8f0;
  font-size: 0.88rem;
  margin-bottom: 0;
  line-height: 1.45;
}

/* ==========================================================================
   WHAT WE DO (SPECIALISATIONS)
   ========================================================================== */
.spec-filter-wrapper {
  margin: 2.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.spec-search-bar {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  width: 100%;
}

.spec-search-input {
  width: 100%;
  padding: 0.9rem 1.25rem 0.9rem 3rem;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(26, 100, 196, 0.05);
  transition: var(--transition);
}

.spec-search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 6px 18px rgba(26, 100, 196, 0.15);
}

.search-icon-fixed {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1.1rem;
}

.spec-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.spec-tab-btn {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 0.55rem 1.15rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.spec-tab-btn:hover {
  background: var(--bg-alt);
  color: var(--primary-color);
}

.spec-tab-btn.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(26, 100, 196, 0.25);
}

/* ==========================================================================
   WHAT WE DO — DARK GLASSMORPHISM SECTION
   ========================================================================== */
.what-we-do-dark {
  background: linear-gradient(135deg, #081830 0%, #0b2f5c 40%, #0d1f40 70%, #160a28 100%);
  position: relative;
  overflow: hidden;
}

.what-we-do-dark::before {
  content: '';
  position: absolute;
  top: -120px; left: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 119, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.what-we-do-dark::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(26, 100, 196, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

/* Headings override for dark section */
.what-we-do-dark h2 { color: #ffffff; }
.what-we-do-dark .lead-text { color: rgba(200, 220, 255, 0.8); }

/* Search bar on dark bg */
.what-we-do-dark .spec-search-bar {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
.what-we-do-dark .spec-search-input {
  background: transparent;
  color: #ffffff;
}
.what-we-do-dark .spec-search-input::placeholder { color: rgba(200, 220, 255, 0.5); }
.what-we-do-dark .search-icon-fixed { color: rgba(200, 220, 255, 0.6); }

/* Filter tabs on dark bg */
.what-we-do-dark .spec-tab-btn {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(200, 220, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.15);
}
.what-we-do-dark .spec-tab-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}
.what-we-do-dark .spec-tab-btn.active {
  background: var(--accent-orange);
  color: var(--white);
  border-color: var(--accent-orange);
  box-shadow: 0 4px 18px rgba(255, 119, 0, 0.4);
}


.spec-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}


/* Glassmorphism Spec Cards */
.spec-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 1.85rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.spec-card::before {
  display: none;
}

.spec-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(26, 100, 196, 0.3);
}

.spec-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.spec-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-blue-light);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  color: var(--primary-color);
}

.spec-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.spec-card-subtitle {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
}

.role-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  align-items: center;
}

.role-tag {
  background: var(--bg-alt);
  color: var(--text-dark);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(220, 231, 245, 0.8);
  transition: var(--transition);
  flex-grow: 0;
  flex-shrink: 0;
  text-align: center;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.role-tag:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  transform: scale(1.04);
}

.role-tag.match-highlight {
  background: var(--accent-orange-light);
  color: #c25700;
  border-color: var(--accent-orange);
  font-weight: 700;
}


/* ==========================================================================
   INDUSTRIES WE RECRUIT FOR
   ========================================================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.industry-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-orange));
  opacity: 0;
  transition: var(--transition);
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-icon {
  font-size: 2.6rem;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.industry-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.industry-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   WHY INDUSTRIAL RECRUITMENT IS DIFFERENT (CASE STUDY)
   ========================================================================== */
.diff-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.diff-case-study {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--card-shadow-hover);
  border: 1px solid var(--border-color);
}

.case-study-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--accent-orange-light);
  color: var(--accent-orange);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.criteria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0 0.5rem;
}

.criteria-pill {
  background: var(--bg-alt);
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border-color);
}

.criteria-pill span.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-orange);
  flex-shrink: 0;
}

/* ==========================================================================
   HOW WE RECRUIT (7-STEP DIGITAL-FIRST PROCESS)
   ========================================================================== */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3.5rem;
  position: relative;
}

.process-step-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem 2.25rem;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 2rem;
  transition: var(--transition);
  position: relative;
}

.process-step-card:hover {
  transform: translateX(8px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(26, 100, 196, 0.3);
}

.step-num-badge {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(26, 100, 196, 0.25);
  flex-shrink: 0;
}

.process-step-card:nth-child(even) .step-num-badge {
  background: linear-gradient(135deg, var(--accent-orange), #d96200);
}

.step-info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
  color: var(--primary-dark);
}

.step-info p {
  margin-bottom: 0.6rem;
  font-size: 0.98rem;
}

.step-tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.step-tag-pill {
  background: var(--bg-alt);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-color);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

/* ==========================================================================
   WHY CHOOSE ACE (7 PILLARS)
   ========================================================================== */
.why-ace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.why-ace-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
}

.why-ace-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(26, 100, 196, 0.3);
}

.why-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-blue-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.why-ace-card:nth-child(even) .why-icon-circle {
  background: var(--accent-orange-light);
  color: var(--accent-orange);
}

.why-ace-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--primary-dark);
}

.why-ace-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ==========================================================================
   WHAT PROBLEMS DOES ACE SOLVE (PAIN POINTS & SOLUTIONS)
   ========================================================================== */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.problem-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2.2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

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

.quote-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.quote-icon {
  color: var(--accent-orange);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.problem-quote {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 600;
  color: var(--primary-dark);
}

.solution-box {
  background: var(--accent-blue-light);
  border-left: 4px solid var(--primary-color);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
}

.solution-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-color);
  margin-bottom: 0.35rem;
  display: block;
}

.solution-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 0;
}

/* ==========================================================================
   HIRING DELAYS / OPERATIONAL CASCADE
   ========================================================================== */
.cascade-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 3rem 0 2rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.cascade-step {
  flex: 1;
  min-width: 190px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1.5rem 1.2rem;
  border-radius: var(--border-radius);
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.cascade-step:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.cascade-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.cascade-step h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.cascade-arrow {
  color: var(--accent-orange);
  font-size: 1.6rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ==========================================================================
   GEOGRAPHIC TALENT RADAR (HYDERABAD & ALL-INDIA)
   ========================================================================== */
.geo-container {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 2.75rem;
  align-items: center;
}

@media (max-width: 768px) {
  .geo-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.radar-card-wrap {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: 0 15px 35px -5px rgba(26, 100, 196, 0.12);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.radar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  gap: 1rem;
}

.hub-corridors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.corridor-pill {
  background: var(--bg-alt);
  padding: 0.85rem 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-color);
  gap: 0.5rem;
  transition: var(--transition);
  min-width: 0;
}

.corridor-pill:hover {
  border-color: var(--primary-color);
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(26, 100, 196, 0.08);
}

.corridor-pill .source-city {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.84rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.corridor-pill .dest-pill {
  background: var(--primary-color);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.32rem 0.6rem;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  letter-spacing: 0.2px;
}



/* ==========================================================================
   WHAT MAKES ACE DIFFERENT (COMPARISON TABLE / CARDS)
   ========================================================================== */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.compare-card {
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  position: relative;
}

.compare-card.traditional {
  background: var(--white);
  border: 2px dashed #cbd5e1;
}

.compare-card.ace-way {
  background: linear-gradient(145deg, var(--primary-dark), var(--primary-color));
  color: var(--white);
  box-shadow: 0 20px 45px rgba(26, 100, 196, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.compare-card.ace-way h3, .compare-card.ace-way h4 {
  color: var(--white);
}

.compare-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.traditional .compare-badge {
  background: #fee2e2;
  color: #991b1b;
}

.ace-way .compare-badge {
  background: var(--accent-orange);
  color: var(--white);
}

.flow-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 1.5rem 0;
}

.flow-badge {
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

.traditional .flow-badge {
  background: var(--bg-alt);
  color: var(--text-dark);
}

.ace-way .flow-badge {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.compare-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.compare-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

/* ==========================================================================
   WHEN SHOULD YOU USE A SPECIALIST RECRUITMENT AGENCY?
   ========================================================================== */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.scenario-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.scenario-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--accent-orange);
}

.scenario-num {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 0.75rem;
}

.scenario-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.scenario-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ==========================================================================
   FREQUENTLY ASKED QUESTIONS (ACCORDION)
   ========================================================================== */
.faq-wrap {
  max-width: 850px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 1.4rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  border-radius: 0;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-family: 'Poppins', sans-serif;
  color: var(--primary-color);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  background: var(--accent-orange);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.75rem;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 1.75rem 1.4rem;
}

.faq-answer p {
  margin-bottom: 0;
  font-size: 1rem;
}

/* ==========================================================================
   DUAL ACTION SECTIONS (EMPLOYERS & CANDIDATES)
   ========================================================================== */
.dual-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.dual-card {
  border-radius: var(--border-radius-lg);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.dual-card.employer-card {
  background: linear-gradient(145deg, var(--primary-dark), #14467d);
  color: var(--white);
  box-shadow: 0 20px 45px rgba(11, 47, 92, 0.4);
}

.dual-card.candidate-card {
  background: linear-gradient(145deg, #0c3d70, var(--primary-color));
  color: var(--white);
  box-shadow: 0 20px 45px rgba(26, 100, 196, 0.35);
}

.dual-card h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.dual-card p {
  color: #e2e8f0;
  font-size: 1.05rem;
}

.checklist-items {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.96rem;
  font-weight: 500;
}

.check-orange {
  color: var(--accent-orange);
  font-weight: 700;
}

/* ==========================================================================
   MANIFESTO BANNER
   ========================================================================== */
.manifesto-section {
  background: radial-gradient(circle at center, #113d70 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 5.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.manifesto-quote {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.manifesto-pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.manifesto-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.manifesto-pill .pill-num {
  font-weight: 800;
  color: #ffffff;
}



/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--primary-dark);
  color: #9bb5d6;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand h3 {
  color: var(--white);
  margin-bottom: 0.85rem;
}

.footer-brand p {
  color: #c0d5ed;
  font-size: 0.94rem;
  margin-bottom: 1.25rem;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c0d5ed;
  font-size: 1.05rem;
  text-decoration: none;
  transition: var(--transition);
}

.social-icon-btn:hover {
  background: var(--accent-orange);
  color: var(--white);
  border-color: var(--accent-orange);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255, 119, 0, 0.4);
}


.footer-col h4 {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  color: #a4c0e3;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--accent-orange);
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-powered-by {
  color: #a4c0e3;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-powered-by strong {
  color: var(--accent-orange);
  font-weight: 700;
}

/* ==========================================================================
   MODALS (FORMS)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 20, 0.55);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--bg-alt);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-dark);
}

.modal-close:hover {
  background: var(--accent-orange);
  color: var(--white);
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(26, 100, 196, 0.15);
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2.0rem; }

  .hero-card {
    width: 130px;
    height: 130px;
  }

  .card-tl { top: 2%; left: 1%; }
  .card-bl { bottom: 2%; left: 1%; }
  .card-tr { top: 2%; right: 1%; }
  .card-br { bottom: 2%; right: 1%; }

  .hero-mobile-cards { display: none; }

  .hero-stats-banner { grid-template-columns: 1fr 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .scenarios-grid { grid-template-columns: 1fr 1fr; }
  .who-we-are-container { grid-template-columns: 1fr; }
  .diff-container { grid-template-columns: 1fr; }
  .geo-container { grid-template-columns: 1fr; }
  .footer-top-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.85rem; line-height: 1.25; }
  h2 { font-size: 1.55rem; }
  h3 { font-size: 1.2rem; }
  
  .section-padding { padding: 2.5rem 0; }


  /* ====================================================
     HERO SECTION ON MOBILE (Clean & Compact)
     ==================================================== */
  .hero { 
    padding: 2.25rem 0 2.5rem; 
  }
  
  .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: unset;
    padding: 0;
    width: 100%;
  }

  /* Hide floating corner cards on mobile to avoid overcrowding */
  .hero-side-cards {
    display: none;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    padding: 1.75rem 1.25rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: 0 15px 35px -5px rgba(26, 100, 196, 0.12);
  }

  .hero-main-title {
    font-size: 1.85rem;
    margin-bottom: 0.85rem;
  }

  /* Hide secondary paragraph on mobile */
  .hero-secondary-desc {
    display: none;
  }


  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats-banner { 
    grid-template-columns: 1fr; 
    padding: 1.25rem; 
    margin-top: 2rem;
  }

  
  .process-step-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .step-num-badge {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .spec-filter-wrapper {
    margin: 1.5rem 0 1.25rem;
    gap: 0.85rem;
  }
  
  .spec-tabs {
    gap: 0.4rem;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .spec-tabs::-webkit-scrollbar {
    display: none;
  }

  .spec-tab-btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .spec-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
  }

  .spec-card {
    padding: 1.25rem;
  }

  .spec-card-header {
    gap: 0.75rem;
    margin-bottom: 0.85rem;
  }

  .spec-card-icon {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
    border-radius: 10px;
  }

  .spec-card h3 {
    font-size: 1.05rem;
  }

  .spec-card-subtitle {
    font-size: 0.78rem;
  }

  .role-tags-wrap {
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }

  .role-tag {
    font-size: 0.74rem;
    padding: 0.28rem 0.65rem;
  }

  .industries-grid,
  .problems-grid,
  .comparison-grid,
  .scenarios-grid,
  .dual-cta-grid,
  .criteria-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .dual-card {
    padding: 1.75rem 1.25rem;
  }

  .dual-card h2 {
    font-size: 1.55rem;
  }

  .dual-card .btn {
    padding: 0.85rem 1.1rem;
    font-size: 0.9rem;
    line-height: 1.35;
    white-space: normal;
    text-align: center;
  }

  /* Geographic Radar / Corridors on mobile */
  .geo-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .radar-card-wrap {
    padding: 1.35rem 1rem;
  }

  .radar-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .hub-corridors-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .corridor-pill {
    padding: 0.75rem 0.9rem;
    gap: 0.5rem;
  }

  .corridor-pill .source-city {
    font-size: 0.84rem;
  }

  .corridor-pill .dest-pill {
    font-size: 0.72rem;
    padding: 0.25rem 0.55rem;
  }

  /* Modal on mobile */
  .modal-overlay {
    padding: 0.75rem;
  }

  .modal-container {
    padding: 1.5rem 1.15rem;
    max-height: 94vh;
  }

  .modal-container h2 {
    font-size: 1.45rem !important;
  }

  .modal-container .btn {
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
  }

  .who-floating-badge {
    position: static;
    max-width: 100%;
    margin-top: 1rem;
  }

  .footer-top-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  
  .form-row { grid-template-columns: 1fr; }
  
  .cascade-flow { flex-direction: column; }
  .cascade-arrow { transform: rotate(90deg); margin: 0.5rem 0; }
  .cascade-step { width: 100%; }

}
