:root {
  /* ===== BRAND (FROM LOGO) ===== */
  --brand-primary: #818CF8;   /* Indigo – main brand & CTA */
  --brand-analytics: #22D3EE; /* Cyan – data & metrics */
  --brand-accent: #A78BFA;    /* Purple – accent only */

  /* ===== SOFT BRAND GLOWS ===== */
  --soft-primary: rgba(129, 140, 248, 0.18);
  --soft-analytics: rgba(34, 211, 238, 0.16);
  --soft-accent: rgba(167, 139, 250, 0.16);

  /* ===== DARK THEME BASE ===== */
  --bg-main: #0B0F14;
--bg-section: #0C1017;
  --bg-card: #111827;
  --bg-card-hover: #1F2937;

  /* ===== TEXT ===== */
  --text-primary: #F9FAFB;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;

  /* ===== BORDERS ===== */
  --border-light: rgba(148, 163, 184, 0.16);
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


/* ================= NAVBAR ================= */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0px 40px;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.4s ease;
  background: transparent;
}



#navbar.scrolled {
  height: 70px;
    background: #020617;

  backdrop-filter: blur(5px);
  overflow: hidden;
  padding: 14px 40px;
  border-bottom: 2.5px solid var(--border-light);
}

.nav-left .brand {
  font-weight: 700;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.logo-img {
  display: block;
  height: auto;
  width: 280px;
}
.logo-icon{
  display: none;
}


#navbar.scrolled .brand {
  opacity: 1;
}

.nav-right a {
  margin-left: 30px;
  text-decoration: none;
  color: var(--brand-analytics);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-right a:hover {
  color: var(--brand-primary);
}

/* ================= Mobile Hamburger ================= */

.hamburger {
  display: none;
  /* hidden on desktop */
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: #fff;
  display: block;
}




/* ================= HERO ================= */
.hero {
  padding: 180px 0 100px;
  text-align: center;
    background: radial-gradient(circle at top,
      var(--soft-primary),
      transparent 60%);
}

/* Badge */
.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 30px;
  color: #b0b0b0;
}

.hero-title {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
  color: var(--text-primary)
}

.highlight {
   background: linear-gradient(
    90deg,
    var(--brand-analytics),
    var(--brand-primary),
    var(--brand-accent)
  );
  -webkit-background-clip: text;
  color: transparent;
}

/* Description */
.hero-desc {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.btn-primary {
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  background-color: var(--brand-primary);
  color: #0f0f10;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

@media (hover: hover) {
  .btn-primary:hover {
    background-color: var(--brand-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--soft-accent);
  }
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

@media (hover: hover) {
  .btn-secondary:hover {
    border-color: var(--brand-analytics);
    color: var(--brand-analytics);
    transform: translateY(-2px);
  }
}

/* Stats */
.stats {
  padding: 120px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  text-align: center;
}

.stat-number {
  font-size: 56px;
  font-weight: 700;
  color: var(--brand-analytics);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 16px;
  color: var(--brand-analytics);
}


/* ================= CAROUSEL ================= */

/* Carousel */
.carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-viewport {
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
  /* enables horizontal swipe */
}



/* Track */
.carousel-track {
  display: flex;
  will-change: transform;
  gap: 20px;
  transition: transform 0.6s ease;
}


/* DOTS WRAPPER */
.carousel-dots {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}


/* ================= SERVICES ================= */

.services-section {
  padding: 120px 0;
  background-color: var(--bg-section);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}


.service-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px;
  transition: all 0.3s ease;
}

/* Icon box */
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(200, 255, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 25px;
}

.service-card h3 {
  color: var(--brand-primary);
  margin-bottom: 15px;
  font-size: 18px;

}

.service-desc {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Bullet list */
.service-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

/* Tick icon */
.service-points li::before {
  content: "✔";
  font-size: 12px;
  color: var(--brand-accent);
}

@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-primary);
    background-color: var(--bg-card);

  }
}


/* ================= Process================= */
.process-section {
  padding: 100px 0;
  text-align: center;
}

/* Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* Step Card */
.process-step {
  text-align: center;
}

.step-number {
  font-size: 50px;
  font-weight: 700;
  color: var(--brand-analytics);
  margin-bottom: 20px;
}

/* Heading */
.process-step h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--brand-analytics);
}

/* Text */
.process-step p {
  line-height: 1.6;
  color: var(--text-secondary);
}



/* ================= Projects ================= */
.case-studies-section {
  padding: 120px 0;
  background-color: var(--bg-section);
  text-align: center;
}


.case-study-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px;
  min-width: calc((100% - 40px) / 3);
  text-align: left;
  transition: all 0.3s ease;
}

@media (hover: hover) {
  .case-study-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-primary);
    background-color: var(--bg-card);

  }
}

.case-header h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--brand-primary);
}

.industry-tag {
  display: inline-block;
  margin: 10px 0 22px;
  padding: 4px 12px;
  background-color: var(--soft-accent);
  color: var(--brand-analytics);
  border-radius: 12px;
  font-size: 12px;
}

.case-section {
  margin-bottom: 20px;
}

.case-section h4 {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--brand-accent);
  margin-bottom: 6px;
}

.case-section p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}


.case-study-card hr {
  border: none;
  height: 1px;
  background: var(--border-light);
  margin: 22px 0;
}

.case-metrics {
  display: flex;
  gap: 40px;
}

.case-metrics div strong {
  font-size: 28px;
  color: var(--brand-analytics);
}

.case-metrics div span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}



/* ================= Reviews ================= */
.reviews-section {
  padding: 120px 0;
  text-align: center;
}

.review-card {
  min-width: 100%;
  padding: 35px;
  border-radius: 25px;
  box-sizing: border-box;
}

.review-card p {
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 25px;
}

.review-card strong {
  display: block;
  color: var(--brand-analytics);
  margin-bottom: 5px;
}

.review-card span {
  font-size: 14px;
  color: var(--text-muted);
}




/* ================= Insights ================= */
.insights-section {
  padding: 120px 0;
  background-color: var(--bg-section);
}

/* Grid */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Card */
.insight-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 35px;
  transition: all 0.3s ease;
}

/* Tag */
.insight-tag {
  display: inline-block;
  padding: 6px 14px;
  background-color: var(--soft-accent);
  color: var(--brand-analytics);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* Title */
.insight-card h3 {
  font-size: 18px;
  color: var(--brand-primary);
  margin-bottom: 15px;
  line-height: 1.4;
}

/* Text */
.insight-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Divider */
.insight-card hr {
  border: none;
  height: 1px;
  background: var(--border-light);
  margin: 22px 0;
}

/* Meta */
.insight-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

@media (hover: hover) {
  .insight-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-primary);
    background-color: var(--bg-card);
    cursor: pointer;
  }
}




/* ================= CTA ================= */
.contact-section {
  padding: 120px 0;
  text-align: center;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}


.contact-info h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--brand-analytics);
}

.contact-info>p {
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}


.contact-item strong {
  display: block;
  color: var(--brand-analytics);
  margin-bottom: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-item p {
  color: var(--text-primary);
}



.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* RIGHT FORM */

.contact-form input,
.contact-form textarea {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 15px 20px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  background-color: var(--soft-primary);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.form-status {
  margin-top: 10px;
  font-size: 14px;
  display: none;
}

.form-status.success {
  color: #2DD4BF;
}

.form-status.error {
  color: #F87171;
}




/* ================= FOOTER ================= */
.footer {
    background: #020617;
  border-top: 1px solid var(--border-light);
  padding: 80px 0 30px;

}


.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}


/* Base reset */
.footer-logo {
  display: block;
  height: auto;      /* adjust if needed */
  width: 250px;
}

/* Default: Desktop / Laptop */
.footer-logo--icon {
  display: none;
}


.footer h4 {
  color: var(--text-primary);
  margin-bottom: 20px;
  font-size: 16px;
  text-transform: uppercase;
}

.footer a {
  display: block;
  text-decoration: none;
  color: var(--brand-analytics);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

@media (hover: hover) {
  .footer a:hover {
    color: var(--brand-primary);
  }
}

.socials a {
  display: inline-block;
  margin-right: 20px;
  padding-left: 22px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--brand-analytics);
}


/* ================= Carousel Dots (Reusable) ================= */

.carousel-dots button {
  all: unset;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  cursor: pointer;
  display: block;
  transition: all 0.3s ease;
  opacity: 0.4;
}

.carousel-dots button.active {
  background: #fff;
  opacity: 1;
  transform: scale(1.4);
}


/* =================TABLET (≤1024px)================= */
@media (max-width: 1024px) {

  /* Navbar */
  #navbar {
    padding: 0;

  }

  .nav-right a {
    margin-left: 20px;
    font-size: 13px;
  }

  .logo-img {
  display: block;
  height: auto;
  width: 220px;
}
.logo-icon{
  display: none;
}

  .hero-title {
    font-size: 42px;
  }

  .section-header h2 {
    font-size: 38px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }

  .case-study-card {
    min-width: calc((100% - 30px) / 2);
  }

  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer {
    padding: 70px 40px 40px;
  }

  .footer-top {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
  }

    .footer-logo--full {
    display: none;
  }

  
  .footer-logo--icon {
    display: block;
    height: auto; 
    width: 150px;/* slightly smaller on mobile */
  }


  .socials a {
    margin-right: 12px;
    padding: 0px;  }
}

/* ================= MOBILE (≤767px) ================= */
@media (max-width: 767px) {



  /* Navbar */
  #navbar {
    padding: 20px 24px;
    display: flex;
    align-items: center;
  }


  .nav-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

.logo-img {
display: none;
}
.logo-icon{
  display: block;
  height: auto;
  width: 100px;
}

  .nav-right a {
    margin: 0;
    font-size: 12px;
  }

  .hero-title {
    font-size: 38px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .case-study-card {
    min-width: 100%;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .carousel-track {
    gap: 16px;
  }

  /* Footer */

  .footer {
    padding: 60px 20px 30px;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer-logo--full {
    display: none;
  }

  
  .footer-logo--icon {
    display: block;
    height: auto;
    width: 100px;
  }

  .footer h4 {
    font-size: 13px;
  }

  .footer a {
    font-size: 13px;
  }

  /* Footer bottom stack */
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-bottom a {
    margin-left: 0;
    margin-right: 12px;
  }

  .socials {
    display: flex;
    justify-content: center;
    gap: 14px;
  }

  .socials a {
    margin-right: 0;
  }

}


@media (max-width: 480px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 435px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
  }

  .btn-secondary {
    padding: 14px 24px;
    font-size: 16px;
  }
}


@media (max-width: 350px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* ================= Mobile Menu Overlay ================= */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-section);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  z-index: 2000;
}

/* When menu is open*/
.mobile-menu.active {
  transform: translateY(0);
}

.menu-logo{
  height: auto;
  width: 250px;
}

/* Menu links */
.mobile-menu a {
  color: var(--brand-analytics);
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
}


.close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 28px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* ================= MOBILE NAVBAR STATES ================= */
@media (max-width: 1199px) {

  /* ===== DEFAULT (TOP OF PAGE) ===== */
  #navbar {
    justify-content: center;
    padding: 16px 20px;
  }

  .nav-left {
    display: none;
    /* hide MetricWise */
  }

  .nav-right {
    display: flex;
    /* show inline links */
    gap: 18px;
  }

  .hamburger {
    display: none;
    /* hide hamburger */
  }

  /* ===== AFTER SCROLL ===== */
  #navbar.scrolled {
    justify-content: space-between;
    padding: 12px 20px;
  }

  #navbar.scrolled .nav-left {
    display: block;
    /* show MetricWise */
  }

  #navbar.scrolled .nav-right {
    display: none;
    /* hide inline links */
  }

  #navbar.scrolled .hamburger {
    display: flex;
    /* show hamburger */
  }
}