:root {
  --primary: #1f6fd6;
  --dark: #0f1f33;
  --light: #f4f6f9;
  --header-height: 50px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  color: #333;
  background: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
/* header {
  background: var(--dark);
  color: white;
  position: fixed;
  width: 100%;
  z-index: 1000;
} */

header {
  background: var(--dark);
  color: white;
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo span {
  color: var(--primary);
}

nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
}

/* HERO */
/* .hero {
  background: linear-gradient(rgba(15,31,51,.85), rgba(15,31,51,.85)),
              url("hero.jpg") center/cover no-repeat;
  color: white;
  padding: 160px 20px 120px;
  text-align: center;
} */

.hero-bg {
   padding-top: 80px;
  background:
    linear-gradient(rgba(15,31,51,.75), rgba(15,31,51,.85)),
    url("hero.jpg") center top / cover no-repeat;
}

.hero {
  background: none;
  color: white;
  /* padding-top: 20px; */
  padding-bottom: 50px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
}


.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hero p {
  max-width: 700px;
  margin: auto;
  font-size: 1.2rem;
}

.hero-actions {
  margin-top: 30px;
}

.btn {
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
  margin: 0 10px;
  display: inline-block;
}

.primary {
  background: var(--primary);
  color: white;
}

.secondary {
  border: 2px solid white;
  color: white;
}

/* FEATURES */
.features {
  background: rgba(244,246,249,.75);
  padding: 30px 0 40px 0;
}


.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.feature {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}

.feature:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.feature i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.popup {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--dark);
  color: white;
  padding: 14px 16px;
  border-radius: 8px;
  width: 260px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}

.feature:hover .popup {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* PURPOSE-BUILT AI */
.ai-value.refined {
  padding: 80px 0;
  background: #fff;
}

.ai-value .lead {
  font-size: 1.15rem;
  margin-bottom: 24px;
  color: #444;
}

.value-list {
  list-style: none;
  padding-left: 0;
}

.value-list li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 18px;
  line-height: 1.6;
}

.value-list li i {
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--primary);
  font-size: 1rem;
}


/* SPLIT */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: 12px;
}

/* DISTRICTS */
.districts.redesigned {
  background: var(--light);
  padding: 90px 0;
}

.district-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.district-item {
  background: white;
  padding: 26px;
  border-radius: 12px;
  text-align: center;
}

.district-item i {
  font-size: 2.6rem;
  color: var(--primary);
  margin-bottom: 18px;
}

/* COURSES */
.courses {
  padding: 90px 0;
  text-align: center;
}

.course-grid.dense {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.course {
  background: var(--primary);
  color: white;
  padding: 30px;
  border-radius: 12px;
}

.course i {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.course.ghost {
  background: rgba(31,111,214,.15);
}

/* TRUST */
.trust {
  background: var(--dark);
  color: white;
  padding: 90px 0;
  text-align: center;
}

footer {
  background: #0b1626;
  color: white;
  text-align: center;
  padding: 30px 0;
}

.feature-grid.spaced {
  gap: 60px;
}

.course.more {
  background: rgba(31,111,214,.15);
  color: var(--primary);
}

/* AI LEARNING SECTION */
.ai-learning {
  padding: 10px 0 80px 0;
  background: #fff;
}

.ai-learning h2 {
  text-align: center;
  margin-bottom: 50px;
}

/* GRID */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

/* CARD */
.ai-card {
  background: var(--light);
  padding: 32px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

/* HEADER (ICON + TITLE) */
.ai-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

/* ICON */
.ai-card-header i {
  font-size: 1.6rem;
  color: var(--primary);
  flex-shrink: 0;
}

/* TITLE */
.ai-card h3 {
  margin: 0;
  line-height: 1.3;
}

/* BODY TEXT */
.ai-card p {
  margin: 0;
  line-height: 1.6;
  color: #444;
}

/* CONTACT FORM — GLOBAL */
.contact-form {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.contact-form label {
  display: block;
  margin-bottom: 22px;
  font-weight: 600;
  color: #333;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #cfd6e0;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(31,111,214,.15);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  margin-top: 10px;
}

.demo-page {
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 100px;
  background: var(--light);
}
