/* ================= ADMISSIONS PAGE ================= */

* {
  box-sizing: border-box;
}

body {
  background: #f4f4f4;
  color: #0d2d5c;
  overflow-x: hidden;
}

/* ================= HERO ================= */

.admissions-hero {
  height: 70vh;
  min-height: 520px;
  background-image:
    linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
    url("images/school.jpeg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.admissions-hero .hero-overlay {
  width: 100%;
  padding: 0 7% 80px;
}

.admissions-hero h1 {
  color: #fff;
  font-size: 64px;
  font-weight: 300;
  margin: 0;
}

/* ================= INTRO SECTION ================= */

.admissions-intro {
  background: #f4f4f4;
  padding: 100px 7%;
}

.intro-grid {
  max-width: 1450px;
  margin: auto;
  display: grid;
  grid-template-columns: 0.9fr 1.6fr 0.75fr;
  gap: 55px;
  align-items: start;
}

.intro-left {
  padding-top: 100px;
}

.intro-left p {
  font-size: 22px;
  line-height: 1.75;
  color: #0d2d5c;
  font-weight: 300;
}

.intro-center h2 {
  font-size: 56px;
  font-weight: 300;
  color: #0d2d5c;
  margin-bottom: 32px;
}

.intro-center img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  display: block;
}

/* ================= RIGHT SIDEBAR ================= */

.enquire-sidebar {
  background: #0d2d5c;
  color: white;
  padding: 36px 30px;
  position: sticky;
  top: 115px;
}

.sidebar-logo {
  text-align: center;
  margin-bottom: 22px;
}

.sidebar-logo img {
  width: 70px;
}

.enquire-sidebar h3 {
  font-size: 26px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 25px;
}

.enquire-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.enquire-sidebar li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.enquire-sidebar a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 13px 0;
  font-size: 15px;
  transition: 0.3s ease;
}

.enquire-sidebar a:hover,
.enquire-sidebar a.active {
  color: #ffd700;
  padding-left: 6px;
}

/* ================= PROCESS SECTION ================= */

.process-section {
  background: #fff;
  padding: 100px 7%;
}

.process-container {
  max-width: 1250px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 80px;
  align-items: start;
}

.process-spacer,
.process-container > div:first-child:empty {
  display: none;
}

.process-text h2 {
  font-size: 48px;
  font-weight: 300;
  color: #0d2d5c;
  margin-bottom: 30px;
}

.process-text p {
  font-size: 17px;
  line-height: 1.85;
  color: #333;
  margin-bottom: 20px;
}

.process-text .intro {
  font-size: 22px;
  color: #0d2d5c;
  font-weight: 300;
}

.process-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 35px;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 35px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: 0.3s ease;
}

.btn-primary {
  background: #0d2d5c;
  color: white;
}

.btn-primary:hover {
  background: #082045;
}

.btn-secondary {
  border: 2px solid #0d2d5c;
  color: #0d2d5c;
}

.btn-secondary:hover {
  background: #0d2d5c;
  color: white;
}

/* ================= WHY CHOOSE US CARD ================= */

.right-column {
  width: 100%;
}

.process-card {
  background: #f4f4f4;
  padding: 30px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.process-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  margin-bottom: 28px;
}

.process-card h3 {
  font-size: 28px;
  font-weight: 400;
  color: #0d2d5c;
  margin-bottom: 16px;
}

.process-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 18px;
}

.process-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.process-card li {
  font-size: 15px;
  color: #333;
  margin-bottom: 10px;
}

.card-btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 30px;
  background: #0d2d5c;
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s ease;
}

.card-btn:hover {
  background: #082045;
}

/* ================= HIDE OLD DUMMY SECTION ================= */

.content-section {
  display: none;
}

/* ================= TABLET ================= */

@media (max-width: 1000px) {
  .admissions-hero {
    height: 60vh;
    min-height: 430px;
  }

  .admissions-hero .hero-overlay {
    padding: 0 28px 60px;
  }

  .admissions-hero h1 {
    font-size: 48px;
  }

  .admissions-intro {
    padding: 80px 28px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .intro-left {
    padding-top: 0;
  }

  .intro-left p {
    font-size: 20px;
  }

  .intro-center h2 {
    font-size: 44px;
  }

  .intro-center img {
    height: 420px;
  }

  .enquire-sidebar {
    position: relative;
    top: 0;
    width: 100%;
  }

  .process-section {
    padding: 80px 28px;
  }

  .process-container {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .process-text h2 {
    font-size: 40px;
  }

  .process-card img {
    height: 260px;
  }
}

/* ================= MOBILE ================= */

@media (max-width: 600px) {
  .admissions-hero {
    height: 55vh;
    min-height: 360px;
  }

  .admissions-hero .hero-overlay {
    padding: 0 20px 45px;
  }

  .admissions-hero h1 {
    font-size: 38px;
  }

  .admissions-intro {
    padding: 60px 18px;
  }

  .intro-left p {
    font-size: 18px;
    line-height: 1.65;
  }

  .intro-center h2 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 24px;
  }

  .intro-center img {
    height: 300px;
  }

  .enquire-sidebar {
    padding: 32px 24px;
  }

  .enquire-sidebar h3 {
    font-size: 24px;
  }

  .process-section {
    padding: 65px 18px;
  }

  .process-text h2 {
    font-size: 34px;
    line-height: 1.2;
  }

  .process-text .intro {
    font-size: 19px;
  }

  .process-text p {
    font-size: 15px;
    line-height: 1.7;
  }

  .process-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .process-card {
    padding: 24px 20px;
  }

  .process-card img {
    height: 220px;
  }

  .process-card h3 {
    font-size: 25px;
  }
}

/* ================= FINAL POLISH FIXES ================= */

/* Center logo inside In This Section */
.sidebar-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.sidebar-logo img {
  width: 70px;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* Fix Why Choose Us image cut */
.process-card img {
  width: 100%;
  height: auto;
  max-height: 190px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto 28px;
  background: #fff;
}
