@import url('variables.css');

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

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

body {
  font-family: var(--font-family-body);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Global Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
}

h4 {
  font-size: 1.2rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-body);
}

a {
  color: var(--primary-brand);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
}

/* ====================================================================
   ANIMATION 1: FLOATING PILL NAVBAR MORPH & GLASSMORPHISM
   ==================================================================== */
.navbar-infosys {
  padding: 1rem 0;
  background: transparent;
  transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  z-index: 1030;
}

.navbar-infosys.navbar-scrolled {
  padding: 0.55rem 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.navbar-infosys.navbar-scrolled .navbar-brand-infosys {
  color: #040A12 !important;
}

.navbar-infosys.navbar-scrolled .nav-pill-link {
  color: #475569 !important;
}

.navbar-infosys.navbar-scrolled .nav-pill-link:hover,
.navbar-infosys.navbar-scrolled .nav-pill-link.active {
  color: #040A12 !important;
  background: rgba(0, 0, 0, 0.06);
}

.navbar-infosys.navbar-scrolled .nav-menu-circle-btn {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: #040A12 !important;
}

.navbar-infosys.navbar-scrolled .nav-pill-container {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.nav-menu-circle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.nav-menu-circle-btn:hover {
  background: var(--primary-brand);
  border-color: var(--primary-brand);
  transform: scale(1.08);
}

.navbar-brand-infosys {
  font-family: var(--font-family-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #FFFFFF !important;
  letter-spacing: -0.03em;
}

.navbar-brand-infosys span {
  color: var(--accent-cyan);
}

.nav-pill-container {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.3rem 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
  list-style: none;
  margin: 0;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.nav-pill-link {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.nav-pill-link:hover,
.nav-pill-link.active {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.22);
}

.btn-ask-ai {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  background: #000000;
  color: #FFFFFF !important;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn-ask-ai:hover {
  background: var(--primary-brand);
  border-color: var(--primary-brand);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 86, 210, 0.4);
}

/* Mobile Offcanvas Drawer Styling — Fixed Z-Index to Prevent Header Overlap */
.offcanvas-corp {
  background-color: var(--primary-deep);
  color: #FFFFFF;
  z-index: 1080 !important;
  max-width: 82vw;
}

.offcanvas-corp .nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.offcanvas-corp .nav-link:hover,
.offcanvas-corp .nav-link.active {
  color: #FFFFFF;
  background-color: var(--primary-brand);
}

/* ====================================================================
   ANIMATION 2: MULTI-SCENE REAL-WORLD VIDEO CROSS-FADE
   ==================================================================== */
.hero-infosys {
  position: relative;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #040A12;
  color: #FFFFFF;
  padding: 8.5rem 1.25rem 3.5rem 1.25rem;
  overflow: hidden;
}

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

.hero-video-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.hero-video-slide.active {
  opacity: 0.55;
}

.hero-video-dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(7, 15, 27, 0.7) 0%, rgba(11, 25, 44, 0.55) 50%, rgba(7, 15, 27, 0.85) 100%);
  z-index: 1;
}

/* ====================================================================
   ANIMATION 3: DYNAMIC TECH PARTICLE MESH CANVAS
   ==================================================================== */
.hero-canvas-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* ====================================================================
   ANIMATION 8: GLOWING CYAN AMBIENT LIGHT WAVE ROTATION
   ==================================================================== */
.hero-animated-wave-bg {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 180, 216, 0.16) 0%, rgba(0, 86, 210, 0.08) 35%, transparent 70%);
  animation: heroWaveRotate 32s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes heroWaveRotate {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.15);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

.hero-headline-carousel {
  min-height: 110px;
}

.hero-editorial-title {
  font-family: var(--font-family-heading);
  font-weight: 300;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  color: #FFFFFF;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-editorial-title.active {
  opacity: 0.98;
  transform: translateY(0);
  display: block !important;
}

.hero-editorial-title strong {
  font-weight: 700;
  color: var(--accent-cyan);
}

/* Infosys-Style Floating Prompt Container Card */
.prompt-card-container {
  position: relative;
  width: 100%;
  max-width: 840px;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 2.25rem 2rem 1.5rem 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  margin-top: 1rem;
  text-align: left;
  color: var(--text-dark);
}

/* ====================================================================
   ANIMATION 4: PULSING MIC BADGE SONAR RIPPLE EFFECT
   ==================================================================== */
.prompt-mic-badge {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0056D2, #00B4D8);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 8px 25px rgba(0, 180, 216, 0.5);
  border: 4px solid #FFFFFF;
  cursor: pointer;
  transition: transform var(--transition-fast);
  animation: micPulse 2.5s infinite;
}

.prompt-mic-badge:hover {
  transform: translateX(-50%) scale(1.1);
}

@keyframes micPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.7);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(0, 180, 216, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 180, 216, 0);
  }
}

.prompt-textarea {
  width: 100%;
  border: none;
  outline: none;
  font-family: var(--font-family-body);
  font-size: 1.1rem;
  color: var(--text-dark);
  resize: none;
  background: transparent;
}

.prompt-textarea::placeholder {
  color: #94A3B8;
}

/* ====================================================================
   ANIMATION 9: INTERACTIVE PILL TAG HOVER & RIPPLE
   ==================================================================== */
.prompt-tags-row {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.prompt-tag-pill {
  padding: 0.4rem 0.9rem;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.prompt-tag-pill:hover {
  background: var(--accent-subtle);
  border-color: var(--primary-brand);
  color: var(--primary-brand);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 86, 210, 0.15);
}

.prompt-submit-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #CBD5E1;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.prompt-submit-circle.active,
.prompt-submit-circle:hover {
  background: var(--primary-brand);
  transform: scale(1.08);
}

/* Scene Switcher Control Pills */
.hero-scene-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.hero-scene-pill.active,
.hero-scene-pill:hover {
  background: var(--primary-brand);
  border-color: var(--primary-brand);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 86, 210, 0.4);
}

/* Content Sections */
.section-corporate {
  padding: 5.5rem 0;
}

.section-dark {
  background-color: var(--bg-dark-section);
  color: #FFFFFF;
}

.section-dark h2,
.section-dark h3 {
  color: #FFFFFF;
}

.section-dark p {
  color: var(--text-light-muted);
}

.section-header {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ====================================================================
   ANIMATION 6: INTERACTIVE MAGNETIC HOVER ELEVATE ON CARDS
   ==================================================================== */
.card-corporate {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.card-corporate:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: var(--primary-brand);
  box-shadow: 0 20px 40px rgba(0, 86, 210, 0.12);
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--accent-subtle);
  color: var(--primary-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.card-corporate:hover .card-icon-wrap {
  transform: scale(1.1);
  background-color: var(--primary-brand);
  color: #FFFFFF;
}

.card-corporate h3 {
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
}

.card-corporate p {
  color: var(--text-muted);
  font-size: 0.92rem;
  flex-grow: 1;
}

.card-link {
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.card-link i {
  transition: transform var(--transition-fast);
}

.card-corporate:hover .card-link i {
  transform: translateX(6px);
}

/* Case Study / Project Cards */
.case-study-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-dark-section);
  border: 1px solid var(--border-dark);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.case-study-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-cyan);
  box-shadow: 0 20px 45px rgba(0, 180, 216, 0.2);
}

.case-study-image {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform var(--transition-smooth);
  width: 100%;
}

.case-study-card:hover .case-study-image {
  transform: scale(1.04);
}

.case-study-link {
  color: #fff;
  display: inline-flex;
  font-size: .9rem;
  font-weight: 700;
  gap: .5rem;
  margin-top: 1.35rem;
}

.case-study-link:hover {
  color: var(--accent-cyan);
}

/* Home-page content system */
.hero-intro {
  max-width: 720px;
  padding: 1.5rem;
  text-align: center;
  color: #fff;
}

.hero-intro p {
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin: 0 auto 1.5rem;
}

.tech-strip {
  background: linear-gradient(180deg, #fff 0%, var(--bg-subtle) 100%);
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
}

.tech-list span {
  align-items: center;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  color: var(--text-body);
  display: inline-flex;
  font-weight: 700;
  gap: .55rem;
  padding: .75rem 1.1rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.tech-list span i {
  color: var(--primary-brand);
  font-size: 1.1rem;
}

.tech-list span:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.process-grid {
  counter-reset: process;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
}

.process-grid li {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  position: relative;
}

.process-grid span {
  color: var(--accent-cyan);
  display: block;
  font-family: var(--font-family-heading);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 2rem;
}

.process-grid h3 {
  font-size: 1.25rem;
}

.process-grid p {
  color: var(--text-muted);
  margin: 0;
}

.team-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  height: 100%;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.team-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--transition-smooth);
  width: 100%;
}

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

.team-card-body {
  padding: 1.25rem;
}

.team-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: .35rem;
}

.team-card-body p,
.team-card-body small {
  color: var(--text-muted);
  margin: 0;
}

.case-study-body {
  padding: 1.75rem;
  color: #FFFFFF;
}

.case-study-category {
  color: var(--accent-cyan);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.case-study-body h3 {
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

/* ====================================================================
   ANIMATION 5: SCROLL-TRIGGERED REVEAL SYSTEM
   ==================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Disable scroll reveal on mobile to prevent tall sections from not triggering */
@media (max-width: 991.98px) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
}

/* ====================================================================
   ANIMATION 7: DYNAMIC COUNT-UP METRIC COUNTERS
   ==================================================================== */
.metric-number {
  font-family: var(--font-family-heading);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--accent-cyan);
  line-height: 1;
}

/* ====================================================================
   ANIMATION 10: ACCORDION SMOOTH EXPAND & ICON SPIN
   ==================================================================== */
.accordion-button {
  font-weight: 600;
  color: var(--text-dark);
  padding: 1.1rem 1.35rem;
  background-color: #FFFFFF;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-brand);
  background-color: var(--accent-subtle);
  box-shadow: none;
}

.accordion-button::after {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ====================================================================
   MOBILE & LAPTOP RESPONSIVE MEDIA QUERIES
   ==================================================================== */
@media (max-width: 991.98px) {
  .navbar-infosys {
    padding: 0.75rem 0;
  }

  .hero-infosys {
    padding: 7rem 1rem 3rem 1rem;
    min-height: auto;
  }

  .prompt-card-container {
    padding: 1.75rem 1.15rem 1.15rem 1.15rem;
    border-radius: 16px;
  }

  .prompt-mic-badge {
    top: -22px;
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
  }

  .hero-scene-controls {
    flex-wrap: wrap;
    gap: 0.5rem !important;
  }

  .hero-headline-carousel {
    min-height: auto;
  }

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

@media (max-width: 575.98px) {
  .navbar-brand-infosys {
    font-size: 1.25rem;
  }

  .nav-menu-circle-btn {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .btn-ask-ai {
    padding: 0.35rem 0.8rem;
    font-size: 0.78rem;
  }

  .hero-editorial-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .prompt-textarea {
    font-size: 0.95rem;
  }

  .prompt-tag-pill {
    font-size: 0.78rem;
    padding: 0.3rem 0.65rem;
  }

  .hero-scene-pill {
    font-size: 0.78rem;
    padding: 0.3rem 0.75rem;
  }

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

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

  .hero-intro {
    padding: .75rem 0;
  }
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {

  .reveal-on-scroll,
  .hero-video-slide,
  .hero-editorial-title,
  .prompt-mic-badge {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Footer System */
.footer-corporate {
  background-color: #050C17;
  color: #CBD5E1;
  padding: 4.5rem 0 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-corporate p {
  color: #CBD5E1 !important;
}

.footer-title {
  color: #FFFFFF !important;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #E2E8F0 !important;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: #00F0FF !important;
  padding-left: 4px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.footer-social-link:hover {
  background: var(--primary-brand);
  color: #FFFFFF !important;
  border-color: #00F0FF;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 86, 210, 0.4);
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.92rem;
  color: #CBD5E1 !important;
}

.footer-bottom a {
  color: #E2E8F0 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #FFFFFF !important;
  text-decoration: underline;
}

/* ====================================================================
   COOKIE CONSENT BANNER (Dynamic)
   ==================================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: -20px;
  left: 0;
  width: 100%;
  background: #FFFFFF;
  color: var(--text-dark);
  z-index: 1060;
  padding: 1.5rem;
  border-top: 1px solid var(--border-light);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, bottom 0.4s ease;
  visibility: hidden;
}

.cookie-consent-banner.show {
  transform: translateY(0);
  opacity: 1;
  bottom: 0;
  visibility: visible;
}

.cookie-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 0.75rem;
  z-index: 10;
}

@media (min-width: 992px) {
  .cookie-consent-banner {
    bottom: 20px;
    left: 20px;
    width: calc(100% - 40px);
    max-width: 1000px;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    padding: 2rem;
    transform: translateY(150%);
  }

  .cookie-actions {
    flex-direction: row !important;
    gap: 1rem !important;
    justify-content: flex-end;
  }

  .cookie-actions .btn {
    width: auto !important;
    min-width: 140px;
  }
}

/* ====================================================================
   FLOATING UTILITY BUTTONS — WhatsApp & Back to Top
   ==================================================================== */

/* Left Side Widget Stack */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 1050;
  width: 54px;
  height: 54px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 16px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.whatsapp-float .wa-tooltip {
  position: absolute;
  left: 70px;
  background: #0B192C;
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.whatsapp-float .wa-tooltip::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: #0B192C;
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
}

.grecaptcha-badge {
  right: 28px !important;
  left: auto !important;
  bottom: 100px !important;
  width: 70px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  border-radius: 8px !important;
  transition: width 0.3s ease !important;
}

.grecaptcha-badge:hover {
  width: 256px !important;
}

/* Left Side Widget Stack */
.back-to-top-btn {
  position: fixed;
  bottom: 100px;
  /* Sits exactly above WhatsApp */
  left: 28px;
  right: auto;
  z-index: 1050;
  width: 46px;
  height: 46px;
  background: var(--primary-brand, #0056D2);
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(0, 86, 210, 0.4);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, box-shadow 0.2s ease;
  pointer-events: none;
}

.back-to-top-btn.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top-btn:hover {
  background: var(--primary-hover, #0041A3);
  box-shadow: 0 8px 24px rgba(0, 86, 210, 0.55);
}

/* Mobile Adjustments */
@media (max-width: 767.98px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding-bottom: 5rem;
    gap: 1.25rem;
  }

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

  .whatsapp-float {
    bottom: 22px;
    left: 16px;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }

  .grecaptcha-badge {
    right: 16px !important;
    left: auto !important;
    bottom: 90px !important;
  }

  .back-to-top-btn {
    bottom: 90px;
    left: 16px;
    right: auto;
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .whatsapp-float .wa-tooltip {
    display: none;
    /* tooltip off on touch devices */
  }
}

/* Extracted Services CSS */

/* ── Services Page Specific Styles ── */
.services-hero {
  background: linear-gradient(135deg, #040A12 0%, #0B192C 60%, #061730 100%);
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.services-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 86, 210, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.breadcrumb-nav {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  color: #00B4D8;
}

.breadcrumb-sep {
  margin: 0 0.5rem;
}

/* Quick-nav tabs */
.service-nav-wrap {
  background: #fff;
  border-bottom: 1px solid #E2E8F0;
  position: sticky;
  top: 70px;
  /* desktop: below fixed navbar */
  z-index: 199;
  /* MUST be below Bootstrap offcanvas (1045) and backdrop (1040) */
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

@media (max-width: 991.98px) {
  .service-nav-wrap {
    top: 58px;
  }

  /* mobile: navbar is shorter */
}

/* Ensure Bootstrap offcanvas + backdrop always above nav */
.offcanvas-backdrop {
  z-index: 1040 !important;
}

.offcanvas {
  z-index: 1045 !important;
}

.service-nav-scroll {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.service-nav-scroll::-webkit-scrollbar {
  display: none;
}

.service-nav-tab {
  flex-shrink: 0;
  padding: 0.9rem 1.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748B;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.service-nav-tab:hover,
.service-nav-tab.active {
  color: #0056D2;
  border-bottom-color: #0056D2;
}

/* Service section alternating layout */
.service-section {
  padding: 5rem 0;
  border-bottom: 1px solid #F1F5F9;
}

.service-section:nth-child(even) {
  background-color: #FAFBFE;
}

.service-section:last-child {
  border-bottom: none;
}

.service-icon-lg {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  color: #0056D2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  flex-shrink: 0;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 86, 210, 0.12);
}

.service-title {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.4rem;
}

.service-tagline {
  color: #0056D2;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.service-desc {
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1.5rem;
  margin-bottom: 1.75rem;
}

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

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.91rem;
  color: #334155;
}

.feature-item i {
  color: #0056D2;
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.82rem;
}

/* "Who it's for" chips */
.for-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.for-chip {
  padding: 0.3rem 0.85rem;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
}

.btn-service-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: #0056D2;
  color: #fff;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 86, 210, 0.3);
}

.btn-service-cta:hover {
  background: #0041A3;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 86, 210, 0.4);
}

/* CTA Banner */
.services-cta-banner {
  background: linear-gradient(135deg, #0056D2 0%, #00B4D8 100%);
  padding: 5rem 0;
  text-align: center;
  color: #fff;
}

.services-cta-banner h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.services-cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.25rem;
  background: #fff;
  color: #0056D2;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  text-decoration: none;
  margin-top: 1.75rem;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-cta-white:hover {
  background: #F0F9FF;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

/* CSS From careers.php */

/* ══════════════════════════════════════════════
       Referral Page — Scoped Styles
       ══════════════════════════════════════════════ */

/* ── Service Cards ── */
.service-ref-card {
  background: var(--bg-card, #fff);
  border: 1.5px solid var(--border-light, #E2E8F0);
  border-radius: var(--radius-lg, 16px);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: all var(--transition-normal, 0.35s);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-ref-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 86, 210, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-normal, 0.35s);
}

.service-ref-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-brand, #0056D2);
  box-shadow: var(--shadow-hover, 0 20px 48px rgba(0, 86, 210, 0.15));
}

.service-ref-card:hover::before {
  opacity: 1;
}

.service-ref-card .svc-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-subtle, #E8F1FF);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.4rem;
  color: var(--primary-brand, #0056D2);
  transition: all var(--transition-fast, 0.2s);
}

.service-ref-card:hover .svc-icon {
  background: var(--primary-brand, #0056D2);
  color: #fff;
}

.service-ref-card h5 {
  font-family: var(--font-family-heading, 'Space Grotesk', sans-serif);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark, #0F172A);
  margin: 0;
}

/* ── Steps ── */
.step-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--bg-card, #fff);
  border: 1.5px solid var(--border-light, #E2E8F0);
  border-radius: var(--radius-lg, 16px);
  transition: box-shadow var(--transition-fast, 0.2s);
}

.step-item:hover {
  box-shadow: var(--shadow-md, 0 8px 24px rgba(15, 23, 42, 0.08));
}

.step-num {
  min-width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-brand, #0056D2), var(--accent-cyan, #00B4D8));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  font-family: var(--font-family-heading, 'Space Grotesk', sans-serif);
  flex-shrink: 0;
}

.step-body h5 {
  font-family: var(--font-family-heading, 'Space Grotesk', sans-serif);
  font-weight: 700;
  color: var(--text-dark, #0F172A);
  margin-bottom: 0.25rem;
}

.step-body p {
  color: var(--text-muted, #64748B);
  font-size: 0.9rem;
  margin: 0;
}

/* ── Form card ── */
.referral-form-card {
  background: #fff;
  border: 1.5px solid var(--border-light, #E2E8F0);
  border-radius: var(--radius-lg, 16px);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-md, 0 8px 24px rgba(15, 23, 42, 0.08));
}

.form-section-label {
  font-family: var(--font-family-heading, 'Space Grotesk', sans-serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-brand, #0056D2);
  border-left: 4px solid var(--primary-brand, #0056D2);
  padding-left: 0.75rem;
  margin-bottom: 1.25rem;
}

.form-divider {
  border: none;
  border-top: 1.5px dashed var(--border-light, #E2E8F0);
  margin: 2rem 0;
}

.consent-box {
  background: var(--accent-subtle, #E8F1FF);
  border: 1.5px solid rgba(0, 86, 210, 0.2);
  border-radius: var(--radius-md, 8px);
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-body, #334155);
}

.consent-box i {
  color: var(--primary-brand, #0056D2);
}

/* ── Audience badges ── */
.audience-badge-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.audience-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.audience-badge i {
  margin-right: 4px;
}

/* ── Highlight band ── */
.highlight-band {
  background: linear-gradient(135deg, #0B192C 0%, #0056D2 100%);
  border-radius: var(--radius-lg, 16px);
  color: #fff;
  padding: 2.5rem 2rem;
}

.highlight-band .stat-num {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-family-heading, 'Space Grotesk', sans-serif);
  color: var(--accent-cyan, #00B4D8);
}

@media (max-width: 576px) {
  .referral-form-card {
    padding: 1.5rem 1rem;
  }
}