/* ==========================================================================
   COACHING BEARS - STYLING SYSTEM
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* CSS Custom Properties & Design Tokens */
:root {
  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Transitions */
  --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 Styles */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.15);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Z-Index */
  --z-sticky: 100;
  --z-modal: 1000;
  --z-toast: 1001;

  /* Light Theme Variables (Default) */
  --color-primary: #0F172A;      /* Deep Navy Blue */
  --color-secondary: #2563EB;    /* Electric Blue */
  --color-accent: #F59E0B;       /* Gold */
  
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;       /* Off White / Light Gray */
  --bg-tertiary: #F1F5F9;
  --bg-glass: rgba(255, 255, 255, 0.7);
  
  --text-main: #1E293B;          /* Dark gray text */
  --text-muted: #64748B;         /* Medium gray text */
  --text-inverse: #FFFFFF;       /* White text */
  
  --border-color: #E2E8F0;
  --border-hover: #CBD5E1;
  --input-bg: #FFFFFF;
  
  --hero-glow: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
}

/* Dark Theme Variables */
[data-theme="dark"] {
  --color-primary: #F8FAFC;      /* Swap primary to off-white for text compatibility */
  --bg-primary: #0B0F19;         /* Very Dark Navy */
  --bg-secondary: #111827;       /* Dark Navy */
  --bg-tertiary: #1E293B;        /* Slate Navy */
  --bg-glass: rgba(11, 15, 25, 0.75);
  
  --text-main: #E2E8F0;
  --text-muted: #94A3B8;
  --text-inverse: #0B0F19;
  
  --border-color: #334155;
  --border-hover: #475569;
  --input-bg: #1E293B;
  
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.25);
  --hero-glow: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 50%), 
               radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 40%);
}

/* ==========================================================================
   CSS RESETS & GLOBAL STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
}

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

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

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

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

button {
  cursor: pointer;
}

/* ==========================================================================
   LAYOUT CONTAINERS & GRID
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.75rem;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all var(--transition-normal);
  font-family: var(--font-heading);
  text-align: center;
}

.btn-primary {
  background-color: #2563EB; /* Electric Blue always */
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background-color: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

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

.btn-secondary:hover {
  background-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--color-accent);
  color: #0F172A !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-accent:hover {
  background-color: #D97706;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-outline {
  border: 2px solid var(--border-color);
  color: var(--color-primary);
}

.btn-outline:hover {
  border-color: #2563EB;
  color: #2563EB;
  background-color: rgba(37, 99, 235, 0.03);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: var(--z-sticky);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
}

.logo span {
  color: #2563EB;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
}

.logo-main-text span {
  color: #2563EB;
}

.logo-sub-text {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1px;
}

.footer .logo-sub-text {
  color: #94A3B8;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #2563EB 0%, #F59E0B 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--color-secondary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-secondary);
}

.nav-link.active::after {
  width: 100%;
}

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

/* Theme Toggle Button */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-tertiary);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background-color: var(--border-hover);
  transform: scale(1.05);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.theme-toggle .sun-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  display: block;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

/* Mobile Nav Styles */
@media (max-width: 992px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 80px;
    left: 100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-primary);
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2rem;
    transition: left var(--transition-normal);
    z-index: var(--z-sticky);
    box-shadow: var(--shadow-lg);
  }
  
  .nav.open {
    left: 0;
  }
  
  .header-actions {
    margin-right: 1rem;
  }
  
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: 100vh;
  padding-top: 180px;
  padding-bottom: 80px;
  background: var(--hero-glow);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: #2563EB;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

[data-theme="dark"] .hero-badge {
  color: #60A5FA;
  background-color: rgba(96, 165, 250, 0.1);
  border-color: rgba(96, 165, 250, 0.2);
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background-color: #2563EB;
  border-radius: 50%;
  animation: pulse-ring 1.5s infinite;
}

[data-theme="dark"] .hero-badge .pulse {
  background-color: #60A5FA;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title span.gradient-text {
  background: linear-gradient(135deg, #2563EB 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-trust-metrics {
  display: flex;
  gap: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.trust-metric-item {
  display: flex;
  flex-direction: column;
}

.trust-metric-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.trust-metric-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

.hero-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  overflow: hidden;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  background-color: var(--bg-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  animation: float-y 4s ease-in-out infinite;
}

.hero-floating-card-1 {
  top: 10%;
  left: -5%;
}

.hero-floating-card-2 {
  bottom: 15%;
  right: -5%;
  animation-delay: 2s;
}

.hero-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563EB;
  font-size: 1.25rem;
}

.hero-icon-box.gold {
  background-color: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
}

.hero-card-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-card-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-trust-metrics {
    justify-content: center;
    gap: 3rem;
  }
  
  .hero-floating-card-1 {
    left: 5%;
  }
  
  .hero-floating-card-2 {
    right: 5%;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-trust-metrics {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  
  .trust-metric-item {
    width: calc(50% - 1rem);
  }
}

/* Animations */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

@keyframes float-y {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ==========================================================================
   TRUST SECTION (BANNER)
   ========================================================================== */
.trust-banner {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 3rem 0;
}

.trust-banner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust-banner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.trust-banner-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
  color: #2563EB;
}

.trust-banner-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 0.25rem;
}

.trust-banner-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .trust-banner-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .trust-banner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   CAREER OUTCOMES GRID
   ========================================================================== */
.career-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.career-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.career-card:hover {
  transform: translateY(-8px);
  border-color: #2563EB;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.career-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.career-role {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.career-salary {
  background-color: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #D97706;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 1.25rem;
}

[data-theme="dark"] .career-salary {
  color: #FBBF24;
  background-color: rgba(245, 158, 11, 0.15);
}

.career-skills {
  margin-bottom: 1.5rem;
}

.career-skills span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.career-skills-list {
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 500;
}

.career-path {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.career-path span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.career-path-detail {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2563EB;
}

/* ==========================================================================
   COURSES SECTION (INTERACTIVE TABS)
   ========================================================================== */
.courses-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.course-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
}

.course-tabs::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.course-tab-btn {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 1rem 1.5rem;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.course-tab-btn:hover {
  color: var(--color-primary);
}

.course-tab-btn.active {
  color: #2563EB;
  border-bottom-color: #2563EB;
}

.course-content {
  display: none;
  animation: fade-in 0.5s ease;
}

.course-content.active {
  display: block;
}

.course-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .course-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.course-details {
  display: flex;
  flex-direction: column;
}

.course-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.course-outcome {
  font-size: 1.125rem;
  color: #2563EB;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.course-topics-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.course-topics-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 576px) {
  .course-topics-list {
    grid-template-columns: 1fr;
  }
}

.course-topic-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.course-topic-icon {
  color: #10B981; /* Green check */
  flex-shrink: 0;
}

.course-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.course-sidebar-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.course-sidebar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background-color: #2563EB;
}

.sidebar-feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.sidebar-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.sidebar-feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.sidebar-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: rgba(37, 99, 235, 0.1);
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.sidebar-feature-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-primary);
}

.sidebar-feature-text span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.course-pricing-info {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.course-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #F59E0B;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

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

.course-duration {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: #2563EB;
  box-shadow: var(--shadow-lg);
}

.why-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: rgba(37, 99, 235, 0.08);
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.why-card:hover .why-icon-wrapper {
  background-color: #2563EB;
  color: white;
  transform: scale(1.1);
}

.why-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.why-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   PLACEMENT ASSISTANCE & SUCCESS STORIES (CAROUSEL)
   ========================================================================== */
.placement-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .placement-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.placement-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.placement-feature-card {
  display: flex;
  gap: 1rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all var(--transition-fast);
}

.placement-feature-card:hover {
  border-color: #2563EB;
  box-shadow: var(--shadow-md);
}

.placement-feature-icon {
  font-size: 1.5rem;
  color: #2563EB;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placement-feature-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

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

/* Testimonial Carousel */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.carousel-track-container {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.student-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.student-img-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #2563EB;
  overflow: hidden;
  background-color: var(--bg-tertiary);
}

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

.student-name h4 {
  font-size: 1.125rem;
  font-weight: 700;
}

.student-name p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.salary-growth-badge {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10B981;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.testimonial-quote {
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-main);
  position: relative;
}

.testimonial-quote::before {
  content: '“';
  font-size: 4rem;
  color: rgba(37, 99, 235, 0.15);
  position: absolute;
  top: -2.5rem;
  left: -1rem;
  font-family: Georgia, serif;
}

.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

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

.carousel-dot.active {
  background-color: #2563EB;
  width: 24px;
  border-radius: var(--radius-full);
}

.carousel-arrow-btns {
  display: flex;
  gap: 0.75rem;
}

.carousel-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-arrow-btn:hover {
  background-color: #2563EB;
  color: white;
  border-color: #2563EB;
}

/* ==========================================================================
   INSTRUCTORS SECTION
   ========================================================================== */
.instructor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .instructor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .instructor-grid {
    grid-template-columns: 1fr;
  }
}

.instructor-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.instructor-card:hover {
  transform: translateY(-6px);
  border-color: #2563EB;
  box-shadow: var(--shadow-lg);
}

.instructor-img-wrapper {
  width: 100%;
  aspect-ratio: 1/1;
  background-color: var(--bg-tertiary);
  position: relative;
  overflow: hidden;
}

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

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

.instructor-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.instructor-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.instructor-role {
  font-size: 0.875rem;
  color: #2563EB;
  font-weight: 600;
  margin-bottom: 1rem;
}

.instructor-exp {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.instructor-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.instructor-cert-tag {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.instructor-skills {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.instructor-skills-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.instructor-skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.instructor-skill-tag {
  font-size: 0.8rem;
  color: var(--text-main);
  background-color: rgba(37, 99, 235, 0.05);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

/* ==========================================================================
   LEARNING PROCESS SECTION
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  position: relative;
}

@media (max-width: 1200px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

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

@media (max-width: 480px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem 1rem;
  transition: all var(--transition-normal);
}

.process-step:hover {
  transform: translateY(-5px);
  border-color: #2563EB;
  box-shadow: var(--shadow-md);
}

.process-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(37, 99, 235, 0.08);
  color: #2563EB;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
}

.process-step:hover .process-number {
  background-color: #2563EB;
  color: white;
  border-color: #60A5FA;
}

.process-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-max-width {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item.active {
  border-color: #2563EB;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: left;
}

.faq-toggle-icon {
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: transform var(--transition-normal);
  line-height: 1;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  color: #2563EB;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   FINAL CTA SECTION & FOOTER
   ========================================================================== */
.cta-box {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 4.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-xl);
}

[data-theme="dark"] .cta-box {
  background: linear-gradient(135deg, #0B0F19 0%, #1E293B 100%);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-box-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  color: white;
  font-size: 2.75rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.cta-subtitle {
  color: #94A3B8;
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Footer styling */
.footer {
  background-color: #0F172A;
  color: #94A3B8;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid #1E293B;
}

[data-theme="dark"] .footer {
  background-color: #05070B;
  border-top-color: #111827;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer-logo {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-logo span {
  color: #60A5FA;
}

.footer-about-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #1E293B;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social-icon:hover {
  background-color: #2563EB;
  transform: translateY(-2px);
}

.footer-col-title {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

.footer-links a {
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #60A5FA;
}

.footer-newsletter-text {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.footer-form {
  display: flex;
  gap: 0.5rem;
  background-color: #1E293B;
  border: 1px solid #334155;
  border-radius: var(--radius-md);
  padding: 0.25rem;
}

.footer-input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  color: white;
  background: none;
  border: none;
}

.footer-input::placeholder {
  color: #64748B;
}

.footer-submit-btn {
  background-color: #2563EB;
  color: white;
  padding: 0 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background var(--transition-fast);
}

.footer-submit-btn:hover {
  background-color: #1D4ED8;
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}

[data-theme="dark"] .footer-bottom {
  border-top-color: #111827;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: #60A5FA;
}

/* ==========================================================================
   LEAD CAPTURE MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  transition: transform var(--transition-normal);
  position: relative;
}

.modal-overlay.open .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background-color: var(--border-hover);
  color: var(--color-primary);
}

.modal-body {
  padding: 3rem 2.5rem;
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-align: center;
}

.modal-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  text-align: center;
}

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

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

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background-color: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  background-color: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  transition: all var(--transition-fast);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  cursor: pointer;
}

.form-select:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-submit-btn {
  width: 100%;
  margin-top: 1rem;
}

/* ==========================================================================
   WHATSAPP FLOAT WIDGET
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-bubble {
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  font-size: 2rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.whatsapp-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
  color: var(--text-main);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 576px) {
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
  }
  
  .whatsapp-bubble {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }
  
  .whatsapp-tooltip {
    display: none;
  }
}

/* ==========================================================================
   SCROLL INTERSECT ANIMATIONS
   ========================================================================== */
.fade-up-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Course Syllabus Listing Styles (specifically for course landing pages) */
.syllabus-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.syllabus-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.syllabus-week {
  color: #2563EB;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.syllabus-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.syllabus-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Blog styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: #2563EB;
  box-shadow: var(--shadow-lg);
}

.blog-img-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: var(--bg-tertiary);
  overflow: hidden;
}

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

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

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-link {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 700;
  color: #2563EB;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-card-link:hover {
  color: #1D4ED8;
}

/* Blog Article layout */
.blog-article-layout {
  display: grid;
  grid-template-columns: 2.2fr 0.8fr;
  gap: 4rem;
}

@media (max-width: 992px) {
  .blog-article-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.blog-article {
  background-color: var(--bg-primary);
}

.blog-article-header {
  margin-bottom: 2.5rem;
}

.blog-article-category {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #2563EB;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.blog-article-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

@media (max-width: 576px) {
  .blog-article-title {
    font-size: 2.25rem;
  }
}

.blog-article-meta-strip {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.blog-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--bg-tertiary);
}

.blog-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-author-name {
  font-weight: 600;
  color: var(--color-primary);
}

.blog-hero-img-wrapper {
  margin-bottom: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21/9;
  border: 1px solid var(--border-color);
}

.blog-hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-main);
}

.blog-content p {
  margin-bottom: 1.75rem;
}

.blog-content h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1.25rem 0;
}

.blog-content h3 {
  font-size: 1.35rem;
  margin: 2rem 0 1rem 0;
}

.blog-content ul, .blog-content ol {
  margin-bottom: 1.75rem;
  padding-left: 2rem;
}

.blog-content li {
  margin-bottom: 0.5rem;
}

.blog-content blockquote {
  border-left: 4px solid #2563EB;
  padding-left: 1.5rem;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 2.5rem 0;
}

.blog-content code {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: Consolas, monospace;
}

.blog-content pre {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin-bottom: 1.75rem;
}

.blog-content pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.9rem;
}

/* Thank you page styling */
.thank-you-box {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  max-width: 600px;
  margin: 4rem auto;
  box-shadow: var(--shadow-xl);
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.1);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 2rem auto;
  border: 2px solid rgba(16, 185, 129, 0.2);
}

.thank-you-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.thank-you-message {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.thank-you-next-steps {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.thank-you-next-steps h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.next-step-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.next-step-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(37, 99, 235, 0.1);
  color: #2563EB;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.next-step-text {
  font-size: 0.95rem;
  color: var(--text-main);
}

/* ==========================================================================
   SANDBOX PROJECTS SHOWCASE SECTION
   ========================================================================== */
.projects-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .projects-showcase-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.project-showcase-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium), border-color var(--transition-medium);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-showcase-card:hover {
  transform: translateY(-4px);
  border-color: #60A5FA;
  box-shadow: var(--shadow-lg);
}

.project-showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.project-showcase-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.category-devops {
  background-color: rgba(37, 99, 235, 0.1);
  color: #2563EB;
}

.category-sql {
  background-color: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
}

.category-analytics {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10B981;
}

.category-fullstack {
  background-color: rgba(139, 92, 246, 0.1);
  color: #8B5CF6;
}

.project-showcase-difficulty {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.project-showcase-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.project-showcase-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-showcase-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  background-color: var(--color-bg-alt);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--color-border);
}

.project-showcase-outcomes {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  line-height: 1.5;
}

.project-showcase-outcomes strong {
  color: var(--color-primary);
}
