/* 1. Color palette & base reset */
:root {
    --color-dark: #0a0d1e;
    --color-light: #f7f8fa;
    --color-primary: #676eff;
    --text-light: #4f5b7a;
    --text: #181f3a;
    --bg-primary: #fff;
    --bg-secondary: #f7f8fa;
    --text-primary: var(--text);
    --text-secondary: var(--text-light);
    --purple-highlight: #b992dd;
  }
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
  }
  * { margin:0; padding:0; box-sizing:border-box; }
  html, body { width:100%; height:100%; font-family:'Poppins', sans-serif; color:var(--text); background: #fff !important;
  /* background-attachment: fixed; */
  overflow-x:hidden; }
  a { text-decoration:none; }
  
/* 2. Animated mesh gradient (enhanced) */
body {
  position: relative;
  background: #fff !important;
  overflow-x: hidden;
}
body::before {
  display: none !important;
}
.gradient-bg {
  width: 100vw;
  height: 700px;
  background: linear-gradient(
    180deg,
    #b992dd 0%,
    #f8e3c8 20%,
    #c2e9fb 40%,
    #f5d0e6 60%,
    #fff 100%
  );
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  pointer-events: none;
}

@keyframes moveGradient {}
  
  @keyframes mesh1 {
    0%   { background-position: 0% 0%; }
    50%  { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
  }
  @keyframes mesh2 {
    0%   { background-position: 100% 0%; }
    50%  { background-position: 0% 100%; }
    100% { background-position: 100% 0%; }
  }
  @keyframes mesh3 {
    0%   { background-position: 0% 100%; }
    50%  { background-position: 100% 0%; }
    100% { background-position: 0% 100%; }
  }
  @keyframes mesh4 {
    0%   { background-position: 100% 100%; }
    50%  { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
  }
  
  
  /* 3. Navbar */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 2rem;
    background: #fff !important;
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: background 0.4s cubic-bezier(.4,0,.2,1), backdrop-filter 0.4s cubic-bezier(.4,0,.2,1);
    min-height: 56px;
    box-shadow: 0 2px 16px 0 rgba(30,40,90,0.06);
    border-bottom: 1.5px solid #ececf3;
  }
  .navbar.scrolled {
    background: rgba(10, 13, 30, 0.5);
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.10);
    backdrop-filter: blur(18px) saturate(180%);
  }
  .logo {
    font-family: 'Frankfurter Medium', 'Poppins', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: -1.2px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.05;
    color: #181f3a !important;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: initial;
    position: relative;
    text-shadow: none !important;
    margin-bottom: 0;
    height: 100%;
  }
  .logo-sub {
    font-size: 1em;
    font-weight: 700;
    letter-spacing: -1.2px;
    color: #181f3a !important;
    margin-left: 0;
  }
  .logo::after {
    content: '';
    display: block;
    margin: 0.5rem 0 0 0;
    width: 100%;
    max-width: 140px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #5fd0c7 0%, #8ea6ff 100%);
    opacity: 0.85;
    transition: background 0.3s;
  }
  .logo-img {
    height: 32px;
    width: auto;
    display: block;
  }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  .nav-links a {
    font-size: 1rem;
    font-weight: 600;
    color: #181f3a !important;
    transition: color 0.2s;
  }
  .nav-links a:hover {
    color: #676eff !important;
  }
  .btn-primary {
    background: #676eff !important;
    color: #fff !important;
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px 0 rgba(103,110,255,0.10);
  }
  .btn-primary:hover {
    background: #575fdf !important;
    transform: translateY(-2px);
  }
  
  /* Mobile Navigation */
  @media (max-width: 768px) {
    .navbar {
      padding: 0.5rem 1rem;
      min-height: 44px;
      background: #fff !important;
      box-shadow: 0 2px 16px 0 rgba(30,40,90,0.06);
      border-bottom: 1.5px solid #ececf3;
    }
    .logo {
      font-size: 1.2rem;
      margin-bottom: 0;
    }
    .logo-sub {
      font-size: 1em;
    }
    .logo::after {
      max-width: 80px;
      height: 2px;
    }
    .logo-img {
      height: 28px;
    }
    .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      height: 100vh;
      width: 80vw;
      max-width: 340px;
      background: #fff !important;
      flex-direction: column;
      padding: 6rem 2rem 2rem 2rem;
      transition: right 0.3s cubic-bezier(.4,0,.2,1);
      box-shadow: -8px 0 32px rgba(30,40,90,0.10);
      border-left: 1.5px solid #ececf3;
      z-index: 2001;
      align-items: flex-start;
      gap: 2rem;
    }
    .nav-links.active {
      right: 0;
    }
    .nav-links a {
      font-size: 1.25rem;
      color: #181f3a !important;
      font-weight: 700;
      width: 100%;
      text-align: left;
      padding: 1.2rem 0 1.2rem 0.2rem;
      border-radius: 8px;
      transition: background 0.2s, color 0.2s;
    }
    .nav-links a.btn-primary {
      margin-top: 1.5rem;
      font-size: 1.15rem;
      padding: 1.1rem 0;
      width: 100%;
      text-align: center;
      border-radius: 10px;
      background: #676eff !important;
      color: #fff !important;
      font-weight: 800;
      box-shadow: 0 2px 8px 0 rgba(103,110,255,0.10);
    }
    .nav-toggle {
      display: block !important;
      background: none;
      border: none;
      color: #181f3a !important;
      font-size: 2.1rem;
      cursor: pointer;
      z-index: 2100;
      margin-right: 0.2rem;
    }
    .hero {
      padding-top: 9.5rem;
    }
  }
  
  /* 4. Hero */
  .hero {
    text-align: center;
    padding: 11rem 2rem 4rem;
    margin-top: 0;
  }
  .hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  /* remove the old color rule */
.hero .highlight {
    /* gradient for the text */
    background: linear-gradient(
      90deg,
      #676eff 0%,
      #2ec4b6 50%,
      #fb7185 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .hero p {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }
  .stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
  }

  @media (max-width: 600px) {
    .stats {
      flex-direction: column;
      align-items: center;
      gap: 1.5rem;
    }
    .features {
      flex-direction: column;
      align-items: center;
      gap: 1.5rem;
    }
  }

  .stat .number {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
  }

  .stat .number.success-highlight {
    color: #2ec4b6;
  }

  .stat .label {
    color: var(--text-light);
    font-size: 0.9rem;
  }
  
  /* 5. Sections */
  .section {
    position: relative;
    padding: 5.5rem 2rem 5.5rem 2rem !important;
    scroll-margin-top: 80px;
  }
  .section--about {
    /* background removed for smooth gradient */
    text-align: center;
    background: #f7f8fa !important;
  }
  .section--about h2 {
    font-size: 2.9rem;
    font-weight: 900;
    letter-spacing: -1.2px;
    margin-bottom: 1.2rem;
    color: #181f3a;
    position: relative;
  }
  .section--about h2::after {
    content: '';
    display: block;
    margin: 1.1rem auto 0 auto;
    width: 80px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #676eff 0%, #5fd0c7 100%);
    opacity: 0.18;
  }
  .section--about p {
    max-width: 800px;
    margin: 0.75rem auto;
    color: var(--text);
    line-height: 1.6;
  }
  .features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
  }
  @media (max-width: 700px) {
    .features {
      margin-top: 2.5rem !important;
      padding-top: 1.5rem !important;
    }
    .features {
      scrollbar-width: none; /* Firefox */
      -ms-overflow-style: none; /* IE 10+ */
    }
    .features::-webkit-scrollbar {
      display: none; /* Chrome/Safari/Webkit */
    }
    .features {
      display: flex;
      flex-direction: row;
      overflow-x: auto;
      gap: 1.2rem;
      max-width: 100vw;
      padding: 0 1rem 1rem 1rem;
      scroll-snap-type: x mandatory;
    }
    .feature {
      min-width: 75vw;
      flex: 0 0 auto;
      scroll-snap-align: center;
      font-size: 0.97rem;
    }
  }
  .feature {
    background: #fff !important;
    padding: 2.2rem 1.5rem !important;
    border-radius: 22px !important;
    width: 100%;
    text-align: center;
    border: 1.5px solid #ececf3 !important;
    box-shadow: 0 8px 32px 0 rgba(30,40,90,0.10);
  }
  .feature h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }
  .feature p {
    color: var(--text);
    font-size: 0.9rem;
  }
  
  /* 6. Services */
  .section--services {
    /* background removed for smooth gradient */
    text-align: center;
    padding: 2rem 2rem;
  }
  
  .section--services h2 {
    font-size: 2.9rem;
    font-weight: 900;
    letter-spacing: -1.2px;
    margin-bottom: 1.2rem;
    color: #181f3a;
    position: relative;
  }
  .section--services h2::after {
    content: '';
    display: block;
    margin: 1.1rem auto 0 auto;
    width: 80px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #676eff 0%, #5fd0c7 100%);
    opacity: 0.18;
  }
  
  .section--services .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .section--services .card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .section--services .card:hover {
    transform: translateY(-5px);
  }
  
  .section--services .card h3 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.5rem;
  }
  
  .section--services .card p {
    color: var(--text);
    line-height: 1.6;
    font-size: 1rem;
  }
  
  /* 7. Footer */
  .footer {
    border-top: 1.5px solid #ececf3;
    background: #f7f8fa !important;
    text-align: center;
    padding: 1rem;
    color: #4f5b7a;
    font-size: 0.85rem;
  }
  
  /* Industries Section */
  .section--industries {
    /* background removed for smooth gradient */
    padding: 2rem 2rem;
    background: #f7f8fa !important;
  }
  
  .section--industries h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.9rem;
    font-weight: 900;
    letter-spacing: -1.2px;
    color: #181f3a;
    position: relative;
  }
  .section--industries h2::after {
    content: '';
    display: block;
    margin: 1.1rem auto 0 auto;
    width: 80px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #676eff 0%, #5fd0c7 100%);
    opacity: 0.18;
  }
  
  .section--industries .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .section--industries .card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .section--industries .card:hover {
    transform: translateY(-5px);
  }
  
  .section--industries .card h3 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.5rem;
  }
  
  .section--industries .card p {
    color: var(--text);
    line-height: 1.6;
  }
  
  .nav-toggle {
    display: none;
  }
  
  /* Remove all solid backgrounds to show the gradient */
  body,
  .section,
  .section--about,
  .section--services,
  .section--industries,
  .footer {
    background: transparent !important;
  }
  
.section-separator {
  width: 80px;
  height: 0;
  border-top: 2px dashed #4f5b7a;
  opacity: 0.25;
  margin: 0 auto 1rem auto;
  border-radius: 2px;
}
  
/* Modal Overlay */
.modal-overlay {
  position: fixed;
  z-index: 2000;
  inset: 0;
  background: rgba(16, 19, 42, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  animation: fadeIn 0.3s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body.modal-open > *:not(.modal-overlay) {
  filter: blur(6px) brightness(0.9);
  transition: filter 0.3s;
}
.modal-content {
  background: rgba(34, 40, 62, 0.95);
  border-radius: 10px;
  box-shadow: 0 12px 48px 0 rgba(10,13,30,0.35);
  padding: 2rem;
  max-width: 500px;
  width: 95vw;
  min-height: 200px;
  position: relative;
  animation: modalPop 0.3s;
  overflow: hidden;
  border: 1.5px solid rgba(120, 130, 180, 0.18);
  backdrop-filter: blur(16px) saturate(160%);
}
@keyframes modalPop {
  from { transform: translateY(40px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-content iframe {
  border: none;
  width: 100%;
  min-height: 500px;
  background: transparent;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
}
.modal-close:hover {
  color: #a5b4fc;
}
  
@media (max-width: 600px) {
  .modal-overlay {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    width: 100vw;
    height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
  }
  .modal-content {
    max-width: 100vw;
    width: 100vw;
    min-width: 100vw;
    min-height: 100vh;
    height: 100vh;
    border-radius: 0;
    padding: 1rem;
    overflow-y: auto;
  }
  .modal-content input,
  .modal-content textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 0 1rem 0;
  }
  .modal-close {
    top: 10px;
    right: 16px;
  }
}
  
/* Make Tally form fields fit modal width */
.modal-content input,
.modal-content textarea {
  width: 100% !important;
  box-sizing: border-box;
  margin: 0 0 1rem 0;
}

/* Remove border from modal-content in desktop view */
.modal-content {
  border: none;
}
  
/* Card Quick Wins */
.card, .feature {
  background: #fff;
  border-radius: 18px;
  border: 1.5px solid #ececf3;
  box-shadow: 0 2px 8px 0 rgba(30,40,90,0.04);
  padding: 2rem 1.5rem;
  transition: box-shadow 0.18s cubic-bezier(.4,0,.2,1), transform 0.18s cubic-bezier(.4,0,.2,1);
}
.card:hover, .feature:hover {
  box-shadow: 0 6px 24px 0 rgba(30,40,90,0.08);
  transform: translateY(-2px);
}

/* Animate cards on scroll */
.card, .feature {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
}
.card.visible, .feature.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}

/* Headings larger and bolder */
.section--services h2,
.section--industries h2,
.section--about h2 {
  font-size: 2.9rem;
  font-weight: 900;
  letter-spacing: -1.2px;
  margin-bottom: 1.2rem;
}

@media (max-width: 768px) {
  .section--services h2,
  .section--industries h2,
  .section--about h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
  }
}

/* Add styles for icons */
.feature-icon, .card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
    transition: transform 0.3s ease, color 0.3s ease;
}

.feature:hover .feature-icon,
.card:hover .card-icon {
    transform: scale(1.1);
    color: var(--purple-highlight);
}

/* Bootstrap-inspired card improvements */
.card, .feature {
    background: #fff;
    border-radius: 18px;
    border: 1.5px solid #ececf3;
    box-shadow: 0 2px 8px 0 rgba(30,40,90,0.04);
    padding: 2rem 1.5rem;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card:hover, .feature:hover {
    box-shadow: 0 8px 24px 0 rgba(30,40,90,0.12);
    transform: translateY(-4px);
    border-color: var(--color-primary);
}

/* Update the "smarter" highlight */
.section--about h2 .highlight {
    color: var(--purple-highlight);
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .feature-icon, .card-icon {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .card, .feature {
        padding: 1.5rem 1rem;
    }
}
  