/* =========================
   Global Styles
========================= */
body {
  font-family: "Poppins", sans-serif;
  background: #f8f9fa;
}

/* =========================
   HOME HERO + CAROUSEL
========================= */
/* =========================
   HOME HERO + CAROUSEL
========================= */

.hero-section {
    background: linear-gradient(135deg, #f5f9ff, #ffffff);
    padding: 60px 0;
}

/* =========================
   LEFT CONTENT
========================= */
.hero-title {
    font-size: 3rem;
    font-weight: 600;
    color: #0d6efd;
}

.hero-title span {
    color: #111;
}

.hero-sub {
    font-size: 1.05rem;
    color: #555;
    margin: 16px 0 22px;
}

/* =========================
   COURSE TAGS (DESKTOP)
========================= */
.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.course-tag {
    background: #fff;
    border: 1px solid #dbe7ff;
    color: #0d6efd;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

/* =========================
   SLIDER
========================= */
.slider-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
}

.slider-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

/* =========================
   CAPTION
========================= */
.carousel-caption {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    padding: 0;
    text-align: center;
}

.caption-card {
    margin: 0 18px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(3px);
    border-radius: 10px;
    color: #fff;
}

.caption-card h6 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.caption-card p {
    font-size: 0.82rem;
    margin: 0;
}

/* =========================
   📱 MOBILE VIEW FIX (FINAL)
========================= */
@media (max-width: 767px) {

    /* 🔥 navbar + slider gap kam */
    .hero-section {
        padding-top: 15px;   /* halka clean gap */
        padding-bottom: 35px;
    }

    .hero-section .container {
        padding-top: 0;
    }

    /* order fix */
    .slider-col {
        order: 1;
        margin-top: 0;
    }

    .text-col {
        order: 2;
        margin-top: 18px;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.25;
    }

    /* 🔥 MOBILE ME PARAGRAPH HIDE */
    .hero-sub {
        display: none;
    }

    .slider-card img {
        height: 240px;
    }

    /* 🔥 COURSE TAGS – NEXT LINE (NO CUT, NO SLIDER) */
    .course-tags {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .course-tag {
        white-space: normal;
        text-align: center;
        padding: 7px 12px;
    }
}

/* =========================
   SERVICES SECTION – FINAL
========================= */

.services-section {
    padding: 40px 20px 60px;
    background: #f8fafc;
}

.services-section .container {
    max-width: 1200px;
}

/* =========================
   HEADING
========================= */

.services-section h2 {
    text-align: center;
    margin-bottom: 35px;
    font-weight: 700;
    font-size: 2.1rem;
    color: #0d6efd;
    position: relative;
}

.services-section h2::after{
    content:'';
    width:55px;
    height:3px;
    background:#0d6efd;
    display:block;
    margin:10px auto 0;
    border-radius:10px;
}

/* =========================
   SERVICE CARD
========================= */

.service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 22px;
    text-align: center;
    height: 100%;
    transition: transform 0.25s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}

/* ❌ remove top line if any */
.service-card::before{
    display: none;
}

/* hover – NO extra shadow */
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* =========================
   ICON
========================= */

.service-card i {
    font-size: 38px;
    color: #0d6efd;
    margin-bottom: 14px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.service-card:hover i {
    color: #111;
    transform: scale(1.1);
}

/* =========================
   TITLE
========================= */

.service-card h5 {
    font-weight: 600;
    margin-bottom: 8px;
    color: #222;
    font-size: 1.05rem;
}

/* =========================
   TEXT
========================= */

.service-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* =========================
   RESPONSIVE – TABLET
========================= */

@media (max-width: 992px) {
    .services-section {
        padding: 35px 15px 50px;
    }
}

/* =========================
   RESPONSIVE – MOBILE
========================= */

@media (max-width: 576px) {

    /* section spacing */
    .services-section {
        padding: 28px 10px 40px;
    }

    /* reduce bootstrap row gaps */
    .services-section .row {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }

    /* heading */
    .services-section h2 {
        font-size: 1.7rem;
        margin-bottom: 28px;
    }

    /* card compact */
    .service-card {
        padding: 22px 16px;
    }

    /* icon smaller */
    .service-card i {
        font-size: 32px;
        margin-bottom: 10px;
    }

    /* tighter text */
    .service-card h5 {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .service-card p {
        font-size: 0.85rem;
    }
}

/* =========================
   Info Card (Brochure Section)
========================= */
.info-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease-in-out;
  max-width: 800px;
  margin: auto;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.info-card h3 {
  font-weight: 700;
  margin-bottom: 15px;
  color: #000;
}

.info-card p {
  color: #555;
  margin-bottom: 25px;
  font-size: 1rem;
}

.btn-download {
  background-color: blue;
  border: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 6px;
  transition: 0.3s;
}

.btn-download:hover {
  background-color: #2E2EFF;
}

/* =========================
   Counter / Milestones
========================= */
/* =================================================
   COUNTER / MILESTONES SECTION – FINAL WITH LINES
================================================= */

:root {
  --brand-blue: #1e6bff;
  --line-grey: #e5e7eb;   /* light grey line */
}

/* Section */
#stats {
  padding: 60px 0;
  background: #ffffff;
}

/* Heading */
#stats h2 {
  font-weight: 600;
  margin-bottom: 8px;
}

#stats .text-muted {
  font-size: 0.95rem;
}

/* =========================
   GRID LINES (KEY PART)
========================= */

/* Each counter cell */
#stats .counter-box {
  position: relative;
  padding: 20px 10px;
}

/* Vertical line (left-right) */
#stats .counter-box::after {
  content: "";
  position: absolute;
  top: 15%;
  right: 0;
  width: 1px;
  height: 70%;
  background: var(--line-grey);
}

/* Horizontal line (top-bottom) */
#stats .counter-box::before {
  content: "";
  position: absolute;
  left: 10%;
  bottom: 0;
  width: 80%;
  height: 1px;
  background: var(--line-grey);
}

/* Remove extra lines (last column & last row) */
#stats .counter-box:nth-child(2)::after,
#stats .counter-box:nth-child(4)::after {
  display: none;
}

#stats .counter-box:nth-child(3)::before,
#stats .counter-box:nth-child(4)::before {
  display: none;
}

/* =========================
   ICON CIRCLE
========================= */
.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: #fff;
  font-size: 1.6rem;
}

/* =========================
   COUNTER TEXT
========================= */
.counter {
  font-size: 1.9rem;
  font-weight: 400;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  color: #222;
}

.counter::after {
  content: "+";
  font-size: 1rem;
  color: var(--brand-blue);
  margin-left: 3px;
}

/* Label */
#stats p {
  font-size: 0.85rem;
  color: #555;
  margin-top: 4px;
}

/* =========================
   MOBILE FIX
========================= */
@media (max-width: 767px) {

  /* Reduce padding */
  #stats {
    padding: 40px 0;
  }

  /* Smaller icons */
  .icon-circle {
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
  }

  /* Adjust lines */
  #stats .counter-box::after {
    height: 60%;
  }

  #stats .counter-box::before {
    width: 70%;
    left: 15%;
  }
}

/* =========================================================
   STUDENT FEEDBACK SECTION
========================================================= */

/* Section Wrapper */
.feedback {
    background-color: #f9f9f9;
    padding: 60px 0;
}

/* Section Heading */
.feedback h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

.feedback h1 span {
    color: #007bff;
}

.feedback p.section-description {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 40px;
}

/* Feedback Card */
.feedback .card {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    transition: transform 0.3s ease-in-out;
    border: none;
}

.feedback .card:hover {
    transform: scale(1.05);
}

/* Student Image */
.feedback .card img {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 0 5px #fff, 0 0 25px 1px #316ff3;
}

/* Student Name */
.feedback .card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
}

/* Feedback Text */
.feedback .card-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Star Icons */
.feedback .ic {
    color: #316ff3;
    font-size: 1.2rem;
}

/* Carousel Controls */
.feedback .carousel-control-prev,
.feedback .carousel-control-next {
    filter: invert(1);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.feedback .carousel-control-prev:hover,
.feedback .carousel-control-next:hover {
    opacity: 1;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 992px) {
    .feedback h1 {
        font-size: 2rem;
    }

    .feedback .card {
        max-width: 350px;
    }

    .feedback .card-title {
        font-size: 1.3rem;
    }

    .feedback .card-text {
        font-size: 0.9rem;
    }

    .feedback .ic {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .feedback {
        padding: 40px 0;
    }

    .feedback h1 {
        font-size: 1.8rem;
    }

    .feedback .card {
        max-width: 320px;
    }

    .feedback .card img {
        width: 100px;
        height: 100px;
    }

    .feedback .card-title {
        font-size: 1.2rem;
    }

    .feedback .card-text {
        font-size: 0.85rem;
    }

    .feedback .ic {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .feedback h1 {
        font-size: 1.5rem;
    }

    .feedback .card {
        max-width: 100%;
        padding: 15px;
    }

    .feedback .card img {
        width: 80px;
        height: 80px;
    }

    .feedback .card-title {
        font-size: 1rem;
    }

    .feedback .card-text {
        font-size: 0.8rem;
    }

    .feedback .ic {
        font-size: 0.8rem;
    }
}

