* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header */
header {
    border-bottom: 1px solid #fff;
}

.navbar-brand h1 {
    font-size: 1.5rem;
    font-family: 'League Spartan', sans-serif;
    color: #001166;;
    margin-bottom: 0;
}

.navbar-brand p {
    color: #333;
    font-size: 0.85rem;
    font-family: 'League Spartan', sans-serif;
}

.nav-link {
    color: #001166;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'League Spartan', sans-serif;  
    font-size: 1.0rem;
    
}



/* Enable hover functionality for dropdown */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Dropdown menu customizations */
.dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dropdown-item {
    font-family: 'League Spartan', sans-serif;  
    font-size: 16px;
    color: #001170;
    padding: 10px 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #001166;
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
}





.nav-link-login
{
    color: #fff;
    background-color: #001166;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'League Spartan', sans-serif;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    margin-left: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);

}
.nav-link-signup
{
    color: #fff;
    background-color: #001166;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'League Spartan', sans-serif;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    margin-left: 10px;
    margin-top: -20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.nav-link-signup:hover
{
    border-bottom: 3px solid #001166;
    color: #001166;
    background-color: #fff;
}
.nav-link-login:hover
{
    border-bottom: 3px solid #001166;
    color: #001166;
    background-color: #fff;
}
.nav-link:hover {
    border-bottom: 2px solid #001166;
    color: #001166;
}

/* Logo Styles */
.logo {
    max-height: 30px; /* Adjust as per your needs */
    height: auto;
    width: auto;
   
}
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  position: relative;
}

.popup-content h2 {
  margin-bottom: 20px;
  text-align: center;
}

.popup-content label, .popup-content input, .popup-content select {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
}

.popup-content button {
  padding: 10px 20px;
  background-color: #001166;
  color: white;
  border: none;
  cursor: pointer;
}

.close {
  position: absolute;
  top:60px;
  right: 10px;
  cursor: pointer;
  font-size: 1.5em;
  color: #001166;
}
.closesign {
    position: absolute;
    top: 25px;
    right: 25px;
    cursor: pointer;
    font-size: 1.8em;
    color: #001166;
  }

/* More Transparency for Header Image Text */
.header-text {
  color: #fff;
  text-align: center;
 font-family: 'League Spartan', sans-serif;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3); /* More transparent */
  border-radius: 10px;
}


/* Popup Styles */
.popup {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.7); /* Black w/ opacity */
}

.popup-content {
  background-color: #fff;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 90%; /* Change to 90% for smaller screens */
  max-width: 500px; /* Limit the max width */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Optional: Add a shadow for better visibility */
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 5px;
  color: #001166;
}

input {
  margin-bottom: 15px; 
  padding: 10px;
  border: 1px solid #001166;
  border-radius: 5px;
  font-size: 1em; /* Ensure text is readable */
}

button {
  padding: 10px;
  background-color: #001166;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em; /* Ensure button text is readable */
}


/* Hero Section */





.hero-section {
    height: 75vh; /* 75% of the viewport height */
    background: url('/static/Images/bg.jpeg') no-repeat center top; /* Center and align to the top */
    background-size: cover; /* Ensure the image covers the area */
    position: relative;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.hero-section.home {
    height: 75vh; /* 75% of the viewport height */
    background: url('/frontend/assets/static/Images/bg.jpeg') no-repeat center top; /* Center and align to the top */
    background-size: cover; /* Ensure the image covers the area */
    position: relative;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Full overlay height */
    background: rgba(0, 0, 0, 0.6); /* Overlay with adjustable opacity */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2; /* Ensure text is above the overlay */
}

@media (max-width: 1024px) {
    .hero-section {
        height: 65vh; /* Reduce height slightly for medium screens */
        background-position: center 10%; /* Adjust background position slightly down */
    }

    .hero-section h1 {
        font-size: 2.5rem; /* Adjust heading size */
    }

    .hero-section p {
        font-size: 1.2rem; /* Adjust paragraph size */
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 60vh; /* Further reduce height */
        background-position: center 15%; /* Shift background down more */
    }

    .hero-section h1 {
        font-size: 2rem; /* Reduce heading size further */
    }

    .hero-section p {
        font-size: 1rem; /* Adjust paragraph size */
    }

    .hero-section a.btn {
        padding: 0.7rem 1.5rem; /* Adjust button size */
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 55vh; /* Minimized height for smaller devices */
        background-position: center 20%; /* Move background image down further */
    }

    .hero-section h1 {
        font-size: 1.5rem; /* Smaller heading size */
    }

    .hero-section p {
        font-size: 0.9rem; /* Smaller paragraph size */
    }

    .hero-section a.btn {
        padding: 0.5rem 1rem; /* Compact button for mobile */
        font-size: 0.8rem;
    }
}



/* Services Section */
#services {
    padding: 20px 0;
    background-color:  #001166;
}

.service-box {
    padding: 10px; 
    border-radius: 8px;
    text-align: center;
    transition: transform 0.2s ease-in-out;
}

.service-box:hover {
    transform: scale(1.05);
}

.service-box h4 {
    color: #001166;
    font-family: 'League Spartan', sans-serif;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: bold;
    margin-top: 15px;
}

.iconapp
{
    width: 75px;
    margin-left: 200px;
    margin-top: -3px ;
}

h2 {
    color: #001166;
    font-size: 35px;
    margin-top: 50px;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 800;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.lead {
    font-size: 16px;
    font-family: 'League Spartan', sans-serif;
    font-weight: 500;
    text-align: center;
    width: 90%;
    margin: 10px auto; /* Centering text */
    line-height: 1.9;
    color: #ffffff;
}

.service-box p {
    color: #001166;
    font-family: 'League Spartan', sans-serif;
    font-weight: 500;
    text-align: justify;
    line-height: 1.9;
    font-size: 16px;
}

.service-box img {
    width: 70px;
    color: #001166;
}


/* Contact Section */
.map-container iframe {
    width: 97vw;
    height: 350px;
    border: none;
    margin-left: -95px;
}

h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    font-size: 25px;
    color: #001166;
    padding: 5px;
    margin-left: -250px;
    text-align: center;
}

.con {
    font-family: 'League Spartan', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #001166;
    margin-left: 50px;
    line-height: 1.0;
    text-align: left;
    margin-bottom: 20px;
}

.con i {
    font-size: 24px;
}

.social-icons a {
    font-size: 1.5rem;
    margin: 0 10px;
    color: #001166;
    transition: color 0.3s ease;
}
.navmenu ul 
{
    list-style-type: square;
    margin-left: 50px;
    text-align: left;
    font-family: 'League Spartan', sans-serif;
    line-height: 1.5;
    transition: transform 0.2s ease-in-out;
}
.navmenu li a
{
  
    text-decoration: none;
    font-size: 1.2rem;
    margin: 0 10px;
    color: #001166;
    transition: transform 0.2s ease-in-out;
    text-align: left;
}
.navmenu li a:hover
{
    color: #0615BF;
    transform: scale(1.05);
}

.social-icons a:hover {
    color: #0615BF;
    transform: scale(1.05);
}
.fot
{
    width: 95vw;
    margin-left: -100px;
    margin-top: -20px;
    
}

#back-to-top {
    position: fixed; /* Fixed position */
    bottom: 20px; /* Distance from the bottom */
    right: 20px; /* Distance from the right */
    display: none; /* Hidden by default */
    background-color: #001166; /* Button background color */
    color: #fff; /* Text color */
    border: none; /* No border */
    padding: 10px 20px; /* Padding for the button */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    transition: transform 0.3s ease, background-color 0.3s ease; /* Smooth transitions */
}

/* Hover effect for the button */
#back-to-top:hover {
    background-color: #001170; /* Change background on hover */
    transform: translateY(-5px); /* Slight lift effect on hover */
}


 /* Responsive Styles */

/* For large tablets and smaller laptops (max-width: 1024px) */
@media (max-width: 1024px) {
    .navbar-brand h1 {
      font-size: 1.2rem;
    }
  
    .nav-link {
      font-size: 0.9rem;
    }
  
    .popup-content {
      width: 90%;
      padding: 15px;
    }
  
  
    .service-box img {
      width: 60px; /* Smaller icons */
    }
  
    .map-container iframe {
      width: 100%;
      margin-left: 0;
    }
  
    h3 {
      margin-left: 0;
      text-align: center;
      
    }
  
    .con {
      margin-left: 10px;
      font-size: 14px;
    }
  
    .navmenu ul {
      margin-left: 20px;
      
    }
  
    .fot {
      margin-left: -20px;
    }
  }
  
  /* For tablets (max-width: 768px) */
  @media (max-width: 768px) {
    .navbar-brand h1 {
      font-size: 1rem;
    }
  
    .nav-link {
      font-size: 0.8rem;
    }
  
    .popup-content {
      width: 95%;
    }

  
    .service-box h4 {
      font-size: 20px;
    }
  
    .service-box img {
      width: 50px;
      margin-left: auto;
      margin-right: auto;
    }
  
    .social-icons a {
      font-size: 1.2rem;
      margin: 0 5px;         
    }
  
    .con {
      font-size: 12px;
    }
  
    .map-container iframe {
      height: 300px;
    }
  }
  
  /* For mobile devices (max-width: 480px) */
  @media (max-width: 480px) {
    .navbar-brand h1 {
      font-size: 0.9rem;
      text-align: center;
    }
  
    .navbar-brand p {
      font-size: 0.75rem;
      text-align: center;
    }
  
    .nav-link {
      font-size: 0.7rem;
      text-align: center;
    }
  
    .popup-content {
      padding: 10px;
      border-radius: 5px;
    }
  
  
    .service-box {
      padding: 5px;
    }
  
    .service-box h4 {
      font-size: 18px;
    }
  
    .service-box p {
      font-size: 14px;
    }
  
    .map-container iframe {
      height: 250px;
    }
  
    .social-icons a {
      font-size: 1rem;
      margin-left: -120px;
    }
  
    .con {
      margin-left: 20px;
      font-size: 12px;
      text-align: left;
      
    }

    .navmenu ul {
      margin-left: 10px;
    }
  
    .navmenu li a {
      font-size: 0.9rem;
    }
  
    .fot {
      margin-left: 0;
      width: 100%;
      margin-top: 80px;
    }
  }
  