@import url("../font/opensans.css");

/* scroll */

::-webkit-scrollbar {
  width: 8px;
  height: 0px;
}

/* end */

/* Handle */

::-webkit-scrollbar-thumb {
  background: #1F4B99 !important;

  border-radius: 20px;
}

/* end */

/* lenis */

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* end */

body {
  overflow-x: hidden;
  font-family: "opensans";
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Footer Background */
.footer-section {
  background: linear-gradient(180deg, #1F4B99 0%, #27282C 100%);
  color: white;
  /* padding-left: 40px; */
}

/* Footer Logo */
.footer-logo {
  width: 100%;
  height: auto;
  max-width: 400px;
}

/* Form Input and Button */
.form-control-a {
  border-radius: 8px ;
  background: rgba(255, 255, 255, 0.50) !important;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25) inset !important;
  width: 248px !important;
}

.form-control-a::placeholder {
  color: #222222 !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.btn-primary {
  background-color: #ffffff;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  border: none;
  color: #1F4B99;
  font-weight: 600;
  border-radius: 8px;
  width: 123px;
}

.btn-primary:hover {
  background-color: #1F4B99;
  color: white;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  text-decoration: none;
  color: #ffffff;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  /* color: #1F4B99; */
  /* font-weight: 700; */
  text-decoration: underline;
}

/* Social Media Icons */
.social-icons {
  display: flex;
  gap: 15px;
  justify-content: left;
}

.social-link {
  font-size: 20px;
  color: white;
  transition: transform 0.3s, color 0.3s;
}

.social_logo {
  width: 32px;
  height: auto;
}

.social-link:hover {
  transform: scale(1.2);
  color: #FFD700;
}

/* Copyright Text */
.copyright-text {
  margin-top: 60px;
  font-size: 20px;
  color: #fff;
  font-weight: 600;
  line-height: 24px;
}

.link-size {
  font-size: 16px;
}

.resume-input{
  position: absolute;
  width: 100%;
  opacity: 0;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  cursor: pointer;
}

/* Responsive Adjustments */


@media (max-width: 1200px) {
  /* .footer-logo {
    width: 400px;
  } */
 
}
@media (max-width: 992px) {
  .form-control-a {
    width: 200px !important;
  }
  .row{
    justify-content: space-around;
  }
}

@media (max-width: 768px) {
  .footer-section {
    background: linear-gradient(180deg, #1F4B99 0%, #27282C 100%);
    color: white;
    padding-left: 0px;
  }

  /* .footer-logo {
    width: 300px;
  } */

  .social-icons {
    /* justify-content: flex-start; */
  }
  .copyright-text {
    font-size: 18px;
  }

}

@media (max-width: 600px) {
  /* .footer-logo {
    width: 250px;
  } */
  .form-control-a {
    width: 150px !important;
  }
  .copyright-text {
    font-size: 16px;
  }
}

.whatsapp {
  width: 76px;
  height: auto;
}

.whatsapp-div{
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 999;
}


/* Header Styling */
.custom-header {
  position: absolute; /* Position it on top of the banner */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid #4F84C1;
  background: rgba(79, 132, 193, 0.20);
  backdrop-filter: blur(10px);
  padding: 3px 0px;
}

/* When user scrolls, apply new background */
.custom-header.scrolled {
  background: #1F4B99 !important;
  backdrop-filter: none; /* Remove blur effect when scrolled */
}

.fixed-top {
  position: fixed;
  top: 0;
  width: 100%;
}

/* Logo */
.header-logo {
  width: 237px;
  height: auto;
}

/* Navbar Links */
.navbar-nav .nav-link {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  /* margin-right: 15px; */
  transition: color 0.3s;
}

.navbar-nav {
  gap: 30px;
}

.navbar-nav .nav-link:hover {
  /* color: #1F4B99; */
  /* font-weight: 700; */
  text-decoration: underline;
}

.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: var(--bs-navbar-padding-y) var(--bs-navbar-padding-x);
}

.hamburger{
  width: 30px;
  height: auto;
}

/* Get a Quote Button */
.btn-quote {
  background: white;
  color: #1F4B99;
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
  /* margin-left: 56px; */
  min-width: 130px;
}

.btn-quote:hover {
  /* background: #000; */
  color: #fff;
  border: 2px solid #1F4B99;
}
.navbar-toggler {
  border: none;
}


/* Mobile Responsive */
@media (max-width: 1200px) {
  .navbar-nav {
    gap: 10px;
  }
}
@media (max-width: 992px) {
  .custom-dropdown{
    left: 50%;
    transform: translate(-50%);
  }
  .navbar-collapse {
    background: #1F4B99;
    padding: 10px;
    border-radius: 5px;
    position: absolute;
    width: 300px;
    right: 0;
    top: 60px;
  }

  .navbar-nav {
    text-align: center;
  }

  .navbar {
    justify-content: end;
  }

  .navbar-nav .nav-link {
    margin: 5px 0;
    display: block;
  }

  .btn-quote {
    display: block;
    width: 100%;
    margin-left: 0;
  }
  .whatsapp {
    width: 64px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .btn-quote {
    display: block;
    width: 100%;
    margin-left: 0;
  }
  
}

@media (max-width: 576px) {
  .btn-quote {
    display: block;
    width: 100%;
    margin-left: 0px;
  }
  .hamburger{
    width: 24px;
    height: auto;
  }
  .whatsapp {
    width: 56px;
    height: auto;
  }
}

/* Dropdown Styling */
.nav-item {
  position: relative; /* Ensure dropdown is positioned correctly */
}

/* Hide dropdown initially */
.custom-dropdown {
  display: none;
  position: absolute;
  background-color: white; /* Change as needed */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 10px 0;
  border-radius: 5px;
  min-width: 200px;
  z-index: 999;
}

/* Position the dropdown */
.custom-dropdown li {
  padding: 8px 15px;
}

.custom-dropdown li a {
  text-decoration: none;
  color: #333;
  display: block;
}

.custom-dropdown li:hover {
  background-color: #f4f4f4;
  /* text-decoration: underline; */
  /* padding-bottom: 5px; */
}


.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(79, 132, 193, 0.90);
  list-style: none;
  padding: 0px 0;
  margin: 0;
  border-radius: 5px;
  display: none; /* Initially hidden */
  min-width: 100%;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-menu li {
  padding: 5px 15px;
  text-align: center;
}

.dropdown-menu a {
  display: block;
  color: white;
  font-size: 16px;
  font-weight: 600;
  padding: 8px 15px;
  text-decoration: none;
  transition: background 0.3s;
}

.dropdown-menu a:hover {
  background: #fff;
  color: black;
  border-radius: 3px;
}

/* Show Dropdown on Hover */
.nav-item:hover .dropdown-menu {
  display: block;
}

/* Responsive Fix for Mobile */
@media (max-width: 991px) {
  .dropdown-menu {
    position: static;
    display: none;
    background: none;
    box-shadow: none;
  }

  .nav-item:hover .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    background: rgba(79, 132, 193, 0.90);
    display: block;
    padding: 8px;
    border-radius: 5px;
  }
}

/* Full-screen loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff; 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader-logo {
  width: 100px;
  height: auto;
  /* animation: fadeIn 1s infinite alternate; */
  animation: rotate 3s linear infinite;
}

/* @keyframes fadeIn {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
} */
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hidden {
  opacity: 0;
  visibility: hidden;
}


