#hero {
  /* background-color: var(--color_light_brown); */
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.7), black 70%),
    url('/wp-content/uploads/2025/06/our-campus-hero.jpg') center/cover no-repeat
}

#hero .hero-left-block .styled-title-wrapper h1 {
  text-align: left;
}

#hero .hero-left-block .styled-title-wrapper {
  margin-bottom: 1.8rem;
}

#hero .hero-left-block p {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0;
  color: var(--color_white_opacity_80);
}

#about {
  background-color: var(--color_black);
  position: relative;
  isolation: isolate;
}

#about .grid-pattern {
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

#about p {
  text-align: center;
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  font-size: 1.2rem;
}

#about p:not(:last-child) {
  color: var(--color_white);
}

#about p:last-child {
  color: var(--color_white_opacity_80);
}

#safety {
  position: relative;
}

#safety ul li:not(:last-child) {
  margin-bottom: 1rem;
}

#safety>img {
  position: absolute;
  right: 0;
  top: 0;
  max-width: 300px;
}

.safety-points li {
  display: flex;
  gap: 8px;
}

.safety-points li i {
  color: var(--color_pink);
  font-size: 25px;
}

#safety .ast-full-width>p {
  text-align: center;
  margin-top: 20px;
}

#nexis_glimpse {
  background-color: var(--color_black);
}

#nexis_glimpse .ast-container {
  position: relative;
  isolation: isolate;
}

#nexis_glimpse .nexis-glimpse-card>svg {
  position: absolute;
  right: -50px;
  top: -50px;
  z-index: -1;
}

.nexis-glimpse-card {
  background-color: var(--color_white);
  padding: 20px;
  border-radius: var(--border_radius);
  position: relative;
}

.nexis-glimpse-card h2 {
  font-size: 1.1rem;
  color: var(--text_grey);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}

.nexis-glimpse-schedule {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nexis-glimpse-schedule:nth-of-type(1) {
  margin-bottom: 5px;
}

.nexis-glimpse-schedule-wrapper {
  margin-bottom: 1rem;
}

.nexis-glimpse-card h3 {
  font-size: 1.3rem;
  margin-bottom: 3px;
}

.nexis-glimpse-host {
  margin-bottom: 1rem;
}

/* .key-details {
  display: flex;
  gap: 10px;
} */
.nexis-glimpse-content table {
  border: 1px solid #dddddd !important;
  border-radius: var(--border_radius);
  overflow: hidden;
}

.nexis-glimpse-content table tr th,
.nexis-glimpse-content table tr td {
  font-size: 14px;
  padding: 5px 10px;
  text-align: start;
  border: 1px solid #dddddd !important;
}

#nexis_glimpse img {
  border-radius: var(--border_radius);
  object-fit: cover;
  object-position: center;
}

#nexis_learn {
  background-color: var(--color_black);
}

#nexis_learn h3 {
  color: var(--color_pink);
}

#nexis_learn p {
  color: var(--color_white_opacity_80);
}

.nexis-row-wrapper>.ast-row:first-child img {
  height: 350px;
  object-fit: cover;
  object-position: center;
}

.nexis-row-wrapper>.ast-row:not(:first-child) img {
  height: 250px;
  object-fit: cover;
}

.nexis-learn-points {
  list-style: none;
  padding-left: 0 !important;
}

.nexis-learn-points li {
  display: flex;
  gap: 14px;
}

.nexis-learn-points div>strong {
  color: var(--color_white);
}

.nexis-learn-points i {
  color: var(--color_pink);
  font-size: 1.2rem;
  padding-top: 3px;
}

.nexis-learn-image-wrapper {
  height: 100%;
  position: relative;
}

.nexis-learn-image {
  position: sticky;
  top: 120px;
  border-radius: var(--border_radius);
}

@media screen and (min-width: 768px) {
  .nexis-row-wrapper>.ast-row:nth-of-type(even) {
    flex-direction: row-reverse;
  }
}

#why_xp {
  background-color: var(--color_light_brown);
  position: relative;
  isolation: isolate;
}

.why-xp-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.why-xp-content {
  background-color: var(--color_white);
  border-radius: 40px;
  font-size: 1.3rem;
  padding: 8px 35px;
  display: inline-block;
  box-shadow: 0 0 6px 0px rgba(0, 0, 0, 0.2);
}

.nexis-row-wrapper>.ast-row:not(:last-child) {
  margin-bottom: 6rem;
}

.why-xp-note {
  background-color: var(--color_black_500);
  color: var(--color_white_opacity_80);
  margin-bottom: 0;
  padding: 2rem 3rem;
  border-radius: var(--border_radius);
  text-align: center;
  font-size: 1.5rem;
  max-width: 1000px;
  margin-top: 40px;
}

#xp_contact {
  background-color: var(--color_black);
  position: relative;
  isolation: isolate;
}

.xp-form-wrapper {
  background-color: var(--color_white);
  padding: 40px;
  border-radius: 20px;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.campus-image {
  border-radius: var(--border_radius);
}

#xp_contact .styled-title-tagline {
  color: var(--color_white);
}

#xp_contact .grid-pattern {
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

#why_xp .grid-pattern {
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  filter: invert(1);
}

@media screen and (max-width: 768px) {
  #safety .styled-title-wrapper {
    margin: 0px auto 20px;
  }

  .safety-points {
    padding-left: 0 !important;
    margin-top: 0 !important;
  }

  .safety-points li>div {
    font-size: 14px;
  }

  #safety ul li:not(:last-child) {
    margin-bottom: 10px;
  }

  .safety-points li i {
    font-size: 18px;
    padding-top: 3px;
  }

  #safety .ast-row {
    flex-direction: column-reverse;
  }

  #safety .ast-row .campus-image {
    margin-bottom: 2rem;
  }

  .nexis-glimpse-card {
    padding: 12px 12px 18px;
  }

  #nexis_glimpse .ast-row {
    gap: 20px;
  }

  .nexis-glimpse-card h3 {
    font-size: 1rem;
  }

  #nexis_glimpse .nexis-glimpse-card>svg {
    right: 5px;
    top: -30px;
    width: 50px;
    height: 50px;
  }

  #hero .hero-left-block p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  #about p {
    font-size: 14px;
  }

  .nexis-glimpse-content table tr th,
  .nexis-glimpse-content table tr td {
    font-size: 12px;
  }

  #nexis_learn h3 {
    font-size: 16px;
  }

  .why-xp-content {
    font-size: 12px;
    padding: 5px 14px;
    border-radius: 4px;
    display: block;
    width: 100%;
  }

  .why-xp-note {
    font-size: 14px;
    padding: 20px 25px;
    margin-top: 20px;
  }

  .xp-form-wrapper {
    padding: 20px 15px;
    margin-top: 50px;
  }

  .nexis-row-wrapper>.ast-row img {
    height: 200px !important;
  }
}