/* ==========================================================================
   MuskSkill — Production Stylesheet
   Corporate IT Training / EdTech Website
   Works alongside Bootstrap 5
   ========================================================================== */

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

/* ==========================================================================
   1. GLOBAL RESET & BASE
   ========================================================================== */
:root {
  --color-dark-navy: #0a1628;
  --color-teal: #00c8c8;
  --color-teal-dark: #007b7b;
  --color-light-bg: #f0f8ff;
  --color-white: #ffffff;
  --color-text: #1a1a2e;
  --color-text-muted: #6c757d;
  --gradient-hero: linear-gradient(135deg, #0a1628 0%, #0d3b5e 50%, #001a33 100%);
  --gradient-teal: linear-gradient(135deg, #00c8c8 0%, #00e0e0 100%);
  --font-main: 'Inter', sans-serif;

  --shadow-sm: 0 2px 12px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 22, 40, 0.10);
  --shadow-lg: 0 16px 48px rgba(10, 22, 40, 0.16);
  --shadow-teal: 0 8px 32px rgba(0, 200, 200, 0.2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Selection color */
::selection {
  background: var(--color-teal);
  color: var(--color-white);
}
::-moz-selection {
  background: var(--color-teal);
  color: var(--color-white);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-light-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-teal);
  border-radius: 50px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-teal-dark);
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-teal) var(--color-light-bg);
}

/* ==========================================================================
   2. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: var(--color-text);
  margin: 0 0 0.5em;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.text-teal {
  color: var(--color-teal) !important;
}

.text-muted-2 {
  color: var(--color-text-muted) !important;
}

.text-gradient {
  background: linear-gradient(135deg, #00c8c8 0%, #00e0e0 60%, #00f0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-teal); /* fallback */
}

.fw-800 { font-weight: 800; }
.fw-700 { font-weight: 700; }
.fw-600 { font-weight: 600; }
.fw-500 { font-weight: 500; }

/* ==========================================================================
   3. BUTTONS
   ========================================================================== */
.btn-teal,
.btn-outline-teal,
.btn-white {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 50px;
  padding: 12px 32px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-align: center;
}

/* Shimmer effect shared by all buttons */
.btn-teal::after,
.btn-outline-teal::after,
.btn-white::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transition: none;
  pointer-events: none;
}
.btn-teal:hover::after,
.btn-outline-teal:hover::after,
.btn-white:hover::after {
  animation: shimmer 0.8s ease;
}

/* Teal solid */
.btn-teal {
  background: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
}
.btn-teal:hover,
.btn-teal:focus {
  background: var(--color-teal-dark);
  border-color: var(--color-teal-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}

/* Teal outline */
.btn-outline-teal {
  background: transparent;
  color: var(--color-teal);
  border-color: var(--color-teal);
}
.btn-outline-teal:hover,
.btn-outline-teal:focus {
  background: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}

/* White */
.btn-white {
  background: var(--color-white);
  color: var(--color-text);
  border-color: var(--color-white);
}
.btn-white:hover,
.btn-white:focus {
  background: #f1f5f9;
  color: var(--color-text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg-custom {
  padding: 16px 40px;
  font-size: 1.1rem;
}

/* ==========================================================================
   4. NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  padding: 18px 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.navbar-brand img {
  max-height: 45px;
  width: auto;
  transition: filter 0.3s ease;
}

.navbar .nav-link {
  position: relative;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 16px !important;
  transition: color 0.25s ease;
}

/* underline slide animation */
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--color-teal);
  transition: width 0.3s ease;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: calc(100% - 32px);
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--color-teal) !important;
}

/* Transparent variant (over hero) */
.navbar-transparent {
  background: transparent;
  box-shadow: none;
}
.navbar-transparent .navbar-brand img {
  filter: brightness(0) invert(1);
}
.navbar-transparent .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}
.navbar-transparent .nav-link:hover {
  color: var(--color-teal) !important;
}
.navbar-transparent .navbar-phone {
  color: rgba(255, 255, 255, 0.9);
}

/* Scrolled variant (solid) */
.navbar-scrolled {
  background: var(--color-white);
  box-shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
  padding: 12px 0;
}
.navbar-scrolled .navbar-brand img {
  filter: none;
}
.navbar-scrolled .nav-link {
  color: var(--color-text) !important;
}
.navbar-scrolled .nav-link:hover {
  color: var(--color-teal) !important;
}
.navbar-scrolled .navbar-phone {
  color: var(--color-text);
}

/* Phone number */
.navbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}
.navbar-phone i {
  color: var(--color-teal);
}

/* CTA pill in navbar */
.navbar .btn-teal {
  padding: 10px 24px;
  font-size: 0.95rem;
}

/* Hamburger */
.navbar-toggler {
  border: none;
  padding: 4px 8px;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler .toggler-bar {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px 0;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.navbar-transparent .navbar-toggler .toggler-bar {
  background: var(--color-white);
}
.navbar-scrolled .navbar-toggler .toggler-bar {
  background: var(--color-text);
}

/* ==========================================================================
   5. HERO SECTION (Home)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-hero);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 200, 200, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 200, 0.4) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.1;
  animation: grid-pulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--color-teal);
  border-radius: 50px;
  color: var(--color-teal);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(0, 200, 200, 0.08);
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--color-white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-highlight {
  color: var(--color-teal);
  display: block;
}

.hero-subtext {
  color: var(--color-white);
  opacity: 0.85;
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 2rem;
}

/* Hero stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2.5rem;
}
.stat-box {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 12px 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  min-width: 110px;
}
.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-teal);
  line-height: 1.1;
}
.stat-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Hero image */
.hero-image-wrapper {
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}
.hero-img {
  max-width: 100%;
  filter: drop-shadow(0 20px 60px rgba(0, 200, 200, 0.35));
}

/* Floating tech badges around hero image */
.tech-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  animation: float 3s ease-in-out infinite alternate;
}
.tech-badge i {
  color: var(--color-teal);
  font-size: 1.1rem;
}
.tech-badge:nth-child(1) { animation-delay: 0s; }
.tech-badge:nth-child(2) { animation-delay: 0.5s; }
.tech-badge:nth-child(3) { animation-delay: 1s; }

/* ==========================================================================
   6. SECTION LABELS
   ========================================================================== */
.section-label {
  display: block;
  text-transform: uppercase;
  color: var(--color-teal);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   7. ABOUT SECTION
   ========================================================================== */
.about-images {
  position: relative;
  padding-bottom: 40px;
  padding-right: 40px;
}
.about-card {
  position: relative;
  background: var(--color-white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.about-card img {
  border-radius: 12px;
  width: 100%;
}
.about-card-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translate(20px, 20px);
  background: var(--color-white);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  max-width: 220px;
}

.career-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-teal);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
}

.alumni-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color-light-bg);
  border-radius: 50px;
  padding: 8px 18px 8px 8px;
}
.alumni-pill .avatars {
  display: flex;
}
.alumni-pill .avatars img,
.alumni-pill .avatars span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  margin-left: -10px;
  object-fit: cover;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-teal);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
.alumni-pill .avatars img:first-child,
.alumni-pill .avatars span:first-child {
  margin-left: 0;
}
.alumni-pill .alumni-text {
  font-weight: 700;
  font-size: 0.95rem;
}

.promo-card {
  background: var(--color-dark-navy);
  border-radius: 16px;
  padding: 24px;
  color: var(--color-white);
}
.promo-card .text-teal,
.promo-card h3 {
  color: var(--color-teal);
}
.promo-card p {
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   8. ALUMNI LOGO CAROUSEL
   ========================================================================== */
.logo-carousel-wrapper {
  overflow: hidden;
  background: var(--color-dark-navy);
  padding: 40px 0;
  position: relative;
}
.logo-carousel-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}
.logo-carousel-wrapper:hover .logo-carousel-track {
  animation-play-state: paused;
}
.logo-carousel-item {
  flex-shrink: 0;
  padding: 0 40px;
  display: flex;
  align-items: center;
}
.logo-carousel-item img {
  max-height: 40px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.7);
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.logo-carousel-item img:hover {
  filter: none;
  opacity: 1;
}

/* ==========================================================================
   9. COURSE CARDS
   ========================================================================== */
.course-card {
  position: relative;
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.course-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.course-card-body {
  padding: 20px;
}
.course-icon {
  width: 48px;
  height: 48px;
  margin-top: -44px;
  position: relative;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
  font-size: 1.4rem;
  z-index: 2;
}
.course-card-title {
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 12px;
  margin-bottom: 8px;
}
.course-card-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.course-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}
.course-meta i {
  color: var(--color-teal);
  margin-right: 4px;
}

.btn-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-teal);
  background: none;
  border: none;
  padding: 0;
  font-weight: 600;
  font-size: 0.95rem;
}
.btn-learn-more i,
.btn-learn-more .arrow {
  transition: transform 0.3s ease;
}
.btn-learn-more:hover {
  color: var(--color-teal-dark);
}
.btn-learn-more:hover i,
.btn-learn-more:hover .arrow {
  transform: translateX(5px);
}

/* ==========================================================================
   10. CTA BANNER
   ========================================================================== */
.cta-banner {
  position: relative;
  background: var(--color-dark-navy);
  border-radius: 24px;
  padding: 60px;
  overflow: hidden;
  color: var(--color-white);
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 200, 200, 0.35) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2,
.cta-banner h3 {
  color: var(--color-white);
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
}
.cta-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 24px;
}
.cta-stats .cta-stat {
  position: relative;
  padding-right: 32px;
}
.cta-stats .cta-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}
.cta-stats .cta-stat .num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-teal);
}
.cta-stats .cta-stat .label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}
.cta-image {
  position: absolute;
  right: 40px;
  bottom: 0;
  max-height: 350px;
}

/* ==========================================================================
   11. FEATURE CARDS
   ========================================================================== */
.feature-card {
  position: relative;
  background: var(--color-white);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--color-teal);
}
.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
  font-size: 1.8rem;
  filter: drop-shadow(0 6px 16px rgba(0, 200, 200, 0.4));
}
.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ==========================================================================
   12. LEARNING PATH CARDS
   ========================================================================== */
.learning-path-section {
  background: var(--color-dark-navy);
}
.path-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-white);
  height: 100%;
  transition: transform 0.3s ease, background 0.3s ease;
}
.path-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
}
.path-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 200, 200, 0.15);
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.path-card h3 {
  color: var(--color-white);
  font-size: 1.2rem;
}
.path-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ==========================================================================
   13. BOOKING / CONTACT FORM SECTION
   ========================================================================== */
.booking-section {
  background: linear-gradient(135deg, #f0f8ff 0%, #e3f2fd 100%);
}
.booking-form {
  background: var(--color-white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--color-text);
}
.form-control,
.form-select {
  border-radius: 10px;
  border: 1px solid #dee2e6;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 0.25rem rgba(0, 200, 200, 0.25);
  outline: none;
}
.form-control::placeholder {
  color: #adb5bd;
}
textarea.form-control {
  min-height: 120px;
  resize: vertical;
}
.booking-form .btn-submit {
  width: 100%;
  height: 52px;
  font-size: 1.1rem;
  background: var(--color-teal);
  color: var(--color-white);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.booking-form .btn-submit:hover {
  background: var(--color-teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}

/* ==========================================================================
   14. STATS COUNTER SECTION
   ========================================================================== */
.counter-card {
  text-align: center;
  padding: 30px;
}
.counter-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-teal);
  line-height: 1.1;
}
.counter-label {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-top: 6px;
}

/* ==========================================================================
   15. PAGE HERO BANNERS
   ========================================================================== */
.page-hero {
  position: relative;
  background: var(--color-dark-navy);
  padding: 120px 0 80px;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 200, 200, 0.25) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
  pointer-events: none;
}
.page-hero > .container {
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  color: var(--color-white);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 0 auto;
}
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(0, 200, 200, 0.12);
  border: 1px solid var(--color-teal);
  color: var(--color-teal);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.page-hero .breadcrumb-custom {
  display: inline-flex;
  gap: 8px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}
.page-hero .breadcrumb-custom a:hover {
  color: var(--color-teal);
}
.page-hero .breadcrumb-custom .active {
  color: var(--color-teal);
}

/* ==========================================================================
   16. BLOG CARDS
   ========================================================================== */
.blog-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-card-body {
  padding: 24px;
}
.blog-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--color-teal);
  font-weight: 600;
  margin-bottom: 10px;
}
.blog-title {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 10px;
  transition: color 0.25s ease;
}
.blog-card:hover .blog-title,
.blog-title:hover {
  color: var(--color-teal);
}
.blog-excerpt {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* ==========================================================================
   17. TESTIMONIAL CARDS
   ========================================================================== */
.testimonial-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.testimonial-stars {
  color: #ffc107;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.testimonial-stars .text-teal-star {
  color: var(--color-teal);
}
.testimonial-text {
  font-size: 0.98rem;
  color: var(--color-text);
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0;
}
.testimonial-role {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   18. FAQ ACCORDION
   ========================================================================== */
.faq-accordion .accordion-item {
  border: 1px solid #eee;
  border-radius: 12px !important;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-accordion .accordion-button {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-text);
  box-shadow: none;
  padding: 18px 20px;
  background: var(--color-white);
}
.faq-accordion .accordion-button:focus {
  box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--color-teal);
  background: rgba(0, 200, 200, 0.05);
}
.faq-accordion .accordion-button:not(.collapsed)::after {
  filter: invert(58%) sepia(98%) saturate(749%) hue-rotate(132deg) brightness(95%) contrast(101%);
}
.faq-accordion .accordion-body {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  padding: 0 20px 20px;
}

/* ==========================================================================
   19. FOOTER
   ========================================================================== */
.footer {
  background: var(--color-dark-navy);
  padding: 80px 0 40px;
  color: rgba(255, 255, 255, 0.7);
}
.footer-logo {
  max-height: 50px;
  margin-bottom: 18px;
}
.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  max-width: 320px;
}
.footer-heading {
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 20px;
}
.footer-link {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  margin-bottom: 8px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-link:hover {
  color: var(--color-white);
  padding-left: 4px;
}

/* Social */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  margin-right: 8px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.social-link:hover {
  background: var(--color-teal);
  color: var(--color-white);
  transform: translateY(-3px);
}

/* Contact items */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer-contact-item i {
  color: var(--color-teal);
  margin-top: 3px;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-badges .badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(0, 200, 200, 0.12);
  border: 1px solid rgba(0, 200, 200, 0.3);
  color: var(--color-teal);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ==========================================================================
   20. ANIMATIONS
   ========================================================================== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes grid-pulse {
  0%, 100% { opacity: 0.05; }
  50% { opacity: 0.15; }
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}
.animate-fadeInUp {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   22. UTILITY CLASSES
   ========================================================================== */
.section-padding { padding: 100px 0; }
.section-padding-sm { padding: 60px 0; }
.rounded-xl { border-radius: 16px; }
.rounded-2xl { border-radius: 24px; }
.bg-navy { background-color: var(--color-dark-navy); }
.bg-light-blue { background-color: var(--color-light-bg); }
.border-teal { border-color: var(--color-teal) !important; }
.shadow-teal { box-shadow: 0 8px 32px rgba(0, 200, 200, 0.2); }
.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.text-white-80 { color: rgba(255, 255, 255, 0.8) !important; }
.text-white-60 { color: rgba(255, 255, 255, 0.6) !important; }
.divider-teal {
  width: 60px;
  height: 4px;
  background: var(--color-teal);
  border-radius: 50px;
  border: none;
  opacity: 1;
}
.z-2 { position: relative; z-index: 2; }

/* ==========================================================================
   21. MOBILE RESPONSIVE
   ========================================================================== */

/* Tablet */
@media (max-width: 991.98px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }

  .navbar-collapse {
    background: var(--color-white);
    border-radius: 12px;
    padding: 16px;
    margin-top: 12px;
    box-shadow: var(--shadow-md);
  }
  .navbar-transparent .navbar-collapse .nav-link,
  .navbar-collapse .nav-link {
    color: var(--color-text) !important;
  }
  .navbar-collapse .nav-link::after { display: none; }

  .cta-banner {
    padding: 40px;
  }
  .cta-image {
    display: none;
  }
  .about-images {
    padding-right: 0;
  }
  .about-card-overlay {
    position: static;
    transform: none;
    margin-top: 16px;
    max-width: 100%;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.25rem; }

  .section-padding { padding: 60px 0; }
  .section-padding-sm { padding: 40px 0; }

  .hero {
    min-height: auto;
    text-align: center;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero-content {
    padding-top: 110px;
    padding-bottom: 40px;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-image-wrapper {
    margin-top: 40px;
  }
  .tech-badge {
    display: none;
  }

  .page-hero {
    padding: 100px 0 60px;
  }
  .page-hero h1 { font-size: 2rem; }

  .cta-banner {
    padding: 32px 24px;
    text-align: center;
  }
  .cta-stats {
    justify-content: center;
    gap: 20px;
  }
  .cta-stats .cta-stat:not(:last-child)::after {
    display: none;
  }

  .booking-form {
    padding: 28px 20px;
  }

  .counter-number { font-size: 2.25rem; }

  .footer {
    padding: 60px 0 30px;
    text-align: center;
  }
  .footer-tagline {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-contact-item {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-badges {
    justify-content: center;
  }
  .social-link {
    margin: 0 4px;
  }
}

/* Very small screens — hide decorative hero image */
@media (max-width: 480px) {
  .hero-image-wrapper {
    display: none;
  }
}

/* ==========================================================================
   HOME PAGE (M05) — component refinements
   Page-specific helpers layered on top of the core design system.
   ========================================================================== */

/* Hero stat counters keep the compact stat size (override .counter-number) */
.hero-stats .counter-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-teal);
  line-height: 1.1;
}

/* Floating badges sit above the hero image */
.hero-image-wrapper { z-index: 2; }
.tech-badge { z-index: 3; }

/* Icon images inside circular/boxed icon holders */
.course-icon img { width: 26px; height: 26px; object-fit: contain; }
.feature-icon img { width: 100%; height: 100%; object-fit: contain; }
.path-icon img { width: 26px; height: 26px; object-fit: contain; }

/* About card — milestone badge, tech pills, progress bar */
.milestone-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(0, 200, 200, 0.12);
  color: var(--color-teal-dark);
  font-weight: 700;
  font-size: 0.85rem;
}
.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--color-light-bg);
  color: var(--color-teal-dark);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(0, 200, 200, 0.25);
}
.about-progress {
  height: 8px;
  border-radius: 50px;
  background: #e9eef5;
  overflow: hidden;
}
.about-progress .bar {
  height: 100%;
  border-radius: 50px;
  background: var(--gradient-teal);
}

/* Checklist (appointment section) */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 500;
}
.check-list li i {
  color: var(--color-teal);
  font-size: 1.15rem;
  margin-top: 2px;
}

/* Inline stats row (appointment section) */
.appointment-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 1.5rem;
}
.appointment-stats .counter-number { font-size: 1.8rem; }
.appointment-stats .stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* AJAX form success + error feedback */
.success-message {
  display: none;
  padding: 28px 24px;
  border-radius: 14px;
  background: rgba(0, 200, 200, 0.08);
  border: 1px solid var(--color-teal);
  color: var(--color-teal-dark);
  font-weight: 600;
  text-align: center;
}
.form-error {
  display: none;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fde8e8;
  color: #c0392b;
  font-size: 0.9rem;
}
.privacy-note {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 14px;
}

/* Rounded image cards used in CTA + learning-path sections */
.cta-image-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.path-image {
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 200, 200, 0.25);
}

/* ==========================================================================
   COURSE DETAIL PAGES (M10) — refinements
   ========================================================================== */

/* Hero bullets on dark background */
.course-hero .check-list li { color: rgba(255, 255, 255, 0.92); }
.course-hero .check-list li i { color: var(--color-teal); }
.course-hero-bullets { margin-top: 1.5rem; }

/* Hero trust row */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 1.75rem;
}
.hero-trust .ht-item {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}
.hero-trust .ht-item strong { color: var(--color-teal); font-weight: 700; }

/* Hero lead-form card sits a touch tighter on course pages */
.course-form-card { position: relative; }
.course-form-card .btn-submit { height: 52px; font-size: 1.05rem; }

/* OR divider inside the hero form */
.form-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  margin: 18px 0;
}
.form-divider::before,
.form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e6eaf0;
}
.form-divider span { padding: 0 14px; }
.download-link { display: inline-flex; }

/* Stats bar */
.stats-bar {
  background: var(--color-light-bg);
  border-top: 1px solid #eef0f4;
  border-bottom: 1px solid #eef0f4;
}
.counter-number-static {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-teal);
  line-height: 1.1;
}
@media (max-width: 767.98px) {
  .counter-number-static { font-size: 2.25rem; }
}

/* Curriculum accordion number badge */
.curriculum-accordion .accordion-button { gap: 14px; align-items: center; }
.cur-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 200, 200, 0.12);
  color: var(--color-teal-dark);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

/* Career outcome (job) cards on dark bg */
.job-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s ease, background 0.3s ease;
}
.job-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.1); }
.job-card .job-emoji { font-size: 2.4rem; margin-bottom: 10px; }
.job-card .job-salary {
  color: var(--color-teal);
  font-weight: 800;
  font-size: 1.6rem;
  margin-bottom: 2px;
}
.job-card .job-label { color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; }

/* Testimonial "placed in X" result chip */
.testimonial-result {
  margin-top: 16px;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(0, 200, 200, 0.1);
  color: var(--color-teal-dark);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ==========================================================================
   23. TOP CONTACT BAR + NAVBAR EXTRAS
   (markup in includes/navbar.php — these class names were missing from CSS)
   ========================================================================== */
.top-bar {
  background: #06101f;            /* a touch darker than the navy footer */
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.top-bar-link {
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}
.top-bar-link:hover { color: var(--color-teal); }
.top-bar-link i { color: var(--color-teal); }
.top-bar-social a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease;
}
.top-bar-social a:hover { color: #fff; background: rgba(0, 200, 200, 0.2); }

/* Navbar phone link (markup uses .nav-phone; core styles target .navbar-phone) */
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}
.nav-phone i { color: var(--color-teal); }
.navbar-transparent .nav-phone { color: rgba(255, 255, 255, 0.9); }
.navbar-scrolled .nav-phone { color: var(--color-text); }

/* Brand logo swap — show the proper WHITE logo (teal icon intact) over the dark
   hero, and the full-colour logo once the navbar turns solid on scroll. No CSS
   inversion, so the icon never washes out. */
.navbar-transparent .navbar-brand img,
.navbar-scrolled .navbar-brand img,
.navbar-brand img { filter: none; }
.navbar-brand .logo-dark  { display: none; }
.navbar-brand .logo-light { display: block; }
.navbar-scrolled .navbar-brand .logo-light { display: none; }
.navbar-scrolled .navbar-brand .logo-dark  { display: block; }

/* ==========================================================================
   24. SITE FOOTER
   (markup in includes/footer.php — these class names were missing from CSS,
    which left the footer unstyled: white background + invisible white logo)
   ========================================================================== */
.site-footer {
  background: var(--color-dark-navy);
  color: rgba(255, 255, 255, 0.72);
}
.footer-main {
  padding: 72px 0 48px;
}
.footer-logo-link img {
  max-height: 50px;
  width: auto;
}
.site-footer .footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 320px;
}
.site-footer .footer-heading {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.site-footer .footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 50px;
  background: var(--color-teal);
}

/* Footer link lists */
.footer-links li { margin-bottom: 10px; }
.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-links a:hover { color: var(--color-teal); padding-left: 4px; }
.footer-links a i { color: var(--color-teal); font-size: 0.8rem; }

/* Footer contact block */
.footer-contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.6;
}
.footer-contact a:hover { color: var(--color-teal); }

/* Social icons */
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1rem;
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.footer-socials a:hover {
  background: var(--color-teal);
  color: #fff;
  transform: translateY(-3px);
}

/* Bottom bar */
.footer-bottom {
  background: #06101f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom p { color: rgba(255, 255, 255, 0.55); }
.footer-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(0, 200, 200, 0.1);
  border: 1px solid rgba(0, 200, 200, 0.28);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Footer responsive centring */
@media (max-width: 767.98px) {
  .footer-main { padding: 48px 0 32px; text-align: center; }
  .site-footer .footer-heading::after { left: 50%; transform: translateX(-50%); }
  .site-footer .footer-tagline { margin-left: auto; margin-right: auto; }
  .footer-socials { justify-content: center; }
  .footer-contact li { justify-content: center; text-align: left; }
}

/* ==========================================================================
   25. FOOTER POLISH — gradient + icon-boxed contacts (match muskskill.com)
   ========================================================================== */
/* Richer navy gradient with a subtle teal glow, like the production footer */
.site-footer {
  background:
    radial-gradient(120% 140% at 12% 0%, rgba(0, 200, 200, 0.12) 0%, transparent 42%),
    linear-gradient(180deg, #0d2440 0%, #0a1628 55%, #081021 100%);
}

/* Contact details rendered as teal icon boxes + label/value */
.footer-contact li { gap: 14px; align-items: center; }
.footer-contact li i {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0, 200, 200, 0.12);
  border: 1px solid rgba(0, 200, 200, 0.22);
  color: var(--color-teal);
  font-size: 1.05rem;
  margin: 0;
}
.footer-contact .fc-body { display: flex; flex-direction: column; line-height: 1.45; }
.footer-contact .fc-label {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2px;
}
.footer-contact .fc-value { color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }
.footer-contact a.fc-value:hover { color: var(--color-teal); }

/* ==========================================================================
   26. STICKY CTA WIDGET + SCROLL-TO-TOP (were unstyled — raw text in footer)
   ========================================================================== */
.sticky-cta-widget {
  position: fixed;
  right: 24px;
  bottom: 90px;
  z-index: 1040;
  width: 230px;
}
.sticky-cta-inner {
  position: relative;
  background: linear-gradient(160deg, #103258 0%, #0a1628 100%);
  border: 1px solid rgba(0, 200, 200, 0.35);
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.sticky-cta-text {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
}
.sticky-cta-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.7rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.sticky-cta-close:hover { background: rgba(255, 255, 255, 0.25); }

.scroll-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1040;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--color-teal);
  color: #fff;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 200, 200, 0.4);
  transition: background 0.25s ease, transform 0.25s ease;
}
.scroll-top-btn:hover { background: var(--color-teal-dark); transform: translateY(-3px); }

@media (max-width: 991.98px) {
  .sticky-cta-widget { display: none !important; }
}

/* ==========================================================================
   27. PROMOTIONAL LEAD POPUP
   ========================================================================== */
.promo-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 16, 31, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.promo-popup-overlay.is-open { opacity: 1; }
.promo-popup-overlay[hidden] { display: none; }

.promo-popup-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.promo-popup-overlay.is-open .promo-popup-card { transform: translateY(0) scale(1); }

.promo-popup-accent {
  height: 8px;
  background: var(--gradient-teal);
}
.promo-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(10, 22, 40, 0.06);
  color: var(--color-text);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease, transform 0.2s ease;
}
.promo-popup-close:hover { background: rgba(10, 22, 40, 0.12); transform: rotate(90deg); }

.promo-popup-body { padding: 30px 30px 26px; }
.promo-popup-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  background: rgba(0, 200, 200, 0.12);
  color: var(--color-teal-dark);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.promo-popup-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 8px;
}
.promo-popup-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.promo-popup-form .form-control,
.promo-popup-form .form-select { border-radius: 10px; }
.promo-popup-fineprint {
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin: 12px 0 0;
}
.promo-popup-form .form-error {
  display: none;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fde8e8;
  color: #c0392b;
  font-size: 0.85rem;
}

@media (max-width: 575.98px) {
  .promo-popup-body { padding: 24px 20px 22px; }
  .promo-popup-title { font-size: 1.3rem; }
}

/* ==========================================================================
   28. NEWSLETTER SUBSCRIBE MESSAGE
   ========================================================================== */
.subscribe-message.success { color: #6ee7b7 !important; }
.subscribe-message.error   { color: #fca5a5 !important; }
