/* ── CSS Variables ─────────────────────────────────────────────── */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  /* matches navbar height */
}

:root {
  --primary: #00235e;
  --primary-dark: #001a47;
  --primary-light: #003a99;
  --white: #ffffff;
  --light-bg: #f4f7fc;
  --border: #dde4f0;
  --text-body: #374151;
  --text-muted: #6b7280;
  --accent: #e8eef8;

  --navy: #00225C;
  --blue: #1A73E8;
  --text: #0D1B2A;
  --muted: #5A6472;
  --border-solution: #E2E8F0;
  --accent-1: #9B6DD4;
  --accent-2: #4DC9C0;
  --accent-3: #5BBD72;
  --accent-4: #E85D7A;
  --accent-5: #F5A623;
  --accent-6: #4A90D9;
}

/* ── Base ──────────────────────────────────────────────────────── */
.container {
  max-width: 1250px !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.7;
  background: var(--white);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--primary);
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 48px;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn-primary-custom {
  background-color: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  border-radius: 25px;
  padding: 11px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .3px;
  transition: all .2s;
  display: inline-block;
}

.btn-primary-custom:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  text-decoration: none;
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 6px;
  padding: 11px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .3px;
  transition: all .2s;
  display: inline-block;
}

.btn-outline-custom:hover {
  background-color: var(--white);
  color: var(--primary);
  text-decoration: none;
}

.btn-outline-primary-custom {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 6px;
  padding: 11px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .3px;
  transition: all .2s;
  display: inline-block;
}

.btn-outline-primary-custom:hover {
  background-color: var(--primary);
  color: var(--white);
  text-decoration: none;
}

/* ── Navbar ────────────────────────────────────────────────────── */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 12px rgba(0, 35, 94, 0.08), 0 1px 0 var(--border);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

/* 3-column layout: logo | nav | cta */
.nav-container {
  display: flex !important;
  align-items: center;
  width: 100%;
  padding: 0 16px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}

/* Center column: stretches and centers nav links */
/* Visibility controlled by Bootstrap d-none/d-lg-flex classes */
.nav-collapse {
  flex: 1;
  justify-content: center;
  align-items: center;
}

/* Right column: CTA + hamburger */
.nav-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  margin-left: auto;
}

/* Logo container — black background + soft shadow, zero inner spacing */
.logo-wrap {
  width: 78px;
  height: 78px;
  border-radius: 5px;
  /* background: #fffdfd; */
  /* box-shadow: 0 2px 8px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.06); */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-wrap img {
  /* box-shadow: 0 4px 6px #0003;
    border-radius: 50%; */
  width: 78px;
  height: 78px;
  display: block;
  object-fit: cover;
  margin: 0;
  padding: 0;
  border: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}

.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 25px;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.2px;
  line-height: 1;
}

.navbar-nav .nav-item {
  margin-right: 12px;
}

.navbar-nav .nav-item:last-child {
  margin-right: 0;
}

.navbar-nav .nav-item .nav-link {
  font-weight: 500;
}

/* Animated Bottom Border */

.navbar-nav .nav-link {
  position: relative;
  overflow: hidden;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;

  background: linear-gradient(90deg,
      #00c6ff,
      #0072ff,
      #7f5af0,
      #ff4ecd);

  border-radius: 10px;
  transition: width 0.4s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}


/* ── Hero ──────────────────────────────────────────────────────── */
/* #hero {
  background: linear-gradient(135deg, var(--primary) 0%, #003a99 100%);
  color: var(--white);
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
} */

#hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;

  background:

    url('../assets/her0-backhround.png');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-image {
  width: 100%;
  max-width: 560px;
  /* animation: floatImage 4s ease-in-out infinite; */
}

/* #hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
} */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: .4px;
}

.hero-badge i {
  font-size: 10px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title span {
  color: #93c5fd;
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.hero-pill {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, .9);
}

/* Hero stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
  margin-top: 48px;
  padding-top: 36px;
}

.hero-stat {
  flex: 1 1 auto;
  min-width: 130px;
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat-value {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, .65);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* ── About ─────────────────────────────────────────────────────── */
/* #about {
  padding: 88px 0;
  background: var(--white);
} */
#about {
  padding: 88px 0;
  background:
    linear-gradient(180deg,
      #f8fbff 0%,
      #ffffff 100%);

  position: relative;
  overflow: hidden;
}

#about::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  background: rgba(0, 58, 153, 0.05);
  border-radius: 50%;
  top: -120px;
  right: -100px;
}

#about::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  background: rgba(0, 35, 94, 0.04);
  border-radius: 50%;
  bottom: -100px;
  left: -80px;
}

/* .about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
} */
.about-feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;

  padding: 18px;
  border-radius: 14px;

  transition: all .35s ease;
}

.about-feature:hover {
  background: #fff;
  transform: translateY(-6px);
  border-bottom: 2px solid #1d3557;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.08);
}

/* .about-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
} */
.about-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;

  background:
    linear-gradient(135deg,
      #1d3557,
      #457b9d);

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 20px;

  flex-shrink: 0;

  transition: .35s ease;
}

.about-feature:hover .about-icon {
  transform: rotate(-8deg) scale(1.08);
}

.about-feature h5 {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* .about-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
} */
.about-card {
  background: rgba(255, 255, 255, 0.75);

  backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.5);

  border-radius: 24px;

  padding: 42px;

  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.08);

  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 5px;

  background:
    linear-gradient(135deg,
      #1d3557,
      #457b9d);
}

/* .quote-block {
  border-left: 3px solid var(--primary);
  padding: 16px 20px;
  background: var(--accent);
  border-radius: 0 8px 8px 0;
  margin-top: 28px;
} */
.quote-block {
  margin-top: 32px;

  background:
    linear-gradient(135deg,
      rgba(0, 35, 94, 0.08),
      rgba(0, 58, 153, 0.04));

  border-left: 4px solid var(--primary);

  padding: 22px 24px;

  border-radius: 0 14px 14px 0;
}

.divider-line {
  width: 90px;
  height: 4px;

  background:
    linear-gradient(135deg,
      #1d3557,
      #457b9d);

  border-radius: 20px;

  margin: 18px 0 28px;
}

.quote-block p {
  font-size: 15px;
  font-style: italic;
  color: var(--primary);
  font-weight: 600;
  margin: 0 0 6px;
}

.quote-block span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Platform Modules ──────────────────────────────────────────── */
/* #platform {
  padding: 88px 0;
  background: var(--light-bg);
} */
#platform {
  padding: 88px 0;

  background:
    linear-gradient(180deg,
      #f8fbff 0%,
      #eef5ff 100%);

  position: relative;
  overflow: hidden;
}

#platform::before {
  content: '';
  position: absolute;

  width: 320px;
  height: 320px;

  background:
    rgba(0, 114, 255, 0.05);

  border-radius: 50%;

  top: -120px;
  left: -100px;

  filter: blur(40px);
}

#platform::after {
  content: '';
  position: absolute;

  width: 240px;
  height: 240px;

  background:
    rgba(127, 90, 240, 0.06);

  border-radius: 50%;

  bottom: -80px;
  right: -60px;

  filter: blur(40px);
}

/* .module-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  height: 100%;
  transition: box-shadow .2s, transform .2s;
}

.module-card:hover {
  box-shadow: 0 8px 28px rgba(0,35,94,.1);
  transform: translateY(-3px);
} */
.module-card {
  background:
    rgba(255, 255, 255, 0.75);

  backdrop-filter: blur(14px);

  border:
    1px solid rgba(255, 255, 255, 0.5);

  border-radius: 24px;

  padding: 34px 28px;

  height: 100%;

  position: relative;
  overflow: hidden;

  transition:
    transform .4s ease,
    box-shadow .4s ease;
}

.module-card:hover {

  transform:
    translateY(-10px);

  box-shadow:
    0 18px 45px rgba(0, 35, 94, .12);
}

/* .module-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 22px;
  margin-bottom: 18px;
} */
.module-icon {
  width: 62px;
  height: 62px;

  border-radius: 18px;

  background:
    linear-gradient(135deg,
      rgba(96, 165, 250, 0.15),
      rgba(59, 130, 246, 0.12));

  display: flex;
  align-items: center;
  justify-content: center;

  color: #2563eb;

  font-size: 24px;

  margin-bottom: 22px;

  transition: .4s ease;
}

.module-card:hover .module-icon {

  transform:
    rotate(-8deg) scale(1.08);

  background:
    linear-gradient(135deg,
      #3b82f6,
      #60a5fa);

  color: #fff;
}

.module-card::after {
  content: '';
  position: absolute;

  left: 0;
  bottom: 0;

  width: 0%;
  height: 3px;

  background:
    linear-gradient(90deg,
      #60a5fa,
      #3b82f6);

  transition: .4s ease;
}

.module-card:hover::after {
  width: 100%;
}

.module-card h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.module-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Industries ────────────────────────────────────────────────── */

#industries {
  padding: 88px 0;

  background:
     linear-gradient(180deg,
      #f8fbff 0%,
      #eef5ff 100%);

  position: relative;
  overflow: hidden;
}


.industry-card {

  background:
    rgba(255, 255, 255, 0.75);

  backdrop-filter: blur(14px);

  border:
    1px solid rgba(255, 255, 255, 0.5);

  border-radius: 24px;

  padding: 32px 26px;

  height: 100%;

  position: relative;
  overflow: hidden;

  transition:
    transform .4s ease,
    box-shadow .4s ease;
}

.industry-card:hover {
  /* border-color: var(--primary-light); */
  box-shadow: 0 4px 16px rgba(0, 35, 94, .08);
}


.industry-icon {

  width: 64px;
  height: 64px;

  border-radius: 18px;

  background:
    linear-gradient(135deg,
      rgba(96, 165, 250, 0.18),
      rgba(59, 130, 246, 0.12));

  display: flex;
  align-items: center;
  justify-content: center;

  color: #1d3557;

  font-size: 24px;

  margin-bottom: 22px;

  transition: .4s ease;
}

/* Top Gradient Border */

.industry-card::before {
  content: '';
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 4px;

  background:
    linear-gradient(135deg,
      #1d3557,
      #457b9d);

  transform: scaleX(0);

  transform-origin: left;

  transition: .4s ease;
}

.industry-card:hover::before {
  transform: scaleX(1);
}

/* Bottom Border Animation */

.industry-card::after {
  content: '';
  position: absolute;

  left: 0;
  bottom: 0;

  width: 0%;
  height: 3px;

  background:
    linear-gradient(135deg,
      #1d3557,
      #457b9d);

  transition: .4s ease;
}

.industry-card:hover::after {
  width: 100%;
}

/* Icon Hover Animation */

.industry-card:hover .industry-icon {

  transform:
    rotate(-8deg) scale(1.08);

  background:
    linear-gradient(135deg,
      #1d3557,
      #457b9d);

  color: #fff;
}

.industry-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}


/* ── Solutions ───────────────────────────────────────────────── */

  #solutions {
  padding: 88px 0;

  background:
      linear-gradient(180deg,
      #ffffff 0%,
      #f8fbff 100%);


  position: relative;
  overflow: hidden;
}
  
  .solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  @media (max-width: 1024px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px)  { .solutions-grid { grid-template-columns: 1fr; } }

  .solution-card {
    background: white; border-radius: 14px; padding: 28px 24px;
    border: 1px solid var(--border-solution); box-shadow: 0 2px 12px rgba(0,34,92,0.06);
    transition: transform 0.2s, box-shadow 0.2s; position: relative; overflow: hidden;
  }
  .solution-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 14px 14px 0 0; }
  .solution-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,34,92,0.12); }
  .card-1::before { background: var(--accent-1); }
  .card-2::before { background: var(--accent-2); }
  .card-3::before { background: var(--accent-3); }
  .card-4::before { background: var(--accent-4); }
  .card-5::before { background: var(--accent-5); }
  .card-6::before { background: var(--accent-6); }

  .card-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; margin-bottom: 12px; }
  .card-1 .card-tag { background: #F3EEFF; color: var(--accent-1); }
  .card-2 .card-tag { background: #E6F9F8; color: #2BA9A0; }
  .card-3 .card-tag { background: #EDFAF1; color: #3A9A55; }
  .card-4 .card-tag { background: #FEECF0; color: var(--accent-4); }
  .card-5 .card-tag { background: #FFF4E3; color: #C47E10; }
  .card-6 .card-tag { background: #E8F2FD; color: #2A6BB5; }

  .card-solution { font-size: 15.5px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
  .card-desc { font-size: 13px; color: var(--muted); line-height: 1.65; }




/* ── Why Chalk24 ───────────────────────────────────────────────── */

#whychalk24 {

  padding: 88px 0;

  background:
    linear-gradient(135deg,
      #0f172a 0%,
      #1e293b 100%);

  position: relative;
  overflow: hidden;

  color: var(--white);
}

/* TOP RIGHT GLOW */

#whychalk24::before {
  content: '';
  position: absolute;

  width: 500px;
  height: 500px;

  border-radius: 50%;

  background:
    radial-gradient(circle,
      rgba(59, 130, 246, 0.20) 0%,
      transparent 70%);

  top: -250px;
  right: -200px;

  z-index: 0;
}

/* BOTTOM LEFT GLOW */

#whychalk24::after {
  content: '';
  position: absolute;

  width: 420px;
  height: 420px;

  border-radius: 50%;

  background:
    radial-gradient(circle,
      rgba(14, 165, 233, 0.14) 0%,
      transparent 70%);

  bottom: -200px;
  left: -160px;

  z-index: 0;
}

#whychalk24 .container {
  position: relative;
  z-index: 2;
}

#whychalk24 .section-title {
  color: var(--white);
}

#whychalk24 .section-subtitle {
  color: rgba(255, 255, 255, .72);
}

#whychalk24 .section-label {
  color: #93c5fd;
}

/* .why-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  padding: 28px 22px;
  height: 100%;
  transition: background .2s;
} */
.why-card {

  background:
    rgba(255, 255, 255, 0.06);

  backdrop-filter: blur(14px);

  border:
    1px solid rgba(255, 255, 255, 0.08);

  border-radius: 24px;

  padding: 34px 26px;

  height: 100%;

  position: relative;
  overflow: hidden;

  transition:
    transform .4s ease,
    box-shadow .4s ease,
    border-color .4s ease;
}

.why-card:hover {

  transform:
    translateY(-10px);

  border-color:
    rgba(96, 165, 250, 0.35);

  box-shadow:
    0 20px 50px rgba(59, 130, 246, 0.18);

  background:
    rgba(255, 255, 255, 0.10);
}

/* .why-icon {
  font-size: 28px;
  margin-bottom: 14px;
  color: #93c5fd;
} */
.why-icon {

  width: 68px;
  height: 68px;

  border-radius: 20px;

  background:
    linear-gradient(135deg,
      rgba(59, 130, 246, 0.25),
      rgba(14, 165, 233, 0.12));

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;

  color: #93c5fd;

  margin-bottom: 22px;

  transition: .4s ease;
}

.why-card:hover .why-icon {

  transform:
    rotate(-8deg) scale(1.08);

  background:
    linear-gradient(135deg,
      #3b82f6,
      #0ea5e9);

  color: #fff;
}

.why-card::after {
  content: '';
  position: absolute;

  left: 0;
  bottom: 0;

  width: 0%;
  height: 3px;

  background:
    linear-gradient(90deg,
      #38bdf8,
      #0ea5e9);

  transition: .4s ease;
}

.why-card:hover::after {
  width: 100%;
}

.why-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .7);
  margin: 0;
  line-height: 1.6;
}

/* ── Request Demo Section ──────────────────────────────────────── */
#demo {
  padding: 88px 0;
  background: var(--light-bg);
}

.demo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 4px 24px rgba(0, 35, 94, .07);
}

.demo-card .section-title {
  text-align: left;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-control {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-body);
  transition: border-color .2s;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 35, 94, .08);
  outline: none;
}

.form-control::placeholder {
  color: #9ca3af;
}

/* ── Contact ───────────────────────────────────────────────────── */
/* #contact {
  padding: 88px 0;
  background: var(--white);
}

.contact-info-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  height: 100%;
}

.contact-info-card i {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 12px;
}

.contact-info-card h6 {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.contact-info-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.contact-info-card a {
  color: var(--primary);
  font-weight: 500;
}

.contact-form-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
} */

#contact {

  padding: 100px 0;

  background:
    linear-gradient(180deg,
      #ffffff 0%,
      #f8fbff 100%);

  position: relative;
  overflow: hidden;
}

/* TOP RIGHT GLOW */

#contact::before {
  content: '';
  position: absolute;

  width: 500px;
  height: 500px;

  border-radius: 50%;

  background:
    radial-gradient(circle,
      rgba(59, 130, 246, 0.12),
      transparent 70%);

  top: -250px;
  right: -220px;
}

/* BOTTOM LEFT GLOW */

#contact::after {
  content: '';
  position: absolute;

  width: 380px;
  height: 380px;

  border-radius: 50%;

  background:
    radial-gradient(circle,
      rgba(14, 165, 233, 0.10),
      transparent 70%);

  bottom: -180px;
  left: -140px;
}

#contact .container {
  position: relative;
  z-index: 2;
}

/* .contact-info-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  height: 100%;
} */
.contact-info-card {

  background:
    /* rgba(255,255,255,0.75) */
    #fff;

  backdrop-filter: blur(11px);

  border:
    1px solid rgba(255, 255, 255, 0.1);

  border-radius: 24px;

  /* padding:32px 28px; */
  padding: 20px 28px;
  box-shadow:
    0 18px 45px rgba(240, 240, 241, 0.2);
  height: 100%;

  position: relative;
  overflow: hidden;

  transition:
    transform .4s ease,
    box-shadow .4s ease;
}

.contact-info-card:hover {

  transform:
    translateY(-8px);

  box-shadow:
    0 18px 45px rgba(0, 35, 94, .10);
}

/* .contact-info-card i {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 12px;
} */
.contact-info-card i {

  width: 58px;
  height: 58px;

  border-radius: 18px;

  background:
    linear-gradient(135deg,
      rgba(59, 130, 246, 0.15),
      rgba(14, 165, 233, 0.1));

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 22px;

  color: #051e55;

  margin-bottom: 18px;

  transition: .4s ease;
}

.contact-info-card:hover i {

  transform:
    rotate(-8deg) scale(1.08);

  background:
    linear-gradient(135deg,
      #3b82f6,
      #0ea5e9);

  color: #fff;
}

.contact-info-card:hover::before {
  transform: scaleX(1);
}

.contact-info-card h6 {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.contact-info-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.contact-info-card a {
  color: var(--primary);
  font-weight: 500;
}

/* .contact-form-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
} */
.contact-form-card {

  background:
    rgba(255, 255, 255, 0.78);

  backdrop-filter: blur(14px);

  border:
    2px solid rgba(255, 255, 255, 0.5);

  border-radius: 28px;

  padding: 42px;

  box-shadow:
    0 15px 45px rgba(0, 35, 94, .06);

  position: relative;
  overflow: hidden;
}

/* ── Footer (simple, centered) ─────────────────────────────────── */
footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, .65);
  padding: 32px 0;
  text-align: center;
}

.footer-brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--white);
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  margin: 4px 0 0;
}

.footer-divider {
  border-color: rgba(255, 255, 255, .1);
  margin: 20px auto;
  max-width: 200px;
}

.footer-bottom {
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
}

/* ── Bootstrap Modal Overrides ─────────────────────────────────── */
#demoModal .modal-header {
  background: var(--primary);
  color: var(--white);
  border-radius: 12px 12px 0 0;
  padding: 20px 28px;
}

#demoModal .modal-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: 1.2rem;
}

#demoModal .modal-header .close {
  color: var(--white);
  opacity: .8;
  font-size: 1.4rem;
}

#demoModal .modal-header .close:hover {
  opacity: 1;
}

#demoModal .modal-body {
  padding: 28px;
}

#demoModal .modal-content {
  border: none;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 35, 94, .18);
}

#demoModal .modal-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ── Hero Circle Diagram ───────────────────────────────────────── */
.hero-circle-wrap {
  position: relative;
  width: 380px;
  height: 380px;
}

.hero-circle-outer {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.22);
  position: relative;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
  animation: hc-spin-slow 30s linear infinite;
}

/* Counter-rotate all bubbles so text stays upright */
.hero-circle-outer .hc-bubble {
  animation: hc-counter-spin 30s linear infinite;
}

@keyframes hc-spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes hc-counter-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

/* Centre bubble overrides (no orbit animation) */
.hc-center {
  animation: none !important;
  transform: translate(-50%, -50%) !important;
}

/* Common bubble styles */
.hc-bubble {
  position: absolute;
  top: var(--hc-top);
  left: var(--hc-left);
  transform: translate(-50%, -50%);
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: var(--hc-bg, rgba(255, 255, 255, 0.15));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 11.5px;
  line-height: 1.3;
  padding: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  cursor: default;
  transition: transform 0.25s, box-shadow 0.25s;
}

/* Pause animation on hover so user can read */
.hero-circle-outer:hover {
  animation-play-state: paused;
}

.hero-circle-outer:hover .hc-bubble {
  animation-play-state: paused;
}

.hc-bubble i {
  font-size: 16px;
  margin-bottom: 5px;
  opacity: 0.9;
}


/* ── Hero Circle Diagram ── */
.circle-diagram {
  flex-shrink: 0;
  position: relative;
  width: 360px;
  height: 360px;
}

.cd-outer {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: #ffffff;
  position: relative;
}

.cd-bubble {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.3;
  padding: 10px;
  transform: translate(-50%, -50%);
}

.cd-center {
  width: 120px;
  height: 120px;
  background: #e8428a;
  top: 50%;
  left: 50%;
  font-size: 16px;
  z-index: 2;
}

.cd-sm {
  width: 106px;
  height: 106px;
}

/* Satellite colors */
.cd-top {
  background: #9fbfdc;
  top: 13%;
  left: 50%;
}

.cd-top-right {
  background: #9b72c8;
  top: 28%;
  left: 74%;
}

.cd-btm-right {
  background: #4cb8d4;
  top: 62%;
  left: 74%;
}

.cd-btm {
  background: #e07030;
  top: 78%;
  left: 50%;
}

.cd-btm-left {
  background: #e8c840;
  top: 62%;
  left: 26%;
}

.cd-top-left {
  background: #3db878;
  top: 28%;
  left: 26%;
}

/* Hide on mobile */
@media (max-width: 991px) {
  .circle-diagram {
    display: none;
  }
}



/* Centre bubble — larger + pink */
.hc-center {
  width: 118px;
  height: 118px;
  background: #e84d8a;
  font-size: 14px;
  top: 50%;
  left: 50%;
  box-shadow: 0 6px 24px rgba(232, 77, 138, 0.45);
  z-index: 2;
}

.hc-center i {
  font-size: 22px;
  margin-bottom: 6px;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  #hero {
    padding: 60px 0;
  }

  .demo-card,
  .contact-form-card {
    padding: 28px 20px;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-stat {
    min-width: 50%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding-bottom: 16px;
    margin-bottom: 16px;
  }

  .hero-stat:last-child {
    border-bottom: none;
  }

  #about,
  #platform,
  #industries,
  #whychalk24,
  #demo,
  #contact {
    padding: 60px 0;
  }
}

/* ── Misc ──────────────────────────────────────────────────────── */
.divider-line {
  height: 3px;
  width: 48px;
  background: var(--primary);
  border-radius: 4px;
  margin: 12px auto 24px;
}

.divider-line.left {
  margin-left: 0;
}



select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300235e' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding: 5px 36px 5px 14px;
  height: auto !important;
  line-height: 1.6;
}



/* ── Active Nav Link ───────────────────────────────────────────── */

/* Desktop — .nav-collapse is the desktop nav wrapper */
.nav-collapse .nav-link.nav-active,
.navbar-nav .nav-link.nav-active {
  color: var(--primary) !important;
  font-weight: 700 !important;
}

.nav-collapse .nav-link.nav-active::after,
.navbar-nav .nav-link.nav-active::after {
  width: 100% !important;
  /* keep gradient bar fully expanded */
  background: linear-gradient(90deg,
      #00c6ff,
      #0072ff,
      #7f5af0,
      #ff4ecd);
}

/* Sidebar (mobile) active link */
.sidebar-link.nav-active {
  color: var(--primary) !important;
  font-weight: 700 !important;
  background: var(--accent);
  border-radius: 8px;
}

/* ── Back to Top Button ────────────────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 32px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 35, 94, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .3s, visibility .3s, transform .3s, background .2s;
  z-index: 9999;
}

#backToTop.btt-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(0, 35, 94, 0.45);
}

/* ── Footer Logo Fix ───────────────────────────────────────────── */
footer .logo-placeholder {
  width: 75px;
  height: 75px;
  /* border-radius: 50%; */
  /* background: #fff; */
  /* border: 1.5px solid rgba(255, 255, 255, 0.22); */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25); */
  flex-shrink: 0;
}

footer .logo-placeholder img {
  /* box-shadow: 0 4px 6px #0003; */
  /* border-radius: 50%; */
  width: 74px;
  height: 74px;
  object-fit: contain;
  display: block;
  /* filter: brightness(1.15); */
}

footer .footer-brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--white);
  letter-spacing: -0.3px;
}

/* ── Custom Mobile Toggler ─────────────────────────────────────── */
.custom-toggler {
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 7px 10px;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  transition: background .2s;
  position: relative;
}

.custom-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 35, 94, 0.15);
}

.custom-toggler:hover {
  background: var(--accent);
}

.toggler-bar {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 3px;
  transition: all .3s ease;
  transform-origin: center;
}

/* Animate to X when open */
.custom-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.custom-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.custom-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ── Mobile Sidebar Overlay Style ─────────────────────────────── */
@media (max-width: 991px) {
  #navbarNav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 8px 28px rgba(0, 35, 94, 0.13);
    border-top: 2px solid var(--primary);
    border-radius: 0 0 12px 12px;
    padding: 12px 0 16px;
    z-index: 999;
  }

  #navbarNav .navbar-nav {
    padding: 0 12px;
  }

  #navbarNav .nav-item {
    margin-right: 0;
    border-bottom: 1px solid var(--border);
  }

  #navbarNav .nav-item:last-child {
    border-bottom: none;
    padding-top: 12px;
    margin-top: 4px;
  }

  #navbarNav .nav-link {
    padding: 12px 8px !important;
    font-size: 15px;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
  }

  #navbarNav .nav-link.nav-active {
    color: var(--primary-light) !important;
    font-weight: 700 !important;
    background: var(--accent);
    border-radius: 8px;
  }

  #navbarNav .nav-link.nav-active::after {
    display: none;
  }

  #navbarNav .nav-item.ml-lg-3 {
    padding-top: 8px;
    text-align: center;
  }

  #navbarNav .btn-primary-custom {
    display: block;
    width: 100%;
    text-align: center;
  }

  .navbar {
    position: sticky;
    top: 0;
  }
}

/* Keep navbar relative for absolute dropdown positioning */
@media (max-width: 991px) {
  .navbar>.container {
    position: relative;
  }
}