/*
 * GNC Admission Page Styles
 * All selectors are scoped under .admission-page so they don't bleed into
 * the WordPress theme's header/footer.
 */

/* Hide the theme's page title / breadcrumb banner on GNC pages.
   The body gets a .gnc-no-title-section class via the template files. */
body.gnc-no-title-section .title-section {
  display: none !important;
}

.admission-page,
.admission-page * {
  box-sizing: border-box;
}

.admission-page {
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  font-family: "Montserrat", sans-serif;
  color: #061f4f;
}

.admission-page .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero */
.admission-page .hero {
  position: relative;
  padding: 42px 0 0;
  background: linear-gradient(90deg, #f8fbff 0%, #eef7fb 100%);
  background-image: url('assets/images/gnc/banner.jpg');
  background-repeat: no-repeat;
}

.admission-page .hero-inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: start;
}

.admission-page .hero-content {
  padding-top: 28px;
  position: relative;
  z-index: 2;
}

.admission-page .hero-title {
  font-size: clamp(48px, 6vw, 78px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 1px;
  color: #061f4f;
  text-transform: uppercase;
  margin: 0 0 24px;
}

.admission-page .hero-title span {
  color: #dba514;
  display: block;
}

.admission-page .hero-content p {
  max-width: 500px;
  font-size: 23px;
  line-height: 1.55;
  color: #1a1a1a;
  font-weight: 400;
  margin: 0 0 20px;
}

.admission-page .students-img {
  width: 100%;
  max-width: 610px;
  display: block;
  margin-top: 30px;
  min-height: 430px;
  object-fit: cover;
  object-position: center bottom;
  border-radius: 0;
}

/* sliderMob: mobile-only banner, show natural aspect (no crop) */
.admission-page .sliderMob {
  display: none;
  width: 100%;
  height: auto;
}

/* Form */
.admission-page .form-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px 30px 24px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.14);
  margin-bottom: 30px;
}

.admission-page .form-icon {
  width: 70px;
  height: 70px;
  background: #061f4f;
  color: #fff;
  border-radius: 50%;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.admission-page .form-card h3 {
  text-align: center;
  font-size: 25px;
  font-weight: 900;
  color: #061f4f;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.admission-page .title-line {
  width: 58px;
  height: 3px;
  background: #dba514;
  margin: 0 auto 28px;
}

.admission-page .form-group {
  margin-bottom: 18px;
}

.admission-page .form-group label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.admission-page .form-control {
  width: 100%;
  height: 54px;
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  padding: 0 18px;
  font-family: inherit;
  font-size: 15px;
  color: #333;
  outline: none;
  background: #fff;
  transition: 0.3s ease;
}

.admission-page .form-control:focus {
  border-color: #dba514;
  box-shadow: 0 0 0 3px rgba(219, 165, 20, 0.12);
}

.admission-page select.form-control {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #111 50%),
    linear-gradient(135deg, #111 50%, transparent 50%);
  background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
}

.admission-page .apply-btn {
  width: 100%;
  height: 64px;
  border: none;
  border-radius: 7px;
  background: linear-gradient(90deg, #d99e11, #efbf36);
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 12px;
  transition: 0.3s ease;
  font-family: inherit;
}

.admission-page .apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(219, 165, 20, 0.35);
}

.admission-page .safe-info {
  text-align: center;
  color: #444;
  font-size: 14px;
  margin-top: 24px;
}

/* Why Choose */
.admission-page .why-section {
  background: #fff;
  padding: 48px 0 62px;
}

.admission-page .section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
  color: #061f4f;
  margin: 0 0 42px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.admission-page .section-title::before,
.admission-page .section-title::after {
  content: "";
  width: 65px;
  height: 3px;
  background: #dba514;
  display: inline-block;
}

.admission-page .features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.admission-page .feature-box {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 0 34px;
  border-right: 1px solid #d7d7d7;
}

.admission-page .feature-box:last-child {
  border-right: none;
}

.admission-page .feature-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #061f4f;
  color: #dba514;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}

.admission-page .feature-content h4 {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
  text-transform: uppercase;
  color: #061f4f;
  margin: 0 0 12px;
}

.admission-page .feature-content p {
  font-size: 15.5px;
  line-height: 1.65;
  color: #222;
  margin: 0;
}

/* CTA */
.admission-page .cta-section {
  position: relative;
  padding: 62px 0 58px;
  text-align: center;
  background:
    linear-gradient(rgba(2, 34, 82, 0.94), rgba(2, 34, 82, 0.94)),
    url("https://images.unsplash.com/photo-1562774053-701939374585?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
  border-bottom: 4px solid #dba514;
}

.admission-page .cta-section h2 {
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.15;
  text-transform: uppercase;
  color: #fff;
  font-weight: 900;
  margin: 0 0 14px;
}

.admission-page .cta-section h2 span {
  color: #dba514;
  display: block;
  font-size: clamp(42px, 5vw, 58px);
}

.admission-page .cta-section p {
  color: #fff;
  font-size: 23px;
  font-weight: 500;
  margin: 0 0 28px;
}

.admission-page .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  height: 66px;
  background: linear-gradient(90deg, #d99e11, #efbf36);
  color: #fff;
  text-decoration: none;
  border-radius: 9px;
  font-size: 25px;
  font-weight: 900;
  text-transform: uppercase;
  transition: 0.3s ease;
}

.admission-page .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  color: #fff;
}

/* Thank you styles */
.admission-page .thankspage {
  text-align: center;
  padding: 100px 0 200px;
}

.admission-page .thankspage .tittle1 {
  padding: 15px 0;
}

.admission-page .thankspage .tittle2 {
  padding: 15px 0;
}

/* Slider Mob */
.admission-page .sliderMob {
  display: none;
}

/* Responsive */
@media (max-width: 991px) {
  .admission-page .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .admission-page .hero-content {
    text-align: center;
  }

  .admission-page .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .admission-page .students-img {
    margin-left: auto;
    margin-right: auto;
    min-height: auto;
  }

  .admission-page .form-card {
    max-width: 560px;
    margin: 0 auto 35px;
  }

  .admission-page .features-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .admission-page .feature-box {
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding: 0 0 28px;
  }

  .admission-page .feature-box:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

@media (max-width: 767px) {
  .admission-page .hero {
    padding-top: 25px;
  }

  .admission-page .hero-title {
    font-size: 45px;
  }

  .admission-page .hero-content p {
    font-size: 18px;
  }

  .admission-page .form-card {
    padding: 30px 22px;
    border-radius: 14px;
  }

  .admission-page .form-card h3 {
    font-size: 21px;
  }

  .admission-page .apply-btn {
    height: 58px;
    font-size: 22px;
  }

  .admission-page .section-title {
    font-size: 24px;
    gap: 12px;
  }

  .admission-page .section-title::before,
  .admission-page .section-title::after {
    width: 35px;
  }

  .admission-page .feature-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .admission-page .cta-section p {
    font-size: 18px;
  }

  .admission-page .cta-btn {
    min-width: 210px;
    height: 58px;
    font-size: 21px;
  }
}

@media (max-width: 480px) {
  .admission-page .hero-title {
    font-size: 38px;
  }

  .admission-page .form-control {
    height: 50px;
  }

  .admission-page .students-img {
    margin-top: 18px;
  }

  .admission-page .form-card {
    padding: 12px;
  }

  .admission-page .sliderMob {
    display: block;
    width: 100%;
    height: auto;
    margin: 18px 0 0;
  }

  .admission-page .hero {
    background: none;
  }
}
