/* Global */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
html, body {
  font-family: Poppins;
  margin: 0;
  color: #eee;
  display: grid;
  overflow-x: hidden !important;
  width: 100%;
  /*background-color: #e8f5e9aa;*/
}
/* Navbar */
nav {
  position: fixed;
  z-index: 99;
  width: 100%;
  transition: 0.5s ease-in-out;
  background: #ffff;
  box-shadow: 0 4px 6px rgba(43, 93, 153, 0.1); /* Adds a subtle shadow at the bottom */
}
nav .wrapper2 {
  position: relative;
  max-width: 1300px;
  padding: 0px 30px;
  height: 80px;
  line-height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  
}
.wrapper2 .logo {
  display: flex;
}
.wrapper2 .logo a {
  color: #2B5D99;
  font-size: 30px;
  font-weight: 600;
  text-decoration: none;
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  margin-top: 5px;
}
.wrapper2 img {
  height: 70px;
  margin-top: 4px;
}
.wrapper2 .nav-links {
  display: inline-flex;
}
.nav-links li {
  list-style: none;
  margin-top: 10px;
}
.nav-links li a {
  color: #2B5D99;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 9px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.nav-links li a:hover {
  color: #ffff;
  background: #2B5D99;
  cursor: pointer;
}
.nav-links .mobile-item {
  display: none;
}
.nav-links .drop-menu {
  position: absolute;
  background: #242526;
  width: 180px;
  line-height: 45px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box {
  transition: all 0.3s ease;
  top: 70px;
  opacity: 1;
  visibility: visible;
}
.drop-menu li a {
  width: 100%;
  display: block;
  padding: 0 0 0 15px;
  font-weight: 400;
  border-radius: 0px;
}
.wrapper2 .btn {
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
}
.wrapper2 .btn.close-btn {
  position: absolute;
  right: 30px;
  top: 10px;
}

@media screen and (max-width: 970px) {
  .wrapper2 .btn {
    display: block;
  }
  .wrapper2 .nav-links {
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 350px;
    top: 0;
    left: -100%;
    background: #f2f2f2;
    display: block;
    padding: 50px 10px;
    line-height: 50px;
    overflow-y: auto;
    box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
  }
  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: #242526;
  }
  ::-webkit-scrollbar-thumb {
    background: #3a3b3c;
  }
  #menu-btn:checked ~ .nav-links {
    left: 0%;
    z-index: 99999;
  }
  #menu-btn:checked ~ .btn.menu-btn {
    display: none;
  }
  #close-btn:checked ~ .btn.menu-btn {
    display: block;
  }
  .nav-links li {
    margin: 15px 10px;
  }
  .nav-links li a {
    padding: 0 20px;
    display: block;
    font-size: 20px;
  }
  .nav-links .drop-menu {
    position: static;
    opacity: 1;
    top: 65px;
    visibility: visible;
    padding-left: 20px;
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
  }
  #showDrop:checked ~ .drop-menu,
  #showMega:checked ~ .mega-box {
    max-height: 100%;
  }
  .nav-links .desktop-item {
    display: none;
  }
  .nav-links .mobile-item {
    display: block;
    color: #2B5D99;
    font-size: 20px;
    font-weight: 500;
    padding-left: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  .nav-links .mobile-item:hover {
    background: #2b5b96;
    color: white;
  }
  .drop-menu li {
    margin: 0;
  }
  .drop-menu li a {
    border-radius: 5px;
    font-size: 18px;
  }
  .wrapper2 .btn{
    color: #2B5D99;
  }
  .wrapper2 .btn:hover {
    color: #2b5b96;
  }
}
nav input {
  display: none;
}
@media screen and (max-width: 400px){
  .wrapper2 .logo a {
    font-size: 20px;
  }
}
/* Title h2 */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  color: #2b5b96;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}
.section-title::after {
  content: "";
  width: 50px;
  height: 3px;
  background: #2b5b96;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  opacity: 0.8;
}
.section-subtitle {
  font-size: 1rem;
  color: #666;
  text-align: center;
  margin-top: 5px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 75px;
}

/* Footer */
.footer {
  background: linear-gradient(to bottom, #f8f9fa, #f0f0f0); /* Subtle gradient */
  padding: 60px 0;
  color: #333;
  border-top: 1px solid #eee;
}

.footer-section {
  margin-bottom: 25px;
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  color: #2b5b96;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
  display: inline-block; /* Essential for word-size underline */
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%; /* Width will be determined by the parent's inline-block width */
  height: 2px;
  background-color: #2b5b96;
}
.footer-2 p a{
  color: #2b5b96;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}
.footer-2 p a:hover{
  color: #163965;
  transform: translateX(5px);
}
.footer-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-text i {
  margin-right: 10px;
  color: #2b5b96;
  font-size: 16px;
}

.footer-link {
  color: #2b5b96;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: block;
  margin-bottom: 8px;
}

.footer-link:hover {
  color: #163965;
  transform: translateX(5px);
}
.social-icons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.social-icon {
  font-size: 20px;
  color: #2b5b96;
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.social-icon:hover {
  transform: scale(1.1);
  color: #163965;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid #eee;
  color: #777;
  font-size: 14px;
}

.copyright a {
  color: #2b5b96;
  text-decoration: none;
  transition: color 0.3s ease;
}

.copyright a:hover {
  color: #163965;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .footer-section {
      text-align: center;
  }
  .footer-2 p{
    justify-content: center;
    text-align: center;
  }
  

  .social-icons {
      justify-content: center;
  }
}
/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 1); 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease-out;
}
#preloader-logo {
  width: 100px; 
  animation: spin 2s linear infinite;
}
@keyframes spin {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}
@keyframes fadeOut {
  0% {
      opacity: 1;
  }
  100% {
      opacity: 0;
  }
}
body.loaded #preloader {
  opacity: 0;
  animation: fadeOut 1s forwards; /* Apply fade-out animation */
}
/* Go to top */

.go-to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #2b5b96;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 50%; 
  font-size: 24px;
  cursor: pointer;
  display: block;
  z-index: 1000;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease; 
  opacity: 0;
  visibility: hidden;
}
.go-to-top-btn:hover {
  background-color: #1d3c67;
  transform: scale(1.1); 
}
.go-to-top-btn i {
  margin: 0;
}
.go-to-top-btn.show {
  opacity: 1;
  visibility: visible;
}
.go-to-top-btn.hide {
  opacity: 0;
  visibility: hidden; 
  pointer-events: none; 
}