/* ==========================================================================
   Fortune Academy – Premium Unified Design System & Styles
   Vibrant HSL Palette | Glassmorphism | Responsive Mobile-First
   ========================================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ---------- Design Tokens (CSS Variables) ---------- */
:root {
  /* HSL Tailored Colors */
  --primary-hue: 265;
  --secondary-hue: 172;
  --dark-hue: 255;

  /* Brand Palette */
  --purple: hsl(var(--primary-hue), 90%, 38%);        /* #7209B7 - Deep Orchid Purple */
  --purple-light: hsl(var(--primary-hue), 80%, 96%);
  --purple-glow: hsla(var(--primary-hue), 90%, 38%, 0.15);
  
  --teal: hsl(var(--secondary-hue), 100%, 48%);        /* #00F5D4 - Electric Cyan/Teal */
  --teal-dark: hsl(var(--secondary-hue), 100%, 35%);
  --teal-glow: hsla(var(--secondary-hue), 100%, 48%, 0.15);

  --dark: hsl(var(--dark-hue), 70%, 5%);              /* #05020c - Rich Deep Indigo */
  --dark-soft: hsl(var(--dark-hue), 45%, 12%);         /* #161128 - Deep Indigo Soft */
  --dark-indigo: #161128;                              /* Fallback alias for dark soft */
  --dark-muted: hsl(var(--dark-hue), 30%, 18%);        /* #221a36 */

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f9f9fb;
  --gray-100: #f3f3f7;
  --gray-200: #e8e8f0;
  --gray-300: #d0d0e1;
  --gray-500: #8888a5;
  --gray-700: #484860;
  --gray-900: #1b1b26;

  /* Accent Highlight */
  --pink: #f72585;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Shadow Systems */
  --shadow-sm: 0 4px 12px rgba(5, 2, 12, 0.03);
  --shadow-md: 0 8px 24px rgba(5, 2, 12, 0.06);
  --shadow-lg: 0 16px 48px rgba(5, 2, 12, 0.1);
  --shadow-purple: 0 10px 30px hsla(var(--primary-hue), 90%, 38%, 0.2);
  --shadow-teal: 0 10px 30px hsla(var(--secondary-hue), 100%, 48%, 0.25);

  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Base & Reset ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- Utility Classes ---------- */
.section-padding {
  padding: clamp(60px, 10vw, 120px) 0;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--gray-500);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  max-width: 600px;
  margin: 0.5rem auto 3rem;
  font-weight: 500;
}

.bg-dark-revamp {
  background: var(--dark);
  color: var(--white);
}

.gradient-text {
  background: linear-gradient(135deg, var(--teal) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-teal-revamp {
  color: var(--teal) !important;
}

.bg-teal {
  background-color: var(--teal) !important;
}

/* ---------- Buttons ---------- */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--purple) 0%, hsl(var(--primary-hue), 90%, 28%) 100%);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-purple);
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px hsla(var(--primary-hue), 90%, 38%, 0.35);
  color: var(--white);
}

.btn-secondary-custom {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.25);
  padding: 12px 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-secondary-custom:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--gray-300);
  padding: 12px 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline-dark:hover {
  background: var(--gray-100);
  border-color: var(--dark);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-teal {
  background: var(--teal);
  color: var(--dark);
  border: none;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-teal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-teal:hover {
  background: var(--white);
  color: var(--dark);
  box-shadow: 0 14px 35px hsla(var(--secondary-hue), 100%, 48%, 0.45);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background: #1eb855;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
}

/* ---------- Navbar & Header ---------- */
.navbar-custom {
  background: transparent;
  padding: 1.25rem 0;
  transition: var(--transition);
  z-index: 1050;
}

.navbar-custom.scrolled {
  background: var(--dark-soft);
  padding: 0.75rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

@media (max-width: 991px) {
  .navbar-custom .navbar-collapse {
    background: var(--dark-soft);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.navbar-custom .navbar-brand img {
  height: 65px;
  border-radius: 8px;
  transition: var(--transition);
}

.navbar-custom.scrolled .navbar-brand img {
  height: 52px;
}

.navbar-custom .nav-link {
  color: var(--gray-300) !important;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 1.1rem !important;
  border-bottom: 2.5px solid transparent;
  transition: all 0.25s ease;
}

.navbar-custom .nav-link:hover {
  color: var(--teal) !important;
  border-bottom-color: rgba(0, 245, 212, 0.5) !important;
}

.navbar-custom .nav-link.active {
  color: var(--teal) !important;
  border-bottom-color: var(--teal) !important;
  font-weight: 700;
}

.navbar-btn {
  margin-left: 1rem;
}

.btn-nav-login {
  background: transparent;
  color: var(--white) !important;
  border: 2px solid var(--teal);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-nav-login:hover {
  background: var(--teal);
  color: var(--dark) !important;
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}

.btn-nav-login i {
  transition: transform 0.3s ease;
  font-size: 0.95rem;
}

.btn-nav-login:hover i {
  transform: translateX(3px);
}

.navbar-toggler {
  border: none !important;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ---------- Hero Section ---------- */
.hero-section {
  background: linear-gradient(135deg, rgba(5, 2, 12, 0.65) 0%, rgba(22, 17, 40, 0.55) 100%), url('../images/global_talent_hero.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}

/* Ambient glow orbs */
.hero-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 9, 183, 0.25) 0%, transparent 70%);
  top: -10%;
  left: -10%;
  z-index: 1;
  pointer-events: none;
  animation: floatOrb 15s infinite alternate;
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 245, 212, 0.18) 0%, transparent 70%);
  bottom: -10%;
  right: -10%;
  z-index: 1;
  pointer-events: none;
  animation: floatOrb 20s infinite alternate-reverse;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -40px) scale(1.15); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 0;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content h1 span.teal-highlight {
  color: var(--teal);
  position: relative;
  display: inline-block;
}

.hero-content h1 span.teal-highlight::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(0, 245, 212, 0.2);
  z-index: -1;
}

.hero-content p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--gray-300);
  max-width: 650px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 3.5rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 0.1rem;
}

.hero-stat p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Auth Section (Login/Signup) ---------- */
.auth-section {
  background: linear-gradient(135deg, rgba(5, 2, 12, 0.65) 0%, rgba(22, 17, 40, 0.55) 100%), url('../images/global_talent_hero.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 140px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-bottom: 100px;
  overflow: hidden;
}

/* Auth section glowing orbs */
.auth-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 9, 183, 0.25) 0%, transparent 70%);
  top: -10%;
  left: -10%;
  z-index: 1;
  pointer-events: none;
  animation: floatOrb 15s infinite alternate;
}

.auth-section::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 245, 212, 0.18) 0%, transparent 70%);
  bottom: -10%;
  right: -10%;
  z-index: 1;
  pointer-events: none;
  animation: floatOrb 20s infinite alternate-reverse;
}

.auth-section .container {
  position: relative;
  z-index: 2;
}

/* ---------- Premium About Cards ---------- */
.premium-about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
}

.premium-about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(114, 9, 183, 0.2);
}

.premium-card-img {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 380px;
}

.premium-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.premium-about-card:hover .premium-card-img img {
  transform: scale(1.06);
}

.premium-card-body {
  padding: clamp(2rem, 6vw, 3.5rem);
}

.premium-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--purple);
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.premium-h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.premium-accent-line {
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--purple));
  margin-bottom: 1.5rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.premium-about-card:hover .premium-accent-line {
  width: 90px;
}

.premium-p {
  color: var(--gray-700);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.joan-bio-full {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.joan-bio-full.show {
  max-height: 800px;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--gray-200);
}

.btn-view-more {
  background: none;
  border: none;
  color: var(--purple);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.75rem;
}

.btn-view-more:hover {
  color: var(--teal-dark);
}

/* ---------- Mission / Vision / Philosophy ---------- */
.mvp-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.mvp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gray-200);
  transition: var(--transition);
}

.mvp-card.mission::before { background: var(--teal); }
.mvp-card.vision::before { background: var(--purple); }
.mvp-card.philosophy::before { background: var(--pink); }

.mvp-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.mvp-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.mission .mvp-icon { background: var(--teal-glow); color: var(--teal-dark); }
.vision .mvp-icon { background: var(--purple-glow); color: var(--purple); }
.philosophy .mvp-icon { background: hsla(336, 93%, 55%, 0.1); color: var(--pink); }

.mvp-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.mvp-card p {
  font-size: 0.92rem;
  color: var(--gray-700);
  margin: 0;
  line-height: 1.7;
}

/* ---------- Tab Navigation ---------- */
.custom-tabs {
  gap: 12px;
  border-bottom: none !important;
}

.custom-tabs .nav-link {
  color: var(--gray-700);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
}

.custom-tabs .nav-link:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.custom-tabs .nav-link.active {
  background: var(--purple);
  color: var(--white) !important;
  border-color: var(--purple);
  box-shadow: var(--shadow-purple);
}

/* ---------- Course & Service Cards ---------- */
.course-card, .service-card-v2 {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
  position: relative;
}

.course-card {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple) 0%, var(--teal) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.course-card:hover::before {
  opacity: 1;
}

.course-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray-100);
}

.course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.course-card:hover .course-media img {
  transform: scale(1.06);
}

.course-content {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-content h4 {
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--dark);
  margin-bottom: 0.5rem;
  white-space: normal;
  transition: color 0.3s ease;
}

.course-trust-block {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.rating-stars-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.rating-stars-group .rating-value,
.course-trust-block .rating-value {
  font-weight: 700;
  color: var(--dark);
}

.stars, 
.rating-stars,
.rating-stars-group .stars,
.course-trust-block .stars {
  color: #ffc107 !important;
  text-shadow: 0 0 2px rgba(255, 193, 7, 0.25);
}

.course-trust-block .student-count {
  color: var(--gray-500);
  font-weight: 500;
}


.course-card:hover, .service-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: hsla(var(--primary-hue), 90%, 38%, 0.25);
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--purple);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 12px rgba(5, 2, 12, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.4);
  z-index: 2;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card:hover .card-badge {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(114, 9, 183, 0.25);
  border-color: var(--purple);
}

.card-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.course-card .card-icon-box { background: var(--purple-glow); color: var(--purple); }
.service-card-v2 .card-icon-box { background: var(--teal-glow); color: var(--teal-dark); }

.course-card h4, .service-card-v2 h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.35;
  color: var(--dark);
}

.course-card p, .service-card-v2 .card-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* Service Card Enhancements matching Screenshot */
.service-card-v2 .service-number {
  position: absolute;
  top: 1.25rem;
  right: 1.75rem;
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(114, 9, 183, 0.05);
  font-family: var(--font-heading);
  line-height: 1;
  user-select: none;
}

.service-card-v2:hover .service-number {
  color: rgba(114, 9, 183, 0.09);
  transition: var(--transition);
}

.service-bullets {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-bullets li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--dark);
  margin-bottom: 0.85rem;
  line-height: 1.5;
  font-weight: 600;
}

.service-bullets li::before {
  content: '•';
  color: #0ea5e9; /* custom blue/teal color from screenshot */
  font-size: 1.8rem;
  position: absolute;
  left: 0;
  top: -8px;
}

.service-quote {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-top: auto;
  margin-bottom: 1.5rem;
  border-top: 1px dashed var(--gray-200);
  padding-top: 1.25rem;
}

/* ---------- Service Card Creative Styles ---------- */
.service-card-creative {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.service-card-creative::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--teal);
  transition: all 0.4s ease;
}

/* Glowing background effect on hover */
.service-card-creative::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 245, 212, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card-creative:hover::after {
  opacity: 1;
}

.service-card-creative h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white) !important;
  margin-top: 0.25rem;
  margin-bottom: 0.85rem;
  line-height: 1.4;
  letter-spacing: -0.3px;
  transition: color 0.3s ease;
}

.service-card-creative:hover h4 {
  color: var(--teal) !important;
}

.service-card-creative .card-desc {
  font-size: 0.9rem;
  color: var(--gray-300);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  font-weight: 400;
}

.service-card-creative:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 245, 212, 0.4);
  box-shadow: 0 20px 40px rgba(0, 245, 212, 0.15), 0 4px 10px rgba(114, 9, 183, 0.1);
}

.service-card-creative:hover::before {
  height: 5px;
  background: var(--purple);
}

/* Subtle accent category line inside the card */
.service-card-creative .card-accent-bar {
  width: 30px;
  height: 2.5px;
  background: var(--teal);
  margin-bottom: 1.25rem;
  border-radius: var(--radius-full);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card-creative:hover .card-accent-bar {
  width: 60px;
  background: var(--purple);
}

/* Creative Card Icon Styles */
.service-card-creative .card-icon {
  font-size: 1.6rem;
  color: var(--teal);
  margin-bottom: 0.85rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-card-creative:hover .card-icon {
  color: var(--purple);
  transform: translateY(-2px) scale(1.05);
}

.card-meta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: 0.88rem;
  color: var(--gray-700);
  font-weight: 500;
}

.card-meta-list li {
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-meta-list li i {
  color: var(--purple);
  width: 14px;
}

.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--gray-200);
}

.card-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--purple);
  font-family: var(--font-heading);
}

.card-price-original {
  font-size: 0.9rem;
  color: var(--gray-500);
  text-decoration: line-through;
  margin-left: 4px;
}

.course-card .card-buttons {
  display: flex !important;
  gap: 8px !important;
  margin-top: 0.5rem;
  align-items: center;
}

/* Style the shopping cart button on course catalog cards to be a perfect circle */
.course-card .card-buttons button.btn-preview {
  width: 42px;
  height: 42px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  flex-shrink: 0;
}

.course-card .btn-preview {
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-300);
  transition: all 0.3s ease;
}

.course-card .btn-preview:hover {
  background: var(--gray-50);
  border-color: var(--purple);
  color: var(--purple);
}

.course-card .btn-enroll {
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--purple) 0%, hsl(var(--primary-hue), 90%, 28%) 100%);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 14px rgba(114, 9, 183, 0.25);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.course-card .btn-enroll:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(114, 9, 183, 0.4);
  color: var(--white);
}

/* ---------- Course Catalog Grid & Filters ---------- */
.catalog-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
}

@media (max-width: 991px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}

.filter-sidebar {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.filter-group {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-700);
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.filter-checkbox-label input {
  accent-color: var(--purple);
  width: 16px;
  height: 16px;
}

/* ---------- Course Detail Layout ---------- */
.course-detail-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
  color: var(--white);
  padding: 120px 0 60px;
  position: relative;
}

.course-detail-hero-content {
  max-width: 800px;
}

.course-detail-hero .badge-category {
  background: var(--purple);
  color: var(--white);
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.course-detail-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.course-detail-hero .hero-desc {
  font-size: 1.1rem;
  color: var(--gray-300);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.course-detail-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--gray-500);
}

.course-detail-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-detail-meta span i {
  color: var(--teal);
}

.course-main-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  margin-top: 40px;
}

@media (max-width: 991px) {
  .course-main-layout {
    grid-template-columns: 1fr;
  }
}

.course-sidebar-sticky {
  position: sticky;
  top: 100px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 2rem;
  z-index: 10;
}

.sidebar-price-section {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.sidebar-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  font-family: var(--font-heading);
}

.sidebar-original-price {
  font-size: 1.2rem;
  text-decoration: line-through;
  color: var(--gray-500);
}

.sidebar-features-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  border-top: 1px solid var(--gray-200);
  padding-top: 1.5rem;
}

.sidebar-features-list li {
  font-size: 0.92rem;
  color: var(--gray-700);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.sidebar-features-list li i {
  color: var(--teal-dark);
  font-size: 1rem;
}

/* Outcomes and Accordion Curriculum */
.detail-section-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  margin-bottom: 30px;
}

.outcomes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

@media (min-width: 768px) {
  .outcomes-list {
    grid-template-columns: 1fr 1fr;
  }
}

.outcomes-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.outcomes-list li::before {
  content: '\f058';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--teal-dark);
  font-size: 1.1rem;
}

.curriculum-accordion .accordion-item {
  border: 1px solid var(--gray-200);
  margin-bottom: 10px;
  border-radius: var(--radius-sm) !important;
  overflow: hidden;
}

.curriculum-accordion .accordion-button {
  background: var(--gray-50);
  color: var(--dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 1.25rem 1.5rem;
}

.curriculum-accordion .accordion-button:not(.collapsed) {
  background: var(--purple-light);
  color: var(--purple);
  box-shadow: none;
}

.curriculum-accordion .accordion-button::after {
  accent-color: var(--purple);
}

.curriculum-lesson-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.92rem;
}

.curriculum-lesson-item:last-child {
  border-bottom: none;
}

.lesson-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--gray-900);
}

.lesson-left i {
  color: var(--gray-500);
}

.lesson-right {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--gray-500);
}

.btn-preview-lesson {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-dark);
  background: var(--teal-glow);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-preview-lesson:hover {
  background: var(--teal);
  color: var(--dark);
}

/* Reviews and Ratings */
.rating-summary-box {
  display: flex;
  gap: 30px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 2rem;
  margin-bottom: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.rating-big-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--dark);
  font-family: var(--font-heading);
  line-height: 1;
  text-align: center;
}

.rating-stars {
  color: #ffb100;
  font-size: 1.1rem;
}

.review-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.review-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  align-items: center;
}

.review-author {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
}

.review-comment {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* ---------- Checkout Page Styles ---------- */
.checkout-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  color: var(--gray-900);
}

.payment-method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 15px;
  margin-top: 1rem;
}

.payment-radio-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.payment-radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-radio-card i {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--gray-500);
}

.payment-radio-card span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-700);
}

.payment-radio-card:hover {
  border-color: var(--purple-glow);
}

.payment-radio-card input:checked + .radio-content-wrapper {
  color: var(--purple);
}

.payment-radio-card.active {
  border-color: var(--purple);
  background: var(--purple-light);
}

.payment-radio-card.active i {
  color: var(--purple);
}

/* ---------- Order Confirmation ---------- */
.confirmation-card {
  text-align: center;
  max-width: 600px;
  margin: 40px auto;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.success-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--teal-glow);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1.5rem;
  animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleUp {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.receipt-table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
}

.receipt-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.92rem;
}

.receipt-table tr:last-child td {
  border-bottom: none;
}

/* ---------- Student Portal Layout ---------- */
.portal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 80px);
}

@media (max-width: 991px) {
  .portal-layout {
    grid-template-columns: 1fr;
  }
}

.portal-sidebar {
  background: var(--dark-soft);
  color: var(--white);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.portal-sidebar .nav-link {
  color: var(--gray-300);
  font-weight: 500;
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.portal-sidebar .nav-link:hover,
.portal-sidebar .nav-link.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--teal);
}

.portal-main-content {
  background: var(--gray-50);
  padding: 2.5rem;
}

.portal-course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 15px;
}

.workspace-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
}

@media (max-width: 1200px) {
  .workspace-grid {
    grid-template-columns: 1fr;
  }
}

.video-player-container {
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-player-container iframe,
.video-player-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.playlist-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  height: fit-content;
}

.playlist-header {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-100);
}

.playlist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  border: 1px solid transparent;
  margin-bottom: 6px;
}

.playlist-item:hover {
  background: var(--gray-50);
  color: var(--purple);
}

.playlist-item.active {
  background: var(--purple-light);
  border-color: rgba(114, 9, 183, 0.15);
  color: var(--purple);
}

.playlist-item i {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.playlist-item.active i {
  color: var(--purple);
}

/* ---------- Testimonials Stacked Cards (Selar Style) ---------- */
.testimonials-section {
  background: linear-gradient(135deg, var(--dark) 0%, hsl(var(--dark-hue), 50%, 8%) 100%);
  color: var(--white);
  overflow: hidden;
}

.stacked-testimonials-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 0;
}

.testimonial-stack-wrapper {
  position: relative;
  width: 100%;
  max-width: 680px;
  height: 320px;
}

.testimonial-stack-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 4vw, 3rem);
  color: var(--gray-900);
  border: 1px solid var(--gray-200);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.45s cubic-bezier(0.25, 1, 0.5, 1), z-index 0.45s;
  will-change: transform, opacity;
  transform-origin: bottom center;
  text-align: left;
}

.quote-icon {
  color: var(--purple);
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 0.75rem;
  opacity: 0.4; /* Increased from 0.15 for better visibility and premium feel */
  transition: var(--transition);
}

/* Premium transition for smooth fade of elements when shifting stack cards */
.testimonial-stack-card * {
  transition: opacity 0.45s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.45s;
}

/* Hide all text/icon elements of inactive stacked cards to prevent overlapping/bleed-through */
.testimonial-stack-card:not(.active) * {
  opacity: 0 !important;
  visibility: hidden !important;
}


.testimonial-text {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  line-height: 1.65;
  color: var(--gray-800);
  font-weight: 500;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.student-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.15rem;
  font-family: var(--font-heading);
}

.student-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonial-stack-card.fly-out {
  transform: translate3d(105%, -15px, 0) rotate(8deg) !important;
  z-index: 10 !important;
  opacity: 0.95 !important;
}

.testimonial-stack-card.fly-out-left {
  transform: translate3d(-105%, -15px, 0) rotate(-8deg) !important;
  z-index: 10 !important;
  opacity: 0.95 !important;
}

.stack-nav-btn {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.25);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  flex-shrink: 0;
}

.stack-nav-btn:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
  transform: scale(1.08);
}

.testimonial-stack-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.testimonial-stack-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-stack-dots .dot:hover,
.testimonial-stack-dots .dot.active {
  background: var(--teal);
  transform: scale(1.25);
}

@media (max-width: 767px) {
  .stacked-testimonials-container {
    gap: 12px;
  }
  .stack-nav-btn {
    width: 44px;
    height: 44px;
    font-size: 0.95rem;
  }
  .testimonial-stack-wrapper {
    height: 380px;
  }
}

/* ---------- FAQ Accordion ---------- */
.faq-accordion .accordion-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md) !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--gray-50);
  color: var(--purple);
  box-shadow: none;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  height: 55px;
  border-radius: 8px;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.footer h5 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links li a {
  font-size: 0.88rem;
  color: var(--gray-500);
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--teal);
  padding-left: 4px;
}

.social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--teal);
  color: var(--dark);
  transform: translateY(-2px);
}

/* Blog Share Icons */
.blog-share-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-share-icons a {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-sm);
  background: var(--purple);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid var(--purple);
}

.blog-share-icons a:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 245, 212, 0.3);
}

.blog-share-icons a:first-child:hover {
  background: #0A66C2;
  border-color: #0A66C2;
}

.blog-share-icons a:nth-child(2):hover {
  background: #25D366;
  border-color: #25D366;
}

.blog-share-icons a:nth-child(3):hover {
  background: #1877F2;
  border-color: #1877F2;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ---------- Floating WhatsApp Widget ---------- */
.whatsapp-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--white);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.whatsapp-widget:hover {
  transform: scale(1.1);
  color: var(--white);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.65);
}

/* ---------- Careers Page Styles ---------- */
.careers-hero {
  background: linear-gradient(135deg, var(--dark-soft) 0%, var(--dark) 100%);
  color: var(--white);
  padding: 120px 0 60px;
  text-align: center;
}

.careers-hero h1 {
  font-size: 2.5rem;
  color: var(--white);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.job-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--purple-glow);
}

.job-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.job-company, .job-location {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-company i, .job-location i {
  color: var(--purple);
}

.job-description {
  font-size: 0.9rem;
  color: var(--gray-700);
  margin: 1rem 0;
  line-height: 1.6;
}

/* ---------- Forms & Inputs ---------- */
.form-label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.form-control, .form-select {
  border: 2px solid var(--gray-200);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--gray-900);
  transition: var(--transition);
  background-color: var(--gray-50);
}

.form-control:focus, .form-select:focus {
  background-color: var(--white);
  border-color: var(--purple);
  box-shadow: 0 0 0 4px var(--purple-glow);
  outline: none;
}

/* ---------- Scroll Reveal animations ---------- */
.reveal {
  opacity: 1;
}

/* ---------- Admin Panel Basic Scaffolding ---------- */
.admin-sidebar {
  width: 260px;
  background: var(--dark);
  color: var(--white);
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 2rem 1.5rem;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 2rem;
}

.sidebar-brand img {
  height: 40px;
  border-radius: 6px;
}

.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-sidebar .nav-link {
  color: var(--gray-500);
  font-weight: 600;
  padding: 10px 15px;
  border-radius: var(--radius-sm);
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.admin-content {
  margin-left: 260px;
  padding: 3rem;
  min-height: 100vh;
  background: var(--gray-50);
}

@media (max-width: 991px) {
  .admin-sidebar {
    transform: translateX(-100%);
    transition: var(--transition);
  }
  .admin-sidebar.show {
    transform: translateX(0);
  }
  .admin-content {
    margin-left: 0;
    padding: 1.5rem;
  }
}

/* ==========================================================================
   Fortune Academy – Premium Careers Portal & Application Form Styles
   ========================================================================== */

/* Careers Hero */
.careers-hero-premium {
  position: relative;
  overflow: hidden;
  padding: 140px 0 100px;
  background: var(--dark-soft);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 25px 20px;
  text-align: center;
  transition: var(--transition);
}

.hero-stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 245, 212, 0.3);
  box-shadow: 0 10px 30px rgba(0, 245, 212, 0.05);
}

.hero-stat-card .stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--teal);
}

.hero-stat-card .stat-label {
  font-size: 0.82rem;
  color: var(--gray-300);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Philosophy Section */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 992px) {
  .philosophy-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.philosophy-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.philosophy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--purple);
  transition: var(--transition);
}

.philosophy-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
}

.philosophy-card:hover::before {
  height: 100%;
}

.philosophy-card .card-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 25px;
  background: var(--purple-glow);
  color: var(--purple);
  transition: var(--transition);
}

.philosophy-card:hover .card-icon-box {
  background: var(--purple);
  color: var(--white);
  transform: scale(1.05) rotate(5deg);
}

/* Recruitment Pipeline Roadmap */
.pipeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.pipeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  width: 3px;
  background: var(--purple-glow);
  border-radius: 999px;
}

@media (min-width: 768px) {
  .pipeline-container::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.pipeline-step {
  position: relative;
  margin-bottom: 60px;
}

.pipeline-step:last-child {
  margin-bottom: 0;
}

.pipeline-step-content {
  position: relative;
  margin-left: 70px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: var(--transition);
}

.pipeline-step-content:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
}

@media (min-width: 768px) {
  .pipeline-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
  .pipeline-step-content {
    margin-left: 0;
    grid-column: 1;
  }
  .pipeline-step:nth-child(even) .pipeline-step-content {
    grid-column: 2;
  }
}

.pipeline-badge-num {
  position: absolute;
  left: 15px;
  top: 15px;
  width: 32px;
  height: 32px;
  background: var(--purple);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: var(--shadow-purple);
  z-index: 2;
}

@media (min-width: 768px) {
  .pipeline-badge-num {
    left: 50%;
    transform: translateX(-50%);
    top: 25px;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
}

/* Job Directory Search & Filter */
.search-filter-panel {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 25px;
  margin-bottom: 40px;
}

.search-input-wrapper {
  position: relative;
}

.search-input-wrapper i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
  font-size: 1.1rem;
}

.search-input-wrapper .form-control {
  padding: 16px 20px 16px 50px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-300);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: none;
}

.search-input-wrapper .form-control:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px var(--purple-glow);
}

.filter-btn-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-category-btn {
  background: transparent;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
  cursor: pointer;
}

.filter-category-btn:hover {
  background: var(--gray-100);
  color: var(--dark);
}

.filter-category-btn.active {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

/* Interactive Modern Job Rows */
.modern-job-list {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.modern-job-row {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  background: var(--white);
}

.modern-job-row:last-child {
  border-bottom: none;
}

.modern-job-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--teal);
  transition: var(--transition);
}

.modern-job-row:hover {
  background: var(--gray-50);
  transform: scale(1.005);
  z-index: 3;
}

.modern-job-row:hover::before {
  width: 5px;
}

.job-row-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.badge-remote-pill {
  background: var(--purple-glow);
  color: var(--purple);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-tag-pill {
  background: var(--gray-100);
  color: var(--gray-700);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 4px;
}

.job-row-title {
  color: var(--dark);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
  transition: var(--transition);
}

.modern-job-row:hover .job-row-title {
  color: var(--purple);
}

.job-row-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  flex-wrap: wrap;
  gap: 15px;
}

.job-row-info-items {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--gray-500);
  font-size: 0.88rem;
  font-weight: 500;
}

.job-row-info-items span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.job-row-info-items i {
  color: var(--purple);
}

.btn-arrow-slide {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
}

.btn-arrow-slide::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--purple);
  transition: var(--transition);
}

.modern-job-row:hover .btn-arrow-slide::after {
  width: 100%;
}

.btn-arrow-slide i {
  transition: var(--transition);
}

.modern-job-row:hover .btn-arrow-slide i {
  transform: translateX(5px);
  color: var(--teal-dark);
}

/* Careers FAQ Accordion */
.faq-accordion-custom {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item-custom {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: 15px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item-custom:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-sm);
}

.faq-trigger-custom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
  cursor: pointer;
  outline: none;
}

.faq-trigger-custom i {
  transition: var(--transition);
  color: var(--purple);
}

.faq-item-custom.active {
  border-color: var(--purple-glow);
  box-shadow: var(--shadow-sm);
}

.faq-item-custom.active .faq-trigger-custom i {
  transform: rotate(180deg);
  color: var(--teal-dark);
}

.faq-content-custom {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-content-inner {
  padding: 0 25px 25px 25px;
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   Career Detail & Application Form Styles
   ========================================================================== */
.career-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 992px) {
  .career-detail-grid {
    grid-template-columns: 1.6fr 1fr;
    gap: 50px;
  }
}

.detail-content-wrapper {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.detail-section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 35px;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-100);
}

.detail-section-title:first-of-type {
  margin-top: 0;
}

.detail-bullet-list {
  list-style: none;
  padding-left: 0;
}

.detail-bullet-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.98rem;
  line-height: 1.6;
}

.detail-bullet-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--teal-dark);
  font-size: 0.88rem;
}

/* Sticky Application Sidebar Form */
.application-sidebar-card {
  background: var(--white);
  color: var(--gray-700);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 110px;
}

.application-sidebar-card h3 {
  color: var(--dark);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.form-group-custom {
  position: relative;
  margin-bottom: 24px;
}

.form-group-custom .form-label-custom {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray-700);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group-custom .form-control-custom {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group-custom .form-control-custom::placeholder {
  color: var(--gray-500);
}

.form-group-custom .form-control-custom:focus {
  background: var(--white);
  border-color: var(--purple);
  box-shadow: 0 0 0 4px var(--purple-glow);
  outline: none;
}

/* Custom File Upload Styling */
.custom-file-upload-container {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 25px 15px;
  text-align: center;
  background: var(--gray-50);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.custom-file-upload-container:hover {
  border-color: var(--purple);
  background: var(--purple-light);
}

.custom-file-upload-container input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-icon {
  font-size: 2rem;
  color: var(--purple);
  margin-bottom: 12px;
  transition: var(--transition);
}

.custom-file-upload-container:hover .file-upload-icon {
  transform: translateY(-3px);
}

.file-upload-text {
  font-size: 0.88rem;
  color: var(--gray-700);
  margin-bottom: 4px;
}

.file-upload-hint {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* AJAX Form Loading indicator */
.btn-submit-loading {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit-loading .spinner-svg {
  width: 20px;
  height: 20px;
  animation: spinner-rotate 1s linear infinite;
  display: none;
}

@keyframes spinner-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Animated AJAX feedback alerts */
.ajax-alert {
  padding: 15px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-weight: 500;
  display: none;
  animation: slideDownAlert 0.3s ease-out forwards;
}

.ajax-alert-success {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.2);
}

.ajax-alert-error {
  background: rgba(247, 37, 133, 0.1);
  color: var(--pink);
  border: 1px solid rgba(247, 37, 133, 0.2);
}

@keyframes slideDownAlert {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ---------- Multi-Step Wizard Styling ---------- */
.progress-bar-container {
  margin-bottom: 25px;
}

.progress-bar-track {
  width: 100%;
  height: 6px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-bar-fill {
  height: 100%;
  width: 16.7%; /* Will update dynamically */
  background: var(--purple);
  border-radius: var(--radius-full);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-text {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

.form-step-panel {
  display: none;
  animation: fadeSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.form-step-panel.active {
  display: block;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  gap: 15px;
}

.btn-step-back {
  background: transparent;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-step-back:hover {
  background: var(--gray-100);
  color: var(--dark);
  border-color: var(--gray-500);
}

.btn-step-next {
  background: var(--teal);
  color: var(--dark);
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-teal);
  margin-left: auto;
}

.btn-step-next:hover {
  background: var(--white);
  color: var(--dark);
  box-shadow: 0 8px 20px hsla(var(--secondary-hue), 100%, 48%, 0.3);
  border: 1px solid var(--gray-300);
}

.skip-step-link {
  font-size: 0.78rem;
  color: var(--purple);
  text-decoration: underline;
  cursor: pointer;
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
  transition: var(--transition);
}

.skip-step-link:hover {
  color: hsl(var(--primary-hue), 90%, 28%);
}

/* ---------- Auth Tab Toggle Switch ---------- */
.auth-toggle-container {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.auth-toggle-slide {
  position: relative;
  display: flex;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  padding: 4px;
  width: 100%;
  max-width: 280px;
  z-index: 1;
  border: 1px solid var(--gray-200);
}

.auth-toggle-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--gray-500);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 0;
  text-align: center;
  cursor: pointer;
  z-index: 3;
  transition: var(--transition);
}

.auth-toggle-btn:hover {
  color: var(--purple);
}

.auth-toggle-btn.active {
  color: var(--white) !important;
}

.auth-toggle-slider-bg {
  position: absolute;
  top: 4px;
  left: 4px;
  bottom: 4px;
  width: calc(50% - 4px);
  background: var(--purple);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(114, 9, 183, 0.25);
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Auth Panels Toggling */
.auth-form-panel {
  display: none;
  animation: fadeSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.auth-form-panel.active {
  display: block;
}

/* ---------- Social Authentication Styles ---------- */
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: var(--gray-500);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--gray-200);
}

.auth-divider:not(:empty)::before {
  margin-right: .5em;
}

.auth-divider:not(:empty)::after {
  margin-left: .5em;
}

.auth-social-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.btn-social {
  width: 100%;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-social-google {
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.btn-social-google:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-social-linkedin {
  background: #0077B5;
  color: var(--white);
  border: none;
}

.btn-social-linkedin:hover {
  background: #006297;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 119, 181, 0.25);
  color: var(--white);
}

/* ==========================================================================
   Phone Input with Country Code Selector
   ========================================================================== */
.phone-input-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: var(--transition);
}

.phone-input-container:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px var(--purple-glow);
}

/* Selected Option (left part) */
.phone-input-container .selected-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 15px;
  background: var(--gray-50);
  border-right: 1px solid var(--gray-300);
  border-top-left-radius: calc(var(--radius-sm) - 1px);
  border-bottom-left-radius: calc(var(--radius-sm) - 1px);
  cursor: pointer;
  user-select: none;
  min-width: 110px;
  transition: var(--transition);
}

.phone-input-container .selected-option:hover {
  background: var(--gray-100);
}

.phone-input-container .selected-option.active {
  border-color: var(--purple);
  background: var(--white);
}

.phone-input-container .selected-option div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-input-container .selected-option .iconify {
  font-size: 1.4rem;
  width: 24px;
  height: 18px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.phone-input-container .selected-option strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 700;
}

.phone-input-container .selected-option .dropdown-arrow {
  font-size: 0.8rem;
  color: var(--gray-500);
  transition: transform 0.2s ease;
  margin-left: 5px;
}

.phone-input-container .selected-option.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* Actual input box */
.phone-input-container input[type="tel"] {
  flex: 1;
  border: none !important;
  background: transparent !important;
  padding: 14px 18px !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  color: var(--dark) !important;
  outline: none !important;
  width: 100% !important;
  box-shadow: none !important;
  height: auto !important;
}

/* Options dropdown container */
.phone-input-container .options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 320px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  padding: 15px;
}

.phone-input-container .options.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Search container inside options */
.phone-input-container .options .search-container {
  position: relative;
  margin-bottom: 12px;
}

.phone-input-container .options .search-container input.search-box {
  width: 100%;
  padding: 10px 35px 10px 15px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--dark);
  outline: none;
  transition: var(--transition);
}

.phone-input-container .options .search-container input.search-box:focus {
  border-color: var(--purple);
}

.phone-input-container .options .search-container i#search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
  cursor: pointer;
  font-size: 0.9rem;
}

/* Country list */
.phone-input-container .options ol {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 250px;
  overflow-y: auto;
}

/* Scrollbar styling */
.phone-input-container .options ol::-webkit-scrollbar {
  width: 6px;
}

.phone-input-container .options ol::-webkit-scrollbar-track {
  background: var(--gray-50);
}

.phone-input-container .options ol::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: var(--radius-full);
}

/* Country items */
.phone-input-container .options ol li.option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.phone-input-container .options ol li.option:hover {
  background: var(--gray-100);
}

.phone-input-container .options ol li.option.hide {
  display: none;
}

.phone-input-container .options ol li.option div {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 75%;
}

.phone-input-container .options ol li.option div .iconify {
  font-size: 1.2rem;
  width: 20px;
  height: 15px;
  border-radius: 1px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.phone-input-container .options ol li.option div .country-name {
  font-size: 0.9rem;
  color: var(--dark);
  font-family: var(--font-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-input-container .options ol li.option strong {
  font-size: 0.88rem;
  color: var(--gray-600);
  font-family: var(--font-heading);
}

.phone-input-container .options p.text-danger {
  font-size: 0.85rem;
  margin: 5px 0 0;
  color: var(--pink) !important;
}

/* Override for career application wizard to match styling */
.form-step-panel .phone-input-container {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.form-step-panel .phone-input-container:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 245, 212, 0.15);
}

.form-step-panel .phone-input-container input[type="tel"] {
  color: var(--white) !important;
}

.form-step-panel .phone-input-container .selected-option {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.form-step-panel .phone-input-container .selected-option strong {
  color: var(--white);
}

.form-step-panel .phone-input-container .selected-option:hover {
  background: rgba(255, 255, 255, 0.15);
}
.form-step-panel .phone-input-container .options {
  background: #1d1830;
  border-color: rgba(255, 255, 255, 0.15);
}
.form-step-panel .phone-input-container .options ol li.option div .country-name {
  color: var(--white);
}
.form-step-panel .phone-input-container .options ol li.option:hover {
  background: rgba(255, 255, 255, 0.08);
}
.form-step-panel .phone-input-container .options .search-container input.search-box {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.form-step-panel .phone-input-container .options .search-container input.search-box:focus {
  border-color: var(--teal);
}

/* Floating Toast Notification Alert System */
.alert-floating {
  position: fixed !important;
  top: 24px !important;
  right: 24px !important;
  z-index: 999999 !important;
  min-width: 320px;
  max-width: 420px;
  padding: 16px 20px !important;
  border-radius: 16px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.1) inset !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.3s ease;
}

.alert-floating.alert-success {
  background: rgba(12, 8, 23, 0.85) !important;
  color: #ffffff !important;
  border-left: 4px solid #00f5d4 !important;
}

.alert-floating.alert-success::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #00f5d4;
  box-shadow: 0 0 12px #00f5d4;
  border-radius: 4px 0 0 4px;
}

.alert-floating.alert-danger {
  background: rgba(12, 8, 23, 0.85) !important;
  color: #ffffff !important;
  border-left: 4px solid #ff5b5b !important;
}

.alert-floating.alert-danger::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #ff5b5b;
  box-shadow: 0 0 12px #ff5b5b;
  border-radius: 4px 0 0 4px;
}

.alert-floating .toast-icon {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alert-floating.alert-success .toast-icon {
  color: #00f5d4;
  text-shadow: 0 0 8px rgba(0, 245, 212, 0.4);
}

.alert-floating.alert-danger .toast-icon {
  color: #ff5b5b;
  text-shadow: 0 0 8px rgba(255, 91, 91, 0.4);
}

.alert-floating .btn-close {
  margin-left: auto;
  padding: 0 !important;
  background-size: 10px !important;
  filter: invert(1) !important;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.alert-floating .btn-close:hover {
  opacity: 1;
}

@keyframes toastSlideIn {
  from {
    transform: translateX(120%) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

/* ---------- Additional Button & Border Utility Classes ---------- */
.btn-teal {
  background: var(--teal);
  color: var(--dark) !important;
  font-weight: 700;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn-teal:hover {
  background: var(--teal-dark);
  color: #ffffff !important;
  box-shadow: var(--shadow-teal);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff !important;
  font-weight: 700;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn-whatsapp:hover {
  background: #1da851;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  transform: translateY(-2px);
}

.border-teal {
  border-color: var(--teal) !important;
}