/* ==========================================================================
   INSO PREMIUM DESIGN SYSTEM & THEME
   ========================================================================== */

:root {
  /* Elegant Color Palette */
  --bg-color: #FAFAFC;
  --text-primary: #1A1A1E;
  --text-secondary: #5A5A62;
  --accent-color: #5D5FEF;
  --accent-glowing: rgba(93, 95, 239, 0.15);
  --border-color: rgba(0, 0, 0, 0.06);
  --white: #FFFFFF;
  --black: #0A0A0C;
  
  /* Font Families */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Smooth Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
  
  /* Layout Bounds */
  --max-width: 1200px;
  --nav-height: 72px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

/* ==========================================================================
   PREMIUM WHITE NAVIGATION TOP BAR
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scroll variant for extra compact navbar */
.navbar.scrolled {
  height: 60px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding 0.3s ease;
}

.navbar-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: -0.02em;
}

.logo-icon {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  height: 20px;
  width: auto;
  object-fit: contain;
  display: block;
}

.navbar-links {
  display: flex;
  gap: 2.5rem;
}

.mobile-only-cta {
  display: none !important;
}

/* Mobile Hamburger Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

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

/* Elegant under-line slide animation on hover */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */

.cta-button {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-nav {
  background-color: var(--text-primary);
  color: var(--white);
  border: 1px solid var(--text-primary);
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
}

.cta-nav:hover {
  background-color: transparent;
  color: var(--text-primary);
}

.cta-primary {
  background-color: var(--white);
  color: var(--black);
  border: 1px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}

.cta-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.cta-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* ==========================================================================
   IMMERSIVE HERO SECTION WITH WALLPAPER
   ========================================================================== */

.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 16vh);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  color: var(--white);
  
  /* Displaying the hero image wallpaper as custom background */
  background-image: url('assets/wallpaper.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Deep blending overlay to make text absolutely readable and gorgeous */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(10, 16, 32, 0.3) 0%, rgba(5, 8, 16, 0.85) 90%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-badge {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 7.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  text-wrap: balance;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.gradient-text {
  background: linear-gradient(135deg, #A5B4FC 0%, #6366F1 50%, #4338CA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3.8vw, 1.5rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 680px;
  text-wrap: balance;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2.25rem;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/* ==========================================================================
   SCROLL INDICATION & INTERACTIVITY
   ========================================================================== */

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.8;
  animation: bounce 2s infinite;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.scroll-hint:hover {
  opacity: 1;
}

.scroll-hint:hover .mouse-icon {
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.scroll-hint:hover .hint-text {
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.mouse-icon {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.mouse-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--white);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s infinite;
}

.hint-text {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* ==========================================================================
   ABOUT INSO SECTION (Modern Premium Two-Column Grid Layout)
   ========================================================================== */

.about-section {
  padding: 8rem 4rem;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.about-container {
  width: 100%;
  max-width: 1440px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4.5rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: #0A0A0C;
  max-width: 480px;
  width: 100%;
  justify-self: end;
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.about-image-wrapper:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
  border-color: rgba(93, 95, 239, 0.2);
}

.about-dashboard-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-wrapper:hover .about-dashboard-img {
  transform: scale(1.03);
}

.about-logo-wrapper {
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  border: none;
  box-shadow: none;
  overflow: visible;
  max-width: 250px;
  width: 100%;
  justify-self: center;
  margin-top: 3.2rem;
}

.about-logo-wrapper::after {
  display: none;
}

.about-logo-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: none;
  border-color: transparent;
}

.about-logo-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.05));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.about-logo-wrapper:hover .about-logo-img {
  transform: scale(1.06) rotate(2deg);
  filter: drop-shadow(0 16px 36px rgba(93, 95, 239, 0.15));
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.about-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.about-title::after {
  content: '';
  display: block;
  width: 45px;
  height: 4px;
  background: var(--accent-color);
  margin-top: 0.75rem;
  border-radius: 2px;
}

.about-text {
  font-size: 1.08rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.7;
}

/* Footer style */
.footer {
  background-color: var(--black);
  padding: 3.5rem 4rem 2rem 4rem;
  color: #8E929E;
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 2.25rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-bottom: 1rem;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 0.9;
}
.footer-logo .logo-icon {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-logo .logo-text {
  height: 20px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-brand-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #8E929E;
  margin-bottom: 0;
  max-width: 310px;
  text-wrap: balance;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #8E929E;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2px;
}

.social-link:hover {
  color: var(--white);
  background: rgba(93, 95, 239, 0.15);
  border-color: rgba(93, 95, 239, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(93, 95, 239, 0.25);
}

.footer-links-col {
  display: flex;
  flex-direction: column;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list li {
  line-height: 1;
}

.footer-links-list a {
  font-size: 0.95rem;
  color: #8E929E;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.footer-links-list a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-bottom {
  max-width: 1600px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.copyright {
  font-size: 0.8rem;
  color: #6B6E76;
}

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

.footer-legal-links a {
  font-size: 0.8rem;
  color: #6B6E76;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: var(--white);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: rgba(93, 95, 239, 0.06);
  border: 1px solid rgba(93, 95, 239, 0.18);
  border-radius: 100px;
}

.status-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-color);
  display: inline-block;
  animation: pulseBlue 2s infinite;
}

.status-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-color);
  letter-spacing: 0.01em;
}

@keyframes pulseBlue {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(93, 95, 239, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(93, 95, 239, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(93, 95, 239, 0);
  }
}


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

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

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-8px);
  }
  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 15px);
  }
}

/* ==========================================================================
   INDUSTRIES SECTION (Premium Three-Card Grid Layout)
   ========================================================================== */

.industries-section {
  padding: 8rem 4rem;
  background-color: var(--white); /* White alternating block background */
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.industries-container {
  width: 100%;
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5rem;
}

.section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 900px;
}

.section-badge {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-color);
  background: var(--accent-glowing);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
}

.industries-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.industries-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: var(--accent-color);
  margin: 0.75rem auto 0 auto;
  border-radius: 2px;
}

.industries-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
  text-wrap: balance;
}

.industries-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

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

@media (max-width: 768px) {
  .industries-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

.building-card {
  background-color: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.building-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.building-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

/* Elegant colored accents for each building type card */
.building-card[data-type="office"] .building-icon-wrapper { background: rgba(93, 95, 239, 0.08); color: #5D5FEF; }
.building-card[data-type="industrial"] .building-icon-wrapper { background: rgba(242, 153, 74, 0.08); color: #F2994A; }
.building-card[data-type="retail"] .building-icon-wrapper { background: rgba(39, 174, 96, 0.08); color: #27AE60; }
.building-card[data-type="multifamily"] .building-icon-wrapper { background: rgba(47, 128, 237, 0.08); color: #2F80ED; }
.building-card[data-type="hospitality"] .building-icon-wrapper { background: rgba(155, 81, 224, 0.08); color: #9B51E0; }
.building-card[data-type="healthcare"] .building-icon-wrapper { background: rgba(235, 87, 87, 0.08); color: #EB5757; }
.building-card[data-type="storage"] .building-icon-wrapper { background: rgba(18, 185, 177, 0.08); color: #12B9B1; }
.building-card[data-type="education"] .building-icon-wrapper { background: rgba(75, 101, 132, 0.08); color: #4B6584; }

.building-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(93, 95, 239, 0.18);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin: 0;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
  text-wrap: pretty;
  min-height: 6.5rem; /* Forces mathematically identical card height balance on all desktop screens */
}

/* ==========================================================================
   ENTERPRISE INFRASTRUCTURE SECTION
   ========================================================================== */

.infra-section {
  padding: 8rem 4rem;
  background-color: var(--bg-color); /* Premium off-white alternating background */
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.infra-container {
  width: 100%;
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5rem;
}

.infra-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.infra-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: var(--accent-color);
  margin: 0.75rem auto 0 auto;
  border-radius: 2px;
}

.infra-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
  text-wrap: balance;
}

.infra-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.infra-card {
  background-color: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem 2.2rem 3rem 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.infra-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--accent-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 12px rgba(93, 95, 239, 0.15);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.infra-icon {
  width: 26px;
  height: 26px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Card Hover Interactions */
.infra-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(93, 95, 239, 0.25);
}

.infra-card:hover .infra-icon-wrapper {
  background: var(--accent-color);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(93, 95, 239, 0.35);
  transform: scale(1.05);
}

.infra-card:hover .infra-icon {
  transform: scale(1.12) rotate(5deg);
}

/* ==========================================================================
   EDGE TO CLOUD TELEMETRY SECTION
   ========================================================================== */

.how-it-works-section {
  padding: 8rem 4rem;
  background-color: #FAFAFC; /* Premium light off-white alternating background */
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.how-it-works-container {
  width: 100%;
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5rem;
}

.how-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.how-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: var(--accent-color);
  margin: 0.75rem auto 0 auto;
  border-radius: 2px;
}

.how-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
  text-wrap: balance;
}

.pipeline-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
}

.pipeline-grid::after {
  content: '';
  position: absolute;
  top: 76px; /* Center of the 72px icon wrapper (40px padding + 36px) */
  left: 10%;
  right: 10%;
  height: 2px;
  border-top: 2px dashed rgba(93, 95, 239, 0.25);
  z-index: 1;
}

.pipeline-step {
  background-color: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem 2.2rem 3rem 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
}

.step-number {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(93, 95, 239, 0.45);
  letter-spacing: -0.01em;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pipeline-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border-color);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.25rem;
}

.pipeline-icon {
  width: 28px;
  height: 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.step-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
}

/* Hover Interactions */
.pipeline-step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(93, 95, 239, 0.25);
}

.pipeline-step:hover .pipeline-icon-wrapper {
  border-color: var(--accent-color);
  background: var(--accent-glowing);
  box-shadow: 0 0 0 4px rgba(93, 95, 239, 0.15);
}

.pipeline-step:hover .pipeline-icon {
  transform: scale(1.1) translateY(-2px);
  color: var(--accent-color);
}

.pipeline-step:hover .step-number {
  color: var(--accent-color);
  transform: scale(1.15);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
  .navbar-container {
    padding: 0 2rem;
  }

  .about-section {
    padding: 6rem 2rem;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .about-content {
    order: 2;
  }
  
  .about-image-wrapper {
    order: 1;
    max-width: 650px;
    margin: 0 auto;
  }
  
  .about-logo-wrapper {
    margin-top: 0;
  }

  .industries-section {
    padding: 6rem 2rem;
  }

  .industries-container {
    gap: 3.5rem;
  }

  .infra-section {
    padding: 6rem 2rem;
  }

  .infra-container {
    gap: 3.5rem;
  }

  /* Edge to Cloud Overrides */
  .how-it-works-section {
    padding: 6rem 2rem;
  }

  .how-it-works-container {
    gap: 3.5rem;
  }

  .pipeline-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: 3rem;
  }

  .pipeline-grid::after {
    top: 5%;
    bottom: 5%;
    left: 50%;
    right: auto;
    width: 2px;
    height: auto;
    border-top: none;
    border-left: 2px dashed rgba(93, 95, 239, 0.25);
  }

  /* Footer Tablet Overrides */
  .footer {
    padding: 4rem 3rem 2rem 3rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    padding: 0 1.5rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Slide-in glassmorphism overlay menu */
  .navbar-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
  }

  .navbar-links.active {
    transform: translateX(0);
  }

  .navbar-links .nav-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
  }

  .mobile-only-cta {
    display: inline-flex !important;
    margin-top: 1rem;
    width: 80%;
    max-width: 280px;
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
    box-shadow: var(--shadow-md);
  }

  /* Hamburger to X morphing animation */
  .mobile-menu-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .mobile-menu-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }

  .mobile-menu-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .navbar-actions {
    display: none; /* Hidden on mobile to clean up navbar */
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
  
  .cta-button {
    width: 100%;
  }

  .about-section {
    padding: 4.5rem 1.5rem;
  }

  .industries-section {
    padding: 4.5rem 1.5rem;
  }

  .industries-grid {
    max-width: 480px;
    margin: 0 auto;
  }

  .infra-section {
    padding: 4.5rem 1.5rem;
  }

  .infra-grid {
    max-width: 480px;
    margin: 0 auto;
  }

  .how-it-works-section {
    padding: 4.5rem 1.5rem;
  }

  /* Footer Mobile Overrides */
  .footer {
    padding: 3.5rem 1.5rem 1.75rem 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
  }

  .footer-brand-col {
    align-items: flex-start;
  }

  .footer-brand-desc {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding-top: 1.25rem;
  }

  .footer-bottom-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
  }

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

  .footer-status {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding-top: calc(var(--nav-height) + 10vh);
  }

  .about-section {
    padding: 4rem 1.25rem;
  }

  .industries-section {
    padding: 4rem 1.25rem;
  }

  .infra-section {
    padding: 4rem 1.25rem;
  }

  .how-it-works-section {
    padding: 4rem 1.25rem;
  }

  .about-dashboard-img {
    border-radius: 12px;
  }

  .about-title {
    font-size: 2rem;
  }

  .industries-title {
    font-size: 2rem;
  }

  .infra-title {
    font-size: 2rem;
  }

  .how-title {
    font-size: 2rem;
  }
  
  .footer {
    padding: 3rem 1.25rem 1.5rem 1.25rem;
    font-size: 0.88rem;
  }
}

@media (min-width: 1025px) {
  .hero-content {
    max-width: 1400px;
  }
  .hero-title {
    white-space: nowrap;
  }
  .hero-subtitle {
    max-width: none;
    white-space: nowrap;
  }
}

/* ==========================================================================
   LEGAL PAGES STYLES
   ========================================================================== */
.legal-page {
  padding-top: var(--nav-height);
  background-color: var(--white);
  min-height: 100vh;
}

.legal-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: calc(100vh - var(--nav-height));
  position: relative;
  width: 100%;
  max-width: 100%;
}

.legal-sidebar {
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  background-color: var(--white); /* Premium white background */
  padding: 2.5rem 1.5rem;
  overflow-y: auto;
  border-right: 1px solid var(--border-color); /* Light border matching theme */
}

/* Sidebar Brand and Navigation Additions */
.sidebar-brand {
  margin-bottom: 2rem;
  padding-left: 0.5rem;
  display: block;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.sidebar-logo-icon {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.sidebar-logo-text {
  height: 20px;
  width: auto;
  object-fit: contain;
  /* Removed CSS invert/brightness filter to display the normal dark brand wordmark logo */
}

.sidebar-home-link {
  display: flex;
  align-items: center;
  color: var(--text-secondary) !important;
  font-size: 0.9rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.sidebar-home-link:hover {
  color: var(--accent-color) !important;
  background-color: rgba(93, 95, 239, 0.05); /* Unified light purple accent hover */
}

.sidebar-home-link svg {
  transition: transform 0.2s ease;
}

.sidebar-home-link:hover svg {
  transform: translateX(-2px);
}

.sidebar-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 1rem 0.5rem;
  display: block;
}

/* Custom Scrollbar for Light Theme Sidebar */
.legal-sidebar::-webkit-scrollbar {
  width: 6px;
}

.legal-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.legal-sidebar::-webkit-scrollbar-thumb {
  background: #DCDDE2;
  border-radius: 3px;
}

.legal-sidebar::-webkit-scrollbar-thumb:hover {
  background: #C0C2CE;
}

.legal-nav-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  padding-left: 0.75rem;
}

.legal-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

.legal-nav-link:hover {
  color: var(--text-primary);
  background-color: rgba(93, 95, 239, 0.05);
}

.legal-nav-link.active {
  color: var(--white) !important;
  background-color: var(--accent-color);
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(93, 95, 239, 0.15); /* Sleek active glow shadow */
}

.legal-content {
  background-color: var(--white);
  padding: 4rem 5rem 3rem 5rem;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.legal-content-wrapper {
  max-width: 800px; /* high readability line width */
  margin: 0 auto;
}

.legal-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.legal-meta {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 1rem;
}

.legal-section p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-section ul li {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.legal-section ul li::before {
  content: "•";
  color: var(--accent-color);
  font-size: 1.25rem;
  position: absolute;
  left: 0.25rem;
  top: -0.1rem;
}

.navbar-btn-back {
  background-color: var(--accent-color);
  color: var(--white) !important;
  padding: 0.6rem 1.25rem;
  border-radius: 99px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.navbar-btn-back:hover {
  background-color: #4b4dd6;
  transform: translateY(-1px);
}

/* Premium White Theme Overrides for Legal Pages Footer */
.legal-container .footer {
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 2rem 5rem;
}

.legal-container .footer-bottom {
  border-top: none;
  padding-top: 0;
  margin: 0;
}

.legal-container .copyright {
  color: var(--text-secondary);
}

.legal-container .footer-legal-links a {
  color: var(--text-secondary);
}

.legal-container .footer-legal-links a:hover {
  color: var(--accent-color);
}

/* Fixed Full-Height Sidebar Desktop Optimization */
@media (min-width: 901px) {
  .legal-page {
    padding-top: 0;
  }

  .legal-container {
    grid-template-columns: 300px 1fr;
    min-height: 100vh;
  }

  .legal-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    z-index: 1010;
    padding: 2.5rem 1.5rem;
    border-right: 1px solid var(--border-color);
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .legal-content {
    padding: calc(var(--nav-height) + 3rem) 5rem 3rem 5rem;
    grid-column: 2;
    grid-row: 1;
  }

  /* Correct footer position to be neatly placed under the content */
  .legal-container .footer {
    grid-column: 2;
    grid-row: 2;
  }

  /* Sticky Top Navbar Shifting to Align with Content Workspace */
  .legal-navbar {
    left: 300px !important;
    width: calc(100% - 300px) !important;
    z-index: 1000;
  }

  /* Hide original navbar logo when sidebar brand logo is present */
  .legal-navbar .navbar-logo {
    display: none !important;
  }

  .legal-navbar .navbar-container {
    padding: 0 4rem;
  }
}

@media (max-width: 900px) {
  .legal-container {
    grid-template-columns: 1fr;
  }
  
  .legal-sidebar {
    position: static;
    height: auto;
    padding: 2rem 1.5rem 1rem 1.5rem;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .sidebar-brand,
  .sidebar-divider,
  .sidebar-home-item {
    display: none !important;
  }
  
  .legal-content {
    padding: 2.5rem 2rem;
    grid-column: auto !important;
    grid-row: auto !important;
  }
  
  .legal-content-wrapper {
    max-width: 100%;
  }

  .legal-container .footer {
    grid-column: auto !important;
    grid-row: auto !important;
    padding: 2rem;
  }
}

/* ==========================================================================
   PREMIUM GLASSMORPHIC BOOKING MODAL
   ========================================================================== */

body.modal-open {
  overflow: hidden;
  padding-right: 0px; /* Optional standard layout shift protection */
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 6, 12, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  position: relative;
  width: 100%;
  max-width: 660px;
  max-height: 90vh;
  background: radial-gradient(circle at top left, rgba(16, 24, 48, 0.9) 0%, rgba(8, 12, 24, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 3rem 2.5rem 2.5rem 2.5rem;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7), 
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
  transform: scale(0.95) translateY(15px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-container.modal-compact {
  max-width: 500px;
  overflow-y: hidden;
  padding: 2.5rem 2.25rem 2.25rem 2.25rem;
}

/* Custom Scrollbar for Modal Container */
.modal-container::-webkit-scrollbar {
  width: 6px;
}

.modal-container::-webkit-scrollbar-track {
  background: transparent;
}

.modal-container::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  transform: rotate(90deg);
}

/* Modal Progress Bar Indicator */
.modal-progress {
  position: relative;
  width: 100%;
  margin-bottom: 2.25rem;
}

.modal-progress .progress-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.modal-progress .progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%; /* Default Step 1 is 50% */
  background: linear-gradient(90deg, #818CF8 0%, #6366F1 100%);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
}

.progress-step {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.3s ease;
}

.progress-step.active {
  color: #a5b4fc;
}

/* Modal Header Content */
.modal-header {
  margin-bottom: 2rem;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* Form Styles */
.modal-form {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
}

.form-input,
.form-select,
.form-textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--white);
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: #6366F1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.1rem;
  padding-right: 2.5rem;
}

.form-select option {
  background-color: #0b0f19;
  color: var(--white);
}

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

.form-submit-btn {
  width: 100%;
  padding: 0.9rem 1.5rem;
  font-weight: 600;
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.form-submit-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-arrow {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Step Panes Navigation */
.modal-step-pane {
  display: none;
}

.modal-step-pane.active {
  display: block;
  animation: modalStepIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

/* Calendar Embedding Wrapper */
.calendar-embed-wrapper {
  position: relative;
  width: 100%;
  height: 540px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
}

.calendly-widget-container {
  width: 100%;
  height: 100%;
}

.calendly-widget-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
}

/* Dynamic Calendar Spinner */
.calendar-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #080c18;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 1rem;
}

.calendar-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.calendar-loader .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.05);
  border-top-color: #6366F1;
  border-radius: 50%;
  animation: loaderSpin 0.8s linear infinite;
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

.calendar-loader p {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Navigation Back Link */
.btn-back-step {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  margin-top: 1.5rem;
  transition: color 0.3s ease;
}

.btn-back-step:hover {
  color: var(--white);
}

/* Responsive Modal Settings */
@media (max-width: 600px) {
  .modal-container {
    padding: 2.25rem 1.5rem 1.75rem 1.5rem;
    max-height: 95vh;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .modal-title {
    font-size: 1.5rem;
  }
  
  .calendar-embed-wrapper {
    height: 450px;
  }
}

/* Compact Modal Spacing & Light Theme Styles */
.modal-container.modal-compact {
  max-width: 680px;
  overflow-y: hidden;
  padding: 2.25rem 2rem 2rem 2rem;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 
              0 5px 15px rgba(0, 0, 0, 0.04) !important;
}

.modal-container.modal-compact .modal-close {
  background: rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  color: rgba(15, 23, 42, 0.6) !important;
}

.modal-container.modal-compact .modal-close:hover {
  background: rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
  color: #0f172a !important;
}

.modal-container.modal-compact .modal-header {
  margin-bottom: 1.5rem;
}

.modal-container.modal-compact .modal-title {
  font-size: 1.65rem;
  color: #0f172a !important;
}

.modal-container.modal-compact .modal-subtitle {
  font-size: 0.9rem;
  color: #475569 !important;
}

.modal-container.modal-compact .form-group {
  margin-bottom: 0.85rem;
}

.modal-container.modal-compact .form-label {
  color: #475569 !important;
  font-weight: 600;
}

/* Grey input fields */
.modal-container.modal-compact .form-input {
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

.modal-container.modal-compact .form-input::placeholder {
  color: #94a3b8 !important;
}

.modal-container.modal-compact .form-input:hover {
  background: #e2e8f0 !important;
  border-color: #94a3b8 !important;
}

.modal-container.modal-compact .form-input:focus {
  background: #ffffff !important;
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15) !important;
  color: #0f172a !important;
}

/* Grey select fields */
.modal-container.modal-compact .form-select {
  cursor: pointer !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='rgba(15,23,42,0.6)' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 1.1rem !important;
  padding: 0.7rem 2.5rem 0.7rem 0.9rem !important;
  font-size: 0.9rem !important;
  background-color: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  border-radius: 8px !important;
  font-family: var(--font-body) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.modal-container.modal-compact .form-select:hover {
  background-color: #e2e8f0 !important;
  border-color: #94a3b8 !important;
}

.modal-container.modal-compact .form-select:focus {
  background-color: #ffffff !important;
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15) !important;
}

.modal-container.modal-compact .form-select option {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

.modal-container.modal-compact .form-select:invalid,
.modal-container.modal-compact .form-select.placeholder-selected {
  color: #94a3b8 !important;
}

.modal-container.modal-compact .form-select option[value=""] {
  color: #94a3b8 !important;
}

/* Button: Blue or Black */
.modal-container.modal-compact .form-submit-btn {
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background-color: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #0f172a !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.modal-container.modal-compact .form-submit-btn:hover {
  background-color: #1e293b !important;
  border-color: #1e293b !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25) !important;
}

.modal-container.modal-compact .form-submit-btn:active {
  transform: translateY(0) !important;
}

@media (max-width: 600px) {
  .modal-container.modal-compact {
    padding: 1.75rem 1.25rem 1.25rem 1.25rem;
  }
  
  .modal-container.modal-compact .form-group {
    margin-bottom: 0.7rem;
  }
  
  .modal-container.modal-compact .modal-title {
    font-size: 1.4rem;
  }
}

/* Premium Light-Theme Success State Styles */
.success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 0.5rem;
  animation: modalStepIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.success-state.hidden {
  display: none !important;
}

.modal-container.modal-compact .success-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.08) !important;
  border: 1px solid rgba(79, 70, 229, 0.2) !important;
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.08) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.modal-container.modal-compact .success-checkmark {
  width: 44px;
  height: 44px;
  stroke: #4f46e5 !important;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.modal-container.modal-compact .success-checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2.5;
  stroke-miterlimit: 10;
  stroke: #4f46e5 !important;
  fill: none;
  animation: strokeCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.modal-container.modal-compact .success-checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: strokeCheck 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes strokeCircle {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes strokeCheck {
  100% {
    stroke-dashoffset: 0;
  }
}

.modal-container.modal-compact .success-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a !important;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.modal-container.modal-compact .success-text {
  font-size: 0.95rem;
  color: #475569 !important;
  line-height: 1.5;
  max-width: 360px;
  margin-bottom: 2rem;
}

.modal-container.modal-compact .success-btn {
  width: 100%;
  max-width: 200px;
  padding: 0.75rem 1.5rem;
  background-color: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #0f172a !important;
}

.modal-container.modal-compact .success-btn:hover {
  background-color: #1e293b !important;
  border-color: #1e293b !important;
  transform: translateY(-2px) !important;
}

/* Global utility class to hide elements */
.hidden {
  display: none !important;
}

