

/* Header contact */

.header-contact ul {
  list-style-type: none;
  position: relative;
  margin-left: 20px;
  list-style: none;
  color:white;
 
}
header {
  background-color: #898AC4;
  padding: 10px 10px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  font-size: 16px;
  margin-top: 0;
  line-height: 1;
  display: flex;
  justify-content:flex-end; 
  align-items: center;           
  height: 80px;
}

.header-contact a {

  font-size: 14px; 
  padding: 0 5px; 
  line-height: 1;
  text-decoration: none;
}
.logo {
  height: 50px;
  width:auto;
  margin-left: 10px;
}




.navbar .nav-link,
.navbar .navbar-brand {
  color: black;
  font-weight: 500;
 
  
}
.navbar .nav-link:hover {
  color:goldenrod;
}

/* Carousel */
.carousel {
  margin-top: 40px;
}
.carousel img {
  height: 70vh;
  object-fit: cover;
  width: 100%;
}
.carousel-control-next,
.carousel-control-prev {
  width: 10px;
  height: 10px;
  margin-top: 250px;
  border-radius: 20%;
}
/* counter section */
.counter-section {
      background: linear-gradient(rgba(0, 32, 63, 0.8), rgba(0, 32, 63, 0.8)),
       url('https://picsum.photos/1600/600?blur=2') no-repeat center/cover;
      padding: 80px 20px;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 120px;
      text-align: center;
      color: #fff;
      min-height: 100px;
      margin-top: 40px;
      font-family: 'Times New Roman', Times, serif;
    }

    .counter-box h2 {
      font-size: 48px;
      font-weight: bold;
      color:goldenrod; 
    }

    .counter-box p {
      font-size: 20px;
      margin-top: 10px;
      color: #f1f1f1;
    }

/* Custom Caption */
.custom-caption {
  position: absolute;
  top: 50%;
  left: 10%;
  text-align: left;
  color: #fff;
}
.custom-caption h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

/* Buttons */
.btn,
.btn-custom,
.apply-btn,
.signup-btn,
.login-btn {
  display: inline-block;
  width: auto;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  transition: 0.3s;
  background-color: #002147;
}

/* Button Variants */
.btn-custom {
  background: #ffcc00;
  color: #000;
}
.btn-custom:hover {
  background: #e6b800;
  color: #fff;
}
.apply-btn {
  background: #007BFF;
  color: #fff;
}
.apply-btn:hover {
  background: #0056b3;
}
.signup-btn {
  background: #3498db;
  color: #fff;
}
.signup-btn:hover {
  background: #2980b9;
}
.login-btn {
  background: #3498db;
  color: #fff;
}
.login-btn:hover {
  background: #2980b9;
}



/* =========================
   MOBILE VIEW ONLY
   ========================= */
@media (max-width: 768px) {

  /* Header */
  header {
    height: auto;
    padding: 10px;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .logo {
    height: 40px;
    margin-left: 0;
  }

  .header-contact ul {
    margin-left: 0;
    padding: 0;
    text-align: right;
  }

  .header-contact a {
    font-size: 12px;
    padding: 0 3px;
  }

  /* Navbar */
  .navbar {
    padding: 5px 10px;
  }

  .navbar .nav-link {
    font-size: 14px;
    padding: 8px 0;
    text-align: center;
  }

  /* Carousel */
  .carousel {
    margin-top: 80px; /* fixed header adjust */
  }

  .carousel img {
    height: 45vh;
  }

  .carousel-control-next,
  .carousel-control-prev {
    margin-top: 150px;
  }

  /* Custom Caption */
  .custom-caption {
    left: 5%;
    top: 45%;
    width: 90%;
  }

  .custom-caption h1 {
    font-size: 1.8rem;
  }

  /* Buttons */
  .btn,
  .btn-custom,
  .apply-btn,
  .signup-btn,
  .login-btn {
    padding: 10px 14px;
    font-size: 14px;
    margin-bottom: 8px;
  }

  /* Counter Section */
  .counter-section {
    flex-direction: column;
    gap: 40px;
    padding: 50px 15px;
  }

  .counter-box h2 {
    font-size: 36px;
  }

  .counter-box p {
    font-size: 16px;
  }
}
