/* ==========================================================================
   MATSELIM - OUR PROGRAMS PAGE STYLESHEET
   Exact Pixel-Perfect Match to PDF Design
   ========================================================================== */

:root {
  --navy: #071441;
  --navy-dark: #050f33;
  --teal: #447580;
  --yellow: #f0d43a;
  --yellow-hover: #e5c626;
  --gray-bg: #d9d9d9;
  --white: #ffffff;
  --red-text: #8b1e1e;
  --text-dark: #111111;
  --text-muted: #222222;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 70px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--yellow);
  color: #0b0b0b;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
}

.btn-yellow:hover {
  background-color: var(--yellow-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   1. HERO & NAVBAR SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: #fdfdfd;
  min-height: 920px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
}

.hero-container {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 34px;
  padding-bottom: 20px;
}

.brand-logo img {
  width: 118px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-left: 40px;
}

.nav-link {
  font-size: 16.5px;
  font-weight: 500;
  color: #1a1a1a;
}

.nav-link:hover {
  color: var(--teal);
}

.nav-link.active {
  color: var(--teal);
  font-weight: 600;
}

.btn-connect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--navy);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  width: 185px;
  height: 52px;
  border-radius: 50px;
}

.btn-connect:hover {
  background-color: #10246b;
}

/* Hero Text Content */
.hero-content {
  margin-top: 135px;
  margin-bottom: 150px;
  max-width: 960px;
}

.hero-title {
  font-size: 80px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 34px;
}

.hero-desc {
  font-size: 24px;
  font-weight: 400;
  color: #111111;
  line-height: 1.56;
  margin-bottom: 48px;
}

.btn-explore {
  width: 192px;
  height: 52px;
  font-size: 15.5px;
}

/* ==========================================================================
   COMMON SECTION HEADERS
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 58px;
}

.section-title {
  font-size: 74px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 23.5px;
  font-weight: 400;
  color: #181818;
  line-height: 1.55;
  max-width: 1380px;
  margin: 0 auto;
}

.section-header-light .section-title {
  color: var(--white);
}

.section-header-light .section-subtitle {
  color: rgba(255, 255, 255, 0.92);
}

/* ==========================================================================
   2. EXPLORE OUR COURSES SECTION
   ========================================================================== */
.courses-section {
  background-color: var(--navy);
  padding: 105px 0 118px;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
  margin-top: 66px;
}

.course-card {
  background-color: var(--gray-bg);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.course-img-wrap {
  width: 100%;
  height: 202px;
  overflow: hidden;
}

.course-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.course-body {
  padding: 30px 22px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.course-title {
  font-size: 23.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 14px;
}

.course-years {
  font-size: 18.5px;
  font-weight: 500;
  color: var(--red-text);
  margin-bottom: 14px;
}

.course-desc {
  font-size: 15px;
  font-weight: 400;
  color: #141414;
  line-height: 1.56;
  margin-bottom: 24px;
  flex: 1;
}

.course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 6px;
  margin-bottom: 22px;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--teal);
}

.meta-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.star-icon {
  width: 15px;
  height: 15px;
  color: var(--yellow);
  flex-shrink: 0;
}

.btn-programme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--navy);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  width: 230px;
  height: 46px;
  border-radius: 50px;
}

.btn-programme:hover {
  background-color: #11266c;
}

/* ==========================================================================
   3. GRAY SURFACE & REGISTRATION GUIDES
   ========================================================================== */
.gray-surface {
  background-color: var(--gray-bg);
  position: relative;
}

.guide-section {
  padding-top: 115px;
  padding-bottom: 40px;
}

/* Stepper */
.stepper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 64px auto 64px;
}

.stepper-line {
  position: absolute;
  top: 50%;
  left: 50px;
  right: 50px;
  height: 1.5px;
  background-color: #2b2b2b;
  transform: translateY(-50%);
  z-index: 1;
}

.step-circle {
  position: relative;
  z-index: 2;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1.8px solid var(--navy);
  color: var(--navy);
  font-family: inherit;
  font-size: 40px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.step-circle.active {
  background-color: var(--navy);
  color: var(--white);
}

.step-circle:hover:not(.active) {
  background-color: #f0f2f8;
}

/* Step Banner Card */
.step-banner {
  background-color: var(--teal);
  max-width: 1175px;
  margin: 0 auto;
  padding: 78px 70px 78px;
  border-radius: 40px 185px 40px 40px;
  text-align: center;
  color: var(--white);
}

.step-banner-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.step-number-label {
  font-size: 78px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.step-divider {
  width: 2.5px;
  height: 100px;
  background-color: rgba(255, 255, 255, 0.85);
  display: inline-block;
}

.step-title-label {
  font-size: 50px;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1.15;
}

.step-banner-desc {
  font-size: 27px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.56;
  max-width: 890px;
  margin: 0 auto;
}

/* ==========================================================================
   4. STUDENT & TUTOR AUTHENTICATION SECTIONS
   ========================================================================== */
.auth-section {
  padding-top: 86px;
  padding-bottom: 85px;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 88px;
  margin-top: 56px;
}

.auth-card {
  background-color: var(--navy);
  border-radius: 42px;
  padding: 20px 20px 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth-img-frame {
  width: 100%;
  height: 356px;
  border-radius: 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  overflow: hidden;
  background-color: var(--navy-dark);
}

.auth-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

/* In Tutors Authentication, the white card frame shows the photo centered with white side margins */
.auth-img-white-bg {
  background-color: var(--white);
  border-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-img-white-bg img.tutor-img-login {
  width: 63%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.auth-img-white-bg img.tutor-img-register {
  width: 71%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.auth-card-body {
  padding: 28px 30px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.auth-card-title {
  font-size: 31px;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 14px;
}

.auth-card-desc {
  font-size: 16.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
  margin-bottom: 30px;
}

.btn-auth {
  width: 335px;
  height: 55px;
  font-size: 17px;
  font-weight: 600;
}

/* ==========================================================================
   5. SIDE TEAL ACCENT BARS BETWEEN STUDENTS & TUTORS
   ========================================================================== */
.side-accent-bars {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 40px 0 10px;
}

.accent-bar {
  display: block;
  width: 24%;
  max-width: 460px;
  height: 11px;
  background-color: var(--teal);
}

.left-bar {
  border-radius: 0 10px 10px 0;
}

.right-bar {
  border-radius: 10px 0 0 10px;
}

.tutors-guide-section {
  padding-top: 95px;
}

.tutors-auth-section {
  padding-bottom: 120px;
}

/* ==========================================================================
   6. FOOTER SECTION
   ========================================================================== */
.site-footer {
  background-color: var(--teal);
  border-radius: 82px 82px 0 0;
  padding: 98px 0 46px;
  color: var(--white);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr 1.5fr 0.6fr;
  gap: 48px;
  align-items: start;
}

.footer-logo {
  display: inline-block;
  margin-left: 38px;
  margin-bottom: 28px;
}

.footer-logo img {
  width: 132px;
  height: auto;
}

.footer-about-text {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.85;
}

.footer-heading {
  font-size: 21px;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links a {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
}

.footer-links a:hover {
  color: var(--yellow);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.65;
}

.contact-list li.contact-address {
  align-items: flex-start;
}

.contact-list li.contact-address .contact-icon {
  margin-top: 3px;
}

.contact-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

.contact-icon svg {
  width: 26px;
  height: 26px;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.social-icon-link {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.social-icon-link:hover {
  color: var(--yellow);
  transform: scale(1.08);
}

.social-icon-link svg {
  width: 32px;
  height: 32px;
}

/* Let's Connect Banner */
.footer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
  margin-top: 56px;
  margin-bottom: 54px;
}

.lets-connect-text {
  font-size: 92px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1;
}

.btn-footer-contact {
  width: 194px;
  height: 55px;
  font-size: 16.5px;
  font-weight: 600;
}

/* Copyright Bottom */
.footer-bottom {
  border-top: 1.5px solid rgba(255, 255, 255, 0.78);
  padding-top: 32px;
  text-align: center;
}

.copyright-text {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
}

/* ==========================================================================
   7. STUDENT LOGIN MODAL PORTAL
   ========================================================================== */
.login-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(5, 15, 51, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.login-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.login-modal-portal {
  position: relative;
  width: 100%;
  max-width: 940px;
  background-color: var(--navy);
  border-radius: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  overflow: hidden;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-modal-overlay.active .login-modal-portal {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background-color: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
  transform: rotate(90deg);
}

.modal-close-btn svg {
  width: 20px;
  height: 20px;
}

/* Left Brand Side */
.portal-brand-side {
  background-color: var(--teal);
  padding: 52px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.portal-brand-side::after {
  content: '';
  position: absolute;
  bottom: -70px;
  right: -70px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(240, 212, 58, 0.12);
  pointer-events: none;
}

.portal-logo-badge {
  background-color: var(--white);
  padding: 14px 22px;
  border-radius: 20px;
  margin-bottom: 30px;
  box-shadow: 0 10px 25px rgba(7, 20, 65, 0.22);
}

.portal-logo-badge img {
  width: 112px;
  height: auto;
}

.portal-welcome-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1.25;
  margin-bottom: 14px;
}

.portal-welcome-text {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
  margin-bottom: 28px;
}

.portal-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.portal-highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

.highlight-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--yellow);
  flex-shrink: 0;
}

/* Right Form Side */
.portal-form-side {
  padding: 52px 48px;
  background-color: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portal-form-header {
  margin-bottom: 28px;
}

.portal-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--yellow);
  background-color: rgba(240, 212, 58, 0.14);
  border: 1px solid rgba(240, 212, 58, 0.35);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.portal-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 6px;
}

.portal-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.portal-login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.input-icon svg {
  width: 20px;
  height: 20px;
}

.form-input {
  width: 100%;
  height: 52px;
  padding: 0 46px 0 48px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: all 0.2s ease;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-input:focus {
  border-color: var(--yellow);
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(240, 212, 58, 0.18);
}

.toggle-password-btn {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.toggle-password-btn:hover,
.toggle-password-btn.showing {
  color: var(--yellow);
}

.toggle-password-btn svg {
  width: 20px;
  height: 20px;
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  margin-top: -2px;
}

.remember-me {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.remember-me input {
  width: 16px;
  height: 16px;
  accent-color: var(--yellow);
  cursor: pointer;
}

.forgot-link {
  color: var(--yellow);
  font-weight: 500;
}

.forgot-link:hover {
  text-decoration: underline;
}

.btn-portal-submit {
  width: 100%;
  height: 54px;
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 600;
  margin-top: 4px;
  box-shadow: 0 8px 20px rgba(240, 212, 58, 0.25);
}

.login-feedback {
  font-size: 14px;
  text-align: center;
  min-height: 20px;
}

.login-feedback.success {
  color: var(--yellow);
  font-weight: 500;
}

.login-feedback.error {
  color: #ff6b6b;
  font-weight: 500;
}

.portal-footer-prompt {
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 2px;
}

.portal-footer-prompt a {
  color: var(--yellow);
  font-weight: 600;
}

.portal-footer-prompt a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   8. STUDENT REGISTRATION & INTAKE MODAL PORTAL
   ========================================================================== */
.register-modal-portal {
  max-width: 980px;
  grid-template-columns: 1fr;
  max-height: 92vh;
  overflow-y: auto;
}

/* Custom scrollbar for registration modal */
.register-modal-portal::-webkit-scrollbar {
  width: 8px;
}

.register-modal-portal::-webkit-scrollbar-track {
  background: var(--navy-dark);
}

.register-modal-portal::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 10px;
}

.intake-modal-header {
  background-color: var(--teal);
  padding: 32px 44px;
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.14);
  position: relative;
}

.intake-logo-badge {
  background-color: var(--white);
  padding: 12px 18px;
  border-radius: 18px;
  flex-shrink: 0;
  box-shadow: 0 8px 22px rgba(7, 20, 65, 0.22);
}

.intake-logo-badge img {
  width: 96px;
  height: auto;
}

.intake-header-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.intake-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1.25;
  margin-bottom: 4px;
}

.intake-subtitle {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.94);
}

.intake-form {
  padding: 36px 44px 40px;
  background-color: var(--navy);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.intake-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
}

.intake-field-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.intake-full-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.intake-label {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: 0.2px;
}

.intake-input {
  padding: 0 16px;
  height: 48px;
  font-size: 14.5px;
}

.intake-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23f0d43a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.intake-select option {
  background-color: var(--navy);
  color: var(--white);
}

/* Date of Birth DD / MM / YYYY */
.dob-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dob-part {
  width: 78px;
  text-align: center;
  padding: 0 10px;
}

.dob-year {
  width: 110px;
  text-align: center;
  padding: 0 10px;
}

.dob-sep {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

/* Checkboxes for Primary Subjects & Focus Areas */
.intake-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.focus-areas-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
}

.intake-checkbox-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.intake-checkbox-item:hover {
  border-color: rgba(240, 212, 58, 0.55);
  background-color: rgba(255, 255, 255, 0.1);
}

.intake-checkbox-item input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--yellow);
  cursor: pointer;
  flex-shrink: 0;
}

.intake-textarea {
  height: auto;
  min-height: 92px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.55;
}

.intake-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.btn-intake-submit {
  width: 100%;
  max-width: 420px;
  height: 54px;
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(240, 212, 58, 0.25);
}

/* Tutor Application Section Banners (1. Personal & Contact / 2. Academic Background) */
.tutor-section-banner {
  background-color: rgba(68, 117, 128, 0.25);
  border-left: 5px solid var(--yellow);
  padding: 12px 18px;
  border-radius: 6px 12px 12px 6px;
  margin-top: 4px;
}

.tutor-section-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (1440px Laptops, Tablets, Mobile)
   ========================================================================== */
@media (max-width: 1600px) {
  .container {
    max-width: 1400px;
    padding: 0 50px;
  }
  .hero-section {
    min-height: 780px;
  }
  .hero-content {
    margin-top: 100px;
    margin-bottom: 110px;
  }
  .hero-title {
    font-size: 66px;
  }
  .hero-desc {
    font-size: 20px;
  }
  .section-title {
    font-size: 60px;
  }
  .section-subtitle {
    font-size: 20px;
  }
  .courses-grid {
    gap: 28px;
  }
  .course-title {
    font-size: 20px;
  }
  .course-years {
    font-size: 16px;
  }
  .course-desc {
    font-size: 13.5px;
  }
  .course-meta {
    font-size: 13px;
  }
  .btn-programme {
    width: 195px;
    height: 42px;
    font-size: 14px;
  }
  .step-banner {
    max-width: 1020px;
    padding: 64px 50px;
  }
  .step-number-label {
    font-size: 64px;
  }
  .step-title-label {
    font-size: 42px;
  }
  .step-banner-desc {
    font-size: 22px;
  }
  .auth-grid {
    gap: 50px;
  }
  .auth-img-frame {
    height: 310px;
  }
  .lets-connect-text {
    font-size: 74px;
  }
}

@media (max-width: 1200px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .hero-bg-wrapper {
    opacity: 0.35;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-social {
    align-items: flex-start;
  }
  .social-icons {
    flex-direction: row;
  }
}

@media (max-width: 900px) {
  .container {
    padding: 0 24px;
  }
  .navbar {
    flex-wrap: wrap;
    gap: 16px;
  }
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-left: 0;
    gap: 24px;
  }
  .hero-title {
    font-size: 44px;
  }
  .section-title {
    font-size: 40px;
  }
  .section-subtitle {
    font-size: 16px;
  }
  .section-subtitle br,
  .hero-desc br,
  .step-banner-desc br,
  .auth-card-desc br {
    display: none;
  }
  .auth-grid {
    grid-template-columns: 1fr;
  }
  .step-circle {
    width: 68px;
    height: 68px;
    font-size: 26px;
  }
  .step-banner {
    border-radius: 28px 90px 28px 28px;
    padding: 42px 24px;
  }
  .step-divider {
    display: none;
  }
  .step-number-label {
    font-size: 44px;
  }
  .step-title-label {
    font-size: 28px;
  }
  .footer-cta {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .lets-connect-text {
    font-size: 46px;
  }
  .login-modal-portal {
    grid-template-columns: 1fr;
    max-width: 500px;
    max-height: 92vh;
    overflow-y: auto;
  }
  .portal-brand-side {
    padding: 32px 28px 26px;
    align-items: center;
    text-align: center;
  }
  .portal-highlights {
    display: none;
  }
  .portal-welcome-text {
    margin-bottom: 0;
  }
  .portal-form-side {
    padding: 32px 28px 36px;
  }
  .register-modal-portal {
    max-width: 640px;
  }
  .intake-modal-header {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
    gap: 16px;
  }
  .intake-header-text {
    align-items: center;
  }
  .intake-form {
    padding: 28px 24px 32px;
  }
  .intake-grid-2,
  .focus-areas-group {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .btn-auth {
    width: 100%;
  }
}
