:root {
  --primary: #2b93d1;
  --primary-dark: #1b79b0;
  --primary-soft: #e8f5fc;
  --bg: #f4f8fb;
  --white: #ffffff;
  --text: #163047;
  --muted: #597086;
  --border: #dbe8f2;
  --shadow: 0 12px 30px rgba(20, 62, 94, 0.08);
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-w: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max-w), calc(100% - 2.4rem));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 46px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(20, 62, 94, 0.08);
}

.nav-wrap {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-size: 1.28rem;
  font-weight: 700;
  color: #1e4c6f;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #d5e5f1;
  background: #f6fbff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: #2f485d;
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.nav-link {
  position: relative;
  font-weight: 500;
  color: #2f485d;
  padding: 4px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
  background: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.btn {
  border: 0;
  outline: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(43, 147, 209, 0.27);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-dark);
  border: 1px solid #cae4f3;
}

.btn-secondary:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.hero {
  padding: 92px 0 72px;
  background:
    linear-gradient(110deg, rgba(231, 244, 251, 0.95), rgba(246, 250, 253, 0.82)),
    url("https://images.unsplash.com/photo-1606811971618-4486d14f3f99?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.14;
}

.hero p {
  margin: 0 0 18px;
  color: #476176;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
}

.feature-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.usp-visuals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.usp-visuals img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid #d8e8f3;
  box-shadow: var(--shadow);
}

.usp-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.usp-highlights div {
  background: #f6fbff;
  border: 1px solid #dceaf4;
  border-radius: 14px;
  padding: 14px 16px;
}

.usp-highlights strong {
  display: block;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.usp-highlights span {
  color: #4f677c;
  font-size: 0.92rem;
}

.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid #e3edf5;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 32px rgba(20, 62, 94, 0.14);
}

.icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
}

.card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.course-link {
  display: inline-block;
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.course-link:hover {
  color: var(--primary);
  text-decoration-thickness: 3px;
}

.testimonials {
  background: linear-gradient(180deg, #f7fbff, #eff7fc);
}

.slider {
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  transition: transform 0.45s ease;
}

.testimonial {
  min-width: 100%;
  padding: 10px;
}

.testimonial .card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 4px solid #e2f0f8;
  box-shadow: 0 8px 20px rgba(20, 62, 94, 0.15);
}

.student {
  margin-top: 12px;
  color: var(--primary-dark);
  font-weight: 600;
}

.slider-dots {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: #bedced;
  cursor: pointer;
}

.dot.active {
  background: var(--primary);
}

.about-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 34px;
}

.about-visual {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.about-points {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.about-point {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f4fafd;
  border: 1px solid #d7e9f4;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid #dceaf4;
  background: #f9fcff;
}

.metric-card strong {
  display: block;
  font-size: 1.4rem;
  color: var(--primary-dark);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
}

.contact-card,
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 28px;
}

.contact-list {
  display: grid;
  gap: 12px;
  color: #365268;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.input,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #cfe2ee;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fbfdff;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.input:focus,
textarea:focus {
  outline: 2px solid #b6ddf3;
  border-color: var(--primary);
}

.site-footer {
  background: #0f2537;
  color: #e8f3fa;
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  padding-bottom: 26px;
}

.footer-brand h3 {
  margin-top: 0;
}

.footer-brand p,
.footer-links a {
  color: #bad2e2;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(186, 210, 226, 0.2);
  text-align: center;
  padding: 16px 0 24px;
  color: #9dbace;
}

.course-hero {
  padding: 84px 0;
  background: linear-gradient(180deg, #ebf6fd, #f6fbff);
}

.course-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.content-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 30px;
}

.content-block h1 {
  margin-top: 0;
  line-height: 1.2;
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.content-block h2,
.content-block h3 {
  margin-bottom: 10px;
}

.content-block ul {
  margin-top: 8px;
  padding-left: 20px;
}

.course-info-box {
  position: sticky;
  top: 100px;
}

.info-item {
  padding: 12px 0;
  border-bottom: 1px solid #e3edf5;
}

.info-item:last-child {
  border-bottom: 0;
}

.info-label {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.info-value {
  font-weight: 600;
}

.course-enroll-btn {
  width: 100%;
  margin-top: 16px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 14px 26px rgba(10, 92, 46, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 220;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(10, 92, 46, 0.35);
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
  display: block;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 24, 35, 0.62);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 18px;
}

.modal.open {
  display: flex;
}

.modal-card {
  width: min(560px, 100%);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 26px 60px rgba(15, 42, 61, 0.28);
  border: 1px solid #d9eaf5;
  overflow: hidden;
}

.modal-head {
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2edf5;
}

.modal-head h3 {
  margin: 0;
  font-size: 1.1rem;
}

.modal-close {
  border: 0;
  background: #eef6fb;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.modal-body {
  padding: 20px 22px 24px;
}

.modal-note {
  margin: 10px 0 0;
  font-size: 0.84rem;
  color: #567086;
}

@media (max-width: 1024px) {
  .cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cols-3,
  .hero-grid,
  .contact-wrap,
  .course-layout,
  .footer-grid,
  .about-visual,
  .usp-highlights {
    grid-template-columns: 1fr;
  }

  .usp-visuals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel img {
    height: 320px;
  }

  .course-info-box {
    position: static;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 72px 0;
  }

  .nav-wrap {
    height: auto;
    padding: 14px 0;
    gap: 12px;
    justify-content: space-between;
    position: relative;
  }

  .brand {
    font-size: 1.1rem;
    max-width: calc(100% - 56px);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border: 1px solid #d9e8f3;
    border-radius: 14px;
    box-shadow: 0 16px 30px rgba(20, 62, 94, 0.12);
    overflow: hidden;
    z-index: 150;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    font-size: 1.02rem;
    padding: 14px 16px;
    border-bottom: 1px solid #edf4f9;
  }

  .nav-link::after {
    display: none;
  }

  .nav-menu .btn {
    display: none;
  }

  .course-hero {
    padding: 58px 0;
  }

  .content-block {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .content-block h1 {
    font-size: clamp(1.45rem, 7.2vw, 2rem);
    line-height: 1.18;
    margin-bottom: 12px;
  }

  .course-enroll-btn {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 12px;
    width: auto;
    margin: 0;
    z-index: 170;
    box-shadow: 0 14px 24px rgba(20, 62, 94, 0.25);
  }

  .course-hero {
    padding-bottom: 120px;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 14px;
    bottom: 82px;
  }

  .whatsapp-float img {
    width: 27px;
    height: 27px;
  }

  .cols-4,
  .cols-3 {
    grid-template-columns: 1fr;
  }

  .usp-visuals {
    grid-template-columns: 1fr;
  }
}
