/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #111111;
  background: #ffffff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================
   GENERAL
========================= */

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.section-label,
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 50px;
}

.section-heading h2 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  margin-bottom: 18px;
}

.section-heading p {
  color: #666666;
}

/* =========================
   HEADER
========================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
}

.nav-container {
  min-height: 158px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -1px;
}

.logo-sub {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover {
  opacity: 0.6;
}

.nav-button {
  padding: 12px 20px;
  border: 1px solid #111111;
  font-size: 14px;
  font-weight: 700;
}

/* =========================
   BUTTONS
========================= */

.button {
  display: inline-block;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 14px;
  transition: 0.2s ease;
}

.button.primary {
  background: #111111;
  color: #ffffff;
}

.button.primary:hover {
  transform: translateY(-2px);
}

.button.secondary {
  border: 1px solid #111111;
}

.button.secondary:hover {
  background: #111111;
  color: #ffffff;
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 680px;
  display: flex;
  align-items: center;
  background: #f3f3f3;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: center;
}

.hero-text h1 {
  max-width: 750px;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -4px;
  margin-bottom: 30px;
}

.hero-text h1 span {
  display: block;
}

.hero-description {
  max-width: 650px;
  color: #555555;
  font-size: 17px;
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-card {
  min-height: 440px;
  background: #111111;
  color: #ffffff;
  display: flex;
  align-items: flex-end;
  padding: 45px;
}

.card-label {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 3px;
  margin-bottom: 30px;
}

.hero-card h2 {
  font-size: 46px;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 25px;
}

.hero-card p {
  color: #cccccc;
}

/* =========================
   ABOUT
========================= */

.about {
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.about h2 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -2px;
}

.about h2 span {
  display: block;
}

.about p {
  color: #555555;
  margin-bottom: 20px;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
}

/* =========================
   SERVICES
========================= */

.services {
  background: #f5f5f5;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #cccccc;
  border: 1px solid #cccccc;
}

.service-card {
  background: #ffffff;
  padding: 40px;
  min-height: 270px;
}

.service-number {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 35px;
}

.service-card h3 {
  font-size: 25px;
  margin-bottom: 12px;
}

.service-card p {
  color: #666666;
  margin-bottom: 20px;
}

.service-card a {
  font-size: 14px;
  font-weight: 700;
}

/* =========================
   INSTITUTE
========================= */

.institute {
  background: #111111;
  color: #ffffff;
}

.institute-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.institute-content h2 {
  font-size: clamp(40px, 5vw, 65px);
  line-height: 1;
  letter-spacing: -3px;
  margin-bottom: 30px;
}

.institute-content h2 span {
  display: block;
}

.institute-content p {
  color: #cccccc;
  margin-bottom: 20px;
}

.institute-content .button {
  margin-top: 15px;
  background: #ffffff;
  color: #111111;
}

.institute-features {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid #444444;
}

.feature:last-child {
  border-bottom: 1px solid #444444;
}

.feature strong {
  font-size: 13px;
}

.feature h3 {
  font-size: 20px;
  margin-bottom: 7px;
}

.feature p {
  color: #aaaaaa;
}

/* =========================
   PROGRAMMES
========================= */

.programmes {
  background: #ffffff;
}

.programme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.programme {
  border-top: 2px solid #111111;
  padding-top: 20px;
}

.programme span {
  font-size: 12px;
  font-weight: 700;
}

.programme h3 {
  font-size: 21px;
  margin: 25px 0 10px;
}

.programme p {
  color: #666666;
  font-size: 14px;
}

/* =========================
   WHY AMSMA
========================= */

.why {
  background: #f5f5f5;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.why-grid h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.why-grid p {
  color: #666666;
}

/* =========================
   CTA
========================= */

.cta {
  background: #e8e8e8;
  padding: 90px 0;
}

.cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.cta h2 {
  font-size: clamp(35px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 15px;
}

.cta p {
  color: #555555;
}

/* =========================
   FOOTER
========================= */

.footer {
  background: #111111;
  color: #ffffff;
}

.footer-grid {
  padding: 70px 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 70px;
}

.footer p {
  color: #aaaaaa;
  margin-top: 15px;
  font-size: 14px;
}

.footer h4 {
  margin-bottom: 15px;
}

.footer a {
  display: block;
  color: #aaaaaa;
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid #333333;
  padding: 20px 0;
}

.footer-bottom p {
  margin: 0;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero-content,
  .about-grid,
  .institute-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero {
    padding: 80px 0;
  }

  .hero-card {
    min-height: 350px;
  }

  .programme-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .cta-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 70px 0;
  }

  .nav-button {
    display: none;
  }

  .hero-text h1 {
    letter-spacing: -2px;
  }

  .hero-card {
    padding: 30px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .programme-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 70px 0;
  }
}
