* {
    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: 10px;
  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; /* Full viewport height */
    background: url('/static/Images/bg.jpeg'); /* Replace with your background image */
    color: #0615BF;
    background-repeat: no-repeat;
    background-size:cover;
    width: 100%;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 50;
    left: 0;
    width: 100%;
    height: 75%;
    background: rgba(0, 0, 0, 0.6); /* Adjust the opacity here */
    z-index: 1; /* Ensures the overlay is on top of the image */

}
/* 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: justify;
    width: 90%;
    margin: 10px auto; /* Centering text */
    line-height: 1.9;
    color: #001166;
}

.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;
}

.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;
}

.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-bottom: 100px;
    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 Design */
@media (max-width: 768px) {
    
    .navbar-brand h1 {
        font-size: 1.5rem;
    }
    .logo {
        max-height: 25px; /* Smaller logo for mobile */
    }

    .service-box {
        margin-bottom: 20px;
        margin-left: 18px;
    }

    /* Center social icons on small screens */
    .social-icons {
        margin-left: 50px;
       
    }
    .navmenu a
    {
        line-height: 1.5 ;
    }
    
    h3
    {
        margin-left: 50px;
    }

    /* Adjust Login and Sign-Up buttons on mobile */
    .nav-link-login,
    .nav-link-signup {
        width: 100%; /* Make buttons full width on mobile */
        margin-left: 0; /* Remove left margin */
        margin-top: 10px; /* Add top margin for spacing */
        box-shadow: none; /* Optional: Remove box-shadow on mobile */
    }
    .map-container iframe {

        margin-left: -5px;
        padding: 5px;
    }
    .popup-content {
        padding: 20px;
        font-size: 0.9em;
      }
    
      .popup-content h2 {
        font-size: 1.3em;
      }
    
      .popup-content button {
        font-size: 0.9em;
        padding: 8px 16px;
      }
    
      .close {
        font-size: 1.3em;
        top:35px;
      }
      
      /* Footer */

      .con {
        margin-left: 30px;
        font-size: 14px;
      }
    
      .social-icons a {
        font-size: 1.2rem;
        margin: 0 5px;
      }
    
      .navmenu ul {
        margin-left: 30px;
      }
    
      .navmenu li a {
        font-size: 1rem;
      }
    
      .fot {
        margin-left: -50px;
        margin-top: -10px;
      }
    
    


      /*  */
    
}
@media (max-width: 480px) {
    .popup-content {
      padding: 15px;
      font-size: 0.8em;
    }
  
    .popup-content h2 {
      font-size: 1.1em;
    }
  
    .popup-content label,
    .popup-content input,
    .popup-content select {
      font-size: 0.9em;
      padding: 8px;
    }
  
    .popup-content button {
      font-size: 0.8em;
      padding: 6px 12px;
    }
  
    .close {
      font-size: 1.1em;
      top:-35px;
    }
  }
