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


.courses-hero {
  background: linear-gradient(135deg, #0f2545 0%, #1b3f74 55%, #0e9a96 100%);
  padding: 60px 20px 68px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.courses-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='1.5' fill='%23ffffff' fill-opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(230,168,23,0.15);
  border: 1px solid rgba(230,168,23,0.5);
  color: #f5c842;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.courses-hero h1 {
  font-family: 'Roboto', sans-serif;
  color: #fff;
  font-size: clamp(1.8rem, 5.5vw, 3.1rem);
  line-height: 1.2;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.courses-hero h1 span { color: #f5c842; }
.courses-hero p {
  color: rgba(255,255,255,0.8);
  font-size: clamp(0.93rem, 2.5vw, 1.05rem);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}


.stats-bar {
  background: #fff;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border-bottom: 2px solid #e8edf8;
  box-shadow: 0 2px 12px rgba(15,37,69,0.07);
}
.stat {
  padding: 16px 28px;
  text-align: center;
  border-right: 1px solid #e8edf8;
  flex: 1;
  min-width: 80px;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Roboto', sans-serif;
  font-size: 1.55rem;
  color: #0f2545;
  font-weight: 700;
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  color: #7a8aaa;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 4px;
  white-space: nowrap;
}


.courses-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 16px 70px;
}
.section-intro {
  text-align: center;
  margin-bottom: 36px;
}
.section-intro h2 {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: #0f2545;
  margin-bottom: 8px;
  line-height: 1.25;
}
.section-intro p {
  color: #7a8aaa;
  font-size: 0.95rem;
}

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

.course-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 16px rgba(15,37,69,0.09);
  border: 1.5px solid #eaf0fb;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(15,37,69,0.17);
  border-color: #e6a817;
}


.card-image {
  position: relative;
  width: 100%;
  height: 210px;          
  overflow: hidden;
  display: block;
  flex-shrink: 0;
  background: #1a3a6b;   
}
.card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}
.course-card:hover .card-image img { transform: scale(1.07); }

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15,37,69,0.08) 0%,
    rgba(15,37,69,0.65) 100%
  );
  z-index: 1;
}


.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: #e6a817;
  color: #0f2545;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}


.card-duration-chip {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.96);
  color: #0f2545;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.14);
}
.card-duration-chip i { color: #0ea5a0; font-size: 0.8rem; }

.card-price-ribbon {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  background: linear-gradient(135deg, #0f2545, #1b3f74);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  letter-spacing: 0.02em;
}


.card-body {
  padding: 20px 20px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1.06rem;
  color: #0f2545;
  line-height: 1.38;
  font-weight: 700;
  display: block;
  visibility: visible !important;
  opacity: 1 !important;
}
.card-desc {
  font-size: 0.84rem;
  color: #6a7a9a;
  line-height: 1.68;
  flex: 1;
  display: block;
  visibility: visible !important;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 2px;
}
.tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 50px;
  background: #eef2ff;
  color: #3b4fc8;
  letter-spacing: 0.04em;
  display: inline-block;
  visibility: visible !important;
}
.tag.green { background: #eaf8f2; color: #0d7a52; }
.tag.gold  { background: #fef7e4; color: #8a5e00; }


.card-divider {
  height: 1px;
  background: #f0f4fb;
  margin: 0 20px;
}


.card-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 20px 20px;
}
.btn-apply {
  background: linear-gradient(135deg, #0f2545 0%, #1b3f74 100%);
  color: #fff;
  border: none;
  padding: 11px 8px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}
.btn-apply:hover { background: linear-gradient(135deg, #0ea5a0, #12b8b2); }
.btn-apply i { font-size: 0.78rem; }

.btn-read {
  background: #fff;
  color: #0f2545;
  border: 2px solid #0f2545;
  padding: 11px 8px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}
.btn-read:hover { background: #0f2545; color: #fff; }


.breadcrumb {
  background: #fff;
  border-bottom: 1px solid #e8edf8;
  padding: 12px 20px;
  font-size: 0.82rem;
  color: #7a8aaa;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}
.breadcrumb a {
  color: #0ea5a0;
  text-decoration: none;
  font-weight: 600;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 5px; color: #c8d0e4; }

/* Single Hero */
.single-hero {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  background: #1a3a6b;
}
.single-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.single-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,37,69,0.88) 0%, rgba(14,165,160,0.42) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 24px;
  z-index: 1;
}
.single-badge {
  display: inline-block;
  background: #e6a817;
  color: #0f2545;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  width: fit-content;
}
.single-title {
  font-family: 'Roboto', sans-serif;
  color: #fff;
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  line-height: 1.25;
  max-width: 700px;
}

/* Single Wrap */
.single-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 36px 16px 80px;
}


.highlights-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.highlight-item {
  background: linear-gradient(135deg, #eef5ff, #eafafa);
  border-radius: 14px;
  padding: 14px 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #d8eaf8;
}
.highlight-item > i {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #0f2545;
  color: #f5c842;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.02rem;
  flex-shrink: 0;
}
.highlight-text strong {
  display: block;
  font-size: 0.87rem;
  color: #0f2545;
  font-weight: 700;
}
.highlight-text span {
  font-size: 0.76rem;
  color: #7a8aaa;
}


.single-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 26px;
  align-items: start;
}


.content-block {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(15,37,69,0.08);
  padding: 28px;
  border: 1.5px solid #eaf0fb;
  margin-bottom: 20px;
}
.content-block:last-child { margin-bottom: 0; }
.content-block h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
  color: #0f2545;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 3px solid #e6a817;
  display: inline-block;
}
.content-block p {
  font-size: 0.93rem;
  color: #6a7a9a;
  line-height: 1.85;
  margin-bottom: 12px;
}
.content-block p:last-child { margin-bottom: 0; }

.syllabus-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.syllabus-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #1a2340;
  line-height: 1.55;
  padding: 10px 12px;
  background: #f7f9ff;
  border-radius: 10px;
  border-left: 3px solid #0ea5a0;
}
.syllabus-list li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #0ea5a0;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 1px;
}


.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 10px;
}
.career-item {
  background: #f7f9ff;
  border-radius: 12px;
  padding: 16px 10px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f2545;
  border: 1.5px solid #eaf0fb;
  transition: all 0.22s;
  cursor: default;
}
.career-item:hover {
  background: #e6f4f3;
  border-color: #0ea5a0;
  transform: translateY(-2px);
}
.career-item i {
  display: block;
  font-size: 1.3rem;
  color: #0ea5a0;
  margin-bottom: 8px;
}


.info-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(15,37,69,0.10);
  padding: 26px;
  border: 1.5px solid #eaf0fb;
  position: sticky;
  top: 86px;
}
.price-display {
  text-align: center;
  padding: 16px 0 20px;
  border-bottom: 1px solid #eaf0fb;
  margin-bottom: 20px;
}
.price-display .amount {
  font-family: 'Roboto', sans-serif;
  font-size: 2.3rem;
  color: #0f2545;
  font-weight: 700;
  line-height: 1;
}
.price-display .label {
  font-size: 0.76rem;
  color: #7a8aaa;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}
.info-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 22px;
}
.info-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.88rem;
  color: #1a2340;
}
.info-list li i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef5ff;
  color: #0ea5a0;
  border-radius: 10px;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.btn-enroll-big {
  width: 100%;
  background: linear-gradient(135deg, #0f2545, #1b3f74);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  margin-bottom: 10px;
  display: block;
  text-align: center;
}
.btn-enroll-big:hover { background: linear-gradient(135deg, #0ea5a0, #12b8b2); }
.btn-whatsapp {
  width: 100%;
  background: #25d366;
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.25s;
  margin-bottom: 10px;
}
.btn-whatsapp:hover { background: #1ebe58; }
.btn-back-list {
  width: 100%;
  background: #fff;
  color: #0f2545;
  border: 2px solid #0f2545;
  padding: 11px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-back-list:hover { background: #0f2545; color: #fff; }
.emi-note {
  background: #fef8e7;
  border: 1px solid #f5c842;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.78rem;
  color: #7a5200;
  text-align: center;
  margin-top: 10px;
}
.emi-note i { color: #e6a817; margin-right: 4px; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8,18,42,0.74);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
  backdrop-filter: blur(5px);
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }
.modal {
  background: #fff;
  border-radius: 22px;
  padding: 32px 28px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0,0,0,0.24);
  transform: scale(0.9) translateY(16px);
  transition: transform 0.3s;
}
.modal-backdrop.open .modal { transform: scale(1) translateY(0); }
.modal h2 {
  font-family: 'Roboto', sans-serif;
  color: #0f2545;
  margin-bottom: 4px;
  font-size: 1.45rem;
}
.modal .sub { color: #7a8aaa; font-size: 0.85rem; margin-bottom: 20px; }
.modal label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f2545;
  margin-bottom: 5px;
  margin-top: 2px;
}
.modal input,
.modal select {
  width: 100%;
  border: 1.5px solid #e0e8f5;
  border-radius: 10px;
  padding: 10px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: #1a2340;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
  -webkit-appearance: none;
}
.modal input:focus,
.modal select:focus { border-color: #0ea5a0; }
.modal-actions { display: flex; gap: 10px; margin-top: 6px; }
.modal-submit {
  flex: 1;
  background: linear-gradient(135deg, #0f2545, #1b3f74);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s;
}
.modal-submit:hover { background: linear-gradient(135deg, #0ea5a0, #12b8b2); }
.modal-close {
  padding: 13px 20px;
  border: 1.5px solid #e0e8f5;
  border-radius: 50px;
  background: #f7f9ff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  cursor: pointer;
  color: #7a8aaa;
  transition: all 0.22s;
}
.modal-close:hover { background: #e8edf8; }


@media (max-width: 900px) {
  .single-layout {
    grid-template-columns: 1fr;
  }
  .info-card {
    position: static;
    order: -1;     
  }
  .single-hero { height: 260px; }
  .single-hero-overlay { padding: 24px 20px; }
}


@media (max-width: 600px) {

  .courses-hero { padding: 40px 16px 50px; }


  .stats-bar { gap: 0; }
  .stat { padding: 12px 8px; min-width: 0; }
  .stat-num { font-size: 1.2rem; }
  .stat-label { font-size: 0.62rem; letter-spacing: 0; }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 480px;
    margin: 0 auto;
  }

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

  .card-title {
    font-size: 1rem;
    color: #0f2545 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .card-desc {
    font-size: 0.82rem;
    display: block !important;
    visibility: visible !important;
    color: #6a7a9a !important;
  }
  .tag {
    font-size: 0.65rem;
    display: inline-block !important;
    visibility: visible !important;
  }

  .card-footer {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px 16px 18px;
  }
  .btn-apply, .btn-read {
    font-size: 0.78rem;
    padding: 10px 6px;
  }

  .single-hero { height: 210px; }
  .single-hero-overlay { padding: 18px 16px; }
  .single-title { font-size: 1.25rem; }
  .single-wrap { padding: 20px 12px 60px; }

  .highlights-strip {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .highlight-item { padding: 12px 10px; gap: 9px; }
  .highlight-item > i { width: 34px; height: 34px; font-size: 0.88rem; }
  .highlight-text strong { font-size: 0.8rem; }
  .highlight-text span { font-size: 0.7rem; }

  .content-block { padding: 20px 16px; }
  .content-block h3 { font-size: 1.08rem; }
  .syllabus-list li { font-size: 0.84rem; padding: 9px 10px; }

  .career-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .career-item { padding: 12px 6px; font-size: 0.72rem; }
  .career-item i { font-size: 1.1rem; margin-bottom: 5px; }

  .info-card { padding: 20px 16px; }
  .price-display .amount { font-size: 2rem; }

  .modal { padding: 24px 20px; border-radius: 18px; }
  .modal h2 { font-size: 1.25rem; }
}

@media (max-width: 380px) {
  .career-grid { grid-template-columns: 1fr 1fr; }
  .highlights-strip { grid-template-columns: 1fr 1fr; }
  .stat-label { display: none; }
}

