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

/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
  /* Colors */
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --secondary: #4F46E5;
  --secondary-hover: #4338CA;
  --accent: #7C3AED;
  --accent-hover: #6D28D9;
  
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-card: #FFFFFF;
  
  --text-dark: #111827;
  --text-gray: #6B7280;
  --text-light: #9CA3AF;
  
  --success: #22C55E;
  --warning: #F59E0B;
  --danger: #EF4444;
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
  --grad-accent: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  --grad-light: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
  --grad-dark: linear-gradient(135deg, #111827 0%, #1F2937 100%);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(37, 99, 235, 0.05);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.06);
  --shadow-premium: 0 25px 50px -12px rgba(37, 99, 235, 0.08);
  --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04);
  --glass-blur: blur(12px);

  /* Fonts */
  --font-headings: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   CSS Reset & Global Defaults
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

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

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

ul, ol {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

/* ==========================================================================
   Utility Classes & Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-bg {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px auto;
}

.section-subtitle {
  font-family: var(--font-headings);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-description {
  color: var(--text-gray);
  font-size: 16px;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Spacer */
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
  gap: 8px;
}

.btn-primary {
  background: var(--grad-primary);
  color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--grad-accent);
  opacity: 0;
  z-index: -1;
  transition: var(--transition-normal);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

.btn-accent {
  background: var(--grad-accent);
  color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.25);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.35);
}

.btn-outline {
  border: 2px solid #E2E8F0;
  color: var(--text-dark);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--bg-light);
}

/* Badge tags */
.badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-primary {
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--primary);
}

.badge-accent {
  background-color: rgba(124, 58, 237, 0.08);
  color: var(--accent);
}

.badge-success {
  background-color: rgba(34, 197, 94, 0.08);
  color: var(--success);
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
}

header.sticky {
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: 12px 0;
}

header:not(.sticky) {
  padding: 24px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headings);
  font-size: 24px;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo svg {
  width: 32px;
  height: 32px;
  fill: url(#logoGrad);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 15px;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

/* Navigation Dropdown */
.dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.dropdown-trigger svg {
  transition: var(--transition-fast);
}

.dropdown:hover .dropdown-trigger svg {
  transform: rotate(180deg);
  stroke: var(--primary);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 280px;
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px 8px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  margin-bottom: 4px;
}

.dropdown-menu li:last-child {
  margin-bottom: 0;
}

.dropdown-item {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--bg-light);
  color: var(--primary);
  padding-left: 20px;
}

/* Hamburger Menu button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-dark);
  border-radius: 9px;
  transition: var(--transition-normal);
}

/* Active hamburger states */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 180px 0 100px 0;
  background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.05) 0%, rgba(255, 255, 255, 0) 50%),
              radial-gradient(circle at 10% 80%, rgba(124, 58, 237, 0.04) 0%, rgba(255, 255, 255, 0) 50%);
  position: relative;
}

.hero .grid-2 {
  align-items: center;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.hero-title span {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rating-stars {
  display: flex;
  color: #FBBF24;
}

.rating-text {
  font-size: 14px;
  color: var(--text-gray);
  font-weight: 500;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 480px;
}

.hero-image-wrapper img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--bg-white);
}

/* Floating Elements (Glass Cards on Hero) */
.float-card {
  position: absolute;
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  z-index: 10;
}

.float-card-1 {
  top: 15%;
  left: -15%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.float-card-2 {
  bottom: 12%;
  right: -5%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.float-card-3 {
  bottom: -5%;
  left: 5%;
}

.float-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-icon.primary { background-color: rgba(37, 99, 235, 0.1); color: var(--primary); }
.float-icon.success { background-color: rgba(34, 197, 94, 0.1); color: var(--success); }
.float-icon.accent { background-color: rgba(124, 58, 237, 0.1); color: var(--accent); }

.float-text h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.float-text p {
  font-size: 12px;
  color: var(--text-gray);
  font-weight: 500;
}

/* Decorative background blobs */
.shape-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
}

.shape-blob-1 {
  width: 300px;
  height: 300px;
  background-color: rgba(37, 99, 235, 0.08);
  top: 10%;
  right: 15%;
}

.shape-blob-2 {
  width: 250px;
  height: 250px;
  background-color: rgba(124, 58, 237, 0.06);
  bottom: 15%;
  left: 10%;
}

/* ==========================================================================
   Trusted By Partners Section
   ========================================================================== */
.trusted {
  padding: 40px 0;
  border-top: 1px solid #F1F5F9;
  border-bottom: 1px solid #F1F5F9;
  overflow: hidden;
  background-color: var(--bg-white);
}

.trusted-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

.trusted-title {
  font-family: var(--font-headings);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  letter-spacing: 1px;
}

.logo-slider {
  display: flex;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.logo-slider::before, .logo-slider::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-white) 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-white) 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-track {
  display: flex;
  gap: 80px;
  animation: logoScroll 25s linear infinite;
  width: max-content;
}

.partner-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-light);
}

.partner-logo svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* ==========================================================================
   Categories Section
   ========================================================================== */
.category-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid #F1F5F9;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-premium);
}

.category-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
}

.category-icon.blue { background-color: rgba(37, 99, 235, 0.08); color: var(--primary); }
.category-icon.indigo { background-color: rgba(79, 70, 229, 0.08); color: var(--secondary); }
.category-icon.purple { background-color: rgba(124, 58, 237, 0.08); color: var(--accent); }
.category-icon.green { background-color: rgba(34, 197, 94, 0.08); color: var(--success); }

.category-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.category-card p {
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.category-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.category-link svg {
  transition: var(--transition-fast);
}

.category-card:hover .category-link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Course Cards Section
   ========================================================================== */
.courses-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  background-color: var(--bg-white);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-full);
  font-weight: 500;
  color: var(--text-gray);
  cursor: pointer;
  transition: var(--transition-normal);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--bg-white);
}

.course-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid #F1F5F9;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(37, 99, 235, 0.15);
}

.course-img {
  position: relative;
  height: 200px;
  background-color: #E2E8F0;
  overflow: hidden;
}

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

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

.course-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(4px);
  color: var(--bg-white);
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.course-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-item svg {
  width: 16px;
  height: 16px;
}

.course-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 50px;
}

.course-title a:hover {
  color: var(--primary);
}

.course-desc {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #F1F5F9;
  padding-top: 18px;
  margin-top: auto;
}

.course-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.course-rating svg {
  color: #FBBF24;
}

.course-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.course-link svg {
  transition: var(--transition-fast);
}

.course-card:hover .course-link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   About Section & Achievements
   ========================================================================== */
.about-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--bg-white);
  max-width: 90%;
}

.experience-badge {
  position: absolute;
  bottom: 40px;
  right: 0;
  background: var(--grad-primary);
  color: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 180px;
  z-index: 10;
}

.experience-years {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.experience-text {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-feature-item {
  display: flex;
  gap: 16px;
}

.feature-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 14px;
  color: var(--text-gray);
}

/* Statistics Counters Block */
.stats {
  background: var(--grad-primary);
  color: var(--bg-white);
  padding: 80px 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 24px;
}

.stat-item h3 {
  font-size: 48px;
  font-weight: 800;
  color: var(--bg-white);
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.why-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  border: 1px solid #F1F5F9;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(124, 58, 237, 0.15);
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  font-size: 24px;
}

.why-icon.primary { background-color: rgba(37, 99, 235, 0.08); color: var(--primary); }
.why-icon.secondary { background-color: rgba(79, 70, 229, 0.08); color: var(--secondary); }
.why-icon.accent { background-color: rgba(124, 58, 237, 0.08); color: var(--accent); }

.why-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.why-card p {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================================================================
   Testimonials Slider
   ========================================================================== */
.testimonials {
  position: relative;
  overflow: hidden;
}

.slider-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.slider-wrapper {
  overflow: hidden;
  width: 100%;
}

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.slide {
  flex-shrink: 0;
  width: 100%;
  padding: 10px;
}

.testimonial-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #F1F5F9;
  text-align: center;
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 30px;
  left: 40px;
  opacity: 0.08;
  color: var(--primary);
  width: 60px;
  height: 60px;
}

.testimonial-text {
  font-size: 18px;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 30px;
}

.student-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.student-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}

.student-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.student-course {
  font-size: 13px;
  color: var(--text-gray);
  margin-top: -6px;
}

.student-rating {
  color: #FBBF24;
  display: flex;
  gap: 4px;
}

/* Slider Controls */
.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background-color: var(--bg-white);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}

.slider-arrow:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--bg-white);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #CBD5E1;
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  background-color: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* ==========================================================================
   Gallery Preview Section
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 250px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(37, 99, 235, 0.8), rgba(0, 0, 0, 0.2));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition-normal);
  z-index: 5;
}

.gallery-overlay h4 {
  color: var(--bg-white);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  transform: translateY(10px);
  transition: var(--transition-normal);
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  transform: translateY(10px);
  transition: var(--transition-normal);
}

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

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay h4,
.gallery-item:hover .gallery-overlay p {
  transform: translateY(0);
}

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

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(124, 58, 237, 0.15);
}

.blog-img {
  position: relative;
  height: 220px;
  background-color: #E2E8F0;
  overflow: hidden;
}

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

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

.blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.blog-title a:hover {
  color: var(--primary);
}

.blog-excerpt {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

.blog-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.blog-link svg {
  transition: var(--transition-fast);
}

.blog-card:hover .blog-link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Registration CTA Block
   ========================================================================== */
.cta-banner {
  background: var(--grad-dark);
  color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 80px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  top: -150px;
  right: -100px;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  bottom: -100px;
  left: -50px;
}

.cta-wrapper {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.cta-content {
  max-width: 600px;
}

.cta-title {
  font-size: 36px;
  color: var(--bg-white);
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.cta-action {
  flex-shrink: 0;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
footer {
  background-color: #0F172A;
  color: #94A3B8;
  padding: 80px 0 30px 0;
  border-top: 1px solid #1E293B;
  font-size: 15px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: var(--font-headings);
  font-size: 24px;
  font-weight: 800;
  color: var(--bg-white);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo svg {
  width: 32px;
  height: 32px;
  fill: #2563EB;
}

.footer-desc {
  line-height: 1.6;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: #1E293B;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

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

.footer-title {
  font-family: var(--font-headings);
  font-size: 16px;
  font-weight: 600;
  color: var(--bg-white);
  margin-bottom: 24px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--bg-white);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-newsletter p {
  margin-bottom: 16px;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  background-color: #1E293B;
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: var(--bg-white);
  font-size: 14px;
  flex-grow: 1;
  transition: var(--transition-fast);
}

.newsletter-input:focus {
  border-color: var(--primary);
}

.newsletter-form button {
  background-color: var(--primary);
  color: var(--bg-white);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-form button:hover {
  background-color: var(--primary-hover);
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

/* ==========================================================================
   Back To Top Component & Loader
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: -60px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 999;
  transition: var(--transition-normal);
  opacity: 0;
  visibility: hidden;
}

.back-to-top.active {
  right: 30px;
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

/* Page Loader */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader {
  width: 48px;
  height: 48px;
  border: 4px solid var(--bg-light);
  border-bottom-color: var(--primary);
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Subpages Inner Headers (Hero Banner)
   ========================================================================== */
.inner-hero {
  padding: 150px 0 80px 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, rgba(124, 58, 237, 0.03) 100%), #FFFFFF;
  border-bottom: 1px solid #F1F5F9;
  text-align: center;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-gray);
  margin-top: 12px;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs span {
  color: var(--text-light);
}

/* ==========================================================================
   FAQs Search & Accordions
   ========================================================================== */
.faq-search-wrapper {
  max-width: 500px;
  margin: 0 auto 50px auto;
  position: relative;
}

.faq-search-input {
  width: 100%;
  padding: 16px 20px 16px 50px;
  background-color: var(--bg-white);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: 15px;
  color: var(--text-dark);
  transition: var(--transition-normal);
}

.faq-search-input:focus {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-search-wrapper svg {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-gray);
  width: 20px;
  height: 20px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-header {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-dark);
}

.faq-header svg {
  transition: var(--transition-normal);
  color: var(--text-gray);
  flex-shrink: 0;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 24px;
  color: var(--text-gray);
  font-size: 14px;
  border-top: 1px solid transparent;
}

.faq-item.active {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-header {
  color: var(--primary);
}

.faq-item.active .faq-header svg {
  transform: rotate(180deg);
  stroke: var(--primary);
}

.faq-item.active .faq-content {
  padding: 0 24px 24px 24px;
  border-top-color: #F1F5F9;
}

/* ==========================================================================
   Gallery Page Filter and Lightbox
   ========================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.gallery-grid-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-card-page {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  position: relative;
  height: 280px;
  border: 1px solid #F1F5F9;
}

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

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

.gallery-page-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(37, 99, 235, 0.85), rgba(79, 70, 229, 0.3));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-normal);
  color: var(--bg-white);
  padding: 24px;
  text-align: center;
}

.gallery-card-page:hover .gallery-page-overlay {
  opacity: 1;
}

.gallery-page-overlay svg {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  transform: scale(0.8);
  transition: var(--transition-normal);
}

.gallery-card-page:hover .gallery-page-overlay svg {
  transform: scale(1);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 80%;
  max-height: 75%;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 50px rgba(0,0,0,0.5);
  border: 4px solid var(--bg-white);
}

.lightbox-caption {
  color: var(--bg-white);
  margin-top: 16px;
  font-size: 16px;
  font-family: var(--font-headings);
  font-weight: 500;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: var(--bg-white);
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  transform: scale(1.1);
  color: var(--danger);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bg-white);
  cursor: pointer;
  transition: var(--transition-fast);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
}

.lightbox-arrow:hover {
  background-color: var(--primary);
}

.lightbox-arrow-left {
  left: 40px;
}

.lightbox-arrow-right {
  right: 40px;
}

/* ==========================================================================
   Modern Contact / Registration Forms
   ========================================================================== */
.form-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #F1F5F9;
}

.form-title {
  font-size: 24px;
  margin-bottom: 24px;
  font-weight: 700;
  border-bottom: 2px solid #F1F5F9;
  padding-bottom: 12px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--bg-light);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error-msg {
  color: var(--danger);
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.form-submit {
  width: 100%;
  margin-top: 10px;
}

/* Success notification message layout */
.form-success-banner {
  background-color: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.15);
  color: var(--success);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  display: none;
  align-items: flex-start;
  gap: 12px;
}

.form-success-banner svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.form-success-banner h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--success);
}

.form-success-banner p {
  font-size: 14px;
  line-height: 1.4;
  color: #166534;
}

/* Contact Info Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid #F1F5F9;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-text p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.5;
}

.map-placeholder {
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background-color: #E2E8F0;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-sm);
}

.map-placeholder-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-gray);
  text-align: center;
  padding: 24px;
}

.map-placeholder-overlay svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 12px;
}

/* ==========================================================================
   Blog Listing & Sidebar
   ========================================================================== */
.blog-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar-widget {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid #F1F5F9;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #F1F5F9;
  position: relative;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

.search-widget {
  position: relative;
}

.search-widget input {
  width: 100%;
  padding: 12px 40px 12px 16px;
  background-color: var(--bg-light);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  font-size: 14px;
}

.search-widget input:focus {
  border-color: var(--primary);
  background-color: var(--bg-white);
}

.search-widget svg {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-gray);
}

.categories-list li {
  margin-bottom: 12px;
}

.categories-list li:last-child {
  margin-bottom: 0;
}

.categories-list a {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-gray);
}

.categories-list a:hover {
  color: var(--primary);
}

.recent-posts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recent-post-item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.recent-post-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background-color: #E2E8F0;
  flex-shrink: 0;
  overflow: hidden;
}

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

.recent-post-info h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recent-post-info h4 a:hover {
  color: var(--primary);
}

.recent-post-info span {
  font-size: 12px;
  color: var(--text-light);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination-item {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.pagination-item:hover, .pagination-item.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--bg-white);
}

/* ==========================================================================
   Blog Single Detail Page
   ========================================================================== */
.post-detail-header {
  margin-bottom: 32px;
}

.post-meta-detailed {
  display: flex;
  gap: 20px;
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 16px;
  justify-content: center;
}

.post-meta-detailed span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-detail-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.2;
}

.post-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 450px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
  background-color: #E2E8F0;
}

.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-body {
  color: #374151;
  font-size: 16px;
  line-height: 1.8;
}

.post-body p {
  margin-bottom: 24px;
}

.post-body h2, .post-body h3 {
  color: var(--text-dark);
  margin: 40px 0 16px 0;
}

.post-body blockquote {
  font-size: 18px;
  font-style: italic;
  color: var(--primary);
  border-left: 4px solid var(--primary);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  background-color: rgba(37, 99, 235, 0.03);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.post-body ul {
  list-style: disc;
  margin-left: 24px;
  margin-bottom: 24px;
}

.post-body ul li {
  margin-bottom: 8px;
}

.post-footer-tags {
  display: flex;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #F1F5F9;
  flex-wrap: wrap;
}

.post-author-box {
  display: flex;
  gap: 24px;
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 32px;
  margin: 48px 0;
  align-items: center;
}

.author-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 4px solid var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.author-info h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.author-info p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.5;
}

/* Comments Section */
.comments-section {
  margin-top: 48px;
}

.comments-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.comment-item {
  display: flex;
  gap: 16px;
}

.comment-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #E2E8F0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-gray);
}

.comment-body {
  background-color: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius-md);
  flex-grow: 1;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.comment-author-name {
  font-weight: 700;
  font-size: 14px;
}

.comment-date {
  font-size: 12px;
  color: var(--text-light);
}

.comment-text {
  font-size: 14px;
  color: #374151;
}

/* ==========================================================================
   Course Detail Page UI Layout
   ========================================================================== */
.course-detail-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
}

.course-info-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.course-detail-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid #F1F5F9;
  box-shadow: var(--shadow-sm);
}

.course-detail-card h3 {
  font-size: 20px;
  margin-bottom: 20px;
  border-bottom: 2px solid #F1F5F9;
  padding-bottom: 10px;
}

.outcome-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.outcome-item {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--text-gray);
}

.outcome-item svg {
  color: var(--success);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Curriculum Accordion style */
.curriculum-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.curriculum-item {
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.curriculum-header {
  padding: 16px 20px;
  background-color: var(--bg-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
}

.curriculum-header svg {
  transition: var(--transition-fast);
  color: var(--text-gray);
}

.curriculum-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
  padding: 0 20px;
  font-size: 14px;
  color: var(--text-gray);
}

.curriculum-item.active {
  border-color: rgba(37, 99, 235, 0.2);
}

.curriculum-item.active .curriculum-header {
  color: var(--primary);
  background-color: rgba(37, 99, 235, 0.02);
}

.curriculum-item.active .curriculum-header svg {
  transform: rotate(180deg);
  stroke: var(--primary);
}

.curriculum-item.active .curriculum-content {
  padding: 16px 20px;
  border-top: 1px solid #E2E8F0;
}

.curriculum-topics {
  list-style: disc;
  margin-left: 20px;
}

.curriculum-topics li {
  margin-bottom: 8px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tool-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: var(--transition-fast);
}

.tool-card:hover {
  background-color: var(--bg-white);
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.tool-card svg {
  width: 32px;
  height: 32px;
  margin: 0 auto 8px auto;
  color: var(--secondary);
}

.trainer-box {
  display: flex;
  gap: 20px;
  align-items: center;
}

.trainer-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.trainer-details h4 {
  font-size: 18px;
  font-weight: 700;
}

.trainer-details span {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.trainer-details p {
  font-size: 14px;
  color: var(--text-gray);
}

/* Sidebar Sidebar Widget */
.course-sidebar-widget {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid #F1F5F9;
  box-shadow: var(--shadow-lg);
  padding: 32px;
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.course-info-list-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.course-info-item-side {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #F1F5F9;
}

.course-info-item-side:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.course-info-item-side span:first-child {
  font-weight: 600;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-info-item-side span:first-child svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.course-info-item-side span:last-child {
  font-weight: 700;
  color: var(--text-dark);
}

.enroll-now-btn-side {
  width: 100%;
}
