/* ==========================================================================
   Apex Fusion Institute – CSS Design System & Layouts
   ========================================================================== */

/* 1. CSS Custom Properties & Design System Tokens */
:root {
  --primary-color: #0A1931;       /* Navy Blue */
  --primary-rgb: 10, 25, 49;
  --secondary-color: #F4B302;     /* Gold */
  --secondary-rgb: 244, 179, 2;
  --accent-color: #008DDA;        /* Sky Blue */
  --accent-rgb: 0, 141, 218;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --border-color: #E2E8F0;
  
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-premium: 0 20px 40px -15px rgba(10, 25, 49, 0.15);
  --shadow-gold: 0 10px 25px -5px rgba(244, 179, 2, 0.3);
  
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 24px;
  --border-radius-full: 9999px;
  
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-shadow: 0 8px 32px 0 rgba(10, 25, 49, 0.3);
}

/* 2. Global Reset & Base Elements */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-color);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

/* 3. Utility Classes & Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.section-padding {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3.5rem 0;
  }
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-color); }
.text-white { color: var(--bg-white); }
.text-gold { color: var(--secondary-color); }
.text-blue { color: var(--accent-color); }
.text-light { color: var(--text-light); }
.text-sm { font-size: 0.875rem; }

.text-gradient {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.max-w-600 { max-width: 600px; margin-left: auto; margin-right: auto; }
.max-w-700 { max-width: 700px; margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }
.max-w-900 { max-width: 900px; margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

/* Buttons styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.btn-large {
  padding: 1rem 2.25rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
}
.btn-primary:hover {
  background-color: #122c54;
  transform: translateY(-2px);
}

.btn-gold {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background-color: #d69d02;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--bg-white);
  color: var(--bg-white);
}
.btn-outline:hover {
  background-color: var(--bg-white);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  border-color: var(--bg-white);
  color: var(--bg-white);
}
.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.btn-link {
  color: var(--primary-color);
  font-weight: 700;
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.btn-link:hover {
  color: var(--accent-color);
}
.btn-link:hover i {
  transform: translateX(3px);
}

/* Sections Titles */
.section-title {
  margin-bottom: 3.5rem;
}
.section-title h2 {
  font-size: 2.25rem;
  margin-top: 0.5rem;
  position: relative;
}
.section-title .subtitle {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  color: var(--accent-color);
}
.section-title p {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 1.1rem;
}

/* Overrides for Dark Backgrounds */
.bg-dark .section-title h2 {
  color: var(--bg-white) !important;
}
.bg-dark .section-title p {
  color: var(--text-light) !important;
}

/* 4. Top Info Bar & Main Header */
.top-bar {
  background-color: var(--primary-color);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.825rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-info {
  display: flex;
  gap: 1.5rem;
}
.top-info i {
  color: var(--secondary-color);
  margin-right: 0.25rem;
}
.top-tagline {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  padding: 1.25rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-img {
  max-height: 55px;
  width: auto;
  object-fit: contain;
  display: block;
}
.logo-icon {
  font-size: 2rem;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  line-height: 1;
  color: var(--primary-color);
}
.logo-subtitle {
  font-size: 0.675rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-menu a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-color);
  position: relative;
  padding: 0.25rem 0;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition-normal);
}
.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}
.nav-menu a.btn {
  color: var(--bg-white) !important;
  padding: 0.75rem 1.5rem;
  display: inline-block;
  text-align: center;
}
.nav-menu a.btn::after {
  display: none !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  display: none;
}

/* Responsive Header */
@media (max-width: 991px) {
  .nav-toggle {
    display: block;
  }
  
  .hide-tablet {
    display: none !important;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    display: none;
    border-top: 1px solid var(--border-color);
  }
  
  .nav-menu.active {
    display: block;
  }
  
  .nav-menu ul {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }
  
  .mobile-only {
    display: block !important;
    margin-top: 0.5rem;
  }
}

@media (min-width: 992px) {
  .mobile-only {
    display: none !important;
  }
}

/* Native CSS Scroll-driven header shrink if supported */
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  .main-header {
    animation: header-shrink auto linear both;
    animation-timeline: scroll(block root);
    animation-range: 0px 120px;
  }
  
  @keyframes header-shrink {
    to {
      padding: 0.65rem 0;
      background-color: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(8px);
      box-shadow: var(--shadow-md);
    }
  }
}

/* 5. Hero Section with Flying Plane & Floating Clouds */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  padding: 8rem 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.02);
  transition: transform 10s ease-out;
}

.clouds-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  pointer-events: none;
}

.cloud {
  position: absolute;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
  border-radius: var(--border-radius-full);
  filter: blur(10px);
}

.cloud-1 {
  width: 300px;
  height: 100px;
  top: 15%;
  left: -350px;
  animation: floatCloud 45s linear infinite;
}

.cloud-2 {
  width: 450px;
  height: 150px;
  bottom: 25%;
  right: -500px;
  animation: floatCloudReverse 60s linear infinite;
}

@keyframes floatCloud {
  to { transform: translateX(calc(100vw + 700px)); }
}

@keyframes floatCloudReverse {
  to { transform: translateX(calc(-100vw - 900px)); }
}

/* Flying Plane */
.animated-plane-container {
  position: absolute;
  top: 20%;
  left: -100px;
  z-index: -1;
  pointer-events: none;
  animation: planeFlight 25s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.plane {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.35);
  transform: rotate(20deg);
}

@keyframes planeFlight {
  0% {
    transform: translate(0, 0) rotate(15deg) scale(0.6);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translate(calc(100vw + 200px), -150px) rotate(10deg) scale(1.1);
    opacity: 0;
  }
}

.hero-content {
  text-align: center;
  max-w-800: 800px;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 1.5rem;
}
.badge-text {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.25rem;
  border-radius: var(--border-radius-full);
  font-size: 0.875rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--bg-white);
  letter-spacing: 0.5px;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--bg-white);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.75rem;
  }
}

.hero-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}
.trust-item i {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

/* 6. About Section Counters & layout */
.about-img-container {
  position: relative;
  padding-right: 1.5rem;
  padding-bottom: 1.5rem;
}

.rounded-img {
  border-radius: var(--border-radius-lg);
  object-fit: cover;
  width: 100%;
}

.img-shadow {
  box-shadow: var(--shadow-premium);
}

.experience-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--secondary-color);
}
.experience-badge .number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1;
}
.experience-badge .text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
  max-width: 120px;
  font-weight: 600;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}
.about-content p {
  color: var(--text-muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.stat-card {
  background: var(--bg-light);
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
  border-bottom: 3px solid var(--accent-color);
  transition: var(--transition-normal);
}
.stat-card:hover {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}
.stat-plus {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--secondary-color);
}
.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-weight: 600;
}

/* 7. Feature Cards (Why Choose Us) - Premium Hover scale */
.feature-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--secondary-color);
  transition: var(--transition-normal);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-md);
  background-color: rgba(10, 25, 49, 0.05);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(10, 25, 49, 0.1);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-card:hover .feature-icon {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

/* 8. Course Cards Grid & layout */
.course-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.course-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.course-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.course-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--border-radius-full);
}

.course-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.course-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.course-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
  margin-top: auto;
}
.course-includes li {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.course-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.course-footer .duration {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}
.course-footer .duration i {
  color: var(--accent-color);
  margin-right: 0.25rem;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-premium);
}
.course-card:hover .course-img img {
  transform: scale(1.05);
}

/* 9. Placement Partners scrolling Marquee */
.marquee-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 2rem 0;
  display: flex;
}

.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-group {
  display: flex;
  gap: 2rem;
  flex-shrink: 0;
  align-items: center;
}

.partner-logo {
  padding: 1.25rem 2.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  min-width: 180px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: -0.5px;
  transition: var(--transition-normal);
}

.partner-logo:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

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

/* 10. Placement Process Timeline */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3.5rem;
  width: 50%;
  padding: 0 2.5rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-badge {
  position: absolute;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-full);
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-badge {
  right: -22px;
}

.timeline-item:nth-child(even) .timeline-badge {
  left: -22px;
}

.timeline-panel {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}
.timeline-panel:hover {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.timeline-panel h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.timeline-panel p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Timeline Responsive */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    text-align: left !important;
    padding-left: 3rem;
    padding-right: 0;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-item:nth-child(odd) .timeline-badge,
  .timeline-item:nth-child(even) .timeline-badge {
    left: 0px;
    right: auto;
  }
}

/* 11. Trainers Section Styles */
.trainer-card {
  display: flex;
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.trainer-img {
  width: 35%;
  flex-shrink: 0;
  position: relative;
}
.trainer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trainer-placeholder-avatar {
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 3rem;
}

.trainer-info {
  padding: 2rem;
  width: 65%;
  display: flex;
  flex-direction: column;
}

.trainer-header {
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}
.trainer-header h3 {
  font-size: 1.35rem;
}
.trainer-header .designation {
  font-size: 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trainer-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.trainer-details li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.trainer-details li i {
  margin-top: 0.2rem;
  font-size: 0.85rem;
}

.premium-card {
  border: 1px solid rgba(244, 179, 2, 0.2);
  box-shadow: 0 10px 30px rgba(10, 25, 49, 0.04);
}
.premium-card:hover {
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-premium);
}

@media (max-width: 768px) {
  .trainer-card {
    flex-direction: column;
  }
  .trainer-img {
    width: 100%;
    aspect-ratio: 16 / 10;
  }
  .trainer-info {
    width: 100%;
    padding: 1.5rem;
  }
}

/* 12. Student Facilities */
.facility-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition-normal);
}
.facility-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--border-radius-full);
  background-color: rgba(0, 141, 218, 0.1);
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}
.facility-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.facility-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
}

/* 13. Testimonials Carousel Slider */
.testimonials-slider {
  padding: 1rem 1rem 3rem;
  max-width: 800px;
}

.testimonial-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  text-align: center;
  position: relative;
}
.testimonial-card .quote-icon {
  font-size: 2rem;
  color: rgba(0, 141, 218, 0.15);
  margin-bottom: 1.5rem;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 2rem;
}

.student-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.student-info h4 {
  font-size: 1.1rem;
}
.student-info .course-completed {
  font-size: 0.85rem;
  color: var(--accent-color);
  font-weight: 600;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color);
}

/* 14. Gallery Grid & Lightbox Popup */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 25, 49, 0.9), rgba(10, 25, 49, 0.4));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition-normal);
  color: var(--bg-white);
}

.zoom-icon {
  align-self: flex-start;
  font-size: 1.25rem;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
}

.gallery-overlay h3 {
  font-size: 1.15rem;
  color: var(--bg-white);
}
.gallery-overlay p {
  font-size: 0.8rem;
  color: var(--text-light);
}

.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 25, 49, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  object-fit: contain;
}

.lightbox-caption {
  color: var(--bg-white);
  text-align: center;
  margin-top: 1rem;
}
.lightbox-caption h3 {
  color: var(--secondary-color);
  font-size: 1.25rem;
}
.lightbox-caption p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 3rem;
  color: var(--bg-white);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}
.lightbox-close:hover {
  color: var(--secondary-color);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--bg-white);
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 1010;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

@media (max-width: 768px) {
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-close { top: 1rem; right: 1rem; }
}

/* 15. FAQ Accordion Section (Details/Summary Pattern) */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.faq-item {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-color);
  cursor: pointer;
  list-style: none; /* Hide default summary marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Hide native summary marker in Safari/Chrome */
.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question i {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: transform var(--transition-normal);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.975rem;
}

/* Open accordion states styling */
.faq-item[open] {
  border-color: var(--accent-color);
  box-shadow: var(--shadow-md);
}

.faq-item[open] .faq-question {
  color: var(--accent-color);
}

.faq-item[open] .faq-question i {
  transform: rotate(180deg);
  color: var(--accent-color);
}

.faq-item[open] .faq-answer {
  border-top-color: var(--border-color);
}

/* 16. Admission CTA Styles */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.cta-section h2 {
  font-size: 2.75rem;
  color: var(--bg-white);
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .cta-section h2 {
    font-size: 2rem;
  }
}

.cta-section p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* 17. Contact Details & Admissions Form */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
}
.contact-item .icon {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-full);
  background-color: rgba(10, 25, 49, 0.05);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.contact-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.map-placeholder {
  position: relative;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.map-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(10, 25, 49, 0.03);
  text-align: center;
  padding: 2rem;
}
.map-overlay i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 0.75rem;
}
.map-overlay h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.map-overlay p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Admissions Enquiry Form Styling */
.form-container {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-premium);
  position: relative;
}
.form-container h3 {
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
}
.form-container p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 576px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(0, 141, 218, 0.15);
}

.form-group.error input,
.form-group.error select {
  border-color: #EF4444;
}

.error-msg {
  display: none;
  font-size: 0.75rem;
  color: #EF4444;
  margin-top: 0.25rem;
  font-weight: 600;
}

.form-group.error .error-msg {
  display: block;
}

/* Success Overlay */
.form-success-alert {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
  z-index: 10;
}

.form-success-alert.active {
  opacity: 1;
  pointer-events: auto;
}

.form-success-alert i {
  font-size: 4rem;
  color: #10B981;
  margin-bottom: 1.5rem;
}
.form-success-alert h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.form-success-alert p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* 18. Footer Styles */
.main-footer {
  padding: 5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr repeat(3, 1fr);
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-desc {
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: var(--border-radius-full);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}
.social-links a:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-links h3 {
  font-size: 1.15rem;
  color: var(--bg-white);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-links h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.bottom-links {
  display: flex;
  gap: 1.5rem;
}
.bottom-links a {
  color: rgba(255, 255, 255, 0.45);
}
.bottom-links a:hover {
  color: var(--secondary-color);
}

/* 19. Floating Actions (WhatsApp, Call, Back to Top) */
.floating-actions-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 99;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.floating-btn:hover {
  transform: scale(1.1);
}

.float-whatsapp {
  background-color: #25D366;
  color: var(--bg-white);
}

.float-call {
  background-color: var(--accent-color);
  color: var(--bg-white);
}

.float-back-to-top {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.float-back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .floating-actions-container {
    bottom: 1.5rem;
    right: 1.5rem;
  }
  .floating-btn {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
}

.hide-desktop {
  display: none !important;
}

@media (max-width: 991px) {
  .hide-desktop {
    display: flex !important;
  }
}

/* ==========================================================================
   20. Subpages & Multi-page Specific Styles
   ========================================================================== */

/* Subpage Header Banner */
.subpage-header {
  padding: 6rem 0 4rem;
  background-size: cover;
  background-position: center;
  color: var(--bg-white);
  text-align: center;
}

.subpage-header h1 {
  font-size: 3rem;
  color: var(--bg-white);
  margin-bottom: 0.5rem;
}

.subpage-header p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .subpage-header {
    padding: 5rem 0 3rem;
  }
  .subpage-header h1 {
    font-size: 2.25rem;
  }
}

/* Detailed Course Cards */
.courses-list-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.course-card-detailed {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-normal);
}

.course-card-detailed:hover {
  box-shadow: var(--shadow-premium);
  transform: translateY(-4px);
}

.course-card-detailed .grid {
  gap: 0;
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .course-card-detailed .grid {
    grid-template-columns: 4fr 6fr;
  }
}

.cd-img {
  position: relative;
  min-height: 250px;
}

.cd-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cd-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cd-info h3 {
  font-size: 1.5rem;
  margin: 0.75rem 0;
}

.cd-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.category-badge {
  display: inline-block;
  align-self: flex-start;
  background-color: rgba(0, 141, 218, 0.1);
  color: var(--accent-color);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-full);
}

.cd-details {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.cd-modules {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 576px) {
  .cd-modules {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cd-modules li {
  font-size: 0.875rem;
  color: var(--text-dark);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 991px) {
  .course-card-detailed .grid {
    grid-template-columns: 1fr;
  }
  .cd-img {
    aspect-ratio: 16 / 9;
    min-height: auto;
  }
  .cd-info {
    padding: 1.75rem;
  }
}

/* Blog Cards */
.blog-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.blog-card:hover {
  box-shadow: var(--shadow-premium);
  transform: translateY(-6px);
}

.blog-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-img img {
  transform: scale(1.05);
}

.blog-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--border-radius-full);
}

.blog-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.blog-meta i {
  color: var(--accent-color);
  margin-right: 0.25rem;
}

.blog-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.blog-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.blog-content .btn-link {
  margin-top: auto;
}

/* About Us subpage details */
.about-quote {
  border-left: 4px solid var(--secondary-color);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

.about-quote p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-color);
  font-style: italic;
  line-height: 1.4;
}

.vm-card {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
}

.vm-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mission-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mission-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 1.5rem;
}

.mission-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: 700;
}

/* Courses Preview Section */
.courses-preview-section {
  background-color: var(--bg-white);
}

.course-preview-card {
  display: flex;
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.course-preview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--accent-color);
  transition: var(--transition-normal);
}

.course-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-premium);
}

.course-preview-card:hover::before {
  height: 100%;
}

.preview-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-md);
  background-color: rgba(0, 141, 218, 0.05);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.course-preview-card:hover .preview-card-icon {
  background-color: var(--accent-color);
  color: var(--bg-white);
}

.preview-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.preview-card-info h3 {
  font-size: 1.35rem;
  line-height: 1.3;
}

.preview-card-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.preview-card-info .badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 576px) {
  .course-preview-card {
    flex-direction: column;
    gap: 1rem;
  }
}

