@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --brand-orange: #f3613b;
  --color-white: #ffffff;
  --color-dark: #333333;
  --color-gray: #cccccc;
  --overlay-gradient: linear-gradient(90deg, rgba(15,15,15,0.95) 0%, rgba(15,15,15,0.8) 50%, rgba(15,15,15,0.5) 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  min-height: 100vh;
  color: var(--color-white);
  background-color: #0d0d0d;
  overflow-x: hidden;
}

/* =========================================
   BACKGROUND IMAGE SLIDER INFRASTRUCTURE
   ========================================= */
.hero-slider-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-gradient);
  z-index: 1;
}

/* =========================================
   HEADER ARCHITECTURE (GLOBAL DEFAULTS)
   ========================================= */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 5%;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-brand-area {
  display: flex;
  align-items: center;
  gap: 25px;
}

.brand-logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-categories-trigger {
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-gray);
  transition: color 0.3s ease;
}

.header-categories-trigger:hover {
  color: var(--brand-orange);
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 24px;
}

.menu-item {
  position: relative;
  list-style: none;
}

.menu-item > a {
  color: var(--color-gray);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 15px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.menu-item > a:hover, 
.menu-item > a.active {
  color: var(--brand-orange);
}

.small-icon {
  font-size: 10px;
  opacity: 0.8;
}

/* Actions Header Cluster */
.header-actions-area {
  display: flex;
  align-items: center;
  gap: 18px;
}

.auth-text-link {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
}

.auth-text-link:hover {
  color: var(--brand-orange);
}

.divider {
  color: var(--color-white);
  opacity: 0.2;
}

.action-icon-btn {
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 18px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.action-icon-btn:hover {
  color: var(--brand-orange);
}

.call-to-action-btn {
  background-color: var(--brand-orange);
  color: var(--color-white);
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.call-to-action-btn:hover {
  background-color: #e04f2a;
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
}

.mobile-auth-links {
  display: none;
}

/* =========================================
   DESKTOP ONLY HOVER LAYER (SPECIFICITY LOCK)
   ========================================= */
@media (min-width: 1025px) {
  .dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    min-width: 230px;
    list-style: none;
    border-radius: 6px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 200;
    padding: 8px 0;
  }

  .has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
  }

  .has-dropdown:hover > .dropdown-content {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .dropdown-content li a {
    color: var(--color-dark);
    text-decoration: none;
    font-size: 14px;
    padding: 11px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .dropdown-content li:hover > a {
    background-color: var(--brand-orange);
    color: var(--color-white);
  }

  .sub-dropdown-content {
    position: absolute;
    top: 0;
    left: 100%;
    background-color: var(--color-white);
    min-width: 210px;
    list-style: none;
    border-radius: 6px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateX(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    padding: 8px 0;
  }

  .has-sub-dropdown::after {
    content: '';
    position: absolute;
    top: 0;
    right: -15px;
    width: 15px;
    height: 100%;
  }

  .has-sub-dropdown:hover > .sub-dropdown-content {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
}

/* =========================================
   HERO CANVAS WITH BOOTSTRAP STRUCTURE
   ========================================= */
.hero-section {
  position: relative;
  min-height: calc(100vh - 89px);
  padding: 40px 0;
}

.min-vh-custom {
  min-height: calc(100vh - 169px) !important;
}

.hero-text-container {
  width: 100%;
}

.hero-badge {
  background-color: var(--color-white);
  color: var(--brand-orange);
  display: inline-block;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero-heading {
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.25;
  margin-bottom: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.text-highlight {
  color: var(--brand-orange);
}

.hero-description {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--color-gray);
  line-height: 1.65;
  margin-bottom: 35px;
}

/* Search Box Framework */
.hero-search-wrapper {
  display: flex;
  background: var(--color-white);
  border-radius: 8px;
  padding: 7px;
  margin-bottom: 40px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  width: 100%;
}

.search-category-select {
  border-right: 1px solid #eaeaea;
  display: flex;
  align-items: center;
}

.search-category-select select {
  border: none;
  outline: none;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark);
  background: transparent;
  cursor: pointer;
  height: 45px;
}

.search-input-field {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.search-input-field input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--color-dark);
}

.search-submit-btn {
  background-color: var(--brand-orange);
  color: var(--color-white);
  border: none;
  padding: 0 35px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s;
  height: 48px;
}

.search-submit-btn:hover {
  background-color: #e04f2a;
}

/* Trust Proof Module */
.social-proof-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.student-avatars {
  display: flex;
}

.student-avatars img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid #141414;
  margin-left: -14px;
  object-fit: cover;
}

.student-avatars img:first-child {
  margin-left: 0;
}

.proof-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.proof-main-text {
  font-weight: 600;
  font-size: 15px;
}

.proof-sub-text {
  font-size: 12px;
  color: #a5a5a5;
}

/* Layout Controls Pagination */
.slider-pagination-dots {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 5;
}

.nav-dot {
  width: 9px;
  height: 9px;
  background: var(--color-white);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.4;
  transition: all 0.3s ease;
}

.nav-dot.active, .nav-dot:hover {
  opacity: 1;
  background: var(--brand-orange);
  transform: scale(1.3);
}

.slider-navigation-arrows {
  position: absolute;
  bottom: 40px;
  right: 5%;
  display: flex;
  gap: 12px;
  z-index: 5;
}

.nav-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.nav-arrow:hover {
  background: var(--brand-orange);
  color: var(--color-white);
  border-color: var(--brand-orange);
}

/* =========================================
   MEDIA QUERY BREAKPOINT (TABLET/RESPONSIVE DISPLAY)
   ========================================= */
@media (max-width: 1024px) {
  .main-navigation {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #141414;
    padding: 10px 5% 30px 5%;
    gap: 0;
    box-shadow: 0 20px 30px rgba(0,0,0,0.5);
    max-height: calc(100vh - 89px);
    overflow-y: auto;
    border-top: 1px solid rgba(255,255,255,0.05);
  }

  .main-navigation.is-mobile-active {
    display: flex;
  }

  .header-actions-area .auth-text-link, 
  .header-brand-area .header-categories-trigger, 
  .divider {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 22px;
    cursor: pointer;
    order: 3;
  }

  .menu-item {
    width: 100%;
  }

  .menu-item > a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    justify-content: space-between;
    width: 100%;
    font-size: 16px;
  }

  .dropdown-arrow-desktop {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
  }

  .menu-item.is-open > a .dropdown-arrow-desktop {
    transform: rotate(180deg);
  }

  .dropdown-content, 
  .sub-dropdown-content {
    display: none;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.02);
    box-shadow: none;
    padding: 0 0 0 15px;
    margin: 0;
    border-radius: 0;
  }

  .dropdown-content.is-open, 
  .sub-dropdown-content.is-open {
    display: block;
  }

  .dropdown-content li a, 
  .sub-dropdown-content li a {
    color: #b5b5b5;
    text-decoration: none;
    padding: 14px 0;
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
  }

  .dropdown-content li:last-child > a,
  .sub-dropdown-content li:last-child > a {
    border-bottom: none;
  }

  .mobile-auth-links {
    display: block;
    padding: 25px 0 10px 0;
    text-align: center;
    font-size: 16px;
    color: rgba(255,255,255,0.3);
  }

  .mobile-auth-links a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    margin: 0 10px;
  }

  .hero-section {
    padding: 80px 0 100px 0;
  }
}

/* =========================================
   MEDIA QUERY BREAKPOINT (PHONES & SMARTPHONES)
   ========================================= */
@media (max-width: 768px) {
  body {
    overflow-y: auto;
  }

  .site-header {
    padding: 18px 5%;
  }

  .header-actions-area .call-to-action-btn,
  .header-actions-area .action-icon-btn {
    display: none;
  }

  .hero-section {
    padding: 50px 0 60px 0;
  }

  .hero-search-wrapper {
    flex-direction: column;
    background: transparent;
    box-shadow: none;
    padding: 0;
    gap: 12px;
  }

  .search-category-select, 
  .search-input-field {
    background: var(--color-white);
    border-radius: 8px;
    width: 100%;
    border-right: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  }

  .search-category-select select {
    width: 100%;
    padding: 0 15px;
  }

  .search-input-field input {
    padding: 15px 0;
  }

  .search-submit-btn {
    width: 100%;
    height: 52px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(243, 97, 59, 0.3);
  }

  .slider-pagination-dots, 
  .slider-navigation-arrows {
    display: none;
  }
}