/* ==========================================================================
   AYUSHI ELEVATORS - MODERN DESIGN SYSTEM
   Based on modern vertical mobility corporate design specs
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --primary: #3B28CC;
  --primary-hover: #2E1CA8;
  --primary-light: #5925DC;
  --primary-subtle: #EEF2FF;
  --primary-border: #C7D2FE;
  --primary-gradient: linear-gradient(135deg, #3B28CC 0%, #5925DC 100%);
  --cta-gradient: linear-gradient(135deg, #1E0E8E 0%, #3B28CC 45%, #4F46E5 100%);

  /* Neutral & Slate Colors */
  --dark-bg: #0B1120;
  --dark-card: #131D31;
  --dark-border: #1E293B;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --white: #FFFFFF;

  /* Typography */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 35px -5px rgba(59, 40, 204, 0.12), 0 8px 16px -4px rgba(0, 0, 0, 0.04);
  --shadow-primary: 0 10px 25px -3px rgba(59, 40, 204, 0.35);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 50px;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background-color: #FFFFFF;
  color: var(--slate-700);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.brand-title {
  color: var(--slate-900);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--slate-600);
  margin-bottom: 1rem;
}

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

/* Utility Classes */
.text-primary-color {
  color: var(--primary) !important;
}

.text-primary-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.bg-slate-50 {
  background-color: var(--slate-50);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.title-accent-bar {
  width: 50px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 4px;
  margin: 0 auto 1.5rem auto;
}

.title-accent-bar.left {
  margin-left: 0;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate-500);
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

/* Buttons */
.btn-primary-pill {
  background: var(--primary-gradient);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(59, 40, 204, 0.28);
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
  color: #FFFFFF !important;
}

.btn-outline-pill {
  background: transparent;
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-outline-pill:hover {
  background: #FFFFFF;
  color: var(--primary) !important;
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-white-pill {
  background: #FFFFFF;
  color: var(--primary) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 32px;
  border-radius: var(--radius-pill);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.btn-white-pill:hover {
  background: var(--slate-100);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: var(--primary-hover) !important;
}

.btn-outline-white {
  background: transparent;
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

.btn-card-learn {
  background: var(--primary-gradient);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  display: inline-block;
  transition: var(--transition);
  border: none;
  width: 100%;
  text-align: center;
}

.btn-card-learn:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(59, 40, 204, 0.3);
}

/* Backward compatibility for existing buttons */
.btn-gold {
  background: var(--primary-gradient) !important;
  color: #FFFFFF !important;
  border-radius: var(--radius-pill) !important;
  border: none !important;
  font-weight: 600 !important;
  padding: 10px 24px !important;
}

.btn-gold:hover {
  box-shadow: var(--shadow-primary) !important;
}

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

/* ==========================================================================
   NAVBAR & HEADER - LUXURY ARCHITECTURAL REDESIGN
   ========================================================================== */
#navbar.header-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1040;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

/* --- Top Utility Bar --- */
.nav-topbar {
  background: rgba(8, 13, 24, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
  max-height: 44px;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.35s ease, border-color 0.3s ease;
}

#navbar.scrolled .nav-topbar {
  max-height: 0;
  opacity: 0;
  padding: 0;
  border-bottom: none;
}

.topbar-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
}

.topbar-chip-text {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.topbar-hotline-link {
  color: #FBBF24;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.topbar-hotline-link:hover {
  color: #FDE68A;
  text-decoration: underline;
}

.topbar-sep {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.18);
}

.topbar-badge-iso {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #FFFFFF;
}

.topbar-contact-item {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.topbar-contact-item:hover {
  color: #FFFFFF;
}

/* Pulsing live dot */
.live-dot-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: liveDotPulse 2s infinite;
  vertical-align: middle;
}

@keyframes liveDotPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* --- Main Navigation Bar --- */
.main-navigation {
  background: rgba(11, 17, 32, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

#navbar.scrolled .main-navigation {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
  padding: 10px 0;
}

.navbar-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

/* Nav Links Styling */
.main-navigation .nav-link {
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 16px !important;
  position: relative;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease;
}

.main-navigation .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2.5px;
  background: var(--primary-light);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-navigation .nav-link:hover::after,
.main-navigation .nav-link.active::after {
  transform: scaleX(1);
}

.main-navigation .nav-link:hover {
  color: #FFFFFF;
}

#navbar.scrolled .main-navigation .nav-link {
  color: var(--slate-700);
}

#navbar.scrolled .main-navigation .nav-link:hover,
#navbar.scrolled .main-navigation .nav-link.active {
  color: var(--primary);
}

#navbar.scrolled .main-navigation .nav-link::after {
  background: var(--primary);
}

/* Chevron icon in dropdown */
.nav-chevron-icon {
  font-size: 0.7rem;
  margin-left: 4px;
  transition: transform 0.25s ease;
}

/* --- Mega Dropdown Desktop --- */
@media (min-width: 992px) {
  .mega-dropdown-wrapper {
    position: static !important;
  }

  .main-navigation .container {
    position: relative;
  }

  .mega-dropdown-menu {
    display: block !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 860px;
    max-width: 95vw;
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.22), 0 0 1px rgba(15, 23, 42, 0.08);
    padding: 24px;
    margin-top: 0;
    z-index: 1060;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s ease;
  }

  /* Invisible hover bridge to eliminate gap between toggle and menu */
  .mega-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 0;
    right: 0;
    height: 26px;
    background: transparent;
  }

  /* Keep dropdown open on hover OR on click (.show) */
  .mega-dropdown-wrapper:hover > .mega-dropdown-menu,
  .mega-dropdown-wrapper.show > .mega-dropdown-menu,
  .mega-dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
    pointer-events: auto !important;
  }

  .mega-dropdown-wrapper:hover .nav-chevron-icon,
  .mega-dropdown-wrapper.show .nav-chevron-icon,
  .mega-dropdown-wrapper .dropdown-toggle[aria-expanded="true"] .nav-chevron-icon {
    transform: rotate(180deg);
  }
}

/* Mega Menu Internal Structure */
.mega-menu-topbar {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--slate-200);
}

.mega-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
  text-transform: uppercase;
  display: block;
}

.mega-heading {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--slate-900);
  margin: 2px 0 0 0;
}

.mega-explore-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mega-explore-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Mega Item Card */
.mega-item-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.22s ease;
}

.mega-item-card:hover {
  background: var(--slate-50);
  border-color: var(--slate-200);
  transform: translateX(3px);
}

.mega-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all 0.22s ease;
}

.mega-item-card:hover .mega-icon-box {
  background: var(--primary-gradient);
  color: #FFFFFF;
  transform: scale(1.05);
}

.mega-item-info h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--slate-900);
  margin-bottom: 2px;
  transition: color 0.2s ease;
}

.mega-item-card:hover .mega-item-info h6 {
  color: var(--primary);
}

.mega-item-info p {
  font-size: 0.78rem;
  color: var(--slate-500);
  margin: 0;
  line-height: 1.35;
}

.mega-item-arrow {
  margin-left: auto;
  color: var(--slate-400);
  font-size: 0.82rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.2s ease;
}

.mega-item-card:hover .mega-item-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--primary);
}

/* Mega Menu Bottombar */
.mega-menu-bottombar {
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--slate-50);
  border-radius: 12px;
  border: 1px solid var(--slate-200);
}

.mega-bottom-text {
  font-size: 0.82rem;
  color: var(--slate-600);
}

.mega-bottom-btn {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.mega-bottom-btn:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* --- Direct Helpline Pill in Navbar --- */
.nav-helpline-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  transition: all 0.25s ease;
}

.nav-helpline-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.helpline-tag {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1;
  font-weight: 600;
}

.helpline-digits {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
}

.nav-helpline-pill:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

#navbar.scrolled .nav-helpline-pill {
  background: var(--slate-50);
  border-color: var(--slate-200);
}

#navbar.scrolled .helpline-tag {
  color: var(--slate-500);
}

#navbar.scrolled .helpline-digits {
  color: var(--slate-900);
}

#navbar.scrolled .nav-helpline-pill:hover {
  background: var(--primary-subtle);
  border-color: var(--primary-border);
}

#navbar.scrolled .nav-helpline-pill:hover .helpline-digits {
  color: var(--primary);
}

/* --- Primary Quote Button --- */
.btn-nav-cta {
  background: var(--primary-gradient);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 50px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(59, 40, 204, 0.32);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 40, 204, 0.45);
  color: #FFFFFF !important;
}

.btn-nav-cta i {
  transition: transform 0.25s ease;
}

.btn-nav-cta:hover i {
  transform: translateX(4px);
}

/* --- Custom Animated Hamburger Toggler --- */
.custom-nav-toggler {
  border: none;
  background: transparent;
  padding: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.custom-nav-toggler:focus {
  box-shadow: none;
  outline: none;
}

.custom-nav-toggler .nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2.5px;
  border-radius: 3px;
  background-color: #FFFFFF;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.2s ease;
}

#navbar.scrolled .custom-nav-toggler .nav-toggle-bar {
  background-color: var(--slate-800);
}

.custom-nav-toggler[aria-expanded="true"] .bar-1 {
  transform: translateY(7.5px) rotate(45deg);
}

.custom-nav-toggler[aria-expanded="true"] .bar-2 {
  opacity: 0;
  transform: scaleX(0);
}

.custom-nav-toggler[aria-expanded="true"] .bar-3 {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(11, 17, 32, 0.62), rgba(11, 17, 32, 0.72)),
    url('/assets/elevators/hero-1.png') no-repeat center center / cover;
  padding: 130px 0 90px 0;
  color: #FFFFFF;
}

.hero-content {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

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

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   OUR VALUES SECTION
   ========================================================================== */
.values-section {
  padding: 90px 0;
  background-color: #FFFFFF;
}

.values-lead-text {
  font-size: 1.12rem;
  color: var(--slate-700);
  max-width: 820px;
  margin: 0 auto 1.25rem auto;
  line-height: 1.7;
}

.values-sub-text {
  font-size: 0.98rem;
  color: var(--slate-500);
  max-width: 780px;
  margin: 0 auto 3rem auto;
  line-height: 1.65;
}

.value-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-xl);
}

.value-icon-box {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: var(--transition);
}

.value-card:hover .value-icon-box {
  background: var(--primary-gradient);
  color: #FFFFFF;
  transform: scale(1.08);
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
  padding: 95px 0;
  background-color: var(--slate-50);
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-img-wrap:hover img {
  transform: scale(1.03);
}

.about-experience-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--primary-gradient);
  color: #FFFFFF;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-primary);
  text-align: center;
}

.about-experience-badge .years {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.about-experience-badge .text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.9;
}

.about-content {
  padding-left: 20px;
}

.about-heading {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.about-desc {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.stat-item {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-item:hover {
  border-color: var(--primary-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--slate-500);
  font-weight: 500;
}

/* ==========================================================================
   SERVICES SECTION - FRAMED OVERLAY WITH CTA
   Matching user's reference mockup with framed border & interactive CTA
   ========================================================================== */
.services-section {
  padding: 95px 0;
  background-color: #FFFFFF;
}

.service-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  height: 380px;
  background-color: var(--slate-900);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  cursor: pointer;
  border: 1px solid var(--slate-200);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.25);
  border-color: #2563EB;
}

.service-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-bg-img {
  transform: scale(1.08);
}

/* Default state label shown at the bottom of the photo */
.service-default-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 22px 20px 22px;
  background: linear-gradient(to top, rgba(11, 17, 32, 0.88) 0%, rgba(11, 17, 32, 0.5) 60%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: #FFFFFF;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.service-default-label h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
  font-family: var(--font-heading);
}

.service-default-label span {
  font-size: 0.75rem;
  color: #CBD5E1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-default-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.service-card:hover .service-default-label {
  opacity: 0;
  transform: translateY(10px);
}

/* Active / Hover Framed Overlay - Gradient Light White with Frosted Glass Blur */
.service-framed-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(240, 245, 255, 0.76) 50%, rgba(255, 255, 255, 0.88) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s ease;
  z-index: 3;
}

.service-card:hover .service-framed-overlay,
.service-card.active .service-framed-overlay {
  opacity: 1;
}

/* Elegant Inset Border Frame - Vibrant Blue Outline with Glass Glow */
.service-inner-frame {
  width: 100%;
  height: 100%;
  border: 2px solid #2563EB;
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: inset 0 0 16px rgba(37, 99, 235, 0.18), 0 0 24px rgba(37, 99, 235, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.22) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s ease, border-color 0.3s ease;
  transform: scale(0.96);
}

.service-card:hover .service-inner-frame,
.service-card.active .service-inner-frame {
  transform: scale(1);
}

.service-frame-icon {
  font-size: 1.6rem;
  color: #2563EB;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.3));
}

.service-frame-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.service-frame-title .amp {
  color: #2563EB;
  font-size: 1.1rem;
}

.service-frame-brand {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: #1E40AF;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.service-frame-desc {
  font-size: 0.85rem;
  color: #334155;
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 20px;
  max-width: 90%;
}

/* Call To Action Button inside Frame - Vibrant Royal Blue Pill */
.service-frame-cta {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.service-frame-cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.55);
  color: #FFFFFF !important;
}

/* ==========================================================================
   OUR PROCESS SECTION
   ========================================================================== */
.process-section {
  padding: 95px 0;
  background-color: var(--slate-50);
}

.process-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-xl);
}

.process-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.process-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: var(--transition);
}

.process-card:hover .process-icon {
  background: var(--primary-gradient);
  color: #FFFFFF;
}

.process-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--slate-200);
  line-height: 1;
}

.process-card:hover .process-number {
  color: var(--primary-border);
}

.process-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.process-card p {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  padding: 95px 0;
  background-color: #FFFFFF;
}

.testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-xl);
}

.testimonial-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.star-rating {
  color: #3B28CC;
  font-size: 0.95rem;
  display: flex;
  gap: 3px;
}

.quote-icon {
  font-size: 1.8rem;
  color: var(--slate-200);
  line-height: 1;
}

.testimonial-body {
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.65;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-subtle);
}

.user-info h5 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 2px;
}

.user-info span {
  font-size: 0.8rem;
  color: var(--slate-500);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--slate-200);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  width: 28px;
  border-radius: 10px;
  background: var(--primary);
}

/* ==========================================================================
   CALL TO ACTION BANNER
   ========================================================================== */
.cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.cta-banner {
  background: var(--cta-gradient);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
  margin: 0 auto 2rem auto;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
/* ==========================================================================
   FOOTER — ELEGANT REDESIGN
   ========================================================================== */

/* ── Base shell ── */
.footer {
  background: #080f1f;
  color: #94a3b8;
  font-size: 0.88rem;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow in background */
.footer::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(37,99,235,0.10) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Top glow accent bar ── */
.footer-glow-bar {
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(37,99,235,0.5) 20%,
    #2563eb 50%,
    rgba(37,99,235,0.5) 80%,
    transparent 100%
  );
}

/* ─────────────────────────────────────────────────
   STATS STRIP
───────────────────────────────────────────────── */
.footer-stats-strip {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
}

.footer-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.footer-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 40px;
  text-align: center;
}

.fstat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.fstat-number sup {
  font-size: 0.65em;
  font-weight: 700;
  color: #2563eb;
}

.fstat-label {
  font-size: 0.70rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-top: 4px;
}

.footer-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.10);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────
   MAIN BODY
───────────────────────────────────────────────── */
.footer-body {
  padding: 64px 0 52px;
}

/* ── Brand block ── */
.footer-brand-block {
  padding-right: 24px;
}

.footer-logo {
  height: 54px;
  width: auto;
  object-fit: contain;
  margin-bottom: 18px;
  display: block;
}

.footer-tagline {
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.80rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.03em;
  padding: 10px 20px;
  border-radius: 50px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 18px rgba(37,99,235,0.35);
  margin-bottom: 20px;
}

.footer-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.50);
  color: #ffffff;
}

.footer-social-row {
  display: flex;
  gap: 10px;
}

.fsocial-chip {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.22s ease;
}

.fsocial-chip:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(37,99,235,0.40);
}

/* ── Column headings ── */
.footer-col {
  padding-top: 4px;
}

.footer-col-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 22px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.footer-col-heading span {
  position: relative;
}

.footer-col-heading span::after {
  content: '';
  display: block;
  margin-top: 8px;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, transparent);
  border-radius: 2px;
}

/* ── Nav list ── */
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-list li {
  margin-bottom: 10px;
}

.footer-nav-list a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  gap: 0;
  transition: color 0.2s ease, gap 0.2s ease;
  position: relative;
  padding-left: 0;
}

.footer-nav-list a::before {
  content: '›';
  font-size: 1.1rem;
  color: #2563eb;
  opacity: 0;
  margin-right: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, margin 0.2s ease;
  line-height: 1;
}

.footer-nav-list a:hover {
  color: #ffffff;
}

.footer-nav-list a:hover::before {
  opacity: 1;
  transform: translateX(0);
  margin-right: 6px;
}

/* ── Contact list ── */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.5;
}

.fcontact-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-contact-list a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-list a:hover {
  color: #ffffff;
}

/* ─────────────────────────────────────────────────
   BOTTOM BAR
───────────────────────────────────────────────── */
.footer-bottom-bar {
  background: rgba(0,0,0,0.35);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

@media (min-width: 992px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 16px;
  }
}

.fbottom-copy {
  font-size: 0.78rem;
  color: #475569;
  margin: 0;
  white-space: nowrap;
}

.fbottom-copy strong {
  color: #94a3b8;
}

.fbottom-dev {
  font-size: 0.76rem;
  color: #475569;
  margin: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.fbottom-dev a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.fbottom-dev a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.fbottom-dev .fa-heart {
  font-size: 0.65rem;
}

.fbottom-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
}

@media (min-width: 992px) {
  .fbottom-legal {
    justify-content: flex-end;
  }
}

.fbottom-legal a {
  font-size: 0.72rem;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.fbottom-legal a:hover {
  color: #93c5fd;
}

/* ── Responsive tweaks ── */
@media (max-width: 767.98px) {
  .footer-body {
    padding: 48px 0 40px;
  }
  .footer-brand-block {
    padding-right: 0;
    text-align: center;
  }
  .footer-logo {
    margin: 0 auto 16px;
  }
  .footer-cta-btn {
    display: inline-flex;
    margin: 0 auto 20px;
  }
  .footer-social-row {
    justify-content: center;
  }
  .footer-stat-item {
    padding: 8px 20px;
  }
  .footer-stat-divider {
    height: 28px;
  }
}

@media (max-width: 575.98px) {
  .footer-stats-row {
    gap: 4px;
  }
  .footer-stat-item {
    padding: 8px 14px;
  }
  .fstat-number {
    font-size: 1.25rem;
  }
  .footer-stat-divider {
    display: none;
  }
  .footer-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}



/* ==========================================================================
   PAGE HERO FOR INNER PAGES (Portfolio, Contact, Legal)
   ========================================================================== */
.inner-hero {
  background: linear-gradient(135deg, #0B1120 0%, #171E38 100%);
  padding: 130px 0 60px 0;
  color: #FFFFFF;
  text-align: center;
  position: relative;
}

.inner-hero .section-tag {
  color: #A5B4FC;
}

.inner-hero h1 {
  color: #FFFFFF;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 15px;
}

.inner-hero p {
  color: var(--slate-400);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 991.98px) {
  #navbar.header-navbar {
    background-color: rgba(11, 17, 32, 0.96) !important;
  }

  #navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
  }

  #navbarNav {
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 18px 20px;
    margin-top: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    max-height: 80vh;
    overflow-y: auto;
  }

  #navbar.scrolled #navbarNav {
    background: #FFFFFF;
    border: 1px solid var(--slate-200);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  }

  .main-navigation .nav-link {
    color: #FFFFFF !important;
    padding: 12px 14px !important;
  }

  #navbar.scrolled .main-navigation .nav-link {
    color: var(--slate-800) !important;
  }

  .mega-dropdown-menu {
    display: none;
    position: static !important;
    transform: none !important;
    width: 100% !important;
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    padding: 12px !important;
    margin-top: 8px !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .mega-dropdown-menu.show,
  .mega-dropdown-wrapper.show > .mega-dropdown-menu {
    display: block !important;
  }

  #navbar.scrolled .mega-dropdown-menu {
    background: var(--slate-50) !important;
    border-color: var(--slate-200) !important;
  }

  .mega-item-info h6 {
    color: #FFFFFF !important;
  }

  #navbar.scrolled .mega-item-info h6 {
    color: var(--slate-900) !important;
  }

  .mega-item-info p {
    color: rgba(255, 255, 255, 0.65) !important;
  }

  #navbar.scrolled .mega-item-info p {
    color: var(--slate-500) !important;
  }

  .mega-menu-topbar,
  .mega-menu-bottombar {
    border-color: rgba(255, 255, 255, 0.1) !important;
  }

  .mega-heading {
    color: #FFFFFF !important;
  }

  #navbar.scrolled .mega-heading {
    color: var(--slate-900) !important;
  }

  .mega-menu-bottombar {
    background: rgba(255, 255, 255, 0.04) !important;
  }

  #navbar.scrolled .mega-menu-bottombar {
    background: var(--slate-100) !important;
  }

  .mega-bottom-text {
    color: rgba(255, 255, 255, 0.8) !important;
  }

  #navbar.scrolled .mega-bottom-text {
    color: var(--slate-600) !important;
  }

  .mobile-drawer-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  #navbar.scrolled .mobile-drawer-footer {
    border-top-color: var(--slate-200);
  }

  .mobile-drawer-callout {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
  }

  .mobile-drawer-callout a {
    color: #FBBF24;
    text-decoration: none;
    font-weight: 700;
  }

  #navbar.scrolled .mobile-drawer-callout {
    color: var(--slate-700);
  }

  #navbar.scrolled .mobile-drawer-footer .btn-outline-light {
    color: var(--slate-800) !important;
    border-color: var(--slate-300) !important;
  }

  .about-content {
    padding-left: 0;
    margin-top: 40px;
  }

  .about-img-wrap img {
    height: 380px;
  }
}

@media (max-width: 575.98px) {

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary-pill,
  .btn-outline-pill,
  .btn-white-pill,
  .btn-outline-white {
    width: 100%;
  }

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

/* ==========================================================================
   SITE TRANSPARENCY DISCLAIMER & PERSISTENT SIDE POPUP
   ========================================================================== */

/* --- Modal Backdrop --- */
.disclaimer-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(11, 17, 32, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.disclaimer-modal-backdrop.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* --- Modal Dialog --- */
.disclaimer-modal-dialog {
  width: 100%;
  max-width: 580px;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35), 0 0 1px rgba(15, 23, 42, 0.1);
  overflow: hidden;
  animation: modalPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

@keyframes modalPopIn {
  0% { transform: scale(0.92) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.disclaimer-modal-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

/* --- Modal Header --- */
.disclaimer-modal-header {
  padding: 20px 24px;
  background: linear-gradient(135deg, #0B1120 0%, #131D31 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.disclaimer-logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-gradient);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 14px rgba(59, 40, 204, 0.4);
}

.disclaimer-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #A5B4FC;
  display: block;
  text-transform: uppercase;
}

.disclaimer-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.disclaimer-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.disclaimer-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  transform: rotate(90deg);
}

/* --- Modal Body --- */
.disclaimer-modal-body {
  padding: 22px 24px;
  background: #FFFFFF;
}

/* Legacy Banner */
.disclaimer-legacy-banner {
  background: linear-gradient(135deg, #EEF2FF 0%, #F5F3FF 100%);
  border: 1px solid #C7D2FE;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.badge-legacy-pill {
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 50px;
  letter-spacing: 0.04em;
}

.legacy-years {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-hover);
}

.legacy-desc {
  font-size: 0.85rem;
  color: var(--slate-700);
  margin: 6px 0 0 0;
  line-height: 1.5;
}

/* Points List */
.disclaimer-points-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.disclaimer-point-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  transition: all 0.2s ease;
}

.disclaimer-point-item:hover {
  border-color: var(--primary-border);
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.point-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.point-text h6 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 3px;
}

.point-text p {
  font-size: 0.8rem;
  color: var(--slate-600);
  margin: 0;
  line-height: 1.45;
}

.point-text a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Modal Footer --- */
.disclaimer-modal-footer {
  padding: 16px 24px;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-disclaimer-dev {
  font-size: 0.82rem;
  color: var(--slate-600);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-disclaimer-dev:hover {
  color: var(--primary);
  background: rgba(59, 40, 204, 0.08);
}

.btn-disclaimer-proceed {
  background: var(--primary-gradient);
  color: #FFFFFF;
  border: none;
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(59, 40, 204, 0.35);
  transition: all 0.25s ease;
}

.btn-disclaimer-proceed:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 40, 204, 0.45);
}

/* ==========================================================================
   PERSISTENT FLOATING SIDE NOTICE POPUP
   ========================================================================== */
.persistent-side-notice {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1030;
  font-family: var(--font-body);
}

/* Minimized Trigger Pill */
.side-notice-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 17, 32, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 28px -5px rgba(0, 0, 0, 0.38);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.side-notice-pill:hover {
  background: rgba(15, 23, 42, 0.98);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -5px rgba(59, 40, 204, 0.4);
}

.side-notice-pill.pulse-highlight {
  animation: pillHighlight 1.2s ease;
}

@keyframes pillHighlight {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(59, 40, 204, 0.7); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 12px rgba(59, 40, 204, 0); }
  100% { transform: scale(1); box-shadow: 0 10px 28px -5px rgba(0, 0, 0, 0.38); }
}

.side-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #38BDF8;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  animation: liveDotPulse 2s infinite;
}

.side-pill-text {
  letter-spacing: 0.02em;
}

.side-pill-chevron {
  font-size: 0.68rem;
  opacity: 0.7;
  transition: transform 0.25s ease;
}

.persistent-side-notice.expanded .side-pill-chevron {
  transform: rotate(180deg);
}

/* Expanded Side Card */
.side-notice-card {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 0;
  width: 350px;
  max-width: calc(100vw - 32px);
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.25);
  padding: 16px;
  display: none;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transform-origin: bottom left;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.persistent-side-notice.expanded .side-notice-card {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.side-card-header {
  font-size: 0.88rem;
  color: var(--slate-900);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--slate-100);
}

.side-card-close {
  background: transparent;
  border: none;
  color: var(--slate-400);
  cursor: pointer;
  padding: 4px;
  font-size: 0.8rem;
  transition: color 0.2s ease;
}

.side-card-close:hover {
  color: var(--slate-800);
}

.side-card-body {
  padding: 10px 0;
}

.side-card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 8px;
}

.side-card-text {
  font-size: 0.78rem;
  color: var(--slate-600);
  line-height: 1.45;
  margin-bottom: 8px;
}

.side-card-text a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.side-card-domain-note {
  font-size: 0.72rem;
  color: var(--slate-500);
  background: var(--slate-50);
  border-left: 3px solid var(--primary);
  padding: 6px 8px;
  border-radius: 0 6px 6px 0;
  line-height: 1.35;
}

.side-card-footer {
  padding-top: 10px;
  border-top: 1px solid var(--slate-100);
}

.side-dev-link {
  font-size: 0.75rem;
  color: var(--slate-600);
  text-decoration: none;
  font-weight: 600;
}

.side-dev-link:hover {
  color: var(--primary);
}

.btn-side-expand {
  background: var(--primary-subtle);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-side-expand:hover {
  background: var(--primary);
  color: #FFFFFF;
}

/* Mobile adjustments */
@media (max-width: 575.98px) {
  .persistent-side-notice {
    bottom: 16px;
    left: 16px;
  }
  .side-notice-pill {
    padding: 7px 14px;
    font-size: 0.75rem;
  }
  .side-notice-card {
    width: calc(100vw - 32px);
  }
  .disclaimer-modal-dialog {
    margin: 8px;
  }
  .disclaimer-modal-body {
    padding: 16px;
  }
  .disclaimer-modal-footer {
    padding: 12px 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .btn-disclaimer-proceed {
    width: 100%;
    justify-content: center;
  }
  .btn-disclaimer-dev {
    text-align: center;
  }
}/* ═══════════════════════════════════════════════════════════════════════
   DEV CARD SIDE POPUP — Right side floating panel
   "Built by Manav" — how this site was made
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Container ── */
.dev-card-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1055;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none; /* children re-enable */
}

/* ── Trigger Pill ── */
.dev-card-trigger {
  pointer-events: all;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #fff;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.80rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
  letter-spacing: 0.02em;
}

.dev-card-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.55);
}

.dev-card-trigger .fa-code {
  font-size: 0.88rem;
}

.dev-trigger-chevron {
  font-size: 0.65rem;
  opacity: 0.8;
  transition: transform 0.3s ease;
}

/* Chevron flips when open */
.dev-card-float.open .dev-trigger-chevron {
  transform: rotate(180deg);
}

/* ── Expanded Panel ── */
.dev-card-panel {
  pointer-events: all;
  width: 300px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(15, 23, 42, 0.18), 0 2px 8px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.12);
  overflow: hidden;
  /* Hidden by default */
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

/* Open state */
.dev-card-float.open .dev-card-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* ── Panel Header ── */
.dev-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px 12px;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #fff;
}

.dev-panel-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.dev-panel-kicker {
  display: block;
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  opacity: 0.75;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
}

.dev-panel-title {
  font-size: 0.90rem;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
}

.dev-panel-close {
  background: rgba(255,255,255,0.18);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.70rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.dev-panel-close:hover {
  background: rgba(255,255,255,0.32);
}

/* ── Panel Body ── */
.dev-panel-body {
  padding: 14px 16px;
}

/* Developer attribution row */
.dev-attr-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 14px;
}

.dev-attr-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.dev-attr-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: #1e3a8a;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
}

.dev-attr-link {
  font-size: 0.72rem;
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.dev-attr-link:hover {
  text-decoration: underline;
}

/* Section labels */
.dev-section-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 7px;
  margin-top: 4px;
}

/* Tech stack chips */
.dev-stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}

.dev-stack-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 3px 8px;
  border-radius: 20px;
  font-family: 'Montserrat', sans-serif;
}

.dev-stack-tag i {
  font-size: 0.75rem;
}

/* Feature list */
.dev-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.dev-feature-list li {
  font-size: 0.74rem;
  color: #475569;
  line-height: 1.4;
  padding: 3px 0;
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.dev-feature-list li .fa-check-circle {
  color: #2563eb;
  font-size: 0.70rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Timeline note */
.dev-timeline-note {
  font-size: 0.70rem;
  color: #64748b;
  background: #f8fafc;
  border-left: 3px solid #2563eb;
  padding: 6px 10px;
  border-radius: 0 8px 8px 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.dev-timeline-note .fa-calendar-days {
  color: #2563eb;
  flex-shrink: 0;
}

/* ── Panel Footer ── */
.dev-panel-footer {
  padding: 12px 16px;
  border-top: 1px solid #f1f5f9;
}

.btn-dev-visit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  padding: 9px 16px;
  border-radius: 10px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  letter-spacing: 0.02em;
}

.btn-dev-visit:hover {
  opacity: 0.90;
  transform: translateY(-1px);
  color: #ffffff;
}

/* ── Mobile adjustments ── */
@media (max-width: 575.98px) {
  .dev-card-float {
    bottom: 16px;
    right: 16px;
  }
  .dev-card-trigger {
    padding: 8px 14px;
    font-size: 0.75rem;
  }
  .dev-trigger-text {
    display: none; /* icon only on tiny screens */
  }
  .dev-card-panel {
    width: calc(100vw - 32px);
    max-width: 300px;
  }
}
