:root {
  --primary-color: #0f172a;
  --accent-color: #4f46e5;
  --accent-hover: #4338ca;
  --bg-light: #f8fafc;
  --card-bg: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  font-size: 20px;
  color: var(--primary-color);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
}

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

.hero {
  background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 40%);
  padding: 120px 24px 80px 24px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--primary-color);
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background-color: var(--accent-color);
  color: white;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

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

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

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

.section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 24px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 32px;
  text-align: center;
}

.grid-courses {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.course-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.course-branch {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent-color);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.course-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.course-fee {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
}

footer {
  background-color: var(--primary-color);
  color: white;
  padding: 60px 24px;
  border-top: 1px solid var(--border-color);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-col h3 {
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 16px;
}

.footer-col p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.8;
}

.badges {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.badges img {
  height: 40px;
}

/* ==========================================================================
   SPLIT-SCREEN HOMEPAGE STYLES
   ========================================================================== */
.split-homepage {
  display: flex;
  min-height: calc(100vh - 73px); /* fits perfectly under the sticky header */
  overflow: hidden;
  width: 100%;
}

.split-side {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  color: white;
  transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
  overflow: hidden;
}

.training-side {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

.consulting-side {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.split-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(15, 23, 42, 0.65) 100%);
  z-index: 1;
  transition: opacity 0.6s ease;
}

.split-content {
  position: relative;
  z-index: 2;
  max-width: 460px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.split-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #a5b4fc;
}

.consulting-side .split-tag {
  color: #38bdf8;
}

.split-content h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.split-content p {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.6;
}

.split-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.btn-blue {
  background-color: #0284c7;
}

.btn-blue:hover {
  background-color: #0369a1;
}

/* Hover Scale-up & Squeeze Effect */
@media (min-width: 769px) {
  .split-side:hover {
    flex: 1.25;
  }
  
  .split-side:hover .split-overlay {
    opacity: 0.35;
  }

  .split-side:hover .split-content {
    transform: translateY(-8px);
  }

  /* Shrink & Dim the opposite side */
  .split-homepage:has(.split-side:hover) .split-side:not(:hover) {
    flex: 0.75;
    filter: brightness(0.5) grayscale(0.2);
  }
}

/* Mobile Responsiveness Stack */
@media (max-width: 768px) {
  .split-homepage {
    flex-direction: column;
    min-height: auto;
  }

  .split-side {
    padding: 80px 24px;
    min-height: 45vh;
  }

  .split-content h2 {
    font-size: 26px;
  }

  .split-content p {
    font-size: 14px;
  }

  .split-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .split-actions .btn {
    width: 100%;
  }
}

