:root {
  --primary: #0077cc;
  --primary-dark: #005fa3;
  --secondary: #2c3e50;
  --accent: #f39c12;
  --bg-light: #f8fafc;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --shadow: 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);
  --radius: 12px;
}

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

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3 {
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.section-lead {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Header & Nav */
.top-bar {
  background: #001f3f;
  color: white;
  padding: 0.5rem 0;
  border-bottom: 4px solid var(--primary);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 50px;
  width: auto;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.logo-subtitle {
  font-size: 0.75rem;
  opacity: 0.8;
}

.top-contact {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.top-contact a {
  color: white;
  text-decoration: none;
}

.nav {
  background: white;
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s;
}

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

/* Course Filters */
.filters-section {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-end;
}

.filter-group {
  flex: 1;
  min-width: 250px;
}

.filter-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
}

/* Featured Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.badge-primary {
  background: #e0f2fe;
  color: var(--primary);
}

/* About & Services Sections */
.info-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.info-content h2 {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.info-content p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.info-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

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

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-weight: 600;
  color: var(--secondary);
}

/* Service Cards */
.service-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
  .info-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* Cards & Grid */
.grid-3 {
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 5px solid var(--primary);
}

/* Accordion Styles */
.accordion {
  padding: 0;
  overflow: hidden;
}

.accordion-header {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: white;
  user-select: none;
}

.accordion-header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.accordion-header .icon {
  transition: transform 0.3s;
  color: var(--primary);
  font-size: 1.2rem;
}

.accordion-content {
  padding: 0 2rem 2rem 2rem;
  display: block; /* Visible by default in JS init */
}

.accordion.collapsed .accordion-content {
  display: none;
}

.accordion.collapsed .icon {
  transform: rotate(-90deg);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.course-title {
  font-size: 1.4rem;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  height: 3.4em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.course-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.course-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.course-disclaimer {
  font-size: 0.75rem;
  color: #94a3b8;
  font-style: italic;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.bg-white {
  background: white;
}

/* Forms */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row label {
  font-weight: 600;
  color: var(--secondary);
}

.form-row input, .form-row textarea, .form-row select {
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
}

.form-status {
  margin-top: 1rem;
  font-weight: 600;
}

/* Footer */
.footer {
  background: #001f3f;
  color: white;
  padding: 3rem 0;
  margin-top: 5rem;
}

.footer-inner {
  text-align: center;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

