/* SECTION SPACING (MATCH HOMEPAGE) */
section {
    padding: 50px 0;
}

/* HEADINGS (MATCH STYLE) */
.heading {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    text-align: center;
    margin-bottom: 60px;
}
.heading span{
    color: #1d4e8f;
}
@media(max-width:768px){
  .heading {
      font-size: 26px;
      margin: 30px auto;
      margin-top: 0;
      width: 90%;
  }
}

/* ================= ABOUT SECTION ================= */
.course-about {
    background: #fff;
}

.course-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.course-img {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* LIST (MATCH BULLET STYLE) */
.tick-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.tick-list li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    color: #333;
}

.tick-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #1d4e8f;
    font-weight: bold;
}

/* ================= INFO CARDS (MATCH STATS STYLE) ================= */
.course-info {
    background: #f8fbff;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    transition: 0.35s ease;
    border: 1px solid #eef2f7;
    position: relative;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(29, 78, 143, 0.12);
}

.info-card h3 {
    color: #1d4e8f;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.info-card p {
    color: #6c757d;
    font-size: 14px;
}

/* ================= SYLLABUS (MATCH COURSE CARDS STYLE) ================= */

.syllabus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* CARD */
.syllabus-card {
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    border: 1px solid #eef2f7;
    transition: 0.35s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08);
}

/* TOP ROW */
.syllabus-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

/* NUMBER */
.number {
    font-size: 22px;
    font-weight: 700;
    color: #1d4e8f;
    opacity: 0.8;
}


/* ICON */
.syllabus-top i {
    width: 45px;
    height: 45px;
    background: #eaf2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d4e8f;
    font-size: 18px;
    transition: 0.3s;
}

/* TITLE */
.syllabus-card h4 {
    color: #1d4e8f;
    margin-bottom: 8px;
    font-size: 17px;
}

/* TEXT */
.syllabus-card p {
    font-size: 14px;
    color: #6c757d;
}

/* HOVER EFFECT */
.syllabus-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* ICON HOVER */
.syllabus-card:hover i {
    background: #1d4e8f;
    color: #fff;
}

/* LEFT GLOW EFFECT */
.syllabus-card::before {
    content: "";
    position: absolute;
    width: 5px;
    height: 0;
    left: 0;
    top: 0;
    background: #1d4e8f;
    transition: 0.3s;
}

.syllabus-card:hover::before {
    height: 100%;
}

/* ================= CAREERS (MATCH COURSE CARDS) ================= */
.course-careers {
    background: #f8fbff;
}


.career-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* CARD */
.career-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #eef2f7;
    transition: 0.35s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08);
}

/* ICON (MATCH HOMEPAGE STYLE) */
.career-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 15px;
    background: #eaf2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d4e8f;
    font-size: 22px;
    transition: 0.3s;
}

/* TITLE */
.career-card h4 {
    color: #1d4e8f;
    font-size: 18px;
    margin-bottom: 10px;
}

/* TEXT */
.career-card p {
    font-size: 14px;
    color: #6c757d;
}

/* TOP ACCENT LINE */
.career-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: #1d4e8f;
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.3s;
}

/* HOVER EFFECT */
.career-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.career-card:hover::before {
    transform: scaleX(1);
}

.career-card:hover .career-icon {
    background: #1d4e8f;
    color: #fff;
}

/* ================= ADMISSION (MATCH SIMPLE BOX STYLE) ================= */
.course-admission {
    background: #f8fbff;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.steps div {
    background: #fff;
    padding: 25px 15px;
    border-radius: 14px;
    text-align: center;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08);
}

.steps div:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* step number badge */
.steps div::before {
    content: attr(data-step);
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #1d4e8f;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media(max-width:768px){
 .steps {
     grid-template-columns: 1fr;
 }
}
/* ================= WHY SECTION (MATCH ICON CIRCLES EXACTLY) ================= */
.course-why {
    background: #fff;
}


.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* CARD */
.why-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 260px;
    cursor: pointer;
}

/* IMAGE */
.why-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

/* DARK OVERLAY */
.why-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent);
    top: 0;
    left: 0;
    z-index: 1;
}

/* CONTENT */
.why-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: #fff;
    z-index: 2;
}

.why-content h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.why-content p {
    font-size: 12px;
    opacity: 0.9;
    color: #fff;
}

/* HOVER EFFECT */
.why-card:hover img {
    transform: scale(1.08);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {

    .course-grid,
    .info-grid,
    .syllabus-grid,
    .career-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        flex-direction: column;
    }
}

@media (max-width: 576px) {

    .course-grid,
    .info-grid,
    .syllabus-grid,
    .career-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* SECTION */
.course-syllabus {
  /* background: #f7faff; */
  padding: 50px 0px 80px 0;
}

/* SUBTITLE */
.section-subtitle {
  text-align: center;
  color: #6c757d;
  margin-bottom: 40px;
}

/* ACCORDION WRAPPER */
.syllabus-accordion {
  max-width: 850px;
  margin: auto;
}

/* ITEM */
.accordion-item {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 18px;
  border: 1px solid #eef2f7;
  overflow: hidden;
  transition: 0.3s ease;
}

/* HEADER */
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px;
  cursor: pointer;
}

/* LEFT SIDE */
.accordion-header .left {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* NUMBER */
.number {
  font-size: 20px;
  font-weight: 700;
  color: #1d4e8f;
  opacity: 0.9;
}

/* TITLE */
.accordion-header h4 {
  font-size: 17px;
  margin: 0;
  color: #1d4e8f;
}

/* ICON */
.accordion-header i {
  font-size: 14px;
  color: #1d4e8f;
  transition: 0.3s;
}

/* CONTENT */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 25px;
}

/* LIST */
.accordion-content ul {
  padding: 15px 0;
}

.accordion-content li {
  margin-bottom: 10px;
  color: #555;
  position: relative;
  padding-left: 18px;
}

/* BULLET STYLE */
.accordion-content li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1d4e8f;
}

/* ACTIVE STATE */
.accordion-item.active .accordion-content {
  max-height: 250px;
}

.accordion-item.active i {
  transform: rotate(45deg);
}

/* HOVER */
.accordion-item:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

/* RESPONSIVE */
@media (max-width: 576px) {
  .accordion-header {
    padding: 15px;
  }

  .accordion-header h4 {
    font-size: 15px;
  }
}