/* =========================
   ROOT & BASE
========================= */
:root {
  --brand: #0d6efd;
  --dark: #0b1220;
  --text-dark: #1f2937;
  --text-muted: #475569;
}

body {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  background: #f8f9fb;
  color: #222;
}

a {
  text-decoration: none;
}

/* =========================
   CONTAINER
========================= */
.container {
  max-width: 1100px;
}

/* =========================
   NAVBAR
========================= */
.navbar-brand img {
  height: 48px;
}

.nav-link {
  font-weight: 500;
  color: #334155 !important;
}

.nav-link.active,
.nav-link:hover {
  color: var(--brand) !important;
}

/* =========================
   CARD (GLOBAL)
========================= */
.card {
  border-radius: 12px;
  border: none;
}

/* =========================
   FEATURE / WHY CHOOSE
========================= */
.feature-section {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

.feature-card {
  background: #ffffff;
  padding: 36px 30px;
  border-radius: 18px;
  text-align: center;
  height: 100%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.25);
}

.feature-card h5 {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 1.15rem;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =========================
   COURSE CARD
========================= */
.course-card {
  min-height: 100%;
}

/* =========================
   FORM
========================= */
.form-control {
  border-radius: 10px;
  padding: 10px 14px;
}

.form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
}

/* =========================
   BUTTONS
========================= */
.btn-primary {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  font-weight: 600;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0a58ca, #084298);
}

/* =========================
   TRAINERS SECTION (FIXED)
========================= */
.trainer-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--brand);
  flex-shrink: 0;           /* 🔥 IMPORTANT FIX */
}

.card-body.d-flex {
  gap: 12px;
}

/* =========================
   FOOTER
========================= */
footer {
  background: var(--dark);
  color: #fff;
}

footer .small {
  color: #c7d2fe;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 575px) {
  .container {
    padding: 0 16px;
  }

  .feature-card {
    padding: 28px 22px;
  }

  .card-body.d-flex {
    flex-direction: column;
    text-align: center;
  }

  .trainer-img {
    margin-bottom: 10px;
  }/* =========================
   ROOT & BASE
========================= */
:root {
  --brand: #0d6efd;
  --dark: #0b1220;
  --text-dark: #1f2937;
  --text-muted: #475569;
}

body {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  background: #f8f9fb;
  color: #222;
}

a {
  text-decoration: none;
}

/* =========================
   CONTAINER
========================= */
.container {
  max-width: 1100px;
}

/* =========================
   NAVBAR
========================= */
.navbar-brand img {
  height: 48px;
}

.nav-link {
  font-weight: 500;
  color: #334155 !important;
}

.nav-link.active,
.nav-link:hover {
  color: var(--brand) !important;
}

/* =========================
   CARD (GLOBAL)
========================= */
.card {
  border-radius: 14px;
  border: none;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* =========================
   FEATURE / WHY CHOOSE US
========================= */
.feature-section {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

.feature-card {
  background: #ffffff;
  padding: 36px 30px;
  border-radius: 18px;
  text-align: center;
  height: 100%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.25);
}

.feature-card h5 {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 1.15rem;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =========================
   COURSE CARD
========================= */
.course-card {
  min-height: 100%;
}

/* =========================
   FORM
========================= */
.form-control {
  border-radius: 10px;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
}

.form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
}

/* =========================
   BUTTONS
========================= */
.btn-primary {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  font-weight: 600;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0a58ca, #084298);
}

/* =========================
   TRAINERS SECTION (FINAL FIX)
========================= */
.trainer-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--brand);
  flex-shrink: 0;
  background: #fff;
  transition: transform 0.3s ease;
}

.card:hover .trainer-img {
  transform: scale(1.08);
}

.card-body.d-flex {
  align-items: flex-start;
  gap: 14px;
}

/* =========================
   FOOTER
========================= */
.footer-link {
  color: #cbd5e1;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}

.footer-link:hover {
  color: #0d6efd;
}

.social-icon {
  color: #ffffff;
  font-size: 20px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
  color: #0d6efd;
  transform: translateY(-3px);
}

footer {
  background: #111827;
  color: #ffffff;
}

footer .small {
  color: #c7d2fe;
}


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 575px) {
  .container {
    padding: 0 16px;
  }

  .feature-card {
    padding: 28px 22px;
  }

  .card-body.d-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .trainer-img {
    width: 72px;
    height: 72px;
    margin-bottom: 8px;
  }
}

}
