/* Calvin Coder — all front-end styles (no page inline CSS) */
:root {
  --orange: #d94f00;
  --orange-dark: #b33f00;
  --orange-light: #ff7530;
  --orange-xlight: #fff0e8;
  --bg-base: #ffffff;
  --bg-surface: #fff8f4;
  --bg-card: #ffffff;
  --bg-card2: #fff3ec;
  --border: rgba(217, 79, 0, 0.15);
  --border-soft: rgba(217, 79, 0, 0.09);
  --text-dark: #1e1209;
  --text-body: #3d2410;
  --text-muted: #8a6555;
  --text-soft: #5c3620;
  --text-white: #1e1209;
  --navbar-bg: #ffffff;
  --topbar-bg: #d94f00;
  --gold: #d94f00;
  --gold-dark: #b33f00;
  --gold-light: #ff7530;
}

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

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg-base);
  color: var(--text-body);
  overflow-x: hidden;
}

.top-bar {
  background: var(--topbar-bg);
  border-bottom: none;
  font-size: 12.5px;
  padding: 7px 0;
  color: rgba(255, 255, 255, 0.88);
}

.top-bar a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}

.top-bar a:hover {
  color: #fff;
}

.top-bar .divider {
  margin: 0 10px;
  opacity: 0.4;
}

.top-bar .highlight {
  color: #ffe8d6;
  font-weight: 700;
}

.main-navbar {
  background: var(--navbar-bg);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 2px 16px rgba(217, 79, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
  transition: box-shadow 0.3s;
}

.main-navbar > .container {
  align-items: center;
  min-height: 64px;
}

.main-navbar.scrolled {
  box-shadow: 0 4px 28px rgba(217, 79, 0, 0.14);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.main-navbar .brand-logo.navbar-brand {
  flex-shrink: 0;
  margin: 0 1rem 0 0;
  margin-bottom: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  line-height: 0;
  width: min(220px, 42vw);
  max-width: 240px;
}

.main-navbar .brand-logo .logo-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 576px) {
  .main-navbar .brand-logo.navbar-brand {
    width: min(240px, 36vw);
  }

  .main-navbar .brand-logo .logo-img {
    max-height: 52px;
  }
}

@media (min-width: 992px) {
  .main-navbar .brand-logo.navbar-brand {
    width: 240px;
  }

  .main-navbar .brand-logo .logo-img {
    max-height: 56px;
  }
}

.footer-brand .footer-logo-link {
  display: block;
  width: 100%;
  max-width: 260px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  line-height: 0;
  text-decoration: none;
}

.footer-brand .logo-img {
  width: 100%;
  height: auto;
  max-height: 56px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.brand-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: var(--orange);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  letter-spacing: -1px;
}

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

.brand-logo .logo-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.5px;
}

.brand-logo .logo-name span {
  color: var(--orange);
}

.brand-logo .logo-sub {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.main-navbar .nav-link {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text-body) !important;
  padding: 16px 12px !important;
  position: relative;
  transition: color 0.25s;
  letter-spacing: 0.2px;
}

.main-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.25s;
  border-radius: 2px 2px 0 0;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--orange) !important;
}

.main-navbar .nav-link:hover::after {
  transform: scaleX(1);
}

.main-navbar .dropdown-menu {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 2px solid var(--orange);
  border-radius: 0 0 10px 10px;
  padding: 6px 0;
  box-shadow: 0 12px 32px rgba(217, 79, 0, 0.1);
}

.main-navbar .dropdown-item {
  font-size: 13px;
  padding: 9px 20px;
  font-weight: 500;
  color: var(--text-body);
}

.main-navbar .dropdown-item:hover {
  background: var(--orange-xlight);
  color: var(--orange);
}

.navbar-toggler {
  border: 1px solid var(--border);
}

.nav-item-contact-cta {
  align-self: stretch;
  display: flex;
  align-items: center;
}

.btn-nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  background: #ff5924;
  color: #fff !important;
  border-radius: 8px;
  padding: 10px 20px !important;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 14px;
  margin-left: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 4px 16px rgba(255, 89, 36, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.btn-nav-contact:hover {
  color: #fff !important;
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow:
    0 8px 26px rgba(217, 79, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-nav-contact:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(217, 79, 0, 0.35),
    0 4px 16px rgba(217, 79, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-nav-contact.active {
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.35),
    0 4px 16px rgba(217, 79, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-nav-contact.active .btn-nav-contact-icon {
  background: rgba(0, 0, 0, 0.28);
}

@media (max-width: 991.98px) {
  .nav-item-contact-cta {
    width: 100%;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border-soft);
  }

  .nav-item-contact-cta .btn-nav-contact {
    width: 100%;
    justify-content: center;
    padding: 14px 20px !important;
  }
}

.hero-carousel {
  position: relative;
}

.hero-slide {
  height: 500px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgb(255, 111, 0) 0%, rgba(255, 255, 255, 0) 55%, rgba(30, 18, 9, 0) 100%);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(217, 79, 0, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.hero-slide-1 {
  background-image: url("../assets/img/homebanner/homepagebanner/softeweretestingbanner.png");
}

.hero-slide-2 {
  background-image: url("../assets/img/homebanner/homepagebanner/automationbanner.png");
}

.hero-slide-3 {
  background-image: url("../assets/img/homebanner/homepagebanner/javadevlopmentbanner.png");
}

.hero-slide-4 {
  background-image: url("../assets/img/homebanner/homepagebanner/mobiletestingbanner.png");
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  max-width: 650px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000;
  border: 2px solid #fff;
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-eyebrow i {
  font-size: 10px;
}

.hero-content h1 {
  font-size: clamp(28px, 4.2vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  font-family: "Poppins", sans-serif;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-content h1 .highlight-text {
  color: #ff9050;
  position: relative;
}

.hero-content p {
  font-size: 15px;
  color: #fff;
  line-height: 1.8;
  margin-bottom: 26px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.hero-tag {
  background: #000;
  border: 2px solid #fff;
  color: #fff;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tag-dot {
  font-size: 6px;
  color: #fff;
}

.btn-hero {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #ffa500 100%);
  color: #fff;
  border: none;
  padding: 13px 32px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-hero:hover {
  background: linear-gradient(135deg, #ff8c42 0%, #ffa500 50%, #ffb84d 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.6);
}

.btn-hero-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
  margin-left: 12px;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-hero-outline:hover {
  background: #fff;
  color: #ff6b35;
  border-color: #fff;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
}

.carousel-control-prev,
.carousel-control-next {
  width: 46px;
  height: 46px;
  background: rgba(245, 194, 0, 0.15);
  border: 1px solid rgba(245, 194, 0, 0.3);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  margin: 0 12px;
  transition: background 0.25s;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--gold);
}

.carousel-control-prev:hover i,
.carousel-control-next:hover i {
  color: #07090f !important;
}

.carousel-chevron {
  color: #fff;
  font-size: 15px;
}

.carousel-indicators [data-bs-target] {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(245, 194, 0, 0.3);
  border: none;
  transition: all 0.3s;
}

.carousel-indicators .active {
  background: var(--gold);
  width: 40px;
}

.section-title {
  text-align: center;
  margin-bottom: 44px;
}

.section-title .label {
  color: var(--gold);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.section-title .label::before,
.section-title .label::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title h2 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 12px;
  font-family: "Poppins", sans-serif;
}

.section-title p {
  color: var(--text-muted);
  font-size: 14.5px;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

.title-line {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
  margin: 14px auto 0;
}

.section-title-companies h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-white);
}

.stats-enquiry {
  background: var(--bg-surface);
  padding: 70px 0;
}

.welcome-box h6 {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 10px;
}

.welcome-box h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 14px;
  font-family: "Poppins", sans-serif;
  line-height: 1.3;
}

.welcome-box p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
}

.welcome-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.welcome-tag {
  background: rgba(245, 194, 0, 0.07);
  border: 1px solid var(--border);
  color: var(--gold);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin: 14px 0;
}

.highlight-list li {
  font-size: 14px;
  color: var(--text-soft);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.highlight-list li::before {
  content: "✓";
  background: var(--gold);
  color: #07090f;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}

.stats-row {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 22px 20px;
  border-radius: 12px;
  text-align: center;
  flex: 1;
  min-width: 110px;
  position: relative;
  overflow: hidden;
}

.stat-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
}

.stat-box .num {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  font-family: "Poppins", sans-serif;
}

.stat-box .lbl {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

.btn-demo {
  background: #ff5924;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  transition: all 0.25s;
  font-family: "Poppins", sans-serif;
}

.btn-demo:hover {
  background: #e04a1a;
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 89, 36, 0.3);
}

.enquiry-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  border-top: 4px solid var(--gold);
}

.enquiry-card h4 {
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 22px;
  font-size: 19px;
  font-family: "Poppins", sans-serif;
}

.enquiry-card h4 .icon-gold {
  color: var(--gold);
}

.enquiry-card .form-control,
.enquiry-card .form-select,
.enquiry-card textarea.form-control {
  background: var(--bg-card2);
  border: 1.5px solid var(--border-soft);
  color: var(--text-white);
  border-radius: 8px;
  font-size: 13.5px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.enquiry-card .form-control:focus,
.enquiry-card .form-select:focus,
.enquiry-card textarea.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 194, 0, 0.1);
  background: var(--bg-card2);
  color: var(--text-white);
}

.enquiry-card .form-control::placeholder {
  color: var(--text-muted);
}

.enquiry-card .form-select option {
  background: var(--bg-card2);
}

.btn-enquiry {
  background: #ff5924;
  color: #fff;
  border: none;
  width: 100%;
  padding: 13px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 15px;
  transition: all 0.25s;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
}

.btn-enquiry:hover {
  background: #e04a1a;
  box-shadow: 0 6px 20px rgba(255, 89, 36, 0.3);
}

.enquiry-captcha-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.captcha-question {
  font-weight: 700;
  font-size: 14px;
  color: var(--gold);
}

.captcha-input {
  max-width: 90px;
  margin-bottom: 0 !important;
}

.btn-captcha-refresh {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.enquiry-msg {
  margin-top: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.enquiry-msg.ok {
  color: var(--gold);
}

.enquiry-msg.err {
  color: #ff5e5e;
}

.courses-section {
  padding: 80px 0;
  background: var(--bg-base);
}

.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s;
  height: 100%;
}

.course-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(245, 194, 0, 0.12);
}

.course-card .card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.course-card .card-body {
  padding: 20px;
}

.course-badge {
  background: rgba(245, 194, 0, 0.12);
  color: var(--gold);
  border: 1px solid rgba(245, 194, 0, 0.25);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.course-card h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.course-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.75;
}

.btn-course {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ff5924;
  border: 1.5px solid #ff5924;
  padding: 7px 18px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
  background: transparent;
}

.btn-course:hover {
  background: #ff5924;
  color: #fff;
  border-color: #ff5924;
}

.about-section {
  padding: 80px 0;
  background: var(--bg-surface);
}

.about-img-wrap {
  position: relative;
}

.about-img-wrap img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  height: 420px;
  border: 2px solid var(--border);
}

.since-badge {
  position: absolute;
  bottom: -20px;
  right: -14px;
  background: var(--gold);
  color: #07090f;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 24px;
  box-shadow: 0 8px 28px rgba(245, 194, 0, 0.4);
  font-family: "Poppins", sans-serif;
}

.since-badge span {
  font-size: 11px;
  font-weight: 600;
  margin-top: -2px;
  color: #07090f;
}

.about-content h6 {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.about-content h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
  font-family: "Poppins", sans-serif;
  line-height: 1.3;
}

.about-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 16px;
}

.training-types {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.training-pill {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-soft);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
}

.training-pill:hover {
  background: var(--gold);
  color: #07090f;
  border-color: var(--gold);
}

.btn-apply {
  background: transparent;
  color: #ff5924;
  border: 2px solid #ff5924;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
  margin-top: 10px;
  font-family: "Poppins", sans-serif;
}

.btn-apply:hover {
  background: #ff5924;
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 89, 36, 0.28);
}

.values-section {
  padding: 80px 0;
  background: var(--bg-base);
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 30px 22px;
  text-align: center;
  transition: all 0.3s;
  height: 100%;
}

.value-card:hover {
  border-color: var(--gold);
  background: var(--bg-card2);
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(245, 194, 0, 0.1);
}

.value-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 18px;
  border: 2.5px solid var(--gold);
  overflow: hidden;
}

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

.value-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.placements-section {
  padding: 80px 0;
  background: var(--bg-surface);
}

.cert-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: all 0.3s;
}

.cert-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(245, 194, 0, 0.12);
  transform: scale(1.02);
}

.cert-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.value-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-img-wrap img {
  width: 100%;
  height: auto;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.placement-companies-grid {
  margin-top: 4px;
}

.company-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 14px 12px 16px;
  text-align: center;
  transition: all 0.3s;
}

.company-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 24px rgba(217, 79, 0, 0.12);
  transform: translateY(-3px);
}

.company-card-logo {
  width: 100%;
  min-height: 64px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  overflow: hidden;
  padding: 10px 14px;
  box-sizing: border-box;
}

.company-card-logo img {
  width: 100%;
  height: 100%;
  max-height: 52px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.company-card-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 18px;
  font-weight: 800;
  color: var(--orange);
  font-family: "Poppins", sans-serif;
}

.company-card-fallback[hidden] {
  display: none !important;
}

.company-card-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}

footer {
  background: #16100c;
  border-top: 4px solid var(--orange);
  padding: 70px 0 0;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(217, 79, 0, 0.03) 0px,
    rgba(217, 79, 0, 0.03) 1px,
    transparent 1px,
    transparent 60px
  );
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
}

.footer-newsletter {
  background: rgba(217, 79, 0, 0.1);
  border: 1px solid rgba(217, 79, 0, 0.25);
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.footer-newsletter-label {
  font-size: 11px;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer-newsletter-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

.footer-newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-newsletter-input {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 13.5px;
  min-width: 240px;
  outline: none;
}

.footer-newsletter-input::placeholder {
  color: #8a6555;
}

.footer-newsletter-btn {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  white-space: nowrap;
}

.footer-newsletter-btn:hover {
  background: var(--orange-dark);
}

footer .footer-desc {
  font-size: 13.5px;
  color: #b09080;
  line-height: 1.9;
  margin-bottom: 6px;
}

footer h5 {
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  position: relative;
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.3px;
}

footer h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  margin-bottom: 11px;
}

footer ul li a {
  color: #c4a898;
  text-decoration: none;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: color 0.2s, padding-left 0.2s;
  font-weight: 500;
}

footer ul li a::before {
  content: "›";
  color: var(--orange);
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

footer ul li a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 13.5px;
  color: #c4a898;
  line-height: 1.6;
}

.footer-contact li::before {
  display: none !important;
}

.footer-contact .fc-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(217, 79, 0, 0.15);
  border: 1px solid rgba(217, 79, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact a {
  color: #c4a898;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-hours {
  color: #c4a898;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin: 44px 0 0;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-links a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #c4a898;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s;
}

.social-links a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  background: #0e0a07;
  text-align: center;
  padding: 16px 20px;
  font-size: 12.5px;
  color: #7a6050;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0;
}

.footer-bottom a {
  color: var(--orange);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--orange-light);
}

.footer-bottom-links a {
  margin: 0 8px;
}

.footer-brand .logo-icon {
  background: var(--orange);
  color: #fff;
}

.footer-brand .logo-name {
  color: #fff;
}

.footer-brand .logo-name span {
  color: var(--orange);
}

.footer-brand .logo-sub {
  color: #7a6050;
}

.footer-mini-stats {
  display: flex;
  gap: 16px;
  margin: 20px 0;
}

.footer-mini-stat {
  text-align: center;
}

.footer-mini-stat .num {
  font-size: 22px;
  font-weight: 900;
  color: var(--orange);
  font-family: "Poppins", sans-serif;
}

.footer-mini-stat .lbl {
  font-size: 11px;
  color: #7a6050;
}

.footer-mini-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.floating-btns {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #07090f;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s;
}

.float-btn:hover {
  transform: translateY(-3px);
  color: #07090f;
}

.float-phone {
  background: var(--gold);
}

.float-whatsapp {
  background: #25d366;
  color: #fff !important;
}

.float-email {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  color: var(--gold) !important;
}

.float-enquiry {
  background: #ff5924;
  color: #fff !important;
}

/* ── Enquiry Modal ── */
.enquiry-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.enquiry-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.enquiry-modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.enquiry-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(135deg, #ff5924 0%, #ff6b35 100%);
  border-radius: 16px 16px 0 0;
}

.enquiry-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

.enquiry-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s;
}

.enquiry-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.enquiry-modal-body {
  padding: 24px;
}

.enquiry-modal-field {
  margin-bottom: 16px;
}

.enquiry-modal-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  font-family: "Poppins", sans-serif;
}

.enquiry-modal-input,
.enquiry-modal-select,
.enquiry-modal-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-soft);
  border-radius: 8px;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  color: var(--text-body);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.enquiry-modal-input:focus,
.enquiry-modal-select:focus,
.enquiry-modal-textarea:focus {
  outline: none;
  border-color: #ff5924;
  box-shadow: 0 0 0 3px rgba(255, 89, 36, 0.1);
}

.enquiry-modal-textarea {
  resize: vertical;
  min-height: 80px;
}

.enquiry-modal-captcha {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.captcha-question {
  font-weight: 700;
  font-size: 14px;
  color: #ff5924;
}

.enquiry-modal-captcha-input {
  width: 80px;
  padding: 10px 14px;
  border: 1.5px solid var(--border-soft);
  border-radius: 8px;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
}

.enquiry-modal-captcha-refresh {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.enquiry-modal-captcha-refresh:hover {
  background: #ff5924;
  color: #fff;
  border-color: #ff5924;
}

.enquiry-modal-submit {
  width: 100%;
  background: linear-gradient(135deg, #ff5924 0%, #ff6b35 100%);
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.enquiry-modal-submit:hover {
  background: linear-gradient(135deg, #e04a1a 0%, #ff5924 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 89, 36, 0.4);
}

@media (max-width: 575.98px) {
  .enquiry-modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .enquiry-modal-header {
    padding: 16px 20px;
  }

  .enquiry-modal-header h3 {
    font-size: 16px;
  }

  .enquiry-modal-body {
    padding: 20px;
  }

  .enquiry-modal-captcha {
    flex-direction: column;
    align-items: flex-start;
  }
}

.anim-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.anim-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.page-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 48px 0;
  color: #fff;
  background-color: #1e1209;
  background-image: url("../assets/img/site/page-hero.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(30, 18, 9, 0.9) 0%, rgba(30, 18, 9, 0) 50%, rgba(217, 80, 0, 0) 100%);
  z-index: 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(217, 79, 0, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .row {
  align-items: center;
}

.page-hero h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: 16px;
}

.page-hero p {
  opacity: 0.9;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.8;
}

.page-hero-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(217, 79, 0, 0.3);
}

.page-hero-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.subpage-cta-lead {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 18px;
}

.subpage-cta-btn {
  width: 100%;
  justify-content: center;
  margin-top: 0;
  margin-bottom: 12px;
}

.subpage-cta-btn-secondary {
  display: block;
  text-align: center;
  text-decoration: none;
}

.content-block {
  padding: 56px 0;
}

.content-block h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.content-block p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 14px;
}

.alert-site {
  border-radius: 10px;
  font-size: 14px;
}

.contact-form-wrap {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.dropdown-icon {
  font-size: 11px;
}

@media (max-width: 768px) {
  .hero-slide {
    height: 360px;
  }

  .page-hero {
    min-height: 360px;
  }

  .main-navbar .nav-link {
    padding: 10px 14px !important;
  }

  .main-navbar > .container {
    min-height: 56px;
  }

  .main-navbar .brand-logo.navbar-brand {
    margin-right: 0.5rem;
    width: min(180px, 52vw);
  }

  .main-navbar .brand-logo .logo-img {
    width: 100%;
    height: auto;
    max-height: 40px;
  }

  .stats-row {
    gap: 10px;
  }

  .since-badge {
    right: 8px;
    bottom: -14px;
  }

  .btn-hero-outline {
    margin-left: 0;
    margin-top: 10px;
  }
}

/* ── Explore courses page ── */
.explore-courses-page {
  padding: 32px 0 64px;
  background: var(--bg-base);
  min-height: 60vh;
}

.explore-courses-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.explore-sidebar {
  position: sticky;
  top: 88px;
}

.explore-category-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 20px rgba(217, 79, 0, 0.06);
}

.explore-category-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.explore-category-item:hover {
  background: var(--orange-xlight);
  color: var(--orange);
}

.explore-category-item.is-active {
  background: var(--orange);
  color: #fff;
}

.explore-category-item.is-active .explore-category-icon {
  color: #fff;
}

.explore-category-icon {
  width: 22px;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  flex-shrink: 0;
}

.explore-category-item.is-active .explore-category-icon {
  color: #fff;
}

.explore-category-label {
  flex: 1;
  line-height: 1.3;
}

.explore-category-arrow {
  font-size: 11px;
  opacity: 0.45;
}

.explore-category-item.is-active .explore-category-arrow {
  opacity: 0.9;
}

.explore-header {
  text-align: center;
  margin-bottom: 28px;
}

.explore-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.explore-mode-toggle {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px;
  gap: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.explore-mode-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 28px;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.explore-mode-btn.is-active {
  background: var(--orange);
  color: #fff;
}

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

.explore-course-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.explore-course-card.is-hidden {
  display: none;
}

.explore-course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(217, 79, 0, 0.12);
}

.explore-course-card-img {
  display: block;
  line-height: 0;
  overflow: hidden;
}

.explore-course-card-img img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.35s;
}

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

.explore-course-card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.explore-course-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.explore-course-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.explore-course-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.explore-course-rating .fa-star {
  color: var(--orange);
  font-size: 12px;
}

.explore-course-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-explore-enroll,
.btn-explore-know {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-explore-enroll {
  background: #ff5924;
  color: #fff;
  border: 1px solid #ff5924;
}

.btn-explore-enroll:hover {
  background: #e04a1a;
  border-color: #e04a1a;
  color: #fff;
}

.btn-explore-know {
  background: #fff;
  color: #ff5924;
  border: 1.5px solid #ff5924;
}

.btn-explore-know:hover {
  background: #fff5f0;
  color: #e04a1a;
}

.explore-empty {
  text-align: center;
  padding: 40px 16px;
  font-size: 15px;
}

.explore-empty-switch {
  color: var(--orange);
  font-weight: 600;
}

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

@media (max-width: 991.98px) {
  .explore-courses-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .explore-sidebar {
    position: static;
  }

  .explore-category-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
  }

  .explore-category-item {
    flex: 1 1 auto;
    min-width: 120px;
    padding: 12px 16px;
    font-size: 13px;
  }

  .explore-category-arrow {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .explore-courses-page {
    padding: 16px 0 40px;
  }

  .explore-course-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .explore-course-actions {
    flex-direction: column;
    gap: 10px;
  }

  .explore-header {
    margin-bottom: 24px;
    text-align: center;
  }

  .explore-title {
    margin-bottom: 16px;
    font-size: 1.5rem;
  }

  .explore-mode-toggle {
    width: 100%;
    justify-content: center;
    padding: 6px;
  }

  .explore-mode-btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
    min-width: 100px;
  }

  .explore-course-card {
    border-radius: 12px;
  }

  .explore-course-card-img img {
    height: 180px;
  }

  .explore-course-card-body {
    padding: 16px;
  }

  .explore-course-card-title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .explore-course-desc {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .explore-course-rating {
    margin-bottom: 16px;
    font-size: 14px;
  }

  .btn-explore-enroll,
  .btn-explore-know {
    padding: 12px 16px;
    font-size: 14px;
    width: 100%;
  }
}

/* ── Course detail page ── */
.course-detail-page {
  padding: 36px 0 56px;
  background: var(--bg-base);
}

.course-detail-hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
}

.course-detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.course-detail-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.2;
}

.course-detail-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--text-dark);
  flex-shrink: 0;
  font-size: 15px;
}

.course-detail-rating .fa-star {
  color: var(--orange);
}

.course-detail-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 22px;
}

.course-detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.course-detail-stat {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
}

.course-detail-stat-num {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1.2;
}

.course-detail-stat-lbl {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.3;
}

.course-detail-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.course-detail-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 12px;
}

.course-detail-features .fa-check-circle {
  color: var(--orange);
  margin-top: 3px;
  flex-shrink: 0;
}

.btn-course-detail-enroll {
  display: inline-block;
  background: var(--orange);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-course-detail-enroll:hover {
  background: var(--orange-dark);
  color: #fff;
  transform: translateY(-2px);
}

.course-detail-image-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.course-detail-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 220px;
  object-fit: cover;
}

.course-detail-tech-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: #fff;
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.course-detail-content-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.course-detail-accordion .accordion-item {
  border: 1px solid var(--border-soft);
  border-radius: 10px !important;
  margin-bottom: 8px;
  overflow: hidden;
}

.course-detail-accordion .accordion-button {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--bg-surface);
  box-shadow: none;
}

.course-detail-accordion .accordion-button:not(.collapsed) {
  background: var(--orange-xlight);
  color: var(--orange);
}

.course-detail-accordion .accordion-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
}

@media (max-width: 991.98px) {
  .course-detail-hero {
    grid-template-columns: 1fr;
  }

  .course-detail-visual {
    order: -1;
  }

  .course-detail-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .course-detail-title-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
