:root {
  --red: #ed1c24;
  --red-dark: #c9151c;
  --ink: #222;
  --nav-font: "Trebuchet MS", "Ubuntu", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
}

:root {
  --red: #ed1c24;
  --red-dark: #c9151c;
  --ink: #222;
  --nav-font: "Trebuchet MS", "Ubuntu", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
}

/* ===== Navbar ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #f7f7f7;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  min-height: 81px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 6vw, 6.35rem);
  font-family: var(--nav-font);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.67rem;
  font-weight: 500;
  line-height: 1.15;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--ink);
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Selected + hover colour */
.nav-links a:hover,
.nav-links a.active {
  color: var(--red);
}

.btn-contact {
  display: inline-block;
  padding: .9rem 2.15rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-contact:hover,
.btn-contact.active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

/* Hamburger (hidden on desktop) */
.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 4px;
  width: 36px;
  height: 3px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 30px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

/* ===== Mobile / tablet ===== */
@media (max-width: 990px) {
  .navbar {
    min-height: 84px;
    padding: 0 1.5rem;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .brand-name {
    font-size: 1.5rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 2rem;
    right: 2rem;
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }

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

  .nav-links {
    flex-direction: column;
    gap: 1.15rem;
    text-align: center;
  }

  .nav-links a {
    font-size: 1.15rem;
    text-transform: uppercase;
  }

  .btn-contact {
    align-self: center;
    padding: 0.9rem 2.5rem;
    color: #fff;
    background: var(--red);
    border-color: var(--red);
    border-radius: 8px;
  }

  .btn-contact:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 1.2rem;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .nav-menu {
    left: 1rem;
    right: 1rem;
  }
}

/* Header ends here */



/* Footer starts here */

#site-footer,
#site-footer *,
#site-footer *::before,
#site-footer *::after {
  box-sizing: border-box;
}
 
#site-footer {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  color: #fff;
  background: #000;
  font-family: "Times New Roman", Times, "Liberation Serif", serif;
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}
 
#site-footer .gf-inner {
  max-width: 1236px;
  margin: 0 auto;
  padding: 72px 0 0;
  background: transparent;
}
 
#site-footer .gf-grid {
  display: grid;
  grid-template-columns: 482fr 357fr 420fr 391fr;
  align-items: start;
  margin: 0;
  padding: 0;
}
 
/* ---- Logo, description, social circles ---- */
#site-footer .gf-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 44px;
}
 
#site-footer .gf-logo {
  display: block;
  width: 100px;
  height: 100px;
  max-width: none;
  background-color: #fff;
  margin: 0;
  object-fit: cover;
  border-radius: 50%;
}
 
#site-footer .gf-desc {
  max-width: 385px;
  margin: 0;
  padding: 0;
  color: #e6e6e6;
  font-size: 16.8px;
  line-height: 31.5px;
}
 
#site-footer .gf-desc:empty {
  display: none;
}
 
#site-footer .gf-social {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
 
#site-footer .gf-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  color: #fff;
  text-decoration: none;
  background: transparent;
  border: 1px solid #cfcfcf;
  border-radius: 50%;
  transition: background 0.2s ease, border-color 0.2s ease;
}
 
#site-footer .gf-social-link:hover {
  background: #ed1c24;
  border-color: #ed1c24;
}

#site-footer .gf-social-link:has(.gf-ico-facebook):hover {
  background: #1877f2;
  border-color: #1877f2;
}
 
#site-footer .gf-social-link svg {
  width: auto;
  height: 22px;
  fill: currentColor;
}
 
/* ---- Company / Legals / Contact ---- */
#site-footer .gf-col h3 {
  margin: 2px 0 42px;
  padding: 0;
  color: #fff;
  font-family: inherit;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
}
 
#site-footer .gf-links {
  display: flex;
  flex-direction: column;
  gap: 20.5px;
  margin: 0;
  padding: 0;
  list-style: none;
}
 
#site-footer .gf-links li {
  margin: 0;
  padding: 0;
}
 
#site-footer .gf-links a {
  color: #e6e6e6;
  font-size: 16.5px;
  line-height: 24px;
  text-decoration: none;
  transition: color 0.2s ease;
}
 
#site-footer .gf-links a:hover {
  color: #ed1c24;
}
 
#site-footer .gf-contact {
  display: flex;
  flex-direction: column;
  gap: 58px;
  margin: 0;
  padding: 19px 0 0;
  list-style: none;
}
 
#site-footer .gf-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: #e6e6e6;
  font-size: 18.4px;
  line-height: 27px;
}
 
#site-footer .gf-contact svg {
  flex: none;
  width: 25px;
  height: 24px;
  fill: currentColor;
}
 
#site-footer .gf-contact svg.gf-ico-envelope {
  width: 26px;
}
 
#site-footer .gf-contact svg.gf-ico-location-dot {
  width: 21px;
}
 
#site-footer .gf-contact a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}
 
#site-footer .gf-contact a:hover {
  color: #ed1c24;
}
 
/* ---- Copyright ---- */
#site-footer .gf-bottom {
  margin: 72px 0 0;
  padding: 23px 0 21px;
  text-align: center;
  border-top: 1px solid #2b2b2b;
}
 
#site-footer .gf-bottom p {
  margin: 0;
  color: #ddd;
  font-size: 16.8px;
  line-height: 24px;
}
 
@media (max-width: 990px) {
  .navbar {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #site-footer .gf-inner {
    padding: 58px 1.25rem 0;
  }
 
  #site-footer .gf-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2rem;
  }
 
  #site-footer .gf-brand {
    grid-column: 1 / -1;
  }
 
  #site-footer .gf-bottom {
    margin-top: 64px;
  }
}
 
@media (max-width: 600px) {
  #site-footer .gf-grid {
    grid-template-columns: 1fr;
  }
 
  #site-footer .gf-col h3 {
    margin-bottom: 24px;
  }
 
  #site-footer .gf-contact {
    gap: 24px;
    padding-top: 0;
  }
}

/* Footer ends here */

/* ===== Main page desktop navbar width override ===== */
@media (min-width: 991px) {
  .navbar {
    max-width: 1236px;
    padding-left: 0;
    padding-right: 0;
  }
}

/* ===== Admission hero: styled to match the About Us hero ===== */
.admission-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 51vh;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .55)),
    url("../Images/admission-hero.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.admission-hero-content {
  position: relative;
  z-index: 1;
  width: min(92%, 1200px);
  text-align: center;
}

.admission-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--nav-font);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

/* ===== Admission registration form ===== */
.registration-page,
.registration-page * {
  box-sizing: border-box;
}

.registration-page {
  width: 100%;
  padding: 30px 24px 58px;
  color: #222;
  background: #fff;
  font-family: var(--nav-font);
}

.registration-card {
  width: min(100%, 940px);
  margin: 0 auto;
}

.registration-heading {
  margin: 0 auto 27px;
  text-align: center;
}

.registration-heading h1 {
  margin: 0 0 14px;
  color: #181818;
  font-size: clamp(22px, 2.1vw, 29px);
  font-weight: 600;
  line-height: 1.25;
}

.registration-heading p {
  max-width: 820px;
  margin: 0 auto;
  color: #5d626b;
  font-size: 12px;
  line-height: 1.65;
}

.registration-heading a {
  color: #d71920;
  text-decoration: none;
}

.registration-heading a:hover {
  text-decoration: underline;
}

.registration-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

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

.registration-field {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.registration-field > span,
.registration-gender legend {
  display: block;
  margin: 0 0 5px;
  padding: 0;
  color: #252525;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.registration-field b,
.registration-gender legend b {
  color: #d71920;
  font-weight: 500;
}

.registration-field input:not([type="file"]),
.registration-field select,
.registration-field textarea {
  display: block;
  width: 100%;
  min-height: 39px;
  margin: 0;
  padding: 8px 10px;
  color: #252525;
  background-color: #fff;
  border: 1px solid #cfd2d7;
  border-radius: 4px;
  font: inherit;
  font-size: 13px;
  line-height: 1.35;
}

.registration-field select {
  padding-right: 30px;
}

.registration-field textarea {
  min-height: 92px;
  resize: vertical;
}

.registration-field input[type="file"] {
  display: block;
  max-width: 100%;
  color: #333;
  font: inherit;
  font-size: 12px;
}

.registration-field input[type="file"]::file-selector-button {
  margin-right: 9px;
  padding: 7px 10px;
  color: #fff;
  background: #686d73;
  border: 0;
  border-radius: 3px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.registration-field input:focus,
.registration-field select:focus,
.registration-field textarea:focus {
  border-color: #3282e8;
  outline: 2px solid rgba(50, 130, 232, .16);
  outline-offset: 1px;
}

.registration-gender {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.registration-gender legend {
  flex-basis: 100%;
}

.registration-gender label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #454545;
  font-size: 12px;
}

.registration-gender input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: #247cf0;
}

.registration-subheading {
  margin: 3px 0 -5px;
  color: #202020;
  font-size: 13px;
  font-weight: 600;
}

.registration-status:empty {
  display: none;
}

.registration-status {
  margin: 0;
  color: #9b1c1c;
  font-size: 12px;
}

.registration-success {
  margin: 0 0 4px;
  padding: 12px 14px;
  color: #155c35;
  background: #e9f7ef;
  border: 1px solid #b9e5c9;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.registration-files-status {
  margin: -7px 0 0;
  color: #686d73;
  font-size: 11px;
}

.registration-submit {
  justify-self: start;
  min-height: 38px;
  padding: 8px 16px;
  color: #fff;
  background: #287ff0;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease;
}

.registration-submit:hover {
  background: #1767cf;
}

.registration-submit:disabled {
  opacity: .65;
  cursor: wait;
}

.registration-submit-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.registration-submit:focus-visible {
  outline: 3px solid rgba(40, 127, 240, .3);
  outline-offset: 2px;
}

/* ===== Admission contact section ===== */
.admission-questions,
.admission-questions * {
  box-sizing: border-box;
}

.admission-questions {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 680px;
  min-height: 680px;
  overflow: hidden;
  color: #fff;
  font-family: var(--nav-font);
  text-align: center;
  background: #28231c;
}

.admission-questions-backdrop {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url("../Images/admission-ques.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.admission-questions-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(0, 0, 0, .28);
}

.admission-questions-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1236px, calc(100% - 40px));
  height: 100%;
  min-height: 100%;
  padding: 0;
}

.admission-questions-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 48px 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.admission-questions-card h2 {
  margin: 0 0 48px;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.15;
}

.admission-questions-card h3 {
  margin: 34px 0 8px;
  color: #fff;
  font-size: 1.25rem;
}

.admission-questions-card p {
  margin: 4px 0;
  color: #fff;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 600;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.admission-questions-card a {
  color: inherit;
  text-decoration: none;
}

.admission-questions-card a:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .admission-questions,
  .admission-questions-inner {
    height: 590px;
    min-height: 590px;
  }

  .admission-questions-backdrop {
    background-attachment: scroll;
  }

  .admission-questions-inner {
    width: calc(100% - 28px);
  }

  .admission-questions-card {
    height: 100%;
    min-height: 100%;
    padding: 38px 18px;
  }

  .admission-questions-card h2 {
    margin-bottom: 34px;
  }
}

@media (max-width: 600px) {
  .registration-page {
    padding: 24px 14px 42px;
  }

  .registration-heading {
    margin-bottom: 21px;
  }

  .registration-heading p {
    font-size: 11px;
  }

  .registration-form {
    gap: 12px;
  }

  .registration-grid {
    gap: 10px;
  }

  .registration-field > span,
  .registration-gender legend {
    font-size: 11px;
  }

  .registration-field input:not([type="file"]),
  .registration-field select {
    min-height: 35px;
    padding: 7px 8px;
    font-size: 12px;
  }

  .registration-field input[type="file"] {
    font-size: 10px;
  }
}

@media (max-width: 360px) {
  .registration-page {
    padding-right: 12px;
    padding-left: 12px;
  }

  .registration-grid {
    gap: 8px;
  }

  .registration-field input[type="file"]::file-selector-button {
    margin-right: 4px;
    padding: 6px;
  }
}
