/* ==========================================================================
   UniStudent — Inner pages stylesheet
   Loaded by include/inner-header.php. Reuses tokens from style.css :root.
   ========================================================================== */

/* ---------- Page hero banner ---------- */


.page-hero {
  position: relative;
  /* margin-top: 76px; */
  padding: 84px 0 96px;
  background:
    radial-gradient(900px 320px at 12% -20%, rgba(0, 102, 255, 0.14), transparent 60%),
    radial-gradient(700px 300px at 95% 0%, rgba(0, 192, 243, 0.12), transparent 55%),
    linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, #16276e 100%);
  color: #fff;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/banner-bg.png") center/cover no-repeat;
  opacity: 0.14;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-bottom: 18px;
}

.page-hero-title {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
  line-height: 1.18;
  margin-top: 0;
  margin-bottom: 14px;
}

.page-hero-title .hight-light {
  color: var(--color-secondary);
}

.page-hero-desc {
  max-width: 720px;
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

/* Breadcrumb inside hero */
.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 22px;
}

.page-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.page-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ---------- About page hero (compact variant) ---------- */
.page-hero.about-hero {
  padding: 58px 0 64px;
  background:
    radial-gradient(620px 280px at 50% -30%, rgba(255, 255, 255, 0.16), transparent 62%),
    radial-gradient(520px 260px at 90% 25%, rgba(0, 192, 243, 0.16), transparent 60%),
    radial-gradient(520px 260px at 10% 25%, rgba(0, 102, 255, 0.20), transparent 60%),
    linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, #16276e 100%);
}

/* Dotted grid texture fading in from the trailing side */
.page-hero.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(115deg, transparent 45%, #000 100%);
  mask-image: linear-gradient(115deg, transparent 45%, #000 100%);
  z-index: 1;
  pointer-events: none;
}

/* Tighter vertical rhythm — all content centered */
.about-hero .container {
  text-align: center;
}

.about-hero .page-breadcrumb {
  margin-bottom: 14px;
  justify-content: center;
}

.about-hero .page-hero-tag {
  margin-bottom: 12px;
}

.about-hero .page-hero-title {
  font-size: clamp(25px, 3.8vw, 25px);
  margin-bottom: 0;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff !important;
}

.about-hero-clean {
  padding: 48px 0 52px !important;
}

.about-hero-clean .page-breadcrumb {
  margin-bottom: 12px;
  justify-content: center;
}

.about-hero-clean .page-breadcrumb a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease;
}

.about-hero-clean .page-breadcrumb a:hover {
  color: #fff;
}

.about-hero-clean .page-breadcrumb span {
  color: #fff;
  font-weight: 600;
}

/* Soft glow orbs for depth */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(58px);
  opacity: 0.32;
  z-index: 1;
  pointer-events: none;
}

.hero-orb-a {
  width: 300px;
  height: 300px;
  top: -140px;
  inset-inline-start: 6%;
  background: var(--color-secondary);
}

.hero-orb-b {
  width: 240px;
  height: 240px;
  top: -90px;
  inset-inline-end: 6%;
  background: #0066ff;
}

/* Floating glass icon tiles */
.hero-float-icon {
  position: absolute;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 22px;
  color: var(--color-secondary);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(6, 16, 44, 0.22);
  animation: heroFloatIcon 6s ease-in-out infinite;
}

.hero-float-icon-a {
  top: 84px;
  inset-inline-start: 6.5%;
}

.hero-float-icon-b {
  bottom: 52px;
  inset-inline-end: 7%;
  animation-delay: 1.6s;
}

/* Hand-drawn swash under the highlighted title words */
.hero-title-swoosh {
  display: block;
  width: 210px;
  height: 14px;
  margin: -6px auto -12px;
}

/* Centered call-to-action row (standard hero pattern) */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}

.hero-cta-row .btn-primary-custom {
  padding: 12px 26px;
  font-size: 14.5px;
}

.hero-anchor-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hero-anchor-link:hover {
  color: var(--color-secondary);
}

#who-we-are {
  scroll-margin-top: 96px;
}

@keyframes heroFloatIcon {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Floating dashed flight doodle */
.about-hero-flight {
  position: absolute;
  top: 30px;
  inset-inline-end: 4%;
  z-index: 2;
  opacity: 0.95;
  animation: aboutHeroFloat 5.5s ease-in-out infinite;
}

@keyframes aboutHeroFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

/* ---------- Generic content sections ---------- */
.content-section {
  padding: 80px 0;
}

.content-lead {
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-text-main);
  max-width: 900px;
}

.text-secondary {
  font-size: 15px !important;
}

.content-section h3.block-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 18px;
}

.section-tag {
  display: inline-block;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  padding: 7px 16px;
  margin-bottom: 14px;
}

/* ==========================================================================
   INNER-PAGE UI POLISH — scoped to .content-section / footer / body children.
   Homepage (index.php) uses hero/destinations/services sections, not these
   wrappers, so none of this leaks into it.
   ========================================================================== */

/* ---------- Brand polish: selection, scrollbar, smooth scroll ---------- */
::selection {
  background: rgba(0, 102, 255, 0.85);
  color: #fff;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  scrollbar-width: thin;
  scrollbar-color: #c3d4f5 #eef2f9;
}

body::-webkit-scrollbar {
  width: 11px;
}

body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0066ff, #00c0f3);
  border-radius: 99px;
  border: 3px solid #eef2f9;
}

body::-webkit-scrollbar-track {
  background: #eef2f9;
}

/* ---------- Breadcrumb & tag micro-interactions ---------- */
.page-breadcrumb a {
  transition: color 0.2s ease, padding 0.2s ease;
}

.page-breadcrumb a:hover {
  padding-inline: 3px;
}

.section-tag {
  position: relative;
  overflow: hidden;
}

.section-tag::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.5) 50%, transparent 75%);
  transform: translateX(-120%);
  animation: tagShine 3.6s ease-in-out infinite;
}

@keyframes tagShine {

  0%,
  60% {
    transform: translateX(-120%);
  }

  85%,
  100% {
    transform: translateX(120%);
  }
}

/* ---------- Card hover upgrades (inner pages only) ---------- */
.content-section .point-card {
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.content-section .point-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), #00c0f3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.content-section .point-card:hover::before {
  transform: scaleX(1);
}

.content-section .point-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 102, 255, 0.35);
  box-shadow: 0 18px 38px -12px rgba(0, 102, 255, 0.28);
}

.content-section .point-card .pc-icon {
  transition: all 0.3s ease;
}

.content-section .point-card:hover .pc-icon {
  background: linear-gradient(135deg, var(--color-primary), #00c0f3);
  color: #fff;
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 8px 18px rgba(0, 102, 255, 0.35);
}

.content-section .article-card:hover {
  border-color: rgba(0, 102, 255, 0.35);
  box-shadow: 0 18px 38px -12px rgba(0, 102, 255, 0.28);
}

/* ---------- Gradient heading accents (inner pages) ---------- */
.content-section .section-main-title {
  background: linear-gradient(92deg, var(--color-dark) 55%, #0066ff 88%, #00c0f3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[dir="rtl"] .content-section .section-main-title {
  background: linear-gradient(272deg, var(--color-dark) 55%, #0066ff 88%, #00c0f3 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.content-section .section-tag {
  box-shadow: 0 3px 10px rgba(0, 102, 255, 0.14);
}

/* ---------- Feature list items lift on hover ---------- */
.content-section .feature-list-grid li {
  transition: all 0.22s ease;
}

.content-section .feature-list-grid li:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 102, 255, 0.35);
  background: #fff;
  box-shadow: 0 12px 26px -10px rgba(0, 102, 255, 0.22);
}

.content-section .feature-list-grid li:hover i {
  transform: scale(1.25);
  transition: transform 0.25s ease;
}

/* ==========================================================================
   INNER CTA BAND — previously had no styles at all
   ========================================================================== */
.inner-cta-section {
  padding: 30px 0 70px;
  background: #fff;
}

.inner-cta-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 44px 48px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(600px 240px at 88% -30%, rgba(0, 192, 243, 0.35), transparent 60%),
    radial-gradient(500px 220px at 5% 120%, rgba(0, 102, 255, 0.4), transparent 55%),
    linear-gradient(120deg, #0c0533 0%, #1b2f86 55%, #0056d6 100%);
  box-shadow: 0 24px 55px -18px rgba(12, 5, 51, 0.55);
}

.inner-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
}

.inner-cta-card>* {
  position: relative;
  z-index: 1;
}

.inner-cta-text h3 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.inner-cta-text p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 0;
}

.inner-cta-card .btn-primary-custom {
  background: #fff;
  color: #0c0533 !important;
  font-weight: 700;
  padding: 13px 28px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.inner-cta-card .btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}

.inner-cta-card .btn-primary-custom i {
  transition: transform 0.25s ease;
}

.inner-cta-card .btn-primary-custom:hover i {
  transform: translateX(4px);
}

[dir="rtl"] .inner-cta-card .btn-primary-custom i {
  transform: scaleX(-1);
}

[dir="rtl"] .inner-cta-card .btn-primary-custom:hover i {
  transform: scaleX(-1) translateX(4px);
}

@media (max-width: 767.98px) {
  .inner-cta-card {
    padding: 32px 24px;
    text-align: center;
    justify-content: center;
  }

  .inner-cta-text p {
    margin-inline: auto;
  }
}

/* ==========================================================================
   FLOATING ACTION BUTTONS — WhatsApp + back-to-top (all inner pages)
   ========================================================================== */
.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

[dir="rtl"] .floating-actions {
  right: auto;
  left: 18px;
  align-items: center;
}

.fab-btn {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-decoration: none;
  cursor: pointer;
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 29, 54, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.fab-btn:hover {
  transform: translateY(-3px) scale(1.05);
  color: #fff;
}

/* WhatsApp with pulsing attention ring */
.fab-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  overflow: visible;
}

.fab-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.7);
  animation: fabPulse 2s ease-out infinite;
}

@keyframes fabPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  70% {
    transform: scale(1.45);
    opacity: 0;
  }

  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.fab-whatsapp:hover::before {
  animation: none;
  opacity: 0;
}

/* Back-to-top with SVG scroll-progress ring */
.fab-top {
  width: 46px;
  height: 46px;
  font-size: 17px;
  background: linear-gradient(135deg, var(--color-primary, #0066ff), #1b2f86);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  position: relative;
}

.floating-actions.is-visible .fab-top {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab-top svg.fab-progress {
  position: absolute;
  inset: -4px;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  transform: rotate(-90deg);
  pointer-events: none;
}

.fab-top svg.fab-progress circle {
  fill: none;
  stroke: #00c0f3;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
}

.scholarship-floating-apply {
  position: fixed;
  top: 45%;
  right: 18px;
  z-index: 9999;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  background: linear-gradient(145deg, #383d6e 0%, #374b84 48%, #1b2f86 100%);
  color: #fff;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(15, 29, 54, 0.3), 0 0 0 5px rgba(0, 192, 243, 0.16);
  font-size: 12px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-50%);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  animation: scholarshipApplyPulse 2.8s ease-in-out infinite;
}

.scholarship-floating-apply>* {
  pointer-events: none;
}

.scholarship-floating-apply::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgb(53 60 113);
  border-radius: 50%;
  animation: scholarshipApplyRing 2.8s ease-out infinite;
  pointer-events: none;
}

.scholarship-floating-apply i {
  font-size: 17px;
  line-height: 1;
}

.scholarship-floating-apply:hover {
  color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 15px 32px rgba(15, 29, 54, 0.4), 0 0 0 6px rgba(0, 192, 243, 0.2);
  filter: brightness(1.08);
  animation: none;
}

@keyframes scholarshipApplyPulse {

  0%,
  100% {
    box-shadow: 0 10px 24px rgba(15, 29, 54, 0.3), 0 0 0 5px rgba(0, 192, 243, 0.16);
  }

  50% {
    box-shadow: 0 13px 28px rgba(15, 29, 54, 0.36), 0 0 0 8px rgba(0, 192, 243, 0.24);
  }
}

@keyframes scholarshipApplyRing {

  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }

  70% {
    opacity: 0;
    transform: scale(1.18);
  }
}

[dir="rtl"] .scholarship-floating-apply {
  right: auto;
  left: 18px;
}

@media (max-width: 575.98px) {
  .floating-actions {
    right: 12px;
    bottom: 12px;
  }

  .scholarship-floating-apply {
    right: 12px;
    width: 62px;
    height: 62px;
    font-size: 9px;
  }

  .scholarship-floating-apply i {
    font-size: 15px;
  }

  [dir="rtl"] .scholarship-floating-apply {
    right: auto;
    left: 12px;
  }

  [dir="rtl"] .floating-actions {
    right: auto;
    left: 12px;
  }

  .fab-btn {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
}

/* Bulleted feature list (2 columns on md+) */
.feature-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list-grid li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--color-text-main);
  background: var(--color-light-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 13px 16px;
}

.feature-list-grid li i {
  color: var(--color-primary);
  margin-top: 3px;
  flex-shrink: 0;
}

/* Info / disclaimer note */
.content-note {
  display: flex;
  gap: 12px;
  background: #fffaf0;
  border: 1px solid #ffe4b3;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #7a5b16;
}

.content-note i {
  font-size: 20px;
  color: #e8a200;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Alternating soft background */
.bg-soft {
  background: var(--color-light-bg);
}

/* Card with icon used across pages */
.point-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.point-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.point-card .pc-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 24px;
  margin-bottom: 16px;
}

.point-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.point-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ---------- Article / blog cards ---------- */
.article-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.article-card .ac-img-box {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-primary-light);
}

.article-card .ac-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .ac-img-box img {
  transform: scale(1.05);
}

.article-card .ac-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.article-card .ac-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12.5px;
  color: var(--color-text-muted);
}

.article-card .ac-tag {
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-weight: 600;
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

.article-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.45;
  margin: 0;
}

.article-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0;
}

.article-card .ac-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-card .ac-link:hover {
  gap: 10px;
}

/* ---------- Partner form ---------- */
.partner-form-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 38px 34px;
}

.partner-form-card .form-section-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 26px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary-light);
}

.partner-form-card .form-section-label:first-child {
  margin-top: 0;
}

.partner-form-card .form-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.partner-form-card .form-control,
.partner-form-card .form-select {
  border-radius: var(--radius-sm);
  border-color: var(--color-border);
  font-size: 14.5px;
  padding: 10px 14px;
}

.partner-form-card textarea {
  min-height: 110px;
  resize: vertical;
}

/* ---------- Scholarship page polish ---------- */
.content-section .scholar-intro {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(0, 102, 255, .06), rgba(0, 192, 243, .07));
  border: 1px solid rgba(0, 102, 255, .16);
  border-radius: 18px;
  padding: 20px 22px;
  margin-bottom: 8px;
}

.content-section .scholar-intro .si-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), #00c0f3);
  box-shadow: 0 10px 22px rgba(0, 102, 255, .30);
}

.content-section .scholar-intro .content-lead {
  margin: 0;
  font-size: 16px;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 26px 0 34px;
}

.quick-fact {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 18px 16px 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.quick-fact::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), #00c0f3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.quick-fact:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 102, 255, .28);
}

.quick-fact:hover::after {
  transform: scaleX(1);
}

.quick-fact .qf-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 19px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.quick-fact:hover .qf-icon {
  background: linear-gradient(135deg, var(--color-primary), #00c0f3);
  color: #fff;
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 8px 18px rgba(0, 102, 255, .32);
}

.quick-fact .qf-value {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.35;
}

.quick-fact .qf-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* Scholarship "other countries" cards */
.country-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.country-link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 15px 16px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.country-link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 102, 255, 0.25);
}

.country-link-card img {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #e2e8f0;
}

.country-link-card .clc-text {
  min-width: 0;
}

.country-link-card .clc-name {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--color-dark);
}

.country-link-card .clc-sub {
  font-size: 11.5px;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-link-card .clc-arrow {
  margin-inline-start: auto;
  color: var(--color-primary);
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .quick-facts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .country-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .quick-facts {
    grid-template-columns: 1fr;
  }
}

[id="ruwad"],
[id="imdad"],
[id="rd-track"],
[id="waed"] {
  scroll-margin-top: 88px;
}

/* ==========================================================================
   Scholarship redesign v2 — image-rich layouts reusing index design tokens.
   Inner pages reuse .about-section / .destinations-grid / .services-grid /
   .scholarship-card / .scholarship-banner from style.css (index reference).
   Only layout fixes below.
   ========================================================================== */

/* Overview + detail images match index about images */
.content-section .about-image-wrapper,
.about-section .about-image-wrapper {
  min-height: 320px;
}

.content-section .about-image-wrapper .about-main-img,
.about-section .about-image-wrapper .about-main-img {
  height: 317px;
}

/* Track / country cards: fixed image ratio so new uploads look consistent */
.sch-tracks-grid .dest-img-box,
.destinations-section .destinations-grid .dest-img-box {
  aspect-ratio: 16 / 10;
}

.sch-tracks-grid .dest-img-box .dest-img,
.destinations-section .destinations-grid .dest-img-box .dest-img {
  height: 100%;
  min-height: 180px;
}

/* Eligibility / sectors / steps grids: 3 cols on desktop (not 6 like homepage) */
.sch-apply-grid,
.sch-sectors-grid,
.sch-services-grid {
  grid-template-columns: repeat(3, 1fr);
}

.sch-steps-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* Perks list inside redesigned sections */
.content-section .scholarship-perks-list,
.destinations-section .scholarship-perks-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.content-section .scholarship-perks-list.justify-content-center,
.destinations-section .scholarship-perks-list.justify-content-center {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
}

.scholarship-perks-list .scholarship-perk-item {
  font-size: 14.5px;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 500;
  line-height: 1.6;
}

.scholarship-perks-list .scholarship-perk-item i {
  color: #182858 !important;
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Scholarship cards with top images (Qatar / Bahrain) */
.content-section .scholarship-card>img {
  border-radius: 0;
  display: block;
}

/* Linked service cards (other-services grids) */
.services-grid a.service-card,
.destinations-section .services-grid a.service-card {
  text-decoration: none;
  color: inherit;
}

.services-grid a.service-card:hover .service-title {
  color: var(--color-primary);
}

@media (max-width: 991.98px) {

  .sch-apply-grid,
  .sch-sectors-grid,
  .sch-services-grid,
  .sch-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-section .about-image-wrapper .about-main-img,
  .about-section .about-image-wrapper .about-main-img {
    height: 320px;
  }
}

@media (max-width: 575.98px) {

  .sch-apply-grid,
  .sch-sectors-grid,
  .sch-services-grid,
  .sch-steps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Arabic / RTL adjustments ---------- */
html[dir="rtl"] body {
  font-family: 'Tajawal', 'Inter', sans-serif;
}

html[dir="rtl"] .dropdown-item-title span i,
html[dir="rtl"] .bi-arrow-right {
  transform: scaleX(-1);
}

html[dir="rtl"] .feature-list-grid li i {
  margin-top: 2px;
}

.lang-ar .page-hero-title,
.lang-ar .point-card h4,
.lang-ar .content-section h3.block-title {
  line-height: 1.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .page-hero {
    margin-top: 66px;
    padding: 60px 0 70px;
  }

  .page-hero.about-hero {
    padding: 46px 0 52px;
  }

  .content-section {
    padding: 60px 0;
  }

  .partner-form-card {
    padding: 28px 22px;
  }
}

/* ==========================================================================
   Site Preloader — branded logo loader shown while the page loads
   ========================================================================== */
#site-loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(600px 300px at 20% 15%, rgba(0, 102, 255, 0.25), transparent 60%),
    radial-gradient(500px 260px at 85% 85%, rgba(0, 192, 243, 0.18), transparent 55%),
    linear-gradient(135deg, #0c0533 0%, #27326c 60%, #16276e 100%);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

#site-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

/* White circular badge holding the logo */
.loader-logo-wrap {
  position: relative;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  animation: loaderFloat 2.4s ease-in-out infinite;
}

/* Spinning gradient ring around the badge */
.loader-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 0deg, transparent 0 55%, #0066ff 75%, var(--color-secondary, #00c0f3) 90%, #ffffff 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: loaderSpin 1.1s linear infinite;
}

/* Soft pulsing glow behind the badge */
.loader-logo-wrap::after {
  content: "";
  position: absolute;
  inset: -26px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 192, 243, 0.28), transparent 65%);
  animation: loaderPulse 2s ease-in-out infinite;
  z-index: -1;
}

.loader-logo-wrap img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.loader-brand {
  color: #fff;
  font-weight: 800;
  letter-spacing: 5px;
  font-size: 15px;
  text-transform: uppercase;
  margin: -10px 0 0;
}

.loader-brand span {
  color: var(--color-secondary, #00c0f3);
}

.loader-bar {
  width: 170px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 99px;
  background: linear-gradient(90deg, #0066ff, var(--color-secondary, #00c0f3));
  animation: loaderBar 1.2s ease-in-out infinite;
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes loaderPulse {

  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.92);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes loaderBar {
  0% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(330%);
  }
}

/* ==========================================================================
   Navbar links (shared EN/AR)
   ========================================================================== */
.navbar-nav .nav-link {
  font-size: 13px;
  font-weight: 600;
  color: #475569 !important;
  padding: 30px 13px !important;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Scrollable mega menu (tall lists, e.g. all destinations) */
.custom-dropdown-menu.menu-scroll {
  max-height: min(72vh, 580px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c3d4f5 transparent;
}

.custom-dropdown-menu.menu-scroll::-webkit-scrollbar {
  width: 6px;
}

.custom-dropdown-menu.menu-scroll::-webkit-scrollbar-thumb {
  background: #c3d4f5;
  border-radius: 99px;
}

.custom-dropdown-menu.menu-scroll::-webkit-scrollbar-track {
  background: transparent;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

  .loader-logo-wrap,
  .loader-logo-wrap::before,
  .loader-logo-wrap::after,
  .loader-bar span,
  .hero-float-icon,
  .about-hero-flight {
    animation: none;
  }
}