@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Syne:wght@400;500;600;700;800&display=swap");

/* ==========================================================================
   CSS VARIABLES & SETUP
   ========================================================================== */
:root {
  --font-heading: "Syne", sans-serif;
  --font-body: "Inter", sans-serif;

  --bg-light: #fafafa;
  --bg-white: #ffffff;
  --bg-dark: #0a0a0b;
  --bg-darker: #050505;

  --text-main: #121212;
  --text-muted: #666666;
  --text-light: #f0f0f0;

  --accent-primary: #4f46e5;
  --accent-secondary: #e11d48;
  --gradient-accent: linear-gradient(
    135deg,
    var(--accent-primary) 0%,
    var(--accent-secondary) 100%
  );
  --gradient-glow: linear-gradient(
    135deg,
    rgba(79, 70, 229, 0.2) 0%,
    rgba(225, 29, 72, 0.2) 100%
  );

  --border-light: rgba(0, 0, 0, 0.08);
  --border-dark: rgba(255, 255, 255, 0.1);

  --container-width: 1400px;
  --spacing-xl: 120px;
  --spacing-lg: 80px;
  --spacing-md: 40px;
  --spacing-sm: 20px;

  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.3s ease;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: initial; /* Handled by JS for smoothness if needed, keeping default clean */
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 4vw;
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
}
.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-primary);
}
.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(79, 70, 229, 0.5);
  transition:
    width 0.2s,
    height 0.2s,
    background-color 0.2s;
}
body:hover .cursor-dot {
  opacity: 1;
}
.cursor-hover .cursor-outline {
  width: 60px;
  height: 60px;
  background-color: rgba(79, 70, 229, 0.1);
  border-color: transparent;
}

/* ==========================================================================
   GLOBAL COMPONENTS & BUTTONS
   ========================================================================== */
.section-padding {
  padding: var(--spacing-xl) 0;
}
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
  z-index: 1;
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-accent);
  transition: var(--transition-smooth);
  z-index: -1;
  border-radius: 50% 50% 0 0;
}
.btn-primary:hover::before {
  top: 0;
  border-radius: 0;
}
.btn-primary:hover {
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.magnetic-wrap {
  display: inline-block;
  padding: 10px;
}

/* ==========================================================================
   HEADER (STRICT CONSISTENCY)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 1000;
  transition: var(--transition-smooth);
  background: rgba(10, 10, 11, 0.95);
}
.site-header.scrolled {
  
  backdrop-filter: blur(10px);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-dark);
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-logo img {
  height: 60px;
  transition: var(--transition-fast);
}
.nav-menu {
  display: none;
}

/* Desktop View Fixes */
@media (min-width: 992px) {
  .nav-menu {
    display: block;
  }
  .menu-toggle {
    display: none !important;
  } /* Hides the hamburger button on desktop */
  .mobile-nav-overlay {
    display: none !important;
  } /* Forces the mobile menu to stay hidden on desktop */
}
.nav-list {
  display: flex;
  gap: 40px;
}
.nav-link {
  color: var(--bg-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  display: inline-block;
  transition: color 0.3s;
}
.site-header .nav-link {
  color: var(--text-light);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-accent);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(0);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-right .btn-primary {
  padding: 12px 24px;
  font-size: 13px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
}
.menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--bg-dark);
  transition: var(--transition-smooth);
  transform-origin: left center;
}
.site-header.scrolled .menu-toggle .bar {
  background-color: var(--text-light);
}
.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg);
  background-color: var(--text-light);
}
.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg);
  background-color: var(--text-light);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-dark);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}
.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav-list {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: clamp(
    32px,
    6vw,
    48px
  ); /* This clamps the size so it never gets too massive */
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}
.mobile-nav-overlay.active .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav-overlay.active li:nth-child(1) .mobile-nav-link {
  transition-delay: 0.1s;
}
.mobile-nav-overlay.active li:nth-child(2) .mobile-nav-link {
  transition-delay: 0.2s;
}
.mobile-nav-overlay.active li:nth-child(3) .mobile-nav-link {
  transition-delay: 0.3s;
}
.mobile-nav-overlay.active li:nth-child(4) .mobile-nav-link {
  transition-delay: 0.4s;
}
.mobile-nav-overlay.active li:nth-child(5) .mobile-nav-link {
  transition-delay: 0.5s;
}

/* ==========================================================================
   FOOTER (STRICT CONSISTENCY)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 100px 0 40px;
  position: relative;
  overflow: hidden;
}
.footer-top-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-primary),
    transparent
  );
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  margin-bottom: 80px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-brand .footer-logo img {
  height: 60px;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
}
.footer-desc {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 30px;
  max-width: 300px;
}
.social-links {
  display: flex;
  gap: 16px;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition-fast);
}
.social-link:hover {
  background: var(--gradient-accent);
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 18px;
  margin-bottom: 24px;
  color: var(--text-light);
  position: relative;
  display: inline-block;
}
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-link {
  color: var(--text-muted);
  transition: var(--transition-fast);
  font-size: 15px;
  display: inline-block;
}
.footer-link:hover {
  color: var(--text-light);
  transform: translateX(5px);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-list li {
  display: flex;
  gap: 16px;
  color: var(--text-muted);
  font-size: 15px;
  align-items: flex-start;
}
.contact-list i {
  color: var(--accent-primary);
  margin-top: 4px;
}
.contact-list a:hover {
  color: var(--text-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}
.footer-bottom p {
  color: var(--text-muted);
  font-size: 14px;
}

/* ==========================================================================
   INDEX PAGE - HERO SECTION
   ========================================================================== */
.hero-section {
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}
.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.shape-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(79, 70, 229, 0.15) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
  filter: blur(60px);
  animation: float 10s ease-in-out infinite;
}
.shape-2 {
  position: absolute;
  bottom: 10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(225, 29, 72, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
  filter: blur(60px);
  animation: float 8s ease-in-out infinite reverse;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

.hero-content {
  max-width: 1000px;
  position: relative;
  z-index: 2;
}
.hero-subtitle {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--accent-primary);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards 0.2s;
}
.hero-title {
  font-size: clamp(40px, 8vw, 100px);
  line-height: 0.95;
  margin-bottom: 30px;
  color: var(--bg-dark);
}
.hero-title span {
  display: block;
  opacity: 0;
  transform: translateY(40px);
}
.hero-title span:nth-child(1) {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
}
.hero-title span:nth-child(2) {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s;
}

.hero-desc {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards 0.5s;
}
.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards 0.6s;
}
.btn-outline {
  padding: 16px 32px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}
.btn-outline:hover {
  background: var(--bg-dark);
  color: var(--text-light);
  border-color: var(--bg-dark);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Marquee */
.hero-marquee-wrap {
  width: 100%;
  margin: 50px 0;
  padding: 50px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  overflow: hidden;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-flex;
  animation: scrollMarquee 30s linear infinite;
}
.marquee-item {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-muted);
  text-transform: uppercase;
  margin: 0 40px;
  display: inline-flex;
  align-items: center;
  gap: 40px;
}
.marquee-item span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
}
@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   ABOUT / METRICS SECTION
   ========================================================================== */
.about-section {
  background: var(--bg-white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.about-text h2 {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 24px;
}
.about-text p {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 30px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.metric-box {
  padding: 30px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition-fast);
}
.metric-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-color: var(--accent-primary);
}
.metric-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: var(--bg-dark);
  margin-bottom: 10px;
  display: block;
}
.metric-label {
  color: var(--text-muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ==========================================================================
   SERVICES GRID (GLASSMORPHISM & HOVER REVEALS)
   ========================================================================== */
.services-section {
  background: var(--bg-dark);
  color: var(--text-light);
  position: relative;
}
.services-header {
  text-align: center;
  margin-bottom: 80px;
}
.services-header h2 {
  font-size: clamp(40px, 6vw, 80px);
  color: var(--text-light);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
}
.service-icon {
  font-size: 40px;
  color: var(--accent-primary);
  margin-bottom: 30px;
  transition: var(--transition-smooth);
}
.service-title {
  font-size: 28px;
  margin-bottom: 16px;
  transition: var(--transition-smooth);
}
.service-desc {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 30px;
  transition: var(--transition-smooth);
}
.service-list {
  opacity: 0;
  transform: translateY(20px);
  position: absolute;
  bottom: 50px;
  transition: var(--transition-smooth);
}
.service-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.service-list li i {
  color: var(--accent-primary);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-accent);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: -1;
}
.service-card:hover {
  transform: translateY(-10px);
  border-color: transparent;
}
.service-card:hover::before {
  opacity: 1;
}
.service-card:hover .service-icon,
.service-card:hover .service-title {
  color: var(--text-light);
  transform: translateY(-20px);
}
.service-card:hover .service-desc {
  opacity: 0;
}
.service-card:hover .service-list {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   INTERACTIVE ROI CALCULATOR
   ========================================================================== */
.calculator-section {
  background: var(--bg-white);
}
.calc-wrapper {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 60px;
  border: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.03);
}
@media (min-width: 992px) {
  .calc-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}
.calc-header h2 {
  font-size: 40px;
  margin-bottom: 20px;
}
.calc-header p {
  color: var(--text-muted);
}

.range-group {
  margin-bottom: 30px;
}
.range-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-weight: 600;
}
.range-val {
  color: var(--accent-primary);
  font-family: var(--font-heading);
  font-size: 20px;
}
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
  margin-top: -10px;
  box-shadow: 0 0 10px rgba(79, 70, 229, 0.5);
  transition: transform 0.2s;
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: #ddd;
  border-radius: 2px;
}

.calc-results {
  background: var(--bg-dark);
  color: var(--text-light);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.calc-results::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(79, 70, 229, 0.2) 0%,
    transparent 70%
  );
  animation: rotate 10s linear infinite;
  z-index: 0;
}
@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}
.result-box {
  position: relative;
  z-index: 1;
}
.result-label {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  opacity: 0.8;
}
.result-value {
  font-family: var(--font-heading);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  color: #10b981;
}

/* ==========================================================================
   SAMPLE DASHBOARD UI
   ========================================================================== */
.dashboard-section {
  background: var(--bg-darker);
  overflow: hidden;
  padding-bottom: 150px;
}
.dash-header {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 60px;
}
.dash-ui {
  max-width: 1000px;
  margin: 0 auto;
  background: #111;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transform: perspective(1000px) rotateX(5deg);
  transition: transform 0.5s;
}
.dash-ui:hover {
  transform: perspective(1000px) rotateX(0deg);
}
.dash-topbar {
  padding: 15px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 8px;
}
.dash-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dash-dot.r {
  background: #ff5f56;
}
.dash-dot.y {
  background: #ffbd2e;
}
.dash-dot.g {
  background: #27c93f;
}
.dash-body {
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
}
.dash-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.02);
}
.dash-card h4 {
  color: #888;
  font-size: 12px;
  margin-bottom: 10px;
}
.dash-card .big-num {
  color: #fff;
  font-size: 32px;
  font-family: var(--font-heading);
  margin-bottom: 5px;
}
.dash-card .trend {
  color: #10b981;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* CSS Bar Chart Simulation */
.chart-container {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  height: 150px;
  margin-top: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}
.bar {
  flex: 1;
  background: var(--accent-primary);
  border-radius: 4px 4px 0 0;
  transform-origin: bottom;
  animation: growUp 1.5s ease-out forwards;
}
.bar:nth-child(2) {
  background: var(--accent-secondary);
  animation-delay: 0.1s;
}
.bar:nth-child(3) {
  animation-delay: 0.2s;
}
.bar:nth-child(4) {
  background: var(--accent-secondary);
  animation-delay: 0.3s;
}
.bar:nth-child(5) {
  animation-delay: 0.4s;
}
@keyframes growUp {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

/* ==========================================================================
   TESTIMONIALS (CUSTOM SWIPER)
   ========================================================================== */
.testimonials-section {
  background: var(--bg-light);
  overflow: hidden;
}
.testi-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}
.testi-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 40px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.testi-slider::-webkit-scrollbar {
  display: none;
}
.testi-card {
  min-width: 400px;
  background: var(--bg-white);
  padding: 50px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  scroll-snap-align: start;
  cursor: grab;
}
.quote-icon {
  font-size: 40px;
  color: rgba(79, 70, 229, 0.1);
  margin-bottom: 20px;
}
.testi-text {
  font-size: 20px;
  font-style: italic;
  margin-bottom: 30px;
  color: var(--text-main);
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 15px;
}
.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}
.author-info h5 {
  font-size: 16px;
  margin-bottom: 4px;
}
.author-info p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ==========================================================================
   PROCESS TIMELINE
   ========================================================================== */
.process-section {
  background: var(--bg-white);
}
.process-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.process-line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
}
.process-line-fill {
  position: absolute;
  left: 24px; /* Aligns with the dots */
  top: 0;
  width: 2px; /* Fixed: Changed from 100% to 2px */
  height: 0;
  background: var(--accent-primary);
  transition: height 0.3s ease-out;
  z-index: 1;
}
.process-step {
  position: relative;
  padding-left: 80px;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateX(50px);
  transition: 0.8s;
}
.process-step.visible {
  opacity: 1;
  transform: translateX(0);
}
.step-dot {
  position: absolute;
  left: 16px;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 4px solid var(--border-light);
  transition: 0.3s;
  z-index: 2;
}
.process-step.active .step-dot {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 8px rgba(79, 70, 229, 0.1);
}
.step-num {
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.03);
  position: absolute;
  left: 80px;
  top: -30px;
  line-height: 1;
  z-index: 0;
}
.step-content {
  position: relative;
  z-index: 1;
}
.step-content h3 {
  font-size: 28px;
  margin-bottom: 15px;
}
.step-content p {
  color: var(--text-muted);
}

/* ==========================================================================
   BOTTOM CTA
   ========================================================================== */
.cta-section {
  background: var(--bg-dark);
  padding: 150px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-title {
  font-size: clamp(50px, 8vw, 120px);
  color: var(--text-light);
  line-height: 1;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}
.cta-section .btn-primary {
  background: var(--bg-white);
  color: var(--bg-dark);
  font-size: 18px;
  padding: 24px 48px;
}
.cta-section .btn-primary::before {
  background: var(--gradient-accent);
}

/* ==========================================================================
   LEGAL & CONTACT PAGE STYLES
   ========================================================================== */
.page-header {
  padding: 200px 0 100px;
  background: var(--bg-darker);
  color: var(--text-light);
  text-align: center;
  position: relative;
}
.page-title {
  font-size: clamp(40px, 6vw, 80px);
  margin-bottom: 20px;
}

/* Legal Layout */
.legal-content {
  padding: 100px 0;
  background: var(--bg-white);
}
.legal-wrapper {
  max-width: 900px;
  margin: 0 auto;
}
.legal-section {
  margin-bottom: 50px;
}
.legal-section h2 {
  font-size: 32px;
  margin-bottom: 24px;
  color: var(--bg-dark);
}
.legal-section p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}
.legal-section strong {
  color: var(--bg-dark);
}

/* Contact Layout */
.contact-page {
  background: var(--bg-light);
  padding: 120px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}
@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1.5fr;
  }
}
.contact-info-card {
  background: var(--bg-white);
  padding: 50px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}
.info-item {
  margin-bottom: 40px;
}
.info-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text-main);
}
.info-item p,
.info-item a {
  color: var(--text-muted);
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.1);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.contact-form-wrap {
  background: var(--bg-white);
  padding: 60px;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.form-group {
  margin-bottom: 30px;
  position: relative;
}
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.form-control {
  width: 100%;
  padding: 18px 20px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  font-family: var(--font-body);
  font-size: 16px;
  transition: 0.3s;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}
textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* UTILITIES & ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}

/* Ensure responsive typography down to mobile */
@media (max-width: 767px) {
  .section-padding {
    padding: 80px 0;
  }
  .hero-title {
    font-size: 48px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
  }
  .calc-wrapper,
  .dash-body,
  .form-row {
    grid-template-columns: 1fr;
  }
  .process-step {
    padding-left: 50px;
  }
  .step-num {
    left: 50px;
    font-size: 40px;
  }
  .testi-card {
    min-width: 85vw;
    padding: 30px;
  }
}
