/* ==========================================================================
   NEXUM SCHOLARS - LUXURY ENTERPRISE DESIGN SYSTEM & STYLESHEET
   Colors: Navy Blue (#0A1F44), Royal Blue (#123C8D), Gold (#D4AF37), Light Gold (#F5E7A1)
   ========================================================================== */

:root {
  /* Color Palette */
  --navy-dark: #061329;
  --navy-primary: #0A1F44;
  --navy-light: #162E5C;
  --royal-blue: #123C8D;
  --royal-blue-light: #1E4FAE;
  
  --gold-primary: #D4AF37;
  --gold-hover: #B89324;
  --gold-light: #F5E7A1;
  --gold-soft: #FFF9E6;
  
  --emerald-success: #059669;
  --emerald-light: #D1FAE5;
  
  --bg-light: #F8F9FA;
  --bg-card: #FFFFFF;
  --border-light: #E5E7EB;
  --border-gold: rgba(212, 175, 55, 0.3);

  --text-dark: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F5E7A1 50%, #B89324 100%);
  --gradient-navy: linear-gradient(135deg, #0A1F44 0%, #123C8D 100%);
  --gradient-hero: linear-gradient(135deg, #061329 0%, #0A1F44 50%, #123C8D 100%);
  --gradient-card-hover: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(245,231,161,0.05) 100%);

  /* Elevation Shadows */
  --shadow-sm: 0 2px 4px rgba(10, 31, 68, 0.04);
  --shadow-md: 0 4px 16px rgba(10, 31, 68, 0.08);
  --shadow-lg: 0 12px 32px rgba(10, 31, 68, 0.12);
  --shadow-gold: 0 8px 24px rgba(212, 175, 55, 0.25);
  --shadow-glass: 0 8px 32px 0 rgba(10, 31, 68, 0.2);

  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Premium Academic Clean Typography */
p, .hero-description, .cta-description, .service-card p, .editor-body p {
  text-align: left;
  line-height: 1.7;
}

.quality-card-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-primary);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2.25rem, 4vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h4 { font-size: 1.15rem; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  background: rgba(212, 175, 55, 0.12);
  color: #B89324;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

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

.text-gold-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-primary-gold {
  background: var(--gradient-gold);
  color: var(--navy-dark);
  box-shadow: var(--shadow-gold);
}

/* Continuous Light-Beam Animation on All Golden CTA Buttons */
@keyframes continuousLightBeam {
  0% {
    left: -130%;
  }
  25% {
    left: 140%;
  }
  100% {
    left: 140%;
  }
}

.btn-primary-gold,
.btn-gold,
.btn-primary,
button.btn-primary-gold,
a.btn-primary-gold,
.btn-gold-shimmer {
  position: relative !important;
  overflow: hidden !important;
  z-index: 1 !important;
}

.btn-primary-gold::after,
.btn-gold::after,
.btn-primary::after,
button.btn-primary-gold::after,
a.btn-primary-gold::after,
.btn-gold-shimmer::after {
  content: '' !important;
  position: absolute !important;
  top: -50% !important;
  left: -130% !important;
  width: 75% !important;
  height: 200% !important;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 255, 255, 0) 100%
  ) !important;
  transform: rotate(25deg) !important;
  animation: continuousLightBeam 2.5s infinite linear !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.btn-primary-gold:hover,
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.4);
}

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

.btn-navy:hover {
  background: var(--royal-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
}

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

.btn-outline-gold:hover {
  background: var(--gold-primary);
  color: var(--navy-dark);
}

/* Header & Navigation */
.header-topbar {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.topbar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.header-main {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: #FFFFFF !important;
  backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(10, 31, 68, 0.08);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.brand-text-fallback {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--navy-primary);
}

.brand-text-fallback span {
  color: var(--gold-hover);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--navy-primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s ease;
}

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

/* Mega Dropdown */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 1080px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(10, 31, 68, 0.16);
  padding: 2.25rem 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border-gold);
  z-index: 1100;
}

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

.mega-cat-group:not(:last-child) {
  margin-bottom: 1.5rem;
}

.mega-column h5 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-hover);
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid rgba(212, 175, 55, 0.25);
  font-weight: 800;
}

.mega-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mega-list a {
  color: var(--navy-primary);
  font-size: 0.86rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.mega-list a:hover {
  color: var(--royal-blue);
  background: rgba(18, 60, 141, 0.05);
  transform: translateX(4px);
}

/* Hero Section */
.hero-section {
  background: var(--gradient-hero);
  color: var(--text-white);
  padding: 5rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(10, 31, 68, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(4px);
}

.hero-title {
  color: var(--text-white);
  margin-bottom: 1.25rem;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

.trust-item svg {
  color: var(--gold-primary);
}

/* Glassmorphism Consultation Card in Hero */
.hero-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-glass);
}

.hero-card-header {
  margin-bottom: 1.25rem;
  text-align: center;
}

.hero-card-header h3 {
  color: var(--text-white);
  font-size: 1.35rem;
}

.hero-card-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  margin-top: 0.25rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.35rem;
}

.modal-body .form-group label {
  color: var(--navy-primary) !important;
  font-weight: 700;
  font-size: 0.85rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1.5px solid rgba(212, 175, 55, 0.6);
  background: #FFFFFF;
  color: var(--navy-primary);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(10, 31, 68, 0.03);
}

.form-control:focus {
  outline: none;
  border-color: #B89324;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.25);
  background: #FFFFFF;
}

.form-control::placeholder {
  color: #94A3B8;
  font-weight: 400;
}

.modal-body .form-control {
  border: 1.5px solid rgba(212, 175, 55, 0.6);
  background: #FFFFFF;
  color: var(--navy-primary);
}

.modal-body .form-control:focus {
  border-color: #B89324;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.25);
}

/* Trust Bar / Statistics Banner */
.stats-banner {
  background: #FFFFFF;
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 2rem 2.5rem;
  border: 1px solid var(--border-light);
}

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

.stat-item {
  text-align: center;
  padding: 0.5rem;
}

.stat-item:not(:last-child) {
  border-right: 1px solid var(--border-light);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--navy-primary);
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.25rem;
}

/* Section Wrapper */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

/* Service Grid & Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(10, 31, 68, 0.05);
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card:hover .service-icon {
  background: var(--navy-primary);
  color: var(--gold-primary);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--royal-blue);
  font-weight: 700;
}

/* Ultra-Premium Clean Non-Image Service Cards */
.services-grid-premium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .services-grid-premium {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
}

@media (max-width: 640px) {
  .services-grid-premium {
    grid-template-columns: 1fr !important;
  }
}

.service-card-premium {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 4px 20px rgba(10, 31, 68, 0.05);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.service-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-gold);
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.service-card-premium:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(212, 175, 55, 0.25);
  border-color: #B89324;
}

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

.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.service-card-badge {
  background: #FFF9E6;
  color: #B89324;
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-card-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-light);
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-card-premium:hover .service-card-icon-box {
  background: var(--navy-primary);
  color: var(--gold-primary);
}

.service-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 0.65rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.35;
}

.service-card-title a {
  color: var(--navy-primary);
  transition: color 0.2s ease;
  text-decoration: none;
}

.service-card-premium:hover .service-card-title a {
  color: var(--royal-blue);
}

.service-card-arrow {
  color: var(--gold-hover);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.service-card-premium:hover .service-card-arrow {
  transform: translate(3px, -3px);
  color: var(--royal-blue);
}

.service-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  text-align: left;
}

.service-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #F1F5F9;
  font-size: 0.82rem;
  color: var(--navy-primary);
  font-weight: 600;
}

.service-card-features span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Timeline Process Section */
.timeline-section {
  background: var(--navy-dark);
  color: var(--text-white);
  padding: 5rem 0;
}

.timeline-section h2 {
  color: var(--text-white);
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}

.timeline-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.75rem 1.25rem;
  position: relative;
  text-align: center;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: var(--navy-dark);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  font-size: 1.1rem;
}

.step-title {
  color: var(--text-white);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.step-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

/* Luxury 5-Stage Connected Horizontal Process Grid */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  position: relative;
}

.roadmap-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 1.75rem 1rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(10, 31, 68, 0.05);
  text-align: center;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.roadmap-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(10, 31, 68, 0.12);
  border-color: var(--gold-primary);
}

.roadmap-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--navy-dark);
  background: var(--gradient-gold);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.roadmap-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy-dark);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(10, 31, 68, 0.2);
  transition: all 0.3s ease;
}

.roadmap-card:hover .roadmap-icon {
  background: var(--gradient-gold);
  color: var(--navy-dark);
  transform: scale(1.1);
}

.roadmap-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.roadmap-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

.roadmap-connector {
  position: absolute;
  top: 50%;
  right: -15px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFF;
  border: 2px solid var(--gold-primary);
  color: var(--gold-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

@media (max-width: 992px) {
  .roadmap-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .roadmap-connector {
    display: none !important;
  }
}

/* Domain Expertise Matrix */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.domain-card {
  background: #FFFFFF;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
}

.domain-card:hover {
  border-color: var(--gold-primary);
  background: var(--gold-soft);
  transform: translateX(4px);
}

.domain-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(18, 60, 141, 0.08);
  color: var(--royal-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.domain-info h4 {
  font-size: 0.95rem;
  color: var(--navy-primary);
}

.domain-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem 0;
  border-top: 3px solid var(--gold-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-about img {
  height: 52px;
  margin-bottom: 1.25rem;
}

.footer-about p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: var(--gold-primary);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item svg {
  color: var(--gold-primary);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

/* Floating Actions Bar */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  color: #FFFFFF;
  cursor: pointer;
  transition: transform 0.25s ease;
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-whatsapp {
  background: #25D366;
}

.floating-phone {
  background: var(--royal-blue);
}

.floating-tooltip {
  position: absolute;
  right: 64px;
  background: var(--navy-dark);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
}

/* Modal Windows */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 19, 41, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal-container {
  background: #FFFFFF;
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  position: relative;
  border: 1px solid var(--border-gold);
}

.modal-header {
  background: var(--navy-primary);
  color: #FFFFFF;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  color: #FFFFFF;
  font-size: 1.25rem;
}

.modal-close {
  background: transparent;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  opacity: 0.8;
}

.modal-close:hover {
  opacity: 1;
}

.modal-body {
  padding: 2rem;
}

/* SEO Details Block on Service Pages */
.seo-spec-box {
  background: rgba(10, 31, 68, 0.03);
  border: 1px solid rgba(10, 31, 68, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.seo-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  font-size: 0.85rem;
}

.seo-spec-item strong {
  color: var(--navy-primary);
  display: block;
}

/* Animated 8-Step Interactive Roadmap Styling */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

@media (max-width: 1100px) {
  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.roadmap-card {
  background: #FFF;
  border: 1.5px solid var(--border-gold);
  border-radius: 14px;
  padding: 1.6rem 1.25rem;
  text-align: center;
  position: relative;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.roadmap-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 32px rgba(10, 31, 68, 0.12);
  border-color: #B89324;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF5 100%);
}

.roadmap-badge {
  position: absolute;
  top: -12px;
  background: var(--gradient-gold);
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.2rem 0.65rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
  letter-spacing: 0.05em;
}

.roadmap-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy-dark);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.roadmap-card:hover .roadmap-icon {
  transform: rotate(10deg) scale(1.1);
  background: var(--royal-blue);
  color: #FFF;
}

.roadmap-title {
  color: var(--navy-primary);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.roadmap-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.roadmap-connector {
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  border: 1px solid var(--border-gold);
}

@media (max-width: 1100px) {
  .roadmap-connector { display: none; }
}

/* Pre-Footer High-Impact Conversion Banner (100% Full-Width) */
.pre-footer-cta-section {
  width: 100%;
  background: var(--gradient-hero);
  color: #FFFFFF;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pre-footer-cta-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, rgba(10, 31, 68, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pre-footer-cta-content {
  position: relative;
  z-index: 2;
}

.cta-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.cta-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  color: #FFFFFF;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-dr-highlight {
  font-style: italic;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 0.2rem;
}

.cta-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 860px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 2rem;
}

.cta-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.cta-trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Native App-Like Mobile Navigation Drawer & Submenu Sliding Panels */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--navy-primary);
  cursor: pointer;
  padding: 0.4rem;
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 31, 68, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  left: -360px;
  width: 320px;
  max-width: 86vw;
  height: 100vh;
  background: #FFFFFF;
  z-index: 9999;
  box-shadow: 10px 0 30px rgba(10, 31, 68, 0.25);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s ease;
  overflow: hidden;
}

.mobile-drawer.active {
  visibility: visible;
  pointer-events: auto;
  transform: translateX(360px);
}

.mobile-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-panel-main {
  transform: translateX(0);
}

.mobile-panel-main.slide-left {
  transform: translateX(-100%);
}

.mobile-panel-sub {
  transform: translateX(100%);
}

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

.mobile-drawer-header {
  padding: 1.25rem 1.25rem;
  background: #0A1F44;
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-close-btn, .mobile-back-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.mobile-drawer-body {
  padding: 1.25rem;
  flex-grow: 1;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  color: var(--navy-primary);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 10px;
  margin-bottom: 0.45rem;
  transition: background 0.2s ease;
  background: #F8F9FA;
  border: 1px solid var(--border-light);
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  background: var(--gold-soft);
  color: var(--gold-hover);
}

.mobile-has-submenu {
  width: 100%;
  justify-content: space-between;
  cursor: pointer;
}

.mobile-has-submenu span {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.mobile-sub-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  color: var(--navy-primary);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  border-radius: 8px;
  background: #F8F9FA;
  border: 1px solid #E5E7EB;
}

.mobile-sub-link:hover {
  background: var(--gold-soft);
  color: var(--royal-blue);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .timeline-steps { grid-template-columns: repeat(2, 1fr); }
  .domain-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mega-dropdown { width: 92vw; left: 50%; transform: translateX(-50%) translateY(10px); grid-template-columns: 1fr 1fr; }
  .nav-item:hover .mega-dropdown { transform: translateX(-50%) translateY(0); }
  .service-detail-grid { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
}

@media (max-width: 992px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
  .header-main .btn-primary-gold { font-size: 0.8rem; padding: 0.5rem 0.85rem; }
  .brand-logo img { height: 36px !important; width: auto !important; }
}

/* Global Mobile Layout & Horizontal Scroll Fixes (Use clip so position:sticky works) */
html, body {
  overflow-x: clip;
  max-width: 100vw;
}

@media (max-width: 768px) {
  /* Remove blue radial glow smudges on mobile view */
  .hero-section::before,
  .hero-section::after,
  .pre-footer-cta-section::before,
  .pre-footer-cta-section::after {
    display: none !important;
  }

  .topbar-hide-mobile { display: none !important; }
  .topbar-mobile-phone { width: 100% !important; text-align: center !important; justify-content: center !important; font-size: 0.82rem !important; font-weight: 600 !important; }
  .header-topbar-inner { padding: 0.4rem 1rem !important; justify-content: center !important; }

  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Header Layout Alignment on Mobile: Logo Left, Button Middle, Menu Toggle Right */
  .header-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.75rem 0.85rem !important;
    gap: 0.35rem !important;
  }

  .header-order-logo { order: 1 !important; flex-shrink: 0 !important; }
  .header-order-btn { order: 2 !important; margin: 0 auto !important; flex-shrink: 0 !important; }
  .header-order-toggle { order: 3 !important; flex-shrink: 0 !important; }

  .brand-logo img {
    height: 46px !important;
    max-width: 165px !important;
    object-fit: contain;
  }

  .header-main .btn-primary-gold {
    font-size: 0.72rem !important;
    padding: 0.4rem 0.65rem !important;
    white-space: nowrap !important;
  }

  /* Services Grid 1 - 1 Stack on Mobile (Fix Screenshot 2) */
  .services-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .service-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Force 1-Column Layout for inline style grids on mobile */
  div[style*="grid-template-columns:repeat(3, 1fr)"],
  div[style*="grid-template-columns: repeat(3, 1fr)"],
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns:1fr 340px"],
  div[style*="grid-template-columns: 1fr 340px"],
  div[style*="grid-template-columns:repeat(4, 1fr)"],
  div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* Prevent any text cutoff / wording overflow */
  h1, h2, h3, h4, h5, p, span, a, button, label {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  /* Hero Card Form Mobile Optimization */
  .hero-card {
    padding: 1.25rem 1rem !important;
    margin-top: 1.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-title {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
  }

  .hero-description {
    font-size: 0.95rem !important;
  }

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .overview-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

  /* Reduce Heavy Container Padding on Mobile to prevent text cutoff */
  div[style*="padding:2.5rem"], div[style*="padding: 2.5rem"], div[style*="padding:3rem"] {
    padding: 1.5rem 1.15rem !important;
  }

  /* Form controls box-sizing on mobile */
  .form-control, input, select, textarea {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Trust Bar & Stats Banner on Mobile */
  .stats-banner {
    padding: 1.25rem 1rem !important;
    margin-top: -1.5rem !important;
  }

  /* Pre-Footer Section Alignment & Center Buttons on Mobile */
  .pre-footer-cta-content {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .cta-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 1rem !important;
  }

  .cta-actions .btn {
    width: 100% !important;
    max-width: 320px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .cta-trust-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    width: 100% !important;
    text-align: center !important;
  }

  /* Footer Layout & Grid Overhaul on Mobile */
  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
    text-align: center !important;
  }

  .footer-about, .footer-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    text-align: center !important;
  }

  .footer-about p {
    text-align: center !important;
  }

  .footer-about div[style*="display:flex"] {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }

  .footer-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 0 !important;
  }

  .footer-links li {
    text-align: center !important;
  }

  .footer-contact-item {
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 1.25rem !important;
    padding: 1.5rem 0 !important;
  }

  .footer-legal-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.85rem 1.25rem !important;
    width: 100% !important;
  }

  .quality-card-footer {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.25rem !important;
  }

  .quality-card-footer .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
  }

  .btn {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}
