body {
  color: #516171;
  font-family: sans-serif;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700 !important;
  color: #0b4d90;
}

a {
  /* color: #cba052; */
  text-decoration: none;
  transition: all 0.4s ease;
  font-weight: 500;
}

img {
  width: 100%;
}

.section,
section {
  padding-top: 80px;
  padding-bottom: 80px;

  /* Add some space above each section to fix the issue of the navigation linking to after the section top */
  scroll-margin-top: 70px;
}

.bg-cover {
  background-position: center !important;
  background-size: cover !important;
}

/* Navbar */
.top-nav {
  background-color: #0b4d90;
  padding-top: 5px;
  padding-bottom: 5px;
}

.top-nav p {
  color: white;
  margin-bottom: 0;
  margin-right: 16px;
  display: inline-block;
}

.top-nav i,
.top-nav span {
  vertical-align: middle;
}

.social-links a {
  width: 34px;
  height: 34px;
  background-color: rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  border-radius: 100%;
}

.social-links a:hover {
  background-color: white;
  color: #0f2675;
}

.social-links a.active {
  color: #50b3aa;
}

.language a {
  color: #50b3aa;
}

.language a:hover {
  text-decoration: underline;
}

.navbar {
  box-shadow: 0px 6px 30px rgb(0, 0, 0, 0.08);
  /* background-color:aliceblue; */
}

.navbar .navbar-logo-img {
  /* height: 100px;  */
  width: 120px;
}

.navbar .navbar-logo-img_2 {
  height: 80px;
  width: 100px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: #50b3aa;
}

.nav-link {
  font-size: 18px;
}

.navbar-brand {
  font-weight: 900;
  font-size: 26px;
  color: #0f2675 !important;
}

/* SLIDER */
.slide {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.slide1 {
  background-image: url(../img/slider/slider1.jpg);
}
.slide2 {
  background-image: url(../img/slider/slider2.jpg);
}
.slide3 {
  background-image: url(../img/slider/slider3.jpg);
}
.slide4 {
  background-image: url(../img/slider/slider4.jpg);
}

/* Customers */
.customer img {
  width: 30px;
  height: 150px;
}
/* Customize the color of carousel control icons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #999;
}

/* OWL CAROUSEL */
.owl-carousel {
  max-width: 100%;
  margin: 0 auto;
}

.owl-prev,
.owl-next {
  position: absolute;
  top: 50%;
  width: 60px !important;
  height: 60px !important;
  display: grid;
  place-items: center;
  background-color: rgba(255, 255, 255, 0.2) !important;
  margin-top: -30px !important;
  color: white !important;
  font-weight: 700 !important;
  font-size: 30px !important;
}

.owl-prev:hover,
.owl-next:hover {
  background-color: #0f2675 !important;
}

.owl-prev {
  left: 0;
}

.owl-next {
  right: 0;
}

/* journey */
.card-product img {
  height: 400px;
}

/* gallery */
.card-service {
  transition: all 0.3s;
}
.card-service:hover {
  transform: scale(1.15);
}
.card-service img {
  height: 400px;
}

/* admission */
#admission {
  background-color: #0f2675;
}
#admission h2 {
  color: #fff;
}

/* Footer */
footer {
  background-color: #0b4d90;
}
footer .social-links a {
  margin: 5px;
}
.contact-item {
  font-size: 20px;
  margin: 18px;
}

.map-area {
  width: 600px;
  height: 456px;
}
.map-area iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Test Card Animation(Image Zoom IN/OUT) */
.inner {
  overflow: hidden;
}
.inner img {
  transition: all 1.5s ease;
}
.inner:hover img {
  transform: scale(1.5);
}

/* CSS to control partner logo sizes */
.partner-logo {
  max-width: 100%; /* Ensure logos don't exceed their original size */
  height: auto; /* Maintain aspect ratio */
  max-height: 100px; /* Adjust as per design */
}

.card img {
  display: block;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: 150px; /* set a fixed height for the images*/
  object-fit: contain; /* ensure they maintain their aspect ratio using object-fit*/
}

.card-text_show {
  display: -webkit-box; /*used to make the element a flexible box.*/
  -webkit-box-orient: vertical; /*sets the orientation of the box to vertical.*/
  -webkit-line-clamp: 2; /* Number of lines to show */
  overflow: hidden;
  text-overflow: ellipsis; /* ensure that overflowing text is hidden and an ellipsis (...) is shown.
    */
}

#gallery .img-fluid {
  height: 300px; /* Set a fixed height for all images */
  object-fit: cover; /* Ensures images cover the specified height while maintaining aspect ratio */
  width: 100%; /* Ensures images span the width of their container */
}
