* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  padding: 0;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

nav {
  height: 90px;
  padding: 5px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
   z-index: 1;
}
nav .logo {
  display: flex;
  align-items: center;
      

}
nav .logo img {
max-height: 190px;
    width: auto;
  margin-right: 10px;
}


nav ul {
  list-style: none;
  display: flex;
}
nav ul li {
  margin-left: 1.5rem;
}
nav ul li a {
  text-decoration: none;
  color: #000;
  font-size: 98%;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 5px;
  position: relative;
}

nav ul li a:hover {
  background-color: #f6f5ed;;
}


nav ul li a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #007bff; /* BLUE */
  transition: width 0.3s ease;
}

nav ul li a:hover::after{
  width: 100%;
}


.dropdown{
    position: relative;

}
.submenu {
    position: absolute;
    top: 25px;
    left: 0;
    background: #ffffff;
    min-width: 160px;
    display: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 999;
}

/* submenu items */
.submenu li {
    width: 90%;
}

.submenu li a {
    color: #0a2a66;
    padding: 10px 15px;
    display: block;
    font-size: 14px;
}

/* hover submenu */
.submenu li a:hover {
    
    color: black;
}

/* SHOW submenu on hover */
nav ul li:hover .submenu {
    display: block;
        visibility: visible;

}


.get-quote-btn {
  padding: 8px 16px;
  background: #007bff;
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
  margin-left: 15px;
  width: 125px;
  font-size: large;
}

.get-quote-btn:hover {
  background: #0056b3;
  transform: translateY(-1px);
}







.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger .line {
  width: 25px;
  height: 1px;
  background-color: #1f1f1f;
  display: block;
  margin: 7px auto;
  transition: all 0.3s ease-in-out;
}
.hamburger-active {
  transition: all 0.3s ease-in-out;
  transition-delay: 0.6s;
  transform: rotate(45deg);
}

.hamburger-active .line:nth-child(2) {
  width: 0px;
}

.hamburger-active .line:nth-child(1),
.hamburger-active .line:nth-child(3) {
  transition-delay: 0.3s;
}

.hamburger-active .line:nth-child(1) {
  transform: translateY(12px);
}

.hamburger-active .line:nth-child(3) {
  transform: translateY(-5px) rotate(90deg);
}

.menubar {
  position: absolute;
  top: 0;
  left: -60%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 60%;
  height: 100vh;
  padding: 20% 0;
  background: rgba(255, 255, 255);
  transition: all 0.5s ease-in;
  z-index: 2;
}
.active {
  left: 0;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.menubar ul {
  padding: 0;
  list-style: none;
}
.menubar ul li {
  margin-bottom: 32px;
}

.menubar ul li a {
  text-decoration: none;
  color: #000;
  font-size: 95%;
  font-weight: 400;
  padding: 5px 10px;
  border-radius: 5px;
}




.hero-carousel {
    position: relative;
    height: 80vh;
    overflow: hidden;
    margin-top: 40px;
    
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
 background: rgba(48, 29, 82, 0.25);

}

.hero-slide.active {
    display: flex;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 45px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
}

.btn.primary {
    background: white;
    color: #0b3d91;
}

.btn.secondary {
    border: 2px solid white;
    color: white;
}

/* Navigation */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    font-size: 30px;
    padding: 8px 14px;
    cursor: pointer;
}

.prev { left: 20px; }
.next { right: 20px; }


.why-use {
    padding: 60px 5%;
    background: #f9fbff;
    text-align: center;
}

.why-grid {
   width:100%;
    display: grid;
grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    height: 300px;
   
}

.card  h2{
  

font-size: 22px;
color: #071552;
} 

.card p{
   
  text-align: justify;
}


.section {
  width: 90%;
  padding: 40px 0;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin: 10px auto;
}

/* First row */
.section1,
.section2 {
  width: 80%;
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* Image boxes */
.sec11,
.sec22 {
  width: 50%;
}

.sec11 img,
.sec22 img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
}

/* Text boxes */
.sec12,
.sec21 {
  width: 50%;
}

.sec12 p,
.sec21 p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  text-align: justify;
}




.stats {
    display: flex;
    justify-content: space-around;
    padding: 40px 5%;
    background: #f4f4f4;
    font-weight: bold;
    margin-top: 70px;
}
.management-section {
  text-align: center;
  padding: 40px 20px;
  margin-top: 50px;
 
}

.management-section h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #333;
  
}



.management-section .subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 70px;

}

.management-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
  background-color: #f9f9f9; 
  margin-top: 30px;
}

.card1 {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 300px;
  height: 350px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card1:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card1:hover{
  border: 2px solid rgb(2, 2, 36)
}

.card1 img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  margin-bottom: 15px;

}

.card1 h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #333;
}

.card1 .name {
  font-size: 16px;
  font-weight: 500;
  color: #555;
  margin-bottom: 5px;
}

.card1 .role {
  font-size: 14px;
  color: #888;
}







.footer {
    background-color: #0f172a;
    color: #ffffff;
    padding-top: 40px;
    margin-top: 50px;
}

.footer-container {
    width: 90%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-box {
    width: 23%;
    min-width: 220px;
    margin-bottom: 20px;
}

.footer-box h3 {
    margin-bottom: 15px;
    color: #38bdf8;
}

.footer-box p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-box ul {
    list-style: none;
    padding: 0;
}

.footer-box ul li {
    margin-bottom: 8px;
}

.footer-box ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

.footer-box ul li a:hover {
    color: #38bdf8;
}

.footer-bottom {
    text-align: center;
    padding: 15px;
    background-color: #020617;
    font-size: 14px;
    margin-top: 20px;
}








@media (max-width: 768px) {

  /* NAVBAR */
  nav ul {
    display: none;
  }

  .hamburger {
    display: block;
  }

  /* HERO */
  .hero-carousel {
    height: 65vh;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 18px;
  }

  /* WHY USE */
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card {
    height: auto;
  }

  /* SECTIONS */
  .section1,
  .section2 {
    flex-direction: column;
    width: 90%;
  }

  .sec11,
  .sec22,
  .sec12,
  .sec21 {
    width: 100%;
  }

  /* STATS */
  .stats {
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
  }

  /* FOOTER */
  .footer-box {
    width: 45%;
  }
}











@media (max-width: 600px) {

  /* NAVBAR */
  nav {
    height: 70px;
  }

  nav .logo img {
    max-height: 120px;
  }

  /* MOBILE MENU */
  .menubar {
    width: 100%;
    left: -100%;
    padding-top: 100px;
  }

  .menubar.active {
    left: 0;
  }

  .menubar ul li {
    text-align: center;
  }

  .menubar ul li a {
    font-size: 18px;
    font-weight: 600;
  }

  .get-quote-btn {
  padding: 8px 16px;
  background: #007bff;
  color: #fff;
  border-radius: 6px;
  font-weight: 400;
  text-decoration: none;
  transition: 0.3s ease;
  margin-left: 9px;
  width: 125px;
  font-size: large;
}

.get-quote-btn:hover {
  background: #0056b3;
  transform: translateY(-1px);
}



  /* HERO */
  .hero-carousel {
    height: 55vh;
    margin-top: 20px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  /* WHY USE */
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* SECTIONS */
  .sec11 img,
  .sec22 img {
    height: 240px;
  }

  .sec12 p,
  .sec21 p {
    font-size: 14px;
  }

  /* MANAGEMENT */
  .management-section h2 {
    font-size: 26px;
  }

  .management-section .subtitle {
    font-size: 14px;
  }

  /* FOOTER */
  .footer-box {
    width: 100%;
    text-align: center;
  }

  .footer-box ul {
    padding-left: 0;
  }
}








