/* ==========================================================================
   Recruiters — immersive theme (Validated & Improved)
   ========================================================================== */

/* Inherit colors from base template and define new ones for the dark theme */
:root {

  /* --light-color: #ffffff; */
--border-color-subtle: #e0e0e0;
--hover-bg-light: #f5f5f5;
--icon-color: var(--primary-color);

/* Recruiter theme-specific variables */
--rec-primary: var(--primary-color);
--rec-primary-700: #00005a;
--rec-accent: #010080; /* Base blue for primary accents */
--rec-accent-2: #3443ff; /* A vibrant blue for complementary accents */
--rec-bg: #0b0e18;
--rec-text: #f0f4f8;
--rec-muted: #8c909e;
--rec-border: rgba(255, 255, 255, 0.12);
--rec-shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.15);
--rec-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.25);
--rec-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
--rec-radius-sm: 8px;
--rec-radius-md: 14px;
--rec-radius-lg: 20px;
}

body {
font-family: var(--font-family);
}

.recruiters {
color: var(--rec-text);
background: var(--rec-bg);
min-height: 100vh;
position: relative;
overflow-x: hidden;
}

/* ==========================================================================
 LAYOUT
 ========================================================================== */

.rec-container {
width: min(1120px, 92vw);
margin: 0 auto;
}

.section {
padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.section-muted {
background: rgba(255, 255, 255, 0.02);
}

.pill {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.375rem 0.75rem;
border-radius: 999px;
background: linear-gradient(135deg, rgba(1, 0, 128, 0.18), rgba(52, 67, 255, 0.18));
color: var(--rec-text);
border: 1px solid var(--rec-border);
font-weight: 700;
letter-spacing: 0.02em;
text-transform: uppercase;
font-size: 0.72rem;
}

/* ==========================================================================
 HERO SECTION - COMPLETE SUBSCRIPTION THEME (CLEANED & OPTIMIZED)
 ========================================================================== */


/* Base Hero Container */
#hero-section {
  position: relative;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 6rem;  /* Increased top/bottom padding */
  background: var(--rec-hero-bg-url, url('../../img/recruiters/hero-image-curved2.png')) center/cover no-repeat;
  text-align: left;
  min-height: 100vh;  /* Changed from 70vh to 100vh */
  z-index: 1;
}

#hero-section.rec-hero-section {
  z-index: 1000;
}

#hero-section .container,
#hero-section .rec-hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
}

#hero-section .row {
  min-height: 60vh;
  align-items: center;
}

/* =====================================================================
 ANIMATED BACKGROUND LAYERS
 ===================================================================== */

.recruiters-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

#hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #010080 0%, #001a4d 50%, #0a1570 100%);
  opacity: 0.85;
  z-index: -1;
}

#hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
      radial-gradient(circle at 20% 50%, rgba(255, 204, 0, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 80% 80%, rgba(95, 155, 220, 0.15) 0%, transparent 50%),
      radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 30%);
  animation: patternFloat 20s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes patternFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

/* =====================================================================
 HERO CONTENT LAYOUT
 ===================================================================== */

.hero-content {
  max-width: 650px;
  text-align: left;
  position: relative;
  z-index: 10;
}

/* =====================================================================
 HERO BADGE - EXACT SUBSCRIPTION STYLE
 ===================================================================== */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 204, 0, 0.15);
  border: 1px solid rgba(255, 204, 0, 0.3);
  padding: 10px 20px;
  border-radius: 50px;
  color: #ffcc00;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hero-badge:hover {
  background: rgba(255, 204, 0, 0.25);
  border-color: rgba(255, 204, 0, 0.5);
  transform: translateY(-2px);
}

.hero-badge i {
  font-size: 1rem;
  color: #ffcc00;
}

/* =====================================================================
 HERO TITLE - EXACT SUBSCRIPTION STYLE
 ===================================================================== */

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.6s ease 0.1s backwards;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #ffcc00 0%, #ff9500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* =====================================================================
 HERO SUBTITLE & DESCRIPTION - EXACT SUBSCRIPTION STYLE
 ===================================================================== */

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 700px;
  animation: fadeInUp 0.6s ease 0.3s backwards;
}

/* =====================================================================
 HERO CTA GROUP - EXACT SUBSCRIPTION STYLE
 ===================================================================== */

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease 0.4s backwards;
}

/* Primary CTA Button */
.hero-cta-primary,
#hero-section .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #2954d1 0%, #1e40af 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(41, 84, 209, 0.3);
}

.hero-cta-primary:hover,
#hero-section .btn-primary:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1a3580 100%);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(41, 84, 209, 0.4);
  color: #ffffff;
  text-decoration: none;
}

/* Secondary CTA Button - Glass Effect */
.hero-cta-secondary,
#hero-section .btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-cta-secondary:hover,
#hero-section .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
  text-decoration: none;
}

#hero-section .btn-outline-light:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* =====================================================================
 ANIMATIONS
 ===================================================================== */

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* =====================================================================
 ELECTRIC LINE ANIMATION
 ===================================================================== */

.hero-electric-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  pointer-events: none;
  z-index: 3;
}

#electric-line-animated {
  stroke: #00f0ff;
  stroke-width: 16;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#glow);
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  animation:
      electric-draw 2.0s ease-out 0.25s forwards,
      electric-glow 2.4s ease-in-out 2.2s infinite;
}

@keyframes electric-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes electric-glow {
  0%, 100% { opacity: .75; }
  50% { opacity: 1; }
}

#arrowhead {
  transition: opacity .35s ease;
}

/* =====================================================================
 HERO IMAGE
 ===================================================================== */

.hero-text-col {
  position: relative;
  z-index: 10;
}

.hero-img-mobile {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 430px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
  filter: blur(1.2px);
}

.hero-img-mobile img {
  width: 100vw;
  max-width: 430px;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero-img-mobile {
      display: none !important;
  }
}

/* =====================================================================
 SCROLLING LOGOS
 ===================================================================== */

.scrolling-logos-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  margin: 2rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  animation: fadeInUp 0.6s ease 0.5s backwards;
}

.scrolling-logos-track {
  display: flex;
  gap: 2rem;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.scrolling-logos-inner {
  display: flex;
  gap: 2rem;
  flex-shrink: 0;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.scrolling-logos-container:hover .scrolling-logos-track {
  animation-play-state: paused;
}

.scrolling-logos-track img {
  max-width: 120px;
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(1.5) contrast(1.2);
  opacity: 0.8;
}

.scrolling-logos-track img:hover {
  transform: scale(1.1);
  filter: brightness(2) contrast(1.3);
  opacity: 1;
}

.scrolling-logos-inner > .col {
  flex-basis: 150px;
  flex-grow: 0;
  flex-shrink: 0;
}

/* =====================================================================
 SIGN IN LINKS & HR
 ===================================================================== */

.signin-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  animation: fadeInUp 0.6s ease 0.6s backwards;
  position: relative;
  z-index: 100;
}

#hero-section hr {
  animation: fadeInUp 0.6s ease 0.55s backwards;
}

/* =====================================================================
 SIGNIN DROPDOWN
 ===================================================================== */

#hero-section .signin-dropdown {
  position: relative;
  z-index: 1000;
}

#hero-section .signin-dropdown .dropdown-toggle {
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  pointer-events: auto;
}

#hero-section .signin-dropdown .dropdown-toggle:hover,
#hero-section .signin-dropdown .dropdown-toggle:focus,
#hero-section .signin-dropdown .dropdown-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

#hero-section .signin-dropdown .dropdown-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}

#hero-section .signin-dropdown .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.3em;
  vertical-align: 0.15em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  transition: transform 0.2s ease;
}

#hero-section .signin-dropdown .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

#hero-section .signin-dropdown .dropdown-menu {
  background: #001966;
  border: 2px solid rgba(100, 149, 237, 0.3);
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
  padding: 1.5rem;
  min-width: 340px;
  margin-top: 0.75rem;
  z-index: 9999;
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
}

#hero-section .signin-dropdown .dropdown-menu.show {
  display: block;
  opacity: 1;
  visibility: visible;
  animation: fadeInDown 0.25s ease;
}

.recruiters .signin-dropdown .dropdown-menu .signin-item:last-child {
  margin-top: 10px;
}

@keyframes fadeInDown {
  from {
      opacity: 0;
      transform: translateY(-8px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.recruiters .signin-dropdown .dropdown-header {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0 0 0.75rem 0;
  margin-bottom: 0.75rem;
  border-bottom: none;
  background: none;
}

/* Sign-in options (recruiter, candidate) — light card styling */
.recruiters .signin-item--recruiter,
.recruiters .signin-item--candidate {
  background: #ffffff;
  border-radius: 14px;
  padding: 0.5rem;
  margin-bottom: 10px;
}

.recruiters .signin-item--recruiter .dropdown-item,
.recruiters .signin-item--candidate .dropdown-item {
  background: transparent;
  border-radius: 10px;
  padding: 0.25rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: #001254;
  transition: all 0.15s ease;
  border: none;
  cursor: pointer;
}

.recruiters .signin-item--recruiter .dropdown-item:hover,
.recruiters .signin-item--candidate .dropdown-item:hover {
  background: #f0f4ff;
  transform: translateX(2px);
}

/* Create/Join options — dark card styling */
.recruiters .signin-item--create-org .dropdown-item .icon,
.recruiters .signin-item--join-candidate .dropdown-item .icon {
  background: #ffd700;
  color: #001254;
}

.recruiters .signin-item--recruiter .dropdown-item .icon,
.recruiters .signin-item--candidate .dropdown-item .icon {
  background: #2563eb;
  color: #ffffff;
}

.recruiters .signin-dropdown .dropdown-item {
  background: transparent;
  border-radius: 10px;
  padding: 0.9rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.15s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  pointer-events: auto;
}

.recruiters .signin-dropdown .dropdown-item:last-of-type {
  margin-bottom: 0;
}

.recruiters .signin-dropdown .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateX(2px);
}

.recruiters .signin-dropdown .dropdown-item .icon {
  width: 40px;
  height: 40px;
  background: #ffd700;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #001254;
  font-size: 1.2rem;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.recruiters .signin-dropdown .dropdown-item .text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.recruiters .signin-dropdown .dropdown-item .title {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.3;
  margin: 0;
}

.recruiters .signin-item--recruiter .dropdown-item .title,
.recruiters .signin-item--candidate .dropdown-item .title {
  color: #001254;
}

.recruiters .signin-item--create-org .dropdown-item .title,
.recruiters .signin-item--join-candidate .dropdown-item .title {
  color: #ffffff;
}

.recruiters .signin-dropdown .dropdown-item .desc {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
}

.recruiters .signin-item--recruiter .dropdown-item .desc,
.recruiters .signin-item--candidate .dropdown-item .desc {
  color: #6b7280;
}

.recruiters .signin-item--create-org .dropdown-item .desc,
.recruiters .signin-item--join-candidate .dropdown-item .desc {
  color: rgba(255, 255, 255, 0.6);
}

.recruiters .signin-dropdown .dropdown-divider {
  height: 0;
  margin: 0;
  border: none;
  opacity: 0;
}

/* =====================================================================
 RESPONSIVE - TABLET & DESKTOP
 ===================================================================== */

@media (max-width: 1366px) {
  #hero-section .btn-outline-light,
  #hero-section .btn-primary,
  .hero-cta-primary,
  .hero-cta-secondary {
      font-size: 14px;
      padding: 10px 20px;
  }
}

/* =====================================================================
 RESPONSIVE - LARGE DESKTOP
 ===================================================================== */

@media (min-width: 1200px) {
  #hero-section {
      min-height: 100vh;
      padding: 10rem 3rem 8rem;
  }
  
  .hero-content {
      max-width: 700px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  #hero-section {
      min-height: 90vh;
      padding: 6rem 2rem 5rem;
  }
}

/* Desktop hero image size */
@media (min-width: 768px) {
  .hero-img figure,
  .hero-img img {
      max-width: 100%;
      height: auto;
  }
  
  .col-md-6.order-md-2 {
      display: flex;
      align-items: center;
      justify-content: center;
  }
}

/* =====================================================================
 DESKTOP VIEWPORT FIX
 ===================================================================== */

@media (min-width: 1400px) {
  #hero-section {
      min-height: 100vh;
      padding: 12rem 4rem 10rem;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  #hero-section {
      min-height: 95vh;
      padding: 10rem 3rem 8rem;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  #hero-section {
      min-height: 90vh;
      padding: 8rem 2.5rem 6rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #hero-section {
      min-height: 85vh;
      padding: 6rem 2rem 5rem;
  }
}
/* =====================================================================
 RESPONSIVE - MOBILE
 ===================================================================== */

@media (max-width: 767.98px) {
  #hero-section {
      padding: 4rem 1.5rem 3rem;
      min-height: auto;
  }

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

  .hero-badge {
      font-size: 0.75rem;
      padding: 8px 14px;
      margin-bottom: 1.5rem;
  }

  .hero-title {
      font-size: 2.25rem;
      margin-bottom: 1rem;
  }

  .hero-subtitle {
      font-size: 1.125rem;
      margin-bottom: 1rem;
  }

  .hero-description {
      font-size: 1rem;
      margin-bottom: 2rem;
  }

  .hero-cta-group {
      flex-direction: column;
      gap: 1rem;
  }

  .hero-cta-primary,
  .hero-cta-secondary,
  #hero-section .btn-primary,
  #hero-section .btn-outline-light {
      padding: 12px 28px;
      font-size: 0.9375rem;
      width: 100%;
      justify-content: center;
  }

  .scrolling-logos-container {
      margin-top: 2rem !important;
      margin-bottom: 2rem !important;
  }

  .scrolling-logos-track {
      gap: 1rem;
      animation-duration: 20s;
  }

  .scrolling-logos-inner {
      gap: 1rem;
  }

  .scrolling-logos-inner .col {
      width: 100px;
  }

  #hero-section hr {
      margin: 2rem 0 1.5rem 0 !important;
  }

  .signin-links {
      justify-content: center;
      margin-top: 2rem !important;
  }

  .hero-electric-line {
      top: 60vw !important;
      width: 100vw !important;
      height: 100px !important;
      max-height: 130px;
      left: 0 !important;
      right: 0 !important;
      margin: 0 auto !important;
      z-index: 0;
  }

  .recruiters .signin-dropdown .dropdown-menu {
      min-width: 300px;
      left: auto;
      right: 0;
      padding: 1.25rem;
  }

  .recruiters .signin-dropdown .dropdown-item {
      padding: 0.8rem;
      gap: 0.75rem;
  }

  .recruiters .signin-dropdown .dropdown-item .icon {
      width: 36px;
      height: 36px;
      font-size: 1.1rem;
  }

  .recruiters .signin-dropdown .dropdown-item .title {
      font-size: 0.85rem;
  }

  .recruiters .signin-dropdown .dropdown-item .desc {
      font-size: 0.7rem;
  }
}

/* =====================================================================
 ACCESSIBILITY - REDUCED MOTION
 ===================================================================== */

@media (prefers-reduced-motion: reduce) {
  .hero-badge,
  .hero-title,
  .hero-subtitle,
  .hero-description,
  .hero-cta-group,
  .scrolling-logos-container,
  .signin-links,
  #hero-section hr,
  #hero-section::before {
      animation: none !important;
  }

  .scrolling-logos-track {
      animation: none !important;
  }

  #electric-line-animated {
      animation: none !important;
      stroke-dashoffset: 0 !important;
  }
}

/* ==========================================================================
 HOW IT WORKS (STEPS) — Revamped
 ========================================================================== */

.process-section {
background: linear-gradient(180deg, #f8fafd 0%, #ffffff 100%);
}

.process-section__header {
max-width: 36em;
margin-left: auto;
margin-right: auto;
}

.process-section__title {
color: #1b2852;
font-size: clamp(1.75rem, 4vw, 2.25rem);
letter-spacing: -0.02em;
margin-bottom: 0.5rem;
}

.process-section__subtitle {
font-size: 1.1rem;
color: #5a6c8a;
}

/* Steps grid: horizontal on large screens, stacked on small */
.process-steps {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 1.25rem;
align-items: stretch;
margin-top: 2rem;
}

@media (max-width: 1199px) {
.process-steps {
  grid-template-columns: repeat(3, 1fr);
}
}

@media (max-width: 767.98px) {
.process-steps {
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
}

/* Step card — revamped */
.step-card-v2 {
background: #fff;
border-radius: 1rem;
border: 1px solid #e6edfd;
box-shadow: 0 4px 20px rgba(28, 53, 139, 0.06);
padding: 1.75rem 1.25rem;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
cursor: default;
position: relative;
min-height: 220px;
}

.step-card-v2:hover,
.step-card-v2:focus {
  outline: none;
  box-shadow: 0 12px 36px rgba(44, 123, 255, 0.12);
  transform: translateY(-4px);
  border-color: #2954d1;
}

.step-card-v2:focus-visible {
  box-shadow: 0 0 0 3px rgba(41, 84, 209, 0.35), 0 12px 36px rgba(44, 123, 255, 0.12);
}

.step-card-v2__number {
position: absolute;
top: 0.75rem;
right: 0.75rem;
width: 1.75rem;
height: 1.75rem;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #2954d1, #50a7ff);
color: #fff;
font-size: 0.8rem;
font-weight: 700;
border-radius: 50%;
line-height: 1;
}

.step-card-v2__icon {
width: 56px;
height: 56px;
border-radius: 50%;
background: linear-gradient(135deg, rgba(41, 84, 209, 0.1), rgba(80, 167, 255, 0.12));
border: 2px solid rgba(41, 84, 209, 0.2);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1rem;
flex-shrink: 0;
}

.step-card-v2__icon i {
font-size: 1.5rem;
color: #2954d1;
}

.step-card-v2__title {
font-size: 1.05rem;
font-weight: 700;
color: #1b2852;
margin: 0 0 0.5rem 0;
line-height: 1.3;
}

.step-card-v2__desc {
font-size: 0.875rem;
color: #5a6c8a;
line-height: 1.5;
margin: 0;
flex: 1;
}

/* Final step — success accent */
.step-card-v2--success .step-card-v2__icon {
background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(34, 197, 94, 0.08));
border-color: rgba(34, 197, 94, 0.3);
}

.step-card-v2--success .step-card-v2__icon i {
color: #16a34a;
}

.step-card-v2--success .step-card-v2__number {
background: linear-gradient(135deg, #16a34a, #22c55e);
}

/* Mobile: compact horizontal card (number | icon + title, description) */
@media (max-width: 767.98px) {
.step-card-v2 {
  min-height: auto;
  padding: 1.5rem 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0.25rem;
  text-align: left;
}

.step-card-v2__number {
  position: static;
  grid-row: 1 / -1;
  grid-column: 1;
  align-self: start;
  margin-top: 0.15rem;
}

.step-card-v2__icon {
  grid-row: 1;
  grid-column: 2;
  justify-self: start;
  margin-bottom: 0;
}

.step-card-v2__title {
  grid-row: 1;
  grid-column: 2;
  align-self: center;
  margin-bottom: 0;
  padding-left: 0.5rem;
  font-size: 1rem;
}

.step-card-v2__desc {
  grid-row: 2;
  grid-column: 2;
  padding-left: 0.5rem;
  font-size: 0.8125rem;
}
}

@media (max-width: 1199px) {
#roi-section .col-sm-6 {
  max-width: 100%;
  flex: 0 0 100%;
  margin-bottom: 25px;
  text-align: center;
}
}

/* ==========================================================================
 FEATURES GRID — Modern cards with coloured icons
 ========================================================================== */

/* Features section: solid navy. No overrides found in this file or base_home.css;
 body has background-color in base_home; this section must paint its own. */
section#features-section.features-section,
#features-section.features-section {
  background: linear-gradient(180deg, #0a0f52 0%, #010080 35%, #1e3a8a 70%, #2563eb 100%);
padding-top: 4rem;
padding-bottom: 4rem;
position: relative;
overflow: hidden;
}

.features-section__header {
max-width: 42em;
margin-left: auto;
margin-right: auto;
}

.features-section__title {
color: #f8fafc;
font-size: clamp(1.6rem, 3.5vw, 2rem);
font-weight: 800;
letter-spacing: -0.02em;
margin-bottom: 0.75rem;
line-height: 1.2;
}

.features-section__subtitle {
color: rgba(248, 250, 252, 0.85);
font-size: 1.05rem;
line-height: 1.6;
margin: 0;
}

.features-grid {
margin-top: 0.5rem;
}

/* Feature card — base */
.feature-card {
background: rgba(255, 255, 255, 0.98);
border: 1px solid rgba(226, 232, 240, 0.9);
border-radius: 1rem;
box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
padding: 1.75rem 1.5rem;
height: 100%;
display: flex;
flex-direction: column;
transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover,
.feature-card:focus {
outline: none;
box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
transform: translateY(-4px);
border-color: rgba(148, 163, 184, 0.4);
}

.feature-card__icon {
width: 52px;
height: 52px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1.25rem;
flex-shrink: 0;
}

.feature-card__icon i {
font-size: 1.6rem;
}

.feature-card__title {
font-size: 1.15rem;
font-weight: 700;
color: #0f172a;
margin: 0 0 0.6rem 0;
line-height: 1.3;
}

.feature-card__desc {
font-size: 0.9rem;
color: #475569;
line-height: 1.55;
margin: 0 0 1rem 0;
flex: 1;
}

.feature-card__list {
list-style: none;
padding: 0;
margin: 0;
font-size: 0.85rem;
color: #64748b;
line-height: 1.5;
}

.feature-card__list li {
position: relative;
padding-left: 1.25rem;
margin-bottom: 0.4rem;
}

.feature-card__list li:last-child {
margin-bottom: 0;
}

.feature-card__list li::before {
content: "•";
position: absolute;
left: 0;
font-weight: 700;
color: inherit;
}

/* Card 1 — Organisation (blue) */
.feature-card--org .feature-card__icon {
background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.12));
color: #2563eb;
}

.feature-card--org .feature-card__list li::before {
color: #2563eb;
}

/* Card 2 — Collaboration (violet) */
.feature-card--collab .feature-card__icon {
background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(124, 58, 237, 0.12));
color: #7c3aed;
}

.feature-card--collab .feature-card__list li::before {
color: #7c3aed;
}

/* Card 3 — Post everywhere (amber) */
.feature-card--post .feature-card__icon {
background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.12));
color: #d97706;
}

.feature-card--post .feature-card__list li::before {
color: #d97706;
}

/* Card 4 — Security (emerald) */
.feature-card--security .feature-card__icon {
background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.12));
color: #059669;
}

.feature-card--security .feature-card__list li::before {
color: #059669;
}

@media (max-width: 991.98px) {
.features-section,
#features-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.feature-card {
  margin-bottom: 0;
}
}

@media (max-width: 575.98px) {
.features-section__subtitle {
  font-size: 0.95rem;
}

.feature-card {
  padding: 1.5rem 1.25rem;
}

.feature-card__title {
  font-size: 1.05rem;
}

.feature-card__desc {
  font-size: 0.875rem;
}
}

/* ==========================================================================
 ROI SECTION — Modern calculator + CTA (dynamic, mobile-friendly)
 ========================================================================== */

.roi-section {
background: linear-gradient(180deg, var(--gray-50) 0%, var(--primary-color-lighter) 50%, var(--gray-50) 100%);
color: var(--secondary-color);
}

.roi-section__header {
max-width: 36em;
margin-left: auto;
margin-right: auto;
}

.roi-section__title {
font-size: clamp(1.6rem, 3.5vw, 2rem);
font-weight: var(--font-weight-extrabold);
letter-spacing: -0.02em;
color: var(--secondary-color);
margin-bottom: 0.5rem;
line-height: 1.2;
}

.roi-section__subtitle {
font-size: 1.05rem;
color: var(--gray-600);
line-height: 1.55;
margin: 0;
}

.roi-section__grid {
display: grid;
grid-template-columns: 1.1fr 0.9fr;
gap: 1.75rem;
align-items: stretch;
max-width: 1000px;
margin: 0 auto;
}

/* Calculator card — prominent, clean */
.roi-calc-card {
background: var(--light-color);
border-radius: var(--radius-xl);
box-shadow: var(--shadow-md), 0 1px 3px rgba(1, 0, 128, 0.06);
border: 1px solid var(--gray-200);
overflow: hidden;
display: flex;
flex-direction: column;
transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.roi-calc-card:hover {
box-shadow: var(--shadow-lg), 0 2px 8px rgba(1, 0, 128, 0.08);
}

.roi-calc-card__body {
padding: 1.75rem 1.5rem;
display: flex;
flex-direction: column;
gap: 1.5rem;
flex: 1;
}

.roi-calc-card__badge {
display: inline-block;
font-size: 0.7rem;
font-weight: var(--font-weight-bold);
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--primary-color);
background: var(--primary-color-light);
padding: 0.35rem 0.65rem;
border-radius: var(--radius-full);
margin-bottom: 0.5rem;
}

.roi-calc-card__title {
font-size: 1.25rem;
font-weight: var(--font-weight-bold);
color: var(--secondary-color);
margin: 0 0 0.4rem 0;
line-height: 1.3;
}

.roi-calc-card__desc {
font-size: 0.9rem;
color: var(--gray-600);
line-height: 1.55;
margin: 0;
}

/* Form inputs — clear labels, good touch targets */
.roi-calc-form {
display: flex;
flex-direction: column;
gap: 1.25rem;
}

.roi-calc-form__inputs {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
}

.roi-input-wrap {
display: flex;
flex-direction: column;
gap: 0.35rem;
}

.roi-input-wrap__label {
font-size: 0.8rem;
font-weight: var(--font-weight-semibold);
color: var(--gray-700);
}

.roi-input-wrap__input {
width: 100%;
min-height: 2.75rem;
padding: 0.6rem 0.85rem;
font-size: 1rem;
font-weight: var(--font-weight-semibold);
color: var(--secondary-color);
background: var(--gray-50);
border: 1px solid var(--gray-300);
border-radius: var(--radius-md);
transition: border-color var(--transition-base), box-shadow var(--transition-base);
appearance: textfield;
-moz-appearance: textfield;
}

.roi-input-wrap__input::-webkit-outer-spin-button,
.roi-input-wrap__input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}

.roi-input-wrap__input:hover {
border-color: var(--gray-400);
}

.roi-input-wrap__input:focus {
outline: none;
border-color: var(--primary-color);
box-shadow: 0 0 0 3px var(--primary-color-light);
}

.roi-input-wrap__hint {
font-size: 0.7rem;
color: var(--gray-500);
}

/* Result block — big number, engaging */
.roi-calc-result {
padding: 1.25rem 1rem;
background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(59, 130, 246, 0.06));
border-radius: 1rem;
border: 1px solid rgba(37, 99, 235, 0.15);
text-align: center;
}

.roi-calc-result__label {
display: block;
font-size: 0.8rem;
font-weight: 600;
color: #475569;
text-transform: uppercase;
letter-spacing: 0.04em;
margin-bottom: 0.35rem;
}

.roi-calc-result__value {
display: flex;
align-items: baseline;
justify-content: center;
flex-wrap: wrap;
gap: 0.35rem;
}

.roi-calc-result__number {
font-size: clamp(2rem, 6vw, 2.75rem);
font-weight: 900;
letter-spacing: -0.03em;
line-height: 1.1;
background: linear-gradient(135deg, #1d4ed8, #2563eb);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}

.roi-calc-result__unit {
font-size: 1rem;
font-weight: 600;
color: #475569;
}

.roi-calc-result__hint {
font-size: 0.75rem;
color: #64748b;
margin: 0.5rem 0 0 0;
line-height: 1.4;
}

/* CTAs inside calculator card */
.roi-calc-card__ctas {
display: flex;
flex-direction: column;
gap: 0.75rem;
margin-top: auto;
padding-top: 0.5rem;
}

.roi-cta {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
min-height: 2.75rem;
padding: 0.65rem 1.25rem;
font-size: 0.95rem;
font-weight: 700;
border-radius: 0.65rem;
text-decoration: none;
transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.roi-cta--primary {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-hover) 100%);
color: var(--light-color);
border: none;
box-shadow: 0 2px 12px rgba(1, 0, 128, 0.25);
}

.roi-cta--primary:hover {
background: linear-gradient(135deg, var(--primary-color-hover) 0%, var(--primary-color) 100%);
color: var(--light-color);
box-shadow: 0 4px 20px rgba(1, 0, 128, 0.3);
transform: translateY(-1px);
}

.roi-cta--secondary {
background: var(--gray-100);
color: var(--gray-700);
border: 1px solid var(--gray-300);
}

.roi-cta--secondary:hover {
background: var(--gray-200);
color: var(--secondary-color);
border-color: var(--gray-400);
}

/* Side CTA strip — primary theme */
.roi-cta-strip {
background: linear-gradient(180deg, var(--primary-color-hover) 0%, var(--primary-color) 50%, var(--secondary-color-light) 100%);
border-radius: var(--radius-xl);
box-shadow: 0 8px 32px rgba(1, 0, 128, 0.35);
color: var(--light-color);
display: flex;
align-items: center;
justify-content: center;
padding: 2rem 1.5rem;
min-height: 280px;
position: relative;
overflow: hidden;
}

.roi-cta-strip__inner {
text-align: center;
position: relative;
z-index: 1;
}

.roi-cta-strip__icon {
font-size: 2.25rem;
opacity: 0.9;
margin-bottom: 0.75rem;
}

.roi-cta-strip__icon i {
display: block;
}

.roi-cta-strip__title {
font-size: clamp(1.25rem, 2.5vw, 1.5rem);
font-weight: var(--font-weight-extrabold);
letter-spacing: -0.02em;
margin: 0 0 0.4rem 0;
color: var(--light-color);
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.roi-cta-strip__text {
font-size: 0.95rem;
color: rgba(255, 255, 255, 0.9);
margin: 0 0 1.25rem 0;
line-height: 1.5;
}

.roi-cta-strip__btn {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.7rem 1.5rem;
font-size: 1rem;
font-weight: var(--font-weight-bold);
color: var(--primary-color);
background: var(--light-color);
border-radius: var(--radius-full);
text-decoration: none;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.roi-cta-strip__btn:hover {
color: var(--primary-color-hover);
transform: translateY(-2px);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.roi-cta-strip__arrow {
display: inline-flex;
transition: transform 0.2s ease;
}

.roi-cta-strip__btn:hover .roi-cta-strip__arrow {
transform: translateX(4px);
}

/* Mobile: stack and full-width */
@media (max-width: 991.98px) {
.roi-section__grid {
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 100%;
}

.roi-calc-card__body {
  padding: 1.5rem 1.25rem;
}

.roi-calc-form__inputs {
  grid-template-columns: 1fr;
}

.roi-input-wrap__input {
  min-height: 3rem;
}

.roi-cta-strip {
  min-height: 240px;
  padding: 1.75rem 1.25rem;
}
}

@media (max-width: 575.98px) {
.roi-section__title {
  font-size: 1.45rem;
}

.roi-section__subtitle {
  font-size: 0.95rem;
}

.roi-calc-result__number {
  font-size: 2rem;
}

.roi-calc-card__ctas {
  gap: 0.65rem;
}

.roi-cta {
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
}
}

/* ==========================================================================
 TESTIMONIALS
 ========================================================================== */

#testimonials-section {
background: linear-gradient(180deg, #0a0f52 0%, #010080 35%, #1e3a8a 70%, #2563eb 100%);
padding: 80px 0 80px 0;
position: relative;
}

.testimonials-title {
color: #fff;
font-weight: 900;
letter-spacing: -1.2px;
font-size: 2.1rem;
text-shadow: 0 2px 22px rgba(0,16,100,0.10);
}

.testimonials-subtitle {
color: #d3ebff;
opacity: 0.84;
font-size: 1.17rem;
margin-bottom: 0;
}

.testimonial-card {
background: rgba(255,255,255,0.96);
border-radius: 1.3rem;
box-shadow: 0 10px 34px 0 rgba(34, 54, 164, 0.13), 0 2px 12px 0 #1956ff18;
border: 1.5px solid #f1f4ff;
transition: box-shadow 0.18s, transform 0.18s;
position: relative;
overflow: hidden;
min-height: 340px;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.testimonial-card:hover, 
.testimonial-card:focus {
box-shadow: 0 16px 44px 0 #1956ff18, 0 6px 24px 0 #0021c91e;
transform: translateY(-4px) scale(1.03);
}

.testimonial-quote {
font-size: 1.08rem;
color: #28409e;
font-style: italic;
position: relative;
padding-left: 0.7em;
padding-right: 0.2em;
margin-bottom: 1.2em;
}

.testimonial-quote i.bi-quote {
font-size: 2.1rem;
color: #010080;
opacity: 0.78;
position: absolute;
left: -0.25em;
top: -0.12em;
}

.testimonial-quote p {
color: #273166;
font-size: 1.13rem;
font-weight: 600;
margin: 0;
padding-left: 1.6em;
text-shadow: 0 2px 8px rgba(35,60,160,0.04);
}

.testimonial-avatar {
width: 52px;
height: 52px;
object-fit: cover;
box-shadow: 0 2px 16px #04f0ff50;
border: 3px solid #e5f6ff;
}

.testimonial-author {
color: #193183;
font-weight: 700;
font-size: 1.09rem;
margin-bottom: 0.1em;
letter-spacing: -0.2px;
}

.testimonial-role {
color: #3d4694;
font-size: 0.99rem;
opacity: 0.82;
margin-top: 0;
}

@media (max-width: 991.98px) {
#testimonials-section { padding: 40px 0 28px 0; }
.testimonial-card { min-height: 280px; padding: 2rem 1.2rem; }
.testimonials-title { font-size: 1.45rem; }
}

/* ==========================================================================
 FINAL CTA STRIP
 ========================================================================== */

#register-section {
background: #fff;
padding: 72px 0 80px 0;
position: relative;
}

.cta-strip {
background: var(--primary-color);
box-shadow: 0 8px 38px 0 #0031b925, 0 0 0 4px #2954d125;
border-radius: 2.2rem;
color: #fff;
position: relative;
overflow: hidden;
border: none;
min-height: 640px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.cta-title {
font-size: 2.15rem;
font-weight: 900;
letter-spacing: -0.5px;
color: #fff;
text-shadow: 0 2px 12px #00229c50;
}

.cta-subtext {
color: #e8f1ff;
font-size: 1.17rem;
font-weight: 500;
opacity: 0.94;
margin-bottom: 1.8rem;
}

.btn-cta {
background: #fff;
color: #1556e1;
font-weight: 800;
font-size: 1.16rem;
border-radius: 2em;
padding: 0.82em 2.5em;
box-shadow: 0 3px 16px 0 #1e60ff30;
border: none;
transition: 
  background 0.13s,
  color 0.13s,
  box-shadow 0.16s,
  transform 0.16s;
position: relative;
display: inline-flex;
align-items: center;
gap: 0.4em;
}

.btn-cta:hover, 
.btn-cta:focus {
background: #1e40af;
color: #fff;
box-shadow: 0 6px 32px 0 #4edfff60, 0 0 0 3px #0b85ff30;
transform: translateY(-2px) scale(1.04);
text-decoration: none;
}

.cta-strip .btn-cta {
max-width: 400px;
}

.arrow-animate {
display: inline-block;
vertical-align: middle;
transition: transform 0.25s cubic-bezier(.4,1,.7,1.2);
}

.btn-cta:hover .arrow-animate,
.btn-cta:focus .arrow-animate {
transform: translateX(7px) scale(1.07);
}

@media (max-width: 991.98px) {
#register-section {
  padding: 45px 0 56px 0;
}
.cta-strip {
  padding: 2.6rem 1.3rem;
  border-radius: 1.2rem;
}
.cta-title {
  font-size: 1.4rem;
}
}

/* ==========================================================================
 MODALS
 ========================================================================== */

.rec-modal .modal-dialog {
max-width: 560px;
}

.rec-modal .modal-content {
background: #f6f8ff;
color: #1b2852;
border: 1px solid #e6ecfa;
border-radius: 16px;
box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.rec-modal .modal-header,
.rec-modal .modal-body,
.rec-modal .modal-footer {
background: transparent;
border-color: #e9eef8;
}

.rec-modal .modal-title {
color: #14225e;
font-weight: 800;
letter-spacing: -0.2px;
}

.rec-modal .form-label {
color: #223368;
font-weight: 600;
}

.rec-modal .form-control {
background: #ffffff;
color: #1b2852;
border: 1px solid #d7e0f5;
border-radius: 10px;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rec-modal .form-control::placeholder {
color: #8a95b5;
opacity: 1;
}

.rec-modal .form-control:focus {
background: #ffffff;
border-color: #2954d1;
box-shadow: 0 0 0 3px rgba(41, 84, 209, 0.18);
color: #0f1e4d;
}

.modal-backdrop.show {
background-color: #0b1026;
opacity: 0.82;
}

/* Industry / Sub-industry Select2 in Book a demo modal — ensure dropdown is visible and above content */
.rec-modal .industry-select2-container,
.rec-modal .industry-select2-dropdown {
z-index: 1060;
}
.rec-modal .industry-select2-dropdown {
position: absolute;
}