:root {
  --navy: #06083b;
  --yellow: #fcc104;
  --green: #01ec49;
  --white: #ffffff;
  --light: #f6f8fb;
  --text: #1f2937;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--navy);
}

button,
a,
input,
select,
textarea {
  font-family: inherit;
}

header {
  height: 105px;
  background: var(--navy);
  padding: 0 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo {
  height: 78px;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 700;
}

nav a:hover {
  color: var(--yellow);
}

.nav-btn,
.lang-btn {
  border: none;
  border-radius: 30px;
  padding: 11px 18px;
  font-weight: 800;
  cursor: pointer;
}

.nav-btn {
  background: var(--green);
  color: var(--navy);
}

.lang-btn {
  background: var(--yellow);
  color: var(--navy);
}

.hero {
  min-height: calc(100vh - 105px);
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    var(--navy);
  background-size: 80px 80px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px;
  gap: 45px;
  overflow: hidden;
}

.hero-text {
  max-width: 720px;
}

.hero-tag {
  display: inline-block;
  color: var(--green);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: .5px;
}

.hero h1 {
  font-size: 66px;
  line-height: 1.05;
  margin-bottom: 25px;
  color: white;
}

.hero p {
  font-size: 23px;
  line-height: 1.6;
  margin-bottom: 35px;
  color: rgba(255,255,255,.88);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

.main-btn,
.outline-btn {
  padding: 16px 32px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  cursor: pointer;
}

.main-btn {
  background: var(--yellow);
  color: var(--navy);
  border: none;
}

.outline-btn {
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
}

.stats {
  display: flex;
  gap: 50px;
}

.stats h3 {
  color: var(--yellow);
  font-size: 25px;
}

.stats p {
  font-size: 16px;
  margin: 5px 0 0;
  color: white;
}

.hero-students {
  position: relative;
  width: 560px;
  height: 620px;
  flex-shrink: 0;
}

.student {
  position: absolute;
  object-fit: cover;
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
  background: var(--navy);
}

.s1 {
  width: 210px;
  height: 350px;
  left: 0;
  top: 20px;
  border-radius: 90px;
}

.s2 {
  width: 180px;
  height: 220px;
  left: 250px;
  top: 0;
  border-radius: 80px;
}

.s3 {
  width: 230px;
  height: 360px;
  left: 220px;
  top: 250px;
  border-radius: 90px;
}

.s4 {
  width: 180px;
  height: 180px;
  left: 20px;
  top: 405px;
  border-radius: 70px;
}

.s5 {
  width: 190px;
  height: 330px;
  right: 0;
  top: 130px;
  border-radius: 90px;
}

.why,
.courses {
  padding: 90px 70px;
  text-align: center;
  background: var(--white);
}

.why h2,
.courses h2 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--navy);
}

.why > p,
.courses > p {
  font-size: 20px;
  margin-bottom: 55px;
  color: var(--text);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.why-card {
  background: var(--light);
  border: 2px solid #eee;
  border-radius: 28px;
  padding: 55px 28px;
  position: relative;
  overflow: hidden;
}

.why-card span {
  position: absolute;
  font-size: 110px;
  font-weight: 900;
  color: rgba(6,8,59,.06);
  left: 35%;
  top: 20px;
}

.why-card h3 {
  font-size: 23px;
  margin-bottom: 15px;
  color: var(--navy);
  position: relative;
}

.why-card p {
  color: var(--text);
  line-height: 1.6;
  position: relative;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}

.course-card {
  background: var(--light);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,.12);
  transition: .3s;
}

.course-img {
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 900;
  color: white;
}

.design {
  background: var(--navy);
}

.ux {
  background: var(--green);
  color: var(--navy);
}

.wp {
  background: var(--yellow);
  color: var(--navy);
}

.course-body {
  padding: 28px;
}

.course-body h4 {
  color: var(--navy);
  margin-bottom: 10px;
}

.course-body h3 {
  font-size: 30px;
  margin-bottom: 16px;
  color: var(--navy);
}

.course-body p {
  line-height: 1.6;
  margin-bottom: 25px;
  color: var(--text);
}

.course-body button {
  width: 100%;
  border: none;
  background: var(--navy);
  color: white;
  padding: 16px;
  border-radius: 35px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.course-body button:hover {
  background: var(--yellow);
  color: var(--navy);
}

.course-info {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  color: var(--navy);
  font-weight: 700;
}

.course-footer-link {
  display: inline-block;
}

.course-highlight {
  animation: coursePulse 2.5s ease;
  border: 3px solid var(--yellow);
}

@keyframes coursePulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(252,193,4,0);
  }

  35% {
    transform: scale(1.04);
    box-shadow: 0 0 35px rgba(252,193,4,.65);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
  }
}

.testimonials {
  background: linear-gradient(90deg, var(--navy), #0b0f57);
  color: white;
  padding: 90px 70px;
  text-align: center;
}

.testimonials h2 {
  font-size: 48px;
  margin-bottom: 60px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  text-align: left;
}

.review-grid h3 {
  font-size: 70px;
  color: var(--yellow);
}

.review-grid p {
  margin-top: 12px;
  line-height: 1.6;
}

.cta {
  margin: 90px auto;
  max-width: 1500px;
  border-radius: 55px;
  background:
    linear-gradient(rgba(6,8,59,.78), rgba(6,8,59,.78)),
    url("images/cta.jpg");
  background-size: cover;
  background-position: center 25%;
  color: white;
  text-align: center;
  padding: 90px 20px;
}

.cta h2 {
  font-size: 50px;
  margin-bottom: 18px;
}

.cta p {
  font-size: 21px;
  margin-bottom: 35px;
}

.cta button {
  background: var(--yellow);
  color: var(--navy);
  border: none;
  padding: 17px 35px;
  border-radius: 35px;
  font-weight: 900;
  font-size: 18px;
  cursor: pointer;
}

footer {
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    var(--navy);
  background-size: 80px 80px;
  color: white;
  padding: 70px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 2fr;
  gap: 45px;
}

footer h3 {
  margin-bottom: 18px;
  color: var(--yellow);
}

footer p {
  margin-bottom: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,.86);
}

.footer-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: .3s;
}

.footer-link:hover {
  color: var(--yellow);
}

.newsletter-form {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 15px;
}

.newsletter-form input {
  flex: 1;
  height: 55px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  color: white;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,.55);
}

.newsletter-form button {
  height: 55px;
  padding: 0 28px;
  border: none;
  border-radius: 30px;
  font-weight: 800;
  cursor: pointer;
  background: var(--green);
  color: var(--navy);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--yellow);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  align-items: center;
  justify-content: center;
  z-index: 99;
  padding: 20px;
}

.modal-box {
  background: white;
  width: 500px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 25px;
  padding: 35px;
  position: relative;
}

.close {
  position: absolute;
  right: 25px;
  top: 15px;
  font-size: 35px;
  cursor: pointer;
}

.modal-box h2 {
  margin-bottom: 10px;
  color: var(--navy);
}

.required-note {
  color: #555;
  margin-bottom: 20px;
  font-size: 14px;
}

.modal-box label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
  color: var(--navy);
}

.modal-box label span {
  color: red;
}

.modal-box input,
.modal-box select,
.modal-box textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 16px;
  border: 1px solid #ddd;
  border-radius: 12px;
}

.modal-box textarea {
  height: 95px;
  resize: none;
}

#phoneCountryText {
  display: block;
  margin-top: -10px;
  margin-bottom: 16px;
  color: #666;
  font-size: 13px;
}

.phone-valid {
  color: green !important;
}

.phone-invalid {
  color: red !important;
}

.modal-box button {
  width: 100%;
  padding: 15px;
  border: none;
  background: var(--green);
  color: var(--navy);
  border-radius: 30px;
  font-weight: 900;
  cursor: pointer;
}

@media(max-width: 900px) {
  header {
    height: auto;
    padding: 20px;
    flex-direction: column;
    gap: 15px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    flex-direction: column;
    padding: 50px 25px;
    text-align: center;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-buttons,
  .stats {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-students {
    display: none;
  }

  .why-grid,
  .course-grid,
  .review-grid,
  footer {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }
}