
/* ===========navbar section1========= */

/* Nav links style */
.navbar-nav .nav-link {
  font-size: 1.2rem;
  font-weight: 500;
  padding: 0 15px;         /* Equal spacing */
}
.nav-link{
  font-size: 1.2rem !important;
}

/* Remove underline from Talk To Expert */
.right_menu .signin {
  text-decoration: none !important;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 8px 16px;
  border: 2px solid #550202; /* Example button look */
  border-radius: 6px;
  transition: 0.3s;
}

/* Hover effect */
.right_menu .signin:hover {
  background: #550202;
  color: #fff;
}
/* ============NEW SECTION CTA========== */

       .stats-section {
      background: rgba(2, 34, 103, 0.95) url('https://www.transparenttextures.com/patterns/cubes.png'); /* you can set background */
      color: #fff;
      border-radius: 15px;
      padding: 40px 0;
      margin: 40px;
      text-align: center;
      display: flex;
      justify-content: space-around;
      align-items: center;
      flex-wrap: wrap;
    }

    .stat-box {
      flex: 1 1 200px;
      padding: 20px;
      position: relative;
    }

    .stat-box:not(:last-child)::after {
      content: "";
      position: absolute;
      right: 0;
      top: 20%;
      bottom: 20%;
      width: 2px;
      background: red;
    }

    .stat-number {
      font-size: 40px;
      font-weight: bold;
    }

    .stat-text {
      margin-top: 10px;
      font-size: 18px;
      font-weight: 500;
    }
    /* =========admission process============= */

        .process-section {
      text-align: center;
      padding: 60px 0;
    }
    .process-section h2 {
      font-size: 48px;
      font-weight: 700;
      margin-bottom: 50px;
    }
    .process-card {
      background: #f1f6ff;
      border-radius: 10px;
      padding: 30px 20px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      transition: 0.3s;
      height: 100%;
    }
    .process-card:hover {
      transform: translateY(-5px);
    }
    .step-box {
      background: #fff;
      padding: 10px 20px;
      border-radius: 6px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      margin-bottom: 20px;
    }
    .step-box img {
      width: 24px;
      height: 24px;
    }
    .process-card h5 {
      font-weight: 700;
      color: #003399;
      margin-bottom: 10px;
    }
    .process-card p {
      font-size: 15px;
      color: #444;
    }
    .process-section h2 span {
      color: #ff9b24;
      font-size: 48px;
    }
    /* ===============faq section============= */
 .faq-section {
      padding: 70px 0;
    }
    .faq-title {
      text-align: center;
      font-size: 48px;
      font-weight: 700;
      margin-bottom: 40px;
    }
    .faq-item {
      background: #fff;
      border-radius: 12px;
      padding: 20px 25px;
      margin-bottom: 15px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.06);
      transition: 0.3s ease;
      cursor: pointer;
    }
    .faq-item:hover {
      transform: translateY(-4px);
    }
    .faq-question {
      font-size: 18px;
      font-weight: 600;
      color: #333;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .faq-question .icon {
      background: #191943;
      color: #fff;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      transition: transform 0.3s ease;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, opacity 0.3s ease;
      opacity: 0;
      margin-top: 10px;
      color: #555;
      font-size: 15px;
      line-height: 1.6;
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
      opacity: 1;
    }
    .faq-item.active .faq-question .icon {
      transform: rotate(45deg);
      background: #ff9b24;
    }


























.slider {
  overflow: hidden;
  position: relative;
}

.slide-track {
  display: flex;
  width: calc(250px * 16); /* 16 = number of .slide items */
  animation: scroll 25s linear infinite;
}

.slide {
  /* width: 250px; */
  /* padding: 10px; */
  transition: transform 0.3s;
}

.slide img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgb(255 155 36);;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* .badge {
  top: 10px;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
}
.card-title {
  font-size: 1rem;
}
.card:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
  transform: scale(1.02);
  transition: 0.3s ease;
}

.course-card {
  position: relative;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px 10px;
  text-align: center;
  background-color: #fff;
  height: 100%;
  transition: all 0.3s ease;
}
.course-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}
.course-card .badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  background-color: #f8f9fa;
  border: 1px solid #ccc;
  color: #000;
}
.course-card img {
  width: 40px;
  margin-top: 15px;
}
.course-card h6 {
  margin: 10px 0;
  font-weight: bold;
}
.course-card .btn {
  background-color: #2c3c0e;
  color: #fff;
  font-size: 0.9rem;
}

.tab-btn {
  cursor: pointer;
}

.tab-btn.active {
  background-color: #30430d !important;
  color: white !important;
} */

/* .course-card .btn {
      background-color: #30430d;
    } */

.carousel-card {
  border-radius: 20px;
  color: white;
  padding: 30px;
  min-height: 250px;
}

.carousel-card img {
  max-height: 150px;
  object-fit: contain;
}

.carousel-indicators [data-bs-target] {
  background-color: rgb(255 155 36);;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #0d6efd;
  border-radius: 50%;
  padding: 10px;
}

.carousel-inner .card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.carousel-title span {
  color: rgb(255 155 36);;
}

.carousel-card p span {
  background-color: white;
  padding: 3px 6px;
  border-radius: 5px;
  color: #000;
}
/* ============================section2================== */
/* Course Card Compact Design */
.course-card {
  transition: all 0.3s ease;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  height: auto; /* fixed height हटाया */
  text-align: center;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  border-color: rgb(255 155 36);;
}

/* Image size fix */
.course-card img {
  max-height: 80px; /* ✅ image की height limit */
  width: auto;
  object-fit: contain; /* proportion maintain रहेगा */
  margin: 0 auto 10px;
  display: block;
  transition: transform 0.3s ease;
}

.course-card:hover img {
  transform: scale(1.05);
}

/* University Name */
.course-card .university-name {
  font-size: 14px;
  font-weight: 600;
  margin-top: 6px;
  color: rgb(255 155 36);;
  min-height: 34px; /* नाम बराबर दिखे */
}

/* Course Count */
.course-card .university-courses {
  font-size: 12px;
  color: #555;
  margin-top: 4px;
}
.course-card img {
  width: 40px !important;   /* apni pasand ke hisaab se 30, 40, 50px kar sakte ho */
  height: 40px !important;  /* height bhi set karo taaki scale ho jaye */
  object-fit: contain;      /* image distort na ho */
}
.tab-btn.active {
  background-color: #ff9b24 !important;
  color: #fff !important;
  border: 2px solid #ff9b24 !important;
}


/* Responsive adjustments */
@media (max-width: 576px) {
  .course-card img {
    max-height: 60px; /* मोबाइल पर और छोटा */
  }
  .course-card .university-name {
    font-size: 12px;
  }
}
.custom-border {
  border: 2px solid rgb(255, 155, 36) !important;
  transition: 0.3s ease;
  cursor: pointer;
}

.custom-border:hover {
  background: rgb(255, 155, 36);
  color: white !important;
}


    /* ===========question============= */

/* Section background */
.questions-section {
  padding: 2rem 0;
  background: linear-gradient(to right, #eae2c9, #efe9d9);
  box-shadow: 0 5px 20px #f7f9fb;
}

/* Heading */
.questions-heading {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.questions-heading span {
  color: #212529;
  border-bottom: 1px solid rgb(255 155 36);;
  padding-bottom: 5px;
  font-size: 40px;
  font-weight: 700;
}

/* Paragraph text */
.questions-text {
  color: black; /* same as Bootstrap secondary */
  font-size: 1.25rem; /* fs-5 */
  font-family: 'Segoe UI', cursive;
  font-family: cursive;
}

/* Custom card */
.custom-card {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  padding: 0.5rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card img {
  border-radius: 1rem;
}

/* Hover effect */
.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
/* ==========section4========== */

.university-card {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 15px 10px;
  text-align: center;
  background-color: #fff;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.university-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.university-card img {
  max-height: 40px;
  object-fit: contain;
  margin-bottom: 10px;
}

.university-courses {
  font-weight: 600;
  font-size: 14px;
  color: #000;
}

.university-name {
  font-size: 13px;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.university-card {
  border: 2px solid rgb(255, 155, 36);
  border-radius: 10px;   /* optional: thoda rounded corner */
  padding: 10px;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.university-card:hover {
  box-shadow: 0 4px 15px rgba(255, 155, 36, 0.4); /* hover effect */
  transform: translateY(-4px);
}
.college_page {
  background: #f9f9f9;
}

.college_card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.college_card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

.college_img {
  aspect-ratio: 16/9; /* maintains fixed image height */
  overflow: hidden;
}

.college_img img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.college_content {
  padding: 18px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.college_content .title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ff7a00; /* orange heading */
  margin-bottom: 8px;
}

.college_content p {
  flex-grow: 1;
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 12px;
}

.college_btn {
  color: #ff7a00;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

.college_btn:hover {
  color: #002147; /* navy hover */
}
.college_img {
  aspect-ratio: 16/9;   /* height automatically adjust hoti hai */
  overflow: hidden;
}

.college_img img {
  object-fit: cover;    /* crop karega but distortion nahi hoga */
  width: 100%;
  height: 100%;
}
 /* Career Page Custom Fix */
    .single_blog {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.08);
      overflow: hidden;
      transition: all 0.3s ease;
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    .single_blog:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 15px rgba(0,0,0,0.12);
    }
    .single_blog_img {
      height: 180px; /* fix image height */
      overflow: hidden;
    }
    .single_blog_img img {
      width: 100%;
      height: 100%;
      object-fit: cover; /* crop without stretching */
    }
    .single_blog_text {
      padding: 15px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }
    .single_blog_text .title {
      font-size: 1.05rem;
      font-weight: 600;
      color: #ff7a00;
      margin-bottom: 8px;
    }
    .single_blog_text p {
      font-size: 0.9rem;
      margin-bottom: 10px;
      color: #444;
      flex-grow: 1;
    }
    .single_blog_footer {
      margin-top: auto;
    }
    /* Modal Background */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  overflow: auto;
}

/* Modal Box */
.modal-content {
  background-color: #fff;
  margin: 8% auto;
  padding: 25px 25px;
  border-radius: 15px;
  width: 50%; /* Desktop width 50% */
  max-width: 500px; /* Max limit */
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  animation: modalOpen 0.4s forwards;
}

/* Animation */
@keyframes modalOpen {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Close Button */
.close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 22px;
  cursor: pointer;
  color: #555;
  transition: color 0.3s;
}

.close:hover {
  color: #002147;
}

/* Heading & Text */
.modal-content h3 {
  color: #002147;
  margin-bottom: 5px;
  text-align: center;
  font-size: 18px;
}

.modal-content p {
  text-align: center;
  font-size: 13px;
  color: #555;
  margin-bottom: 15px;
}

/* Form Groups */
.form-group {
  position: relative;
  margin-bottom: 12px;
}

.form-group input {
  width: 100%;
  padding: 10px 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  font-size: 14px;
  transition: all 0.3s;
}

.form-group label {
  position: absolute;
  left: 10px;
  top: 10px;
  color: #aaa;
  font-size: 13px;
  pointer-events: none;
  transition: all 0.3s;
}

/* Floating Labels */
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
  top: -7px;
  left: 8px;
  font-size: 11px;
  color: #002147;
  background: #fff;
  padding: 0 3px;
}

/* Submit Button */
button {
  width: 100%;
  padding: 10px;
  border: none;
  background: #002147;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  margin-top: 8px;
  transition: background 0.3s;
}

button:hover {
  background: #004080;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  .modal-content {
    width: 90%; /* Mobile width 90% */
    padding: 15px 15px;
  }
}
.testimonial_simple {
  background: #f9f9f9;
  padding: 50px 0;
}

.testimonial_simple h2 {
  color: rgb(2 34 103 / 95%);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 20px;
  text-align: center;
}

.testimonial_box {
  background: #fff;
  border-radius: 12px;
  padding: 15px 10px;
  text-align: center;
  margin: 5px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  height: 220px; /* Fixed height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial_box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.testimonial_box .img {
  width: 60px;
  height: 60px;
  margin: 0 auto 10px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #FF9B24;
}

.testimonial_box .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial_box h5 {
  font-size: 13px;
  font-weight: 600;
  color: rgb(2 34 103 / 95%);
  margin-bottom: 5px;
}

.testimonial_box p {
  font-size: 12px;
  color: #555;
  margin: 0;
  flex-grow: 1;
}

/* Slick overrides to fix slide spacing */
.slick-slide {
  padding: 0 8px;
}

/* Mobile Responsive */
@media screen and (max-width: 1024px) {
  .testimonial_box { height: 220px; }
}

@media screen and (max-width: 768px) {
  .testimonial_box { height: auto; }
}
.blog_card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.blog_img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog_content {
  padding: 15px;
}

.blog_content .title {
  color: #002147;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.blog_content p {
  font-size: 13px;
  color: #555;
  margin-bottom: 10px;
}

.blog_btn {
  color: #FF9B24;
  font-weight: 600;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

.blog_btn:hover {
  color: rgb(2 34 103 / 95%);
}
