@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap");

:root {
  --ast-navy: #0f2c63;
  --ast-navy-dark: #0b2352;
  --ast-orange: #f8653c;
  --ast-orange-soft: #fde4da;
  --ast-blue: #1d5fae;
  --ast-blue-soft: #dcebf8;
  --ast-green: #2e9a5b;
  --ast-green-soft: #dff2e6;
  --ast-purple: #4b4fc4;
  --ast-purple-soft: #e7e6f8;
  --ast-text: #3b4a66;
  --ast-muted: #5b6780;
  --ast-strip: #eef4fb;
}

body[dir="rtl"],
body[dir="rtl"] .ast-header,
body[dir="rtl"] .ast-home {
  font-family: "Cairo", "Poppins", sans-serif !important;
}

.ast-container {
  width: 100%;
  max-width: 1510px;
  margin-inline: auto;
  padding-inline: 43px 18px;
}

/* ===================== header ===================== */
.ast-header {
  background-color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(15, 44, 99, 0.05);
}

.ast-topbar {
  background-color: var(--ast-navy);
  color: #ffffff;
  height: 36px;
  font-size: 13px;
}
.ast-topbar a {
  color: #ffffff;
  text-decoration: none;
}
.ast-topbar .ast-social {
  gap: 18px;
  font-size: 16px;
}
.ast-topbar .ast-social a:hover {
  color: var(--ast-orange);
}
.ast-topbar .ast-sep {
  width: 1px;
  height: 18px;
  background-color: rgba(255, 255, 255, 0.45);
  margin-inline: 26px;
}
.ast-header .ast-lang {
  width: auto;
}
.ast-topbar .ast-lang .btn {
  color: #ffffff;
  font-size: 13px;
  padding: 0;
  border: 0;
}
.ast-topbar .ast-lang img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}
.ast-topbar .ast-lang .dropdown-menu {
  min-width: 140px;
  font-size: 14px;
}
.ast-topbar .ast-lang .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ast-navy);
}

.ast-header .ast-nav {
  min-height: 89px;
  padding: 0;
}
.ast-header .ast-logo {
  padding: 0;
  margin: 0;
}
.ast-header .ast-logo img {
  width: 155px;
  height: auto;
}
.ast-header .navbar .dropdown {
  width: auto;
}
.ast-header .navbar .navbar-nav {
  gap: 46px;
}
.ast-header .navbar .nav-item .nav-link {
  color: var(--ast-navy);
  font-weight: 600;
  font-size: 15px;
  padding: 6px 0;
}
.ast-header .navbar .nav-item::before {
  height: 3px;
  bottom: -4px;
  border-radius: 3px;
  background-color: var(--ast-orange);
}
.ast-header .navbar .nav-item.active::before {
  width: 100%;
}
.ast-header .navbar .nav-item.active .nav-link,
.ast-header .navbar .nav-item:hover .nav-link {
  color: var(--ast-navy);
}
.ast-header .navbar .dropdown-toggle::after {
  display: inline-block;
  border: 0;
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 11px;
  vertical-align: 1px;
  margin-inline-start: 6px;
}
.ast-header .navbar .dropdown-menu {
  border: 0;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 44, 99, 0.12);
  padding: 8px;
}
.ast-header .navbar .dropdown-item {
  border-radius: 8px;
  font-size: 14px;
  color: var(--ast-navy);
  padding: 8px 14px;
}
.ast-header .navbar .dropdown-item:hover {
  background-color: var(--ast-strip);
}

/* buttons */
.ast-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s all;
  white-space: nowrap;
  line-height: 1;
}
.ast-btn-orange {
  background-color: var(--ast-orange);
  color: #ffffff;
  border: 2px solid var(--ast-orange);
}
.ast-btn-orange:hover {
  background-color: #e5532b;
  border-color: #e5532b;
  color: #ffffff;
}
.ast-btn-outline {
  background-color: #ffffff;
  color: var(--ast-navy);
  border: 2px solid var(--ast-navy);
}
.ast-btn-outline:hover {
  background-color: var(--ast-navy);
  color: #ffffff;
}
.ast-btn-navy {
  background-color: var(--ast-navy);
  color: #ffffff;
  border: 2px solid var(--ast-navy);
}
.ast-btn-navy:hover {
  background-color: var(--ast-orange);
  border-color: var(--ast-orange);
  color: #ffffff;
}
.ast-header .ast-btn {
  height: 46px;
  font-size: 15px;
}
.ast-header .ast-btn-demo {
  min-width: 158px;
}
.ast-header .ast-btn-demo i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--ast-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  padding-inline-start: 2px;
}
.ast-header .ast-btn-login {
  min-width: 185px;
}
.ast-header .ast-btn-login i,
.ast-hero .ast-btn-outline i {
  font-size: 19px;
}
.ast-header .navbar-toggler {
  color: var(--ast-navy);
  font-size: 22px;
}

/* ===================== hero ===================== */
.ast-home {
  overflow: hidden;
  color: var(--ast-text);
}
.ast-hero {
  position: relative;
  background-color: #f6f9fd;
  min-height: 316px;
}
.ast-hero .ast-hero-img {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 60%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 14%);
  mask-image: linear-gradient(to right, transparent 0%, #000 14%);
}
[dir="rtl"] .ast-hero .ast-hero-img {
  -webkit-mask-image: linear-gradient(to left, transparent 0%, #000 14%);
  mask-image: linear-gradient(to left, transparent 0%, #000 14%);
}
.ast-hero .ast-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.ast-hero .ast-blob-1 {
  width: 120px;
  height: 120px;
  top: 8px;
  inset-inline-start: -55px;
  background: radial-gradient(circle at 35% 35%, #ffe3d6, #ffc2a8);
  opacity: 0.85;
}
.ast-hero .ast-blob-2 {
  width: 104px;
  height: 104px;
  top: 128px;
  inset-inline-start: -52px;
  background: radial-gradient(circle at 60% 40%, #4f86d6, #2257a6);
}
.ast-hero .ast-blob-3 {
  width: 70px;
  height: 70px;
  top: 220px;
  inset-inline-start: -40px;
  background: radial-gradient(circle at 50% 50%, #ffe0d3, #ffbfa4);
  opacity: 0.8;
}
.ast-hero .ast-blob-dot {
  width: 14px;
  height: 14px;
  top: 254px;
  inset-inline-start: 16px;
  background-color: var(--ast-orange);
}
.ast-hero .ast-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 24px;
  padding-bottom: 22px;
  padding-inline-start: 17px;
  max-width: 640px;
}
.ast-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ast-navy);
  margin-bottom: 10px;
}
.ast-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background-color: var(--ast-orange);
  margin-inline-end: 8px;
}
.ast-kicker .ast-muted-word {
  color: #9aa4b5;
}
.ast-kicker .ast-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--ast-orange);
}
.ast-hero h1 {
  font-size: 50px;
  line-height: 1;
  font-weight: 800;
  color: var(--ast-navy);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.ast-hero h1 span {
  color: var(--ast-orange);
}
[dir="rtl"] .ast-hero h1 {
  line-height: 1.3;
  letter-spacing: 0;
}
.ast-hero p {
  font-size: 17px;
  line-height: 1.3;
  color: var(--ast-text);
  max-width: 395px;
  margin-bottom: 14px;
}
.ast-hero .ast-actions {
  gap: 18px;
}
.ast-hero .ast-btn {
  height: 50px;
  font-size: 16px;
}
.ast-hero .ast-btn-orange {
  min-width: 250px;
}
.ast-hero .ast-btn-outline {
  min-width: 208px;
}
[dir="rtl"] .ast-arrow {
  transform: scaleX(-1);
}

/* ===================== feature strip ===================== */
.ast-strip-wrap {
  padding-inline: 30px 25px;
  margin-top: 10px;
}
.ast-strip {
  background-color: var(--ast-strip);
  border-radius: 16px;
  padding-block: 18px;
  padding-inline: 82px 0;
  display: grid;
  grid-template-columns: 273fr 310fr 303fr 270fr 307fr;
  align-items: stretch;
}
.ast-strip .ast-strip-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 8px;
  padding-inline: 28px 16px;
  border-inline-start: 1px solid #d6e1ef;
  min-width: 0;
}
.ast-strip .ast-strip-item:first-child {
  border-inline-start: 0;
  padding-inline-start: 0;
}
.ast-icon-circle {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.ast-c-orange { background-color: var(--ast-orange-soft); color: var(--ast-orange); }
.ast-c-blue { background-color: var(--ast-blue-soft); color: var(--ast-blue); }
.ast-c-green { background-color: var(--ast-green-soft); color: var(--ast-green); }
.ast-c-purple { background-color: var(--ast-purple-soft); color: var(--ast-purple); }
.ast-strip h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ast-navy);
  margin-bottom: 8px;
}
.ast-strip h3.ast-t-blue {
  color: var(--ast-blue);
}
.ast-strip p {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ast-muted);
  margin-bottom: 0;
}

/* ===================== programs ===================== */
.ast-programs {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 10px;
  padding-inline-end: 24px;
}
.ast-programs .ast-programs-img {
  flex: 0 0 420px;
  width: 420px;
  display: block;
}
.ast-programs .ast-programs-text {
  flex: 0 0 342px;
  padding-top: 18px;
  margin-inline-start: 5px;
}
.ast-programs .ast-kicker {
  font-size: 10px;
  letter-spacing: 0.6px;
  color: var(--ast-orange);
  margin-bottom: 8px;
}
.ast-programs .ast-kicker::before {
  width: 22px;
  margin-inline-end: 4px;
}
.ast-programs h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ast-navy);
  margin-bottom: 14px;
}
.ast-programs .ast-programs-text p {
  font-size: 12px;
  line-height: 1.4;
  color: var(--ast-text);
  margin-bottom: 14px;
}
.ast-programs .ast-btn-navy {
  height: 34px;
  min-width: 172px;
  font-size: 12px;
  gap: 10px;
}
.ast-pcards {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 152fr 156fr 171fr;
  gap: 13px;
  padding-top: 20px;
  min-width: 0;
}
.ast-pcard {
  border-radius: 10px;
  padding: 14px 16px 16px;
  min-height: 165px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: 0.3s all;
}
.ast-pcard:hover {
  transform: translateY(-3px);
}
.ast-pcard .ast-pcard-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.ast-pcard h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.ast-pcard p {
  font-size: 10.5px;
  letter-spacing: -0.1px;
  line-height: 1.45;
  color: var(--ast-text);
  margin-bottom: 0;
}
.ast-pcard .ast-learn {
  margin-top: auto;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ast-pcard-orange { background-color: #fdeee8; }
.ast-pcard-orange .ast-pcard-icon { background-color: var(--ast-orange); }
.ast-pcard-orange h4, .ast-pcard-orange .ast-learn { color: var(--ast-orange); }
.ast-pcard-blue { background-color: #e3f0fa; }
.ast-pcard-blue .ast-pcard-icon { background-color: var(--ast-blue); }
.ast-pcard-blue h4, .ast-pcard-blue .ast-learn { color: var(--ast-blue); }
.ast-pcard-green { background-color: #e6f4ea; }
.ast-pcard-green .ast-pcard-icon { background-color: var(--ast-green); }
.ast-pcard-green h4, .ast-pcard-green .ast-learn { color: var(--ast-green); }

.ast-login-card {
  flex: 0 0 264px;
  background-color: var(--ast-navy);
  border-radius: 12px;
  padding: 14px 20px 18px;
  color: #ffffff;
  height: 170px;
  margin-top: 12px;
  box-shadow: 0 10px 25px rgba(15, 44, 99, 0.18);
}
.ast-login-card .ast-login-avatar {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #2e5196;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.ast-login-card h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 8px;
}
.ast-login-card p {
  font-size: 10.5px;
  letter-spacing: -0.1px;
  line-height: 1.5;
  margin-bottom: 0;
  color: #e6ecf7;
}
.ast-login-card .ast-login-btn {
  background-color: #ffffff;
  color: var(--ast-navy);
  height: 34px;
  width: 100%;
  font-size: 12px;
  margin-top: 14px;
}
.ast-login-card .ast-login-btn:hover {
  background-color: var(--ast-orange);
  color: #ffffff;
}
.ast-login-card .ast-secure {
  font-size: 10px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ast-login-card .ast-secure i {
  font-size: 13px;
}

/* ===================== stats band ===================== */
.ast-band {
  position: relative;
  margin-top: -14px;
  color: #ffffff;
}
.ast-band .ast-wave {
  display: block;
  width: 100%;
  height: 34px;
}
.ast-band .ast-band-body {
  background-color: var(--ast-navy-dark);
  position: relative;
  height: 88px;
}
.ast-band .ast-skyline {
  position: absolute;
  bottom: 0;
  inset-inline-end: 0;
  width: 330px;
}
.ast-band .ast-skyline {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%);
  mask-image: linear-gradient(to right, transparent 0%, #000 22%);
}
[dir="rtl"] .ast-band .ast-skyline {
  -webkit-mask-image: linear-gradient(to left, transparent 0%, #000 22%);
  mask-image: linear-gradient(to left, transparent 0%, #000 22%);
}
.ast-band .ast-band-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding-inline-start: 100px;
  height: 100%;
}
.ast-stats {
  display: flex;
  align-items: center;
}
.ast-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-inline-end: 18px;
  margin-inline-end: 18px;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.25);
  height: 52px;
}
.ast-stat:last-child {
  border-inline-end: 0;
  margin-inline-end: 0;
}
.ast-stat .ast-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid currentColor;
  background-color: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.ast-stat strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
}
.ast-stat div > span {
  font-size: 11px;
  color: #ffffff;
  white-space: nowrap;
}
.ast-s-green { color: #5ec27c; }
.ast-s-orange { color: #f6a53c; }
.ast-s-yellow { color: #ffc531; }
.ast-band .ast-vline {
  width: 1px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.25);
  margin-inline: 62px 64px;
}
.ast-quote {
  display: flex;
  gap: 12px;
  font-size: 11px;
  max-width: 265px;
}
.ast-quote > i {
  color: #7ea6e6;
  font-size: 22px;
}
.ast-quote em {
  display: block;
  line-height: 1.5;
}
.ast-quote b {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
}
.ast-quote b::before {
  content: "";
  width: 16px;
  height: 1px;
  background-color: #ffffff;
}

/* ===================== student login portals ===================== */
.ast-portal {
  display: block;
  height: 100%;
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(15, 44, 99, 0.1);
  border: 1px solid #e6edf6;
  transition: 0.3s all;
}
.ast-portal:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 44, 99, 0.18);
}
.ast-portal-img {
  display: block;
  aspect-ratio: 1920 / 813;
  overflow: hidden;
}
.ast-portal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: 0.4s all;
}
.ast-portal:hover .ast-portal-img img {
  transform: scale(1.03);
}
.ast-portal-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 17px;
  color: var(--ast-navy);
}
.ast-portal-label i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  background-color: var(--ast-orange);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* ===================== responsive ===================== */
@media (max-width: 1499.98px) {
  .ast-strip { padding-inline: 30px; }
  .ast-strip .ast-strip-item { gap: 14px; padding-inline: 18px 10px; }
  .ast-icon-circle { width: 60px; height: 60px; font-size: 24px; }
  .ast-programs .ast-programs-img { flex-basis: 340px; width: 340px; }
  .ast-programs .ast-programs-text { flex-basis: 300px; }
  .ast-band .ast-band-row { padding-inline-start: 40px; }
  .ast-band .ast-vline { margin-inline: 30px; }
}

@media (max-width: 1399.98px) {
  .ast-header .navbar .navbar-nav { gap: 26px; }
  .ast-strip { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }
  .ast-strip .ast-strip-item,
  .ast-strip .ast-strip-item:first-child { border-inline-start: 0; padding-inline: 10px; }
  .ast-programs { flex-wrap: wrap; padding-inline-end: 24px; }
  .ast-programs .ast-programs-text { flex: 1 1 300px; }
  .ast-pcards { flex: 1 1 60%; order: 3; padding-top: 0; margin-inline-start: 24px; }
  .ast-login-card { order: 4; margin-top: 0; }
  .ast-band { margin-top: 20px; }
  .ast-band .ast-band-body { height: auto; padding-bottom: 20px; }
  .ast-band .ast-band-row { flex-wrap: wrap; gap: 20px; margin-top: 0; padding-inline: 24px; }
  .ast-band .ast-vline { display: none; }
  .ast-quote { margin-top: 0; }
  .ast-band .ast-skyline { opacity: 0.35; }
}

@media (max-width: 1199.98px) {
  .ast-header .navbar .navbar-nav { gap: 16px; }
  .ast-header .ast-btn-login,
  .ast-header .ast-btn-demo { min-width: auto; padding-inline: 18px; }
  .ast-hero h1 { font-size: 44px; }
  .ast-stats { flex-wrap: wrap; row-gap: 16px; }
}

@media (max-width: 991.98px) {
  .ast-container { padding-inline: 16px; }
  .ast-header .navbar-collapse { padding-bottom: 18px; }
  .ast-header .navbar .navbar-nav { gap: 6px; margin-block: 12px; }
  .ast-header .navbar .nav-item::before { display: none; }
  .ast-hero .ast-hero-img {
    position: relative;
    display: block;
    width: 100%;
    height: 240px;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .ast-hero .ast-hero-content { padding-inline-start: 0; padding-top: 30px; }
  .ast-hero .ast-blob { display: none; }
  .ast-strip-wrap { padding-inline: 16px; }
  .ast-strip { grid-template-columns: repeat(2, 1fr); padding: 16px; }
  .ast-programs { padding-inline: 16px; gap: 18px; }
  .ast-programs .ast-programs-img { flex: 1 1 100%; width: 100%; max-width: 420px; margin-inline: auto; }
  .ast-programs .ast-programs-text { flex: 1 1 100%; margin-inline-start: 0; }
  .ast-pcards { flex: 1 1 100%; margin-inline-start: 0; grid-template-columns: repeat(3, 1fr); }
  .ast-login-card { flex: 1 1 100%; height: auto; }
  .ast-band .ast-band-row { padding-inline: 16px; padding-top: 10px; }
  .ast-stat { border-inline-end: 0; }
  .ast-band .ast-skyline { display: none; }
}

@media (max-width: 767.98px) {
  .ast-strip { grid-template-columns: 1fr; }
  .ast-pcards { grid-template-columns: 1fr; }
  .ast-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .ast-stat { margin-inline-end: 0; padding-inline-end: 0; }
}

@media (max-width: 575.98px) {
  .ast-hero h1 { font-size: 34px; }
  .ast-hero p { font-size: 15px; }
  .ast-hero .ast-btn-orange,
  .ast-hero .ast-btn-outline { min-width: 0; width: 100%; }
}
