/*==================================================
    UO TECH - REVAMPED HOMEPAGE DESIGN SYSTEM
    style.css
==================================================*/

:root {
  --primary-dark: #0B0B0B;
  /* Matte Black */
  --secondary-dark: #FFFFFF;
  /* Sharp White */
  --accent-gold: #D4AF37;
  /* Metallic Gold */
  --accent-gold-hover: #C59E2B;
  /* Metallic Gold Hover */
  --bg-light: #0B0B0B;
  /* Matte Black */
  --bg-light-alt: #121212;
  /* Charcoal background */
  --text-dark: #FFFFFF;
  /* Sharp White */
  --text-muted: rgba(255, 255, 255, 0.7);
  /* White Muted */
  --text-light: rgba(255, 255, 255, 0.55);
  /* White Light */
  --white: #FFFFFF;
  /* White */
  --card-bg: #121212;
  /* Deep Charcoal Card background */
  --border-color: rgba(255, 255, 255, 0.08);
  /* Subtle light border */

  --font-headings: 'DM Sans', 'Inter', sans-serif;
  --font-body: 'DM Sans', 'Inter', sans-serif;
  --font-ui: 'Outfit', sans-serif;

  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.2);
  --hover-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 8px 16px -4px rgba(0, 0, 0, 0.3);
  --gold-shadow: 0 4px 14px 0 rgba(212, 164, 60, 0.25);

  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 12px;
}

/* --- RESET & BASICS --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--primary-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--secondary-dark);
  line-height: 1.25;
}

/* Reset link underlines and inherit color by default */
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

.navbar {
  height: 80px;
  background: transparent;
  position: absolute;
  top: 42px;
  left: 0;
  width: 100%;
  z-index: 100;
  border-bottom: none;
  /* remove white line over hero */
  transition: var(--transition-smooth);
}

.wrap {
  width: 90%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-padding {
  padding: 40px 0;
}

.bg-light-sec {
  background-color: var(--bg-light);
}

.text-center {
  text-align: center;
}

.margin-bottom-40 {
  margin-bottom: 30px;
}

.margin-top-40 {
  margin-top: 30px;
}

.margin-top-60 {
  margin-top: 40px;
}

.section-label {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 12px;
  display: inline-block;
}

.section-header {
  text-align: center;
  margin-bottom: 30px;
  width: 100%;
}

.section-header .section-label {
  display: inline-block;
  margin-bottom: 8px;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 100%;
}

.section-header-line {
  width: 80px;
  flex: 0 0 80px;
  height: 1px;
  background-color: var(--accent-gold);
  position: relative;
}

/* Gold dot on the outer end of the lines */
.section-header-line-left::before {
  content: '';
  position: absolute;
  left: 0;
  top: -3.5px;
  /* Centered vertically on the 1px line */
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-gold);
}

.section-header-line-right::before {
  content: '';
  position: absolute;
  right: 0;
  top: -3.5px;
  /* Centered vertically on the 1px line */
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-gold);
}

.section-title-row h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-dark);
  line-height: 1.25;
}

/* --- GENERAL BUTTONS --- */
.gold {
  background-color: var(--card-bg);
  border: 2px solid var(--accent-gold);
  color: var(--white);
  padding: 13px 27px;
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gold:hover {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: var(--gold-shadow);
}

.outline {
  border: 2px solid var(--accent-gold);
  color: var(--white);
  padding: 13px 27px;
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: transparent;
  transition: var(--transition-smooth);
}

.outline:hover {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: var(--gold-shadow);
}

.dark-btn {
  background-color: var(--card-bg);
  color: var(--white);
  padding: 13px 27px;
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: 2px solid var(--accent-gold);
  transition: var(--transition-smooth);
}

.dark-btn:hover {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: var(--gold-shadow);
}

/* --- TOP HEADER BAR --- */
.top {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  height: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-inner {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-left {
  display: flex;
  align-items: center;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-right span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-right span i {
  color: var(--accent-gold);
}

.login {
  color: var(--accent-gold);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.login:hover {
  text-decoration: underline;
}

.top-socials {
  display: flex;
  gap: 12px;
}

.top-socials a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.top-socials a:hover {
  color: var(--accent-gold);
}

/* --- NAVIGATION NAVBAR --- */
.navbar {
  height: 80px;
  background: transparent;
  position: absolute;
  top: 42px;
  left: 0;
  width: 100%;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  position: fixed;
  top: 0;
  background: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(14, 31, 61, 0.2);
  border-bottom: none;
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.1;
  min-width: auto;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.brand img {
  width: auto;
  height: 48px;
  object-fit: contain;
  display: block;
}

/* Dual logo support: light (for dark hero) and dark (for scrolled/light navbar) */
.brand img.logo-light {
  display: block;
}

.brand img.logo-dark {
  display: none;
}

.navbar.scrolled .brand img.logo-light {
  display: none;
}

.navbar.scrolled .brand img.logo-dark {
  display: block;
}



.brand span {
  display: flex;
  flex-direction: column;
}

.brand-main-text {
  display: inline;
}

.brand-sub-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-ui);
  line-height: 1.2;
  margin-top: 1px;
}

.brand-sub-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.brand-sub-desc {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav nav a {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav nav a:hover,
.nav nav a.on {
  color: var(--accent-gold);
}

.nav nav a.on {
  border-bottom-color: var(--accent-gold);
}

.nav nav a.dropdown-trigger i {
  font-size: 0.75rem;
  margin-left: 3px;
}

.consult {
  font-size: 0.85rem;
  padding: 10px 18px;
}

.menu {
  display: none;
}

/* Courses dropdown */
.courses-dropdown {
  position: relative;
}

.courses-dropdown .dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px 0;
  /* Add padding to increase hit area */
}

.courses-dropdown .dropdown-trigger i {
  transition: transform 0.3s ease;
}

.courses-dropdown:hover .dropdown-trigger i {
  transform: rotate(180deg);
}

.courses-dropdown .courses-list {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  /* Initially offset downwards */
  background: rgba(18, 18, 18, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  padding: 24px;
  width: 900px;
  opacity: 0;
  visibility: hidden;
  display: block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 220;
}

/* Invisible bridge to prevent mouse-leave flickering in the gap */
.courses-dropdown .courses-list::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.mega-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mega-title {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-gold) !important;
  margin-top: 2px;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: none;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

a.mega-title:hover {
  color: var(--accent-gold) !important;
  text-decoration: underline;
}

/* Sub-menu items indented 18px to the right of main category headers */
.courses-dropdown .courses-list a:not(.mega-title) {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0 0 2px 18px;
  padding: 2px 0;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: normal;
  /* Allow wrapping inside columns */
  transition: var(--transition-smooth);
  position: relative;
  border-bottom: none;
}

.courses-dropdown .courses-list a:not(.mega-title) i {
  margin-top: 2px;
  margin-right: 0;
  color: var(--accent-gold);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.courses-dropdown .courses-list a:not(.mega-title):hover {
  color: var(--accent-gold);
  transform: translateX(4px);
}

.courses-dropdown:hover .courses-list {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Ensure dropdown looks correct when navbar is scrolled */
.navbar.scrolled .courses-dropdown .courses-list {
  background: rgba(18, 18, 18, 0.98);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* --- HERO SECTION WITH VIDEO --- */
.hero {
  min-height: 640px;
  position: relative;
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

/* Video wrapper for homepage hero */
.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  /* Zoom in to crop out baked-in letterbox black bars */
}

/* Compact hero used on inner pages (image background) */
.hero.small-course-hero {
  min-height: 320px;
}

.hero.small-course-hero .hero-inner {
  grid-template-columns: 1fr;
  gap: 20px;
  padding-top: 180px;
  padding-bottom: 60px;
}

.hero.small-course-hero .intro h1 {
  font-size: 2rem;
}

/* Hero layout: center inner content while letting background media be full-bleed */
.hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: brightness(0.65);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(3, 13, 27, 0.8) 0%, rgba(14, 31, 61, 0.6) 45%, rgba(14, 31, 61, 0.3) 100%);
  z-index: 1;
}

/* Inner hero container: constrained and centered for readable text */
.hero .hero-inner {
  width: 100%;
  margin: 0 auto;
  padding: 120px 20px 40px;
  position: relative;
  z-index: 2;
  /* ensure content sits above overlay and background */
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.intro {
  max-width: 600px;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero h1 span {
  color: var(--accent-gold);
  font-weight: 700;
}

.hero-tagline {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  line-height: 1.6;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero-btns {
  display: flex;
  gap: 16px;
}

.btn-hero {
  font-size: 0.9rem;
  padding: 12px 24px;
}

/* --- QUICK GUIDANCE CARD --- */
.guide {
  background: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius);
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  width: 100%;
  max-width: 380px;
  justify-self: end;
}

.guide h2 {
  color: var(--white);
  font-size: 1.65rem;
  line-height: 1.25;
  margin-bottom: 20px;
}

.guide h2 span {
  color: var(--accent-gold);
}

.guide-list {
  list-style: none;
  margin-bottom: 24px;
}

.guide-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
}

.guide-list i {
  color: var(--accent-gold);
  font-size: 1.05rem;
}

.guide .wide {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.guide-meta {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 10px;
  font-family: var(--font-ui);
}

.guide-call {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.guide-call small {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}

.guide-call b {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* --- HERO STATS --- */
.hero-stat {
  grid-column: 1 / span 2;
  display: flex;
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius);
  padding: 24px;
  gap: 20px;
  box-shadow: var(--card-shadow);
  margin-top: 40px;
}

.hero-stat span {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-right: 16px;
}

.hero-stat span div {
  display: flex;
  flex-direction: column;
}

.hero-stat span:last-child {
  border-right: none;
  padding-right: 0;
}

.hero-stat i {
  font-size: 1.5rem;
  color: var(--accent-gold);
}

.hero-stat b {
  font-family: var(--font-ui);
  font-size: 1.6rem;
  font-weight: 700;
  display: block;
  line-height: 1.2;
}

.hero-stat small {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

/* --- TRUSTED LOGOS SECTION --- */
.trusted {
  background: var(--primary-dark);
  padding: 40px 0;
}

.partners-container-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.partners-title-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.partners-title-centered::before,
.partners-title-centered::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background-color: var(--border-color);
}

.partners-title-centered h3 {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
}

.partners-logos {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 30px;
}

.logo-text {
  font-family: var(--font-ui);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-light);
  opacity: 0.55;
  transition: var(--transition-smooth);
  cursor: default;
}

.logo-text:hover {
  opacity: 1;
  color: var(--primary-dark);
}

/* --- ABOUT SECTION --- */
.about-top-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: flex-start;
}

.about-section-label {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.about-section-label::before {
  content: '';
  width: 16px;
  height: 2px;
  background-color: var(--accent-gold);
  display: inline-block;
}

.about-left-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-dark);
  line-height: 1.2;
}

.about-left-content h2 span {
  color: var(--accent-gold);
}

.about-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 16px;
  margin-bottom: 30px;
  line-height: 1.7;
}

.about-philosophy-section {
  padding-bottom: 35px;
}

/* Philosophy Card Layout */
.philosophy-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 45px 40px;
  color: var(--white);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  box-shadow: var(--card-shadow);
}

.philosophy-col {
  position: relative;
  display: flex;
  flex-direction: column;
}

.philosophy-col:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 10%;
  right: -20px;
  width: 1px;
  height: 80%;
  background-color: var(--border-color);
}

.philosophy-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.philosophy-header i {
  color: var(--accent-gold);
  font-size: 2.2rem;
}

.philosophy-header h3 {
  font-family: var(--font-ui);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.philosophy-col p {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-gray);
  margin-bottom: 0;
  margin-top: 0;
  flex-grow: 1;
}

.philosophy-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.philosophy-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.philosophy-checklist li i {
  color: var(--accent-gold);
  font-size: 1.05rem;
}

/* Wavy Certificate Badge with checkmark stacked overlay */
.icon-badge-stack {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  flex-shrink: 0;
}

.icon-badge-stack .badge-bg {
  font-size: 2.2rem;
  color: var(--accent-gold);
}

.icon-badge-stack .badge-check {
  position: absolute;
  font-size: 0.95rem;
  color: var(--primary-dark) !important;
  font-weight: 900;
}

.gold-btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  padding: 12px 24px;
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.gold-btn-arrow:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
}

/* Right Side Media & Overlaid Stats Box */
.about-image-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 50px;
}

.about-lobby-img {
  width: 100%;
  height: 380px;
  /* Constrained height */
  object-fit: cover;
  /* Cropped horizontally */
  border-radius: var(--border-radius);
  display: block;
  box-shadow: var(--card-shadow);
}

.about-overlay-box {
  position: absolute;
  bottom: -40px;
  /* Overlaps bottom edge */
  left: 3%;
  width: 94%;
  background-color: var(--primary-dark);
  border-radius: var(--border-radius);
  padding: 24px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  color: var(--white);
  box-shadow: var(--hover-shadow);
  z-index: 10;
}

.overlay-col {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
}

.overlay-col:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 10%;
  right: -8px;
  height: 80%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}

.overlay-col i {
  font-size: 1.5rem;
  color: var(--accent-gold);
  margin-top: 2px;
}

.overlay-col h5 {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 2px;
  line-height: 1.25;
}

.overlay-col p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.35;
}

.navy-check-list {
  list-style: none;
}

.navy-check-list li {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navy-check-list i {
  color: var(--accent-gold);
  font-size: 0.85rem;
}

/* Orange Help Banner */
.orange-help-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #f5c457, var(--accent-gold));
  padding: 24px 40px;
  border-radius: var(--border-radius);
  margin-top: 30px;
  color: var(--primary-dark);
  box-shadow: var(--gold-shadow);
  flex-wrap: wrap;
  gap: 20px;
}

.help-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  flex: 1;
}

.help-text i {
  font-size: 1.35rem;
}

.help-btns {
  display: flex;
  gap: 14px;
}

.help-btn {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 6px;
  transition: var(--transition-smooth);
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.help-btn.dark {
  background-color: var(--primary-dark);
  color: var(--white);
  border: none;
}

.help-btn.dark:hover {
  background-color: #1a2f50;
  transform: translateY(-2px);
}

.help-btn.outline {
  border: 1px solid var(--primary-dark);
  color: var(--primary-dark);
  background: transparent;
}

.help-btn.outline:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- EXPLORE PROGRAMS SECTION --- */
/* --- EXPLORE PROGRAMS SECTION --- */
.tabs-container {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  margin-bottom: 40px;
}

.tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  flex-grow: 1;
  padding: 8px 4px;
  scrollbar-width: none;
  /* Hide scrollbar Firefox */
}

.tabs::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar Chrome/Safari */
}

.tab-btn {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 22px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  flex-shrink: 0;
}

.tab-btn i {
  font-size: 1rem;
  color: var(--text-light);
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.tab-btn:hover i {
  color: var(--accent-gold);
}

.tab-btn.active {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(14, 31, 61, 0.15);
}

.tab-btn.active i {
  color: var(--white);
}

.tabs-scroll-prev,
.tabs-scroll-next {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary-dark);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(14, 31, 61, 0.15);
  transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.tabs-scroll-prev {
  margin-right: 12px;
}

.tabs-scroll-next {
  margin-left: 12px;
}

.tabs-scroll-prev.visible,
.tabs-scroll-next.visible {
  opacity: 1;
  visibility: visible;
}

.tabs-scroll-prev:hover,
.tabs-scroll-next:hover {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  transform: scale(1.05);
}

/* 8 Category Card styles */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.program-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hover-shadow);
  border-color: rgba(212, 164, 60, 0.25);
}

.card-image-wrap {
  position: relative;
  overflow: visible;
  aspect-ratio: 16/10;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
}

.program-card:hover .card-image {
  transform: scale(1.08);
}

.card-circle-icon {
  position: absolute;
  bottom: -22px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(212, 164, 60, 0.3);
  border: 2px solid var(--white);
  z-index: 2;
  transition: var(--transition-smooth);
}

.program-card:hover .card-circle-icon {
  background-color: var(--primary-dark);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(14, 31, 61, 0.3);
  transform: scale(1.05);
}

.card-content {
  padding: 30px 24px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: var(--card-bg);
  position: relative;
  z-index: 1;
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
}

.card-content h3 {
  font-family: var(--font-ui);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary-dark);
  line-height: 1.35;
  margin-bottom: 4px;
}

.course-duration {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-content p {
  font-size: 0.95rem;
  color: var(--secondary-dark);
  line-height: 1.6;
  margin-bottom: 16px;
  overflow: visible;
}

.card-action-link {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  transition: var(--transition-smooth);
}

.card-action-link i {
  transition: var(--transition-smooth);
}

.program-card:hover .card-action-link i {
  transform: translateX(4px);
}

/* --- WHY CHOOSE & JOURNEY TIMELINE --- */
.journey-grid {
  display: grid;
  grid-template-columns: 0.32fr 0.68fr;
  gap: 60px;
  align-items: flex-start;
}

.why-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--secondary-dark);
}

.why-list i {
  color: var(--white);
  background-color: var(--accent-gold);
  font-size: 0.75rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-list span {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary-dark);
}

/* --- JOURNEY FLOW CHART --- */
.journey-section {
  background-color: var(--primary-dark);
}

.journey-section .section-header {
  margin-bottom: 50px;
}

.journey-section .section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 12px auto 0 auto;
  line-height: 1.6;
}

.journey-flow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 40px;
  position: relative;
}

.journey-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
  min-width: 0;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--accent-gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(229, 169, 59, 0.3);
  transition: var(--transition-smooth);
}

.journey-step:hover .step-number {
  transform: scale(1.1);
  background-color: var(--primary-dark);
  box-shadow: var(--navy-shadow);
}

.journey-step h4 {
  font-family: var(--font-ui);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary-dark);
  margin: 16px 0 8px 0;
  max-width: 150px;
  width: 150px;
}

.journey-step p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
  max-width: 200px;
  width: 200px;
}

.journey-divider {
  flex: 1;
  height: 50px;
  /* matches height of circle for vertical alignment */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.journey-divider::before {
  content: '';
  position: absolute;
  left: -10px;
  right: -10px;
  height: 2px;
  background-color: var(--accent-gold);
  z-index: 1;
}

.divider-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  z-index: 2;
}

.journey-heading-small {
  font-size: 2rem;
  margin-top: 4px;
}

.journey-subtitle-small {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- CAMPUS GALLERY EXPERIENCE --- */
.gallery-collage {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.collage-left,
.collage-center,
.collage-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.collage-left .gallery-tile {
  flex-grow: 1;
  aspect-ratio: auto;
  height: 100%;
}

.collage-center .gallery-tile,
.collage-right .gallery-tile {
  aspect-ratio: 4/3;
}

.gallery-tile {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  cursor: pointer;
  background: var(--secondary-dark);
}

/* Fallback classroom cropping gradient setups since other images are deleted */
.gallery-tile.tile-1 {
  background: linear-gradient(rgba(14, 31, 61, 0.65), rgba(14, 31, 61, 0.75)), url('assets/images/hero-classroom.png') 10% center/cover;
}

.gallery-tile.tile-2 {
  background: linear-gradient(rgba(14, 31, 61, 0.65), rgba(14, 31, 61, 0.75)), url('assets/images/hero-classroom.png') 35% center/cover;
}

.gallery-tile.tile-3 {
  background: linear-gradient(rgba(14, 31, 61, 0.65), rgba(14, 31, 61, 0.75)), url('assets/images/hero-classroom.png') 60% center/cover;
}

.gallery-tile.tile-4 {
  background: linear-gradient(rgba(14, 31, 61, 0.65), rgba(14, 31, 61, 0.75)), url('assets/images/hero-classroom.png') 85% center/cover;
}

.gallery-tile.tile-5 {
  background: linear-gradient(rgba(14, 31, 61, 0.65), rgba(14, 31, 61, 0.75)), url('assets/images/hero-classroom.png') 98% center/cover;
}

.gallery-tile-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(14, 31, 61, 0.9) 0%, transparent 60%);
  transition: var(--transition-smooth);
}

.gallery-tile-overlay span {
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  transform: translateY(8px);
  transition: var(--transition-smooth);
}

.gallery-tile:hover .gallery-tile-overlay {
  background: linear-gradient(to top, rgba(212, 164, 60, 0.95) 0%, transparent 60%);
}

.gallery-tile:hover .gallery-tile-overlay span {
  transform: translateY(0);
  color: var(--primary-dark);
}

/* --- OUR IMPACT STATS BAR --- */
.impact-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.impact-stat-box {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 35px 30px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

.impact-stat-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
  border-color: rgba(212, 164, 60, 0.2);
}

.impact-stat-box i {
  font-size: 2.25rem;
  color: var(--accent-gold);
  margin-bottom: 16px;
  display: block;
}

.impact-stat-box b {
  font-family: var(--font-ui);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  line-height: 1.1;
  margin-bottom: 4px;
}

.impact-stat-box p {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Recruiters logos */
.recruiters-bar {
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
  text-align: center;
}

.recruiters-bar h3 {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.recruiters-logos-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.recruiter-logo {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light);
  opacity: 0.55;
  cursor: default;
  transition: var(--transition-smooth);
}

.recruiter-logo:hover {
  opacity: 1;
  color: var(--primary-dark);
}

/* --- STUDENT SUCCESS STORIES (ACHIEVERS CARD GRID) --- */
.stories-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.stories-header h2 {
  font-size: 2rem;
  margin-top: 4px;
}

.achievers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.achiever-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.achiever-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
  border-color: rgba(212, 164, 60, 0.2);
}

.video-thumbnail-wrap {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: var(--primary-dark);
}

.thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.play-btn-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.achiever-card:hover .play-btn-circle {
  background-color: var(--accent-gold);
  color: var(--white);
  transform: translate(-50%, -50%) scale(1.1);
}

.achiever-quote p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
}

.achiever-profile {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--bg-light-alt);
}

.achiever-profile .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-light-alt);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.achiever-profile h4 {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.achiever-profile small {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-light);
}

/* --- NEWS & EVENTS SECTION --- */
.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.news-header h2 {
  font-size: 2rem;
  margin-top: 4px;
}

.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-vertical-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.news-vertical-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
  border-color: rgba(212, 164, 60, 0.2);
}

.news-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-vertical-card:hover .news-img {
  transform: scale(1.05);
}

.news-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--white);
}

.news-tag.news {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
}

.news-tag.event {
  background-color: #0369A1;
}

.news-body {
  padding: 20px;
}

.news-date-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-light);
  display: block;
  margin-bottom: 8px;
}

.news-body h4 {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-body p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- DOUBLE CTA GRID SECTION --- */
.cta-dual-section {
  padding: 40px 0;
}

.cta-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cta-card {
  border-radius: 12px;
  padding: 24px 30px;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition-smooth);
}

.cta-card.navy {
  background-color: var(--primary-dark);
  color: var(--white);
}

.cta-card.brochure-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--white);
}

.cta-icon-box {
  width: 56px;
  height: 56px;
  border: 2px solid var(--accent-gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-icon-box i {
  color: var(--accent-gold);
  font-size: 1.6rem;
}

.cta-img-box {
  width: 65px;
  height: 75px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.cta-mockup-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: rotate(-5deg);
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.15));
}

.cta-content-middle {
  flex-grow: 1;
}

.cta-card.navy .cta-content-middle h3 {
  font-family: var(--font-ui);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.cta-card.brochure-card .cta-content-middle h3 {
  font-family: var(--font-ui);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.cta-card.navy .cta-content-middle p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.4;
}

.cta-card.brochure-card .cta-content-middle p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.gold-btn-arrow {
  background-color: var(--card-bg);
  border: 2px solid var(--accent-gold);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.gold-btn-arrow:hover {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.outline-btn-arrow {
  background-color: transparent;
  border: 2px solid var(--accent-gold);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.outline-btn-arrow:hover {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}



/* --- FOOTER --- */
footer {
  background-color: var(--card-bg);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
  font-family: var(--font-ui);
}

.foot {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.6fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-about .brand {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-about p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition-smooth);
}

.footer-socials a:hover {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.footer-links h4,
.footer-faq h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-links h4::after,
.footer-faq h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--accent-gold);
}

.footer-links a {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 0.85rem;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.footer-contact i {
  color: var(--accent-gold);
  margin-top: 3px;
}

/* Accordion styled FAQS column */
.footer-faq-accordion {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-faq-item {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.footer-faq-item.active {
  border-color: var(--accent-gold);
}

.footer-faq-header {
  width: 100%;
  background: none;
  border: none;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
}

.footer-faq-header i {
  font-size: 0.7rem;
  transition: var(--transition-smooth);
  color: rgba(255, 255, 255, 0.5);
}

.footer-faq-item.active .footer-faq-header i {
  transform: rotate(45deg);
  color: var(--accent-gold);
}

.footer-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.footer-faq-content p {
  padding: 0 14px 10px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 15px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.copyright-policies {
  cursor: pointer;
}

.copyright-policies:hover {
  color: var(--white);
}

/* --- WHATSAPP WIDGET --- */
.whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #25D366;
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  z-index: 100;
  transition: var(--transition-smooth);
}

.whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.email-float {
  position: fixed;
  bottom: 86px;
  /* Positioned above the WhatsApp button */
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(212, 164, 60, 0.3);
  z-index: 100;
  transition: var(--transition-smooth);
}

.email-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(212, 164, 60, 0.4);
}



/* --- PAGE PRELOADER --- */
/* Simple course list (non-card) */
.courses-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.course-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.course-thumb {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.course-body h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.course-body p {
  margin: 0;
  color: var(--secondary-dark);
  line-height: 1.6;
}


.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader.fade-out {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}

.preloader-spinner {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid rgba(229, 169, 59, 0.1);
  border-top: 3px solid var(--accent-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner-logo {
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* --- STAGGERED HORIZONTAL COURSE CARDS --- */
.page-courses-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.course-item {
  display: flex;
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  border: 1px solid rgba(212, 164, 60, 0.3);
  align-items: center;
  min-height: 240px;
}

.course-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
  border-color: var(--accent-gold);
}

.course-item:nth-child(even) {
  flex-direction: row-reverse;
}

.course-thumb-wrap {
  flex: 0 0 35%;
  /* Reduced from 45% */
  height: 100%;
  min-height: 240px;
  position: relative;
  overflow: hidden;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-thumb-wrap img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.course-item:hover .course-thumb-wrap img {
  transform: scale(1.08);
}

.course-body {
  flex: 0 0 65%;
  /* Increased from 55% */
  padding: 40px;
  /* Reduced padding slightly */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.course-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.course-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 164, 60, 0.1);
  color: var(--accent-gold);
  padding: 6px 14px;
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
}

.course-body h3 {
  font-size: 1.85rem;
  margin-bottom: 12px;
  color: var(--secondary-dark);
}

.course-body p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.course-action {
  margin-top: auto;
}

/* --- TAGEMBED WIDGET BUTTON STYLING --- */
.tb_see_more_btn {
  border: 2px solid var(--accent-gold) !important;
  color: var(--white) !important;
  padding: 13px 27px !important;
  border-radius: 6px !important;
  font-family: var(--font-ui) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  background: transparent !important;
  transition: var(--transition-smooth) !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.tb_see_more_btn:hover {
  background-color: var(--accent-gold) !important;
  color: var(--primary-dark) !important;
  border-color: var(--accent-gold) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--gold-shadow) !important;
}
/* Hide Course ID Tags */
.course-id-tag { display: none !important; }

