body {
  font-family: "Roboto", sans-serif;
}

/*.carousel-item img {
  height: 900px;
  object-fit: cover;
}*/

/* carousel General Styling */
.carousel-inner {
  position: relative;
  max-height: 900px; /* Limit height for large screens */
  overflow: hidden;
}

.carousel-img {
  object-fit: cover; /* Ensure images cover the entire container */
  width: 100%;
  height: auto;
}

/* Mobile-Specific Styling */
@media (max-width: 768px) {
  .carousel-inner {
    max-height: 300px; /* Reduce height for mobile screens */
  }

  .carousel-img {
    height: 100%; /* Ensure image height adjusts properly */
    object-fit: contain; /* Adjust fit for smaller devices */
  }
}

/* Optional: Better Indicators Styling */
.carousel-indicators button {
  background-color: #fff;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(
    0,
    0,
    0,
    0.5
  ); /* Subtle background for better visibility */
  border-radius: 50%;
}

/*=============Navbar===================*/
/* Hover effect for dropdown menu items */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  padding: 10px;
}

.dropdown-menu {
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  border: none;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Dropdown item styling */
.dropdown-item {
  padding: 10px 20px; /* Adjust padding as needed */

  color: #000; /* Default color */
}

/* Change color on hover */
.dropdown-item:hover {
  /*background-color: #ff5e13; /* Hover background color */
  color: red; /* Text color on hover */
}

/* Change color when clicked */
.dropdown-item:active {
  background-color: red; /* Background color when clicked */
  color: #fff; /* Text color when clicked */
}

/* Change color of nav items on hover */
.nav-link:hover {
  color: #ff5e13;
  transition: color 0.3s ease;
}

/* Active nav-link */
.nav-link {
  color: #000;
}

/* Add padding around the navbar */
.navbar {
  padding: 0.5rem 1rem;
}

.navbar .navbar-brand {
  margin-right: 2rem;
}

.navbar-nav {
  gap: 1.5rem;
}

/*==================About =======================*/

/* Mobile-Specific Styling */

@media (max-width: 768px) {
  .about-section {
    margin-top: -100px;
  }
}

.about-section {
  position: relative;
  z-index: 99;
  background-image: url(./images/about_overlay.png);
  background-repeat: no-repeat;
  background-position: left;
  padding: 140px 0px;
  overflow: hidden;
}

.section-heading {
  font-size: 60px;
  font-weight: 700;
  line-height: 70px;
  margin-bottom: 30px;
  position: relative;
  color: #001b5e;
}

.section-desc {
  line-height: 2;
  margin-bottom: 7px;
  font-size: 14px;
  color: #888888;
}

.btn-custom {
  display: inline-block;
  padding: 13.5px 45px;
  background-color: #ff5e13;
  font-size: 14px;
  color: #fff;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  text-transform: capitalize;
  border: 1px solid transparent;
  text-decoration: none;
}

/* Hover Effect */
.btn-custom:hover {
  background-color: #0056b3; /* Darker shade for hover */
}

/* Active Effect */
.btn-custom:active {
  background-color: #004085; /* Even darker shade for active state */
}

/*==================Highlight=======================*/

.highlight {
}

.highlight .card-img-top {
  width: 50%;
  margin: 20px auto; /* Centers the image horizontally */
  display: block; /* Ensures image behaves like a block element */
}
.card {
  min-height: 450px !important;
}

.highlight .card-title {
  text-align: center;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 30px;
  color: #001b5e;
  text-transform: capitalize;
  line-height: 1.2;
}

/*==================Courses=======================*/

/* Section Styling */
.course-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

/* Course Card Wrapper */
.course-card-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Individual Course Card */
.course-card {
  flex: 1 1 calc(33.33% - 20px); /* 3 items per row */
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.course-card:hover {
  transform: translateY(-10px); /* Lift effect */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Deeper shadow */
}

/* Image Styling */
.course-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Title Styling */
.course-card-title {
  text-align: center;
  font-weight: 700;
  font-size: 24px;
  margin-top: 30px;
  color: #001b5e;
  text-transform: capitalize;
  line-height: 1.2;
}

/* Button Styling */
.btn {
  display: inline-block;
  margin: 10px 0 20px;
  padding: 10px 20px;
  font-size: 1rem;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #0056b3; /* Darker blue on hover */
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
  .course-card {
    flex: 1 1 100%; /* Full width for each card on mobile */
  }
}

/*==================Affiliation=======================*/

/* Affiliation Section Styling */
.affiliation-section {
  padding: 50px 0;
}

.affiliation-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* Affiliation Logo Styling */
.affiliation-logo {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
  min-height: 100px; /* Set a minimum height to make logos the same size */
  object-fit: contain; /* Ensure logo is responsive without distorting */
}

/* Swiper Styling */
.swiper {
  padding: 20px 0;
}

.swiper-slide {
  text-align: center;
}

/* Navigation Button Styling */
.swiper-button-next,
.swiper-button-prev {
  color: #333;
  font-size: 14px; /* Make navigation buttons smaller */
  background-color: transparent; /* No background color for buttons */
}

/* Pagination Bullet Styling */
.swiper-pagination-bullet {
  background: #333;
}

/* Optional: Customize active pagination bullet */
.swiper-pagination-bullet-active {
  background: #007bff;
}

/*==================Footer=======================*/

.footer-section h4 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-section h3 {
  margin-top: 30px;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 700;
  text-transform: capitalize;
}

.footer-section h5 {
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 500;
}

.footer-section p,
.footer-section li {
  color: #ccc;
  font-size: 0.9rem;
}

.footer-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
}

.footer-section a:hover {
  color: #fff;
  text-decoration: underline;
}
