/* general css  */
body {
  font-family: 'Segoe UI', sans-serif;
}

.section-title h6::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-top: 2px dashed #F14D5D;

}

.custom-border-radius {
  border-radius: 10px;
  border: 2px solid #446491;
}
.bg-light {
  background-color: #446491 !important;
}

a.bg-light:hover, a.bg-light:focus,
button.bg-light:hover,
button.bg-light:focus {
  background-color: #446491 !important;
}

.first-heads {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
}

.display-4 {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
}

@media (max-width: 1200px) {
  .display-4 {
    font-size: calc(1.475rem + 2.7vw) ;
  }
}

.nav-link.active {
  font-weight: bold;
  border: 1px solid;
  border-radius: 5px;
  text-decoration: underline;
}

.main-header {
  background: linear-gradient(rgba(42, 82, 255, 0.7), rgba(42, 82, 255, 0.7)), url('../images/header.jpg');
  background-size: cover;
  background-position:bottom;
  background-repeat: no-repeat;
  color: white;
  padding: 60px 0;
  text-align: center;
  height: 400px;
}

    

    .main-header h1 {
      font-weight: 700;
      font-size: 2.8rem;
    }

    .nav-link {
      color: #2a52ff !important;
    }

    .section-cards {
      padding: 40px 0;
    }

    .card {
      background-color: #2a52ff;
      color: white;
    }

    .footer {
      background-color: white;
      padding: 10px 0;
      text-align: center;
    }

    .social-icons a {
      color: #2a52ff;
      font-size: 24px;
      margin: 0 10px;
    }

    .subscribe-form input {
      max-width: 300px;
    }
/* navigation css */
.logo-blue {
  display: none;
}

.navbar-logo-invert .logo-white {
  display: none !important;
}

.navbar-logo-invert .logo-blue {
  display: inline-block !important;
}

    .navbar-brand img {
      height: 60px;
      width: auto;
    }

    nav {
      background-color: #2a52ff;
    }
    .white-background {
      background-color: white;
      padding: 5px;
      border-radius: 5px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    .white-background li {
      margin: 0 10px;
    }
    .white-background a {
      color: #2a52ff;
      text-decoration: none;
    }
    .white-background a:hover {
      text-decoration: underline;
    } 

/* carousel css */
.carousel-item {
  height: 100vh;
  min-height: 300px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.carousel-caption {
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  text-align: left;
  right: 45% !important;
  bottom: auto;
}

.carousel-caption h5 {
  font-size: 35px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 20px;
}

.carousel-caption p {
  width: 75%;
  margin: auto;
  font-size: 18px;
  line-height: 1.9;
}

/* Make navbar transparent */
.navbar {
  background: transparent !important;
  z-index: 10;
}

/* Make carousel go under navbar */
#mainCarousel {
  margin-top: -70px; /* Adjust based on navbar height */
  z-index: 1;
  position: relative;
}

/* Ensure images cover the top area */
.carousel-item img {
  object-fit: cover;
  height: 100vh; /* or set specific height */
}


.hr-footer {
  width: 60%;
  margin: 1rem auto;       
  border: none;
  height: 3px;            
  background-color: #0000CC; 
  opacity: unset;         
}
.social-link {
  color: #0000CC;    
  font-weight: bold; 
  margin: 0 10px;    
  font-size: 1.5rem;  
  text-decoration: none;
}

.social-link:hover {
  color: #003399;     /* Darker blue on hover (optional) */
}

.card-background {
  background-color: #2a52ff;
  color: white;
}

.navbar-custom {
      background-color: white;
    }
    .navbar-custom .nav-link,
    .navbar-custom .navbar-brand {
      color: #1133ff;
      font-weight: 500;
    }
    .section-blue {
      background-color: #0026cc;
      color: white;
      padding: 60px 0;
    }
    .section-light {
      background-color: #f8f9fa;
      padding: 60px 0;
    }
    .card-custom {
      background-color: white;
      border: 4px solid #0026cc;
      border-radius: 10px;
      padding: 30px;
      text-align: center;
      color: #0026cc;
      transition: transform 0.3s ease;

      overflow: hidden;
    }
    .card-custom:hover {
      transform: translateY(-5px);
    }
    /* overlapping cards  start*/
    .card-overlap-wrapper {
  position: relative;
  z-index: 1;
}

.card-overlap {
  position: absolute;
  top: 100%;
  left: 20%;
  transform: translateX(-50%);
  margin-top: -250px; 
  z-index: 10;
  width: 100%;
}

.card-overlap-box {
  height: 350px;
  width: 250px;
}

.card-image {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

/* about us css */
.list-group-item a:hover {
  color: #2878EB;
  transition: color 0.3s ease;
}

.list-group,
.list-group-item {
  background-color: transparent !important;
}


    /* overlapping cards  end*/
    

    .team-photo {
      width: 120px;
      height: 120px;
      border: 3px solid #1133ff;
      border-radius: 50%;
      margin: 0 auto 15px;
    }
    .btn-outline-white {
      border: 2px solid white;
      color: white;
    }
    .btn-outline-white:hover {
      background-color: white;
      color: #0026cc;
    }

    .main-header h1 {
      margin-top: 50px;
      text-align: right;

    }

.btn-icon {
    width: 77px;
    height: 77px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

}
.mr-4,
.mx-4 {
    margin-right: 1.5rem !important;

}

/* home page  */
.hr-background {
  height: 3px;
  background-color: #0000CC;
  border: none;
  margin: 1rem 0;
  opacity: unset;
  margin-top: 10px;
  margin-bottom: 0;
}

.radius-hr-attach {
  background-color: #0000CC; 
  width: 600px;              
  height: 30px;            
  margin: 0 auto; 
  margin-top: 0;
  border-radius: 0 0 8px 8px; 
  position: relative;
  z-index: 1;      
}

.bg-image {
  background: linear-gradient(rgba(40, 120, 235, 0.05), rgba(40, 120, 235, 0.05)), url(../images/bg-image.jpg);
  background-attachment: fixed;
  position: relative;
  z-index: 0;
  margin-top: -30px;
}

.courses-item img {
  position: relative;
  margin-top: 40px;
  transition: .5s;
}

.courses-list-item img {
  position: relative;
  transition: .5s;
}

.courses-item .courses-text,
.courses-list-item .courses-text {
  position: absolute;
  width: 100%;
  height: calc(100% + 86px);
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background: linear-gradient(to bottom, rgba(18, 15, 45, 0), #120f2d);
  transition: .5s;
}

.courses-list-item .courses-text {
  height: 100%;
}

.courses-item:hover img {
  margin-top: 0px;
}

.courses-list-item:hover img {
  transform: scale(1.2);
}

.courses-item:hover .courses-text {
  height: calc(100% + 40px);
}

.owl-item.active {
  border: none;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -5px;
  margin-left: -5px;
}

.border-0 {
  border: 0 !important;
} 

/* about us */
.team-carousel .owl-nav {
  position: absolute;
  width: 100%;
  height: 60px;
  top: calc(50% - 30px);
  left: 0;
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.team-carousel .owl-nav .owl-next, 
.team-carousel .owl-nav .owl-prev {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: #2878EB;
  font-size: 22px;
  transition: .5s;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}


