/* ==========================================================================
   NAUKRI INDIA - MODERN & FULLY RESPONSIVE STYLESHEET
   Clean Corporate Theme (Navy, Slate, Crisp White, Accent Gold, Emerald)
   Mobile, Tablet, Laptop & Ultra-Wide Desktop Responsive Design System
   ========================================================================== */

:root {
  --primary-color: #0f2b48;
  --primary-hover: #1b4570;
  --primary-dark: #091a2c;
  --accent-color: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-gold: #f59e0b;
  --accent-emerald: #10b981;
  --bg-light: #f8fafc;
  --bg-subtle: #f1f5f9;
  --card-bg: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px -3px rgba(15, 43, 72, 0.1);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --header-height: 74px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

body.drawer-open {
  overflow: hidden;
}

/* Base Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Anchor Offset for Fixed Sticky Header */
section[id], footer[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

/* Logo Mark - SVG Badge Icon */
.logo-mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: transform 0.2s ease;
}

.brand:hover .logo-mark {
  transform: scale(1.05);
}

/* ==========================================================================
   NAVIGATION HEADER & RESPONSIVE DESKTOP/MOBILE APP BAR
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  width: 100%;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(15, 43, 72, 0.08);
  background: #ffffff;
}

/* Wider Header Container for Spacious Desktop Navigation */
.header-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-wrap {
  display: flex;
  flex-direction: column;
}

.brand-full-logo {
  height: 44px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand:hover .brand-full-logo,
.brand-logo-wrap:hover .brand-full-logo {
  transform: scale(1.03);
}

.brand-logo {
  height: 44px;
  width: auto;
  border-radius: var(--radius-sm);
  object-fit: contain;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.brand:hover .brand-logo {
  transform: scale(1.03);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-name span {
  color: var(--accent-gold);
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* Desktop Nav Menu - Single Row, No Word Wrapping */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(14px, 1.8vw, 26px);
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  font-size: clamp(0.86rem, 0.95vw, 0.95rem);
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.2s ease;
  position: relative;
  padding: 8px 2px;
  white-space: nowrap; /* Prevents any 2-line / 3-line word breaks */
  display: inline-block;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--accent-color);
  border-radius: 2px;
  transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

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

/* Hamburger Button (Mobile / Tablet) */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  transition: all 0.2s ease;
}

.hamburger-btn:hover {
  background: #e2e8f0;
}

.hamburger-line {
  width: 22px;
  height: 2.2px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(7.2px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-7.2px) rotate(-45deg);
}

/* Mobile Navigation Drawer & Backdrop Overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 86%;
  max-width: 360px;
  height: 100%;
  background: #ffffff;
  z-index: 1200;
  box-shadow: -6px 0 24px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-light);
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  border-radius: 4px;
}

.mobile-drawer-close:hover {
  color: var(--primary-color);
}

.mobile-drawer-links {
  list-style: none;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  transition: all 0.15s ease;
}

.mobile-drawer-link:hover, .mobile-drawer-link:active {
  background: #eff6ff;
  color: var(--accent-color);
}

.mobile-drawer-actions {
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.mobile-drawer-contact {
  padding: 14px 20px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  margin: 0 20px 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.mobile-drawer-contact a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: block;
  margin-top: 4px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
  min-height: 44px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 43, 72, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15, 43, 72, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 1.5px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: #eff6ff;
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.84rem;
  min-height: 38px;
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff !important;
  border: 1px solid #20ba5a;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  background-color: #128c7e;
  color: #ffffff !important;
  border-color: #0f7569;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 68px 0 60px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 18px;
}

.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero-title .highlight {
  color: var(--accent-gold);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: clamp(0.98rem, 2vw, 1.12rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}


/* ==========================================================================
   SERVICES SECTION (The 3 Core Services)
   ========================================================================== */
.services-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 48px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-color);
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.section-subtitle {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.6;
}

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

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: var(--accent-color);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
}

.service-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.service-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.62;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.45;
}

.check-bullet {
  color: var(--accent-emerald);
  font-weight: bold;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ==========================================================================
   WHY CHOOSE NAUKRI INDIA & INDUSTRY COVERAGE (ADDED VALUE SECTIONS)
   ========================================================================== */
.why-us-section {
  padding: 70px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.why-card {
  padding: 24px 20px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.why-card:hover {
  background: #ffffff;
  border-color: var(--accent-color);
  box-shadow: var(--shadow-md);
}

.why-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: inline-block;
}

.why-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.why-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Industry Verticals Badges */
.industries-strip {
  margin-top: 48px;
  padding: 24px;
  background: linear-gradient(135deg, #0f2b48 0%, #1e3e62 100%);
  border-radius: var(--radius-lg);
  color: #ffffff;
  text-align: center;
}

.industries-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.industry-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ind-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #f1f5f9;
  white-space: nowrap;
}

/* ==========================================================================
   FOR COMPANIES / EMPLOYER INQUIRY SECTION
   ========================================================================== */
.companies-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
}

.company-form-wrapper {
  max-width: 840px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 40px;
}

.company-form-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 22px;
  margin-bottom: 26px;
}

.company-form-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.3rem, 2.8vw, 1.6rem);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.company-form-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

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

.req-star {
  color: #dc2626;
  margin-left: 2px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 16px; /* Prevents auto-zoom on iOS */
  font-family: inherit;
  background-color: #ffffff;
  color: var(--text-dark);
  outline: none;
  min-height: 46px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(15, 43, 72, 0.12);
}

.form-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 4px;
}

.checkbox-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 12px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.2s ease;
  min-height: 44px;
}

.checkbox-pill:hover {
  background-color: #eff6ff;
  border-color: var(--accent-color);
}

.checkbox-pill input[type="checkbox"] {
  accent-color: var(--primary-color);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Success Card */
.form-success-card {
  display: none;
  background: #ffffff;
  border-radius: var(--radius);
  border-top: 8px solid var(--accent-emerald);
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 38px 24px;
  text-align: center;
}

.success-icon {
  font-size: 48px;
  color: var(--accent-emerald);
  margin-bottom: 16px;
}

.success-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.success-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

/* ==========================================================================
   CANDIDATE BANNER SECTION (Opens Google Form-styled app in New Tab)
   ========================================================================== */
.candidates-banner-section {
  padding: 80px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
}

.candidate-cta-card {
  max-width: 840px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f5f2fb 0%, #ffffff 100%);
  border: 2px solid #e0d7ec;
  border-radius: var(--radius-lg);
  padding: 42px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.candidate-cta-icon {
  font-size: 44px;
  margin-bottom: 14px;
}

.candidate-cta-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.4rem, 3.2vw, 1.85rem);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.candidate-cta-desc {
  font-size: clamp(0.92rem, 1.8vw, 1.02rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 26px;
  line-height: 1.62;
}

.btn-gform {
  background-color: #673ab7;
  color: #ffffff;
  padding: 13px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(103, 58, 183, 0.28);
  min-height: 48px;
}

.btn-gform:hover {
  background-color: #512da8;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(103, 58, 183, 0.38);
}

.gform-note {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 14px;
}

/* ==========================================================================
   FAQ SECTION (ADDED VALUE)
   ========================================================================== */
.faq-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: var(--accent-color);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: transparent;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: left;
  cursor: pointer;
  gap: 12px;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--accent-color);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 22px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 18px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.62;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: #ffffff;
}

.footer-col p {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.6;
}

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

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
  display: inline-block;
  padding: 2px 0;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  font-size: 0.82rem;
  color: #94a3b8;
  padding-top: 24px;
}

/* ==========================================================================
   APPRENTICE PROGRAMS SECTION
   ========================================================================== */
.apprentice-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-top: 1px solid var(--border-color);
}

.apprentice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 40px;
}

.apprentice-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.apprentice-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #bfdbfe;
}

.apprentice-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.apprentice-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.apprentice-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.apprentice-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.apprentice-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--text-dark);
  line-height: 1.45;
}

/* Apprentice CTA Banner */
.apprentice-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: linear-gradient(135deg, #0f2b48 0%, #1e3e62 60%, #163354 100%);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  color: #ffffff;
  box-shadow: 0 8px 28px rgba(15, 43, 72, 0.22);
  position: relative;
  overflow: hidden;
}

.apprentice-cta-banner::before {
  content: '🎓';
  position: absolute;
  right: 220px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 110px;
  opacity: 0.06;
  pointer-events: none;
}

.apprentice-cta-left {
  flex: 1;
}

.apprentice-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.apprentice-cta-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.apprentice-cta-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 520px;
}

.apprentice-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  align-items: stretch;
  min-width: 200px;
}

/* ==========================================================================
   FLOATING WHATSAPP CHAT BUTTON (DESKTOP & MOBILE)
   ========================================================================== */
.floating-whatsapp-btn,
.floating-contact-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #25d366;
  color: #ffffff !important;
  padding: 12px 20px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.42);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-whatsapp-btn:hover,
.floating-contact-btn:hover {
  background-color: #128c7e;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
}

.floating-whatsapp-btn svg,
.floating-contact-btn svg {
  flex-shrink: 0;
  fill: currentColor;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (DESKTOP, LAPTOP, TABLET & MOBILE)
   ========================================================================== */

/* Compact Desktops & Laptops (1041px to 1240px) */
@media (max-width: 1240px) and (min-width: 1041px) {
  .brand-tagline {
    display: none; /* Hide long tagline to preserve single-line desktop layout */
  }

  .nav-menu {
    gap: 16px;
  }

  .nav-link {
    font-size: 0.86rem;
  }

  .nav-actions {
    gap: 8px;
  }

  .btn-sm {
    padding: 7px 12px;
    font-size: 0.8rem;
  }
}

/* Tablets, iPad Landscape & Small Laptops (<= 1040px) */
@media (max-width: 1040px) {
  :root {
    --header-height: 68px;
  }

  .nav-menu, .nav-actions {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

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

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

  .apprentice-cta-banner {
    flex-direction: column;
    padding: 28px 28px;
    text-align: center;
  }

  .apprentice-cta-banner::before {
    display: none;
  }

  .apprentice-cta-desc {
    margin: 0 auto;
  }

  .apprentice-cta-actions {
    flex-direction: row;
    min-width: auto;
    width: 100%;
    justify-content: center;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .floating-whatsapp-btn,
  .floating-contact-btn {
    display: inline-flex;
  }
}

/* Phablets & Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header-container {
    padding: 0 16px;
  }

  .hero {
    padding: 48px 0 42px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .services-section, .why-us-section, .companies-section, .candidates-banner-section, .faq-section {
    padding: 56px 0;
  }

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

  .apprentice-section {
    padding: 56px 0;
  }

  .apprentice-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .apprentice-cta-banner {
    flex-direction: column;
    padding: 26px 20px;
    text-align: center;
  }

  .apprentice-cta-banner::before {
    display: none;
  }

  .apprentice-cta-actions {
    flex-direction: column;
    width: 100%;
    min-width: auto;
  }

  .service-card {
    padding: 26px 20px;
  }

  .company-form-wrapper {
    padding: 24px 18px;
    border-radius: var(--radius);
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-checkbox-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .candidate-cta-card {
    padding: 30px 18px;
    border-radius: var(--radius);
  }

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

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

/* Small Phones (<= 480px) */
@media (max-width: 480px) {
  :root {
    --header-height: 62px;
  }

  .brand-logo {
    height: 38px;
  }

  .brand-full-logo {
    height: 35px;
    max-width: 165px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-tagline {
    display: none;
  }

  .hero-subtitle {
    font-size: 0.74rem;
    padding: 4px 10px;
  }

  .section-title-wrap {
    margin-bottom: 34px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .company-form-wrapper {
    padding: 20px 14px;
  }

  .company-form-header {
    padding-bottom: 16px;
    margin-bottom: 20px;
  }

  .faq-question {
    padding: 16px 16px;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 16px;
  }

  .faq-item.active .faq-answer {
    padding-bottom: 16px;
  }

  .floating-whatsapp-btn span,
  .floating-contact-btn span {
    display: none;
  }

  .floating-whatsapp-btn,
  .floating-contact-btn {
    padding: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    bottom: 16px;
    right: 16px;
  }
}
