* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html{
    scroll-behavior: smooth;
  }
  
  body {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
    overflow-x: hidden;
    background-color: #f6f6f6;
  }
  /* Loader Styles */
.loader {
  --dim: 3rem;
  width: var(--dim);
  height: var(--dim);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin988 2s linear infinite;
  z-index: 9999;
}

.loader .circle {
  --color: #333;
  --dim: 1.2rem;
  width: var(--dim);
  height: var(--dim);
  background-color: var(--color);
  border-radius: 50%;
  position: absolute;
}

.loader .circle:nth-child(1) {
  top: 0;
  left: 0;
}

.loader .circle:nth-child(2) {
  top: 0;
  right: 0;
}

.loader .circle:nth-child(3) {
  bottom: 0;
  left: 0;
}

.loader .circle:nth-child(4) {
  bottom: 0;
  right: 0;
}

@keyframes spin988 {
  0% {
    transform: scale(1) rotate(0);
  }
  20%, 25% {
    transform: scale(1.3) rotate(90deg);
  }
  45%, 50% {
    transform: scale(1) rotate(180deg);
  }
  70%, 75% {
    transform: scale(1.3) rotate(270deg);
  }
  95%, 100% {
    transform: scale(1) rotate(360deg);
  }
}

/* Hide the content initially */
#pageContent {
  display: block;
}

/* Navbar styling */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 1rem;
  top: 0;
  position: sticky;
  z-index: 1000;
}

.brand-title {
  color: black;
  font-size: 1.5rem;
}

.toggle-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  cursor: pointer;
  z-index: 3;
}

.bar {
  width: 30px;
  height: 3px;
  background-color: black;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.top-bar {
  width: 30px;
}

.middle-bar {
  width: 25px;
}

.bottom-bar {
  width: 20px;
}

/* For wide screens - show the nav-links inline */
.nav-links {
  display: flex;
  align-items: center;
}

.nav-links ul {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin: 0 1rem;
  position: relative; /* Needed for dropdown positioning */
}

.nav-links a {
  color: black;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #f0a500;
}

/* Dropdown menu for the Services link */
.services-link .dropdown {
  display: none;
  position: absolute;
  background-color: #ffffff;
  font-size: small;
  width: max-content;
  list-style: none;
  padding: 0;
  margin: 0;
  top: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.services-link:hover .dropdown {
  display: block;
}

.dropdown li {
  margin: 0;
}

.dropdown a {
  color: black;
  padding: 0.5rem 1rem;
  display: block;
  text-decoration: none;
  font-size: 1rem;
}

/* Mobile sidebar */
.side-menu {
  position: fixed;
  top: 0;
  left: -250px; /* Initial hidden position */
  height: 100%;
  width: 250px;
  background-color: #333;
  transition: left 0.3s ease; /* Smooth slide-in effect */
  padding-top: 60px;
  z-index: 1000;
  overflow-y: auto; /* Allow scrolling for entire sidebar */
}

.side-menu.active {
  left: 0; /* Sidebar in view when active */
  max-height: 100vh; /* Restrict height to viewport to enable scrolling */
}

.side-menu ul {
  list-style: none;
  padding-left: 0;
}

.side-menu li {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.side-menu a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  display: block;
}

/* Side menu dropdown for services link with animation and scrollable content */
.side-services-link .side-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease; /* Smooth slide-down effect */
  list-style: none;
  padding: 0;
  margin-top: 10px;
  background-color: #444;
}

.side-services-link.active .side-dropdown {
  max-height: 200px; /* Set a specific height to enable scrolling */
  overflow-y: auto; /* Allow scrolling within the dropdown */
}

.side-dropdown li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.side-dropdown a {
  color: white;
  padding: 10px 20px;
  display: block;
  text-decoration: none;
}

.side-dropdown a:hover {
  background-color: #555;
}

/* Overlay for background when side menu is open */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Animation when menu is clicked */
.toggle-button.active .top-bar {
  transform: rotate(45deg) translate(5px, 5px);
}

.toggle-button.active .middle-bar {
  opacity: 0;
}

.toggle-button.active .bottom-bar {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* On mobile screens, hide the nav-links and show side menu */
@media (max-width: 768px) {
  .toggle-button {
      display: flex;
  }

  .nav-links {
      display: none;
  }

  .side-menu {
      display: block;
  }
}

/* On wide screens, hide the side menu and display nav-links inline */
@media (min-width: 769px) {
  .nav-links {
      display: flex;
  }

  .side-menu,
  .overlay {
      display: none;
  }
}


 /* Hero section styling */
 .hero-section {
  position: relative;
  width: 100%;
  height: 70vh; /* Adjust height as needed */
  background-image: url('images/hero\ _image1.jpg'); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

/* Overlay styling */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Adjust overlay color and opacity as needed */
}

/* Text content styling */
.hero-content {
  position: relative;
  z-index: 1;
  font-family: Arial, sans-serif;
  padding: 20px;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: bold;
  letter-spacing: 3px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    height: 60vh;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
}


.our-story-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  background-color: #1E3D77; /* Blue background */
  position: relative;
}

.content-card {
  background-color: white;
  padding: 20px;
  max-width: 530px;
  z-index: 2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-left: -50px; /* Overlapping effect */
  margin-top: 20px; /* Pulls the card up */
}

.content-card h2 {
  margin-top: 0;
}

.image-container {
  position: relative;
  max-width: 530px;
  z-index: 1;
  margin-top: 20px; /* Pushes the image down */
}

.image-container img {
  width: 100%;
}

/* Responsive styling */
@media (max-width: 768px) {
  .our-story-section {
    flex-direction: column;
  }

  .content-card {
    margin-left: 0;
    margin-top: 0; /* Reset margin on small screens */
    order: 2;
  }

  .image-container {
    order: 1;
    margin-top: 0; /* Reset margin on small screens */
    margin-bottom: 20px;
  }
}

.about-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 20px;
  background-color: #1E3D77;
  color: #ffffff;
}

.about-image {
  width: 50%;
  max-width: 500px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.about-content {
  width: 50%;
  padding: 20px;
}

.about-content h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.about-content p {
  font-size: 18px;
  margin-bottom: 20px;
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.icon {
  width: 32px;
  height: 32px;
}

.about-item h3 {
  margin: 0;
  font-size: 20px;
}

.about-item p {
  font-size: 16px;
  color: #cce6ff;
}

/* Responsive styling */
@media (max-width: 768px) {
  .about-section {
      flex-direction: column;
  }
  .about-image, .about-content {
      width: 100%;
  }
}

/* counting numbers */
.counting-section {
  padding: 60px 20px;
  background-color: #1E3D77;
  color: #fff;
}

.counting-section h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  color: #fff;
}

.count-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
  color: #1e90ff;
  max-width: 1200px;
  margin: 0 auto;
}

.count-item {
  text-align: center;
  width: 150px;
}

.count-item .number {
  font-size: 3em;
  font-weight: bold;
}

.count-item .label {
  color: white;
  font-size: 1.2em;
  margin-top: 5px;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .count-item {
    width: 120px;
  }

  .counting-section h2 {
    font-size: 2em;
  }

  .count-item .number {
    font-size: 2.5em;
  }

  .count-item .label {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .count-container {
    flex-direction: column;
    gap: 40px;
  }

  .count-item {
    width: 100%;
  }

  .counting-section h2 {
    font-size: 1.8em;
  }

  .count-item .number {
    font-size: 2.2em;
  }
}


/* why choose us */
.why-choose-us {
  padding: 60px 0;
  background-color: #1E3D77;
}

.why-choose-us h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 40px;
  color: white;
}

.card-container5 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  margin-left: 13px;
  margin-right: 13px;
}

.card5 {
  background-color: #fff;
  width: 100%;
  max-width: 300px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.card5:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-icon5 {
  font-size: 3em;
  margin-bottom: 15px;
  color: #007bff;
  width: 48px;
  height: 48px;
}

.card-content5 h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.card-content5 p {
  font-size: 1em;
  color: black;
}

.card5::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(0, 123, 255, 0.445);
  transition: left 0.3s;
  z-index: 0;
}

.card5:hover::before {
  left: 0;
}

.card-content5 {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .card-container5 {
      flex-direction: column;
      align-items: center;
  }

  .card5 {
      margin-bottom: 20px;
  }
}


.containerr{
  background-color: #1E3D77;
  width: 100%;
}
 .testimonial-section {
      width: 90%;
      max-width: 600px;
      text-align: center;
      overflow: hidden;
      margin: 0 auto;
      padding: 50px 0;
    }

    .testimonial-section h2 {
      font-size: 2.5em;
      color: white;
      margin-bottom: 20px;
      font-weight: bold;
    }

    .testimonial-container {
      display: flex;
      transition: transform 0.5s ease-in-out;
    }

    .testimonial {
      min-width: 100%;
      box-sizing: border-box;
      padding: 20px;
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      text-align: center;
    }

    .testimonial p {
      font-size: 1em;
      color: black;
      margin-bottom: 20px;
    }

    .testimonial img {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      object-fit: cover;
      margin-bottom: 10px;
    }

    .testimonial h3 {
      font-size: 1.2em;
      font-weight: bold;
      color: black;
      margin: 10px 0 5px;
    }

    .testimonial .title {
      font-size: 0.9em;
      color: black;
    }

    /* Navigation Dots */
    .dots {
      display: flex;
      justify-content: center;
      margin-top: 20px;
    }

    .dot {
      height: 10px;
      width: 10px;
      margin: 0 5px;
      background-color: #bbb;
      border-radius: 50%;
      display: inline-block;
      cursor: pointer;
    }

    .dot.active {
      background-color: #333;
    }

    /* Responsive Styling */
    @media (max-width: 480px) {
      .testimonial-section h2 {
        font-size: 2em;
      }

      .testimonial p {
        font-size: 0.9em;
      }

      .testimonial h3 {
        font-size: 1em;
      }
    }

/*--------------------------------------------------------------
# Our Team
--------------------------------------------------------------*/
.team {
  background: #fff;
  padding: 60px 0 30px 0;
}

.container {
  width: 90%;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 28px;
  color: black;
}

.section-title p {
  font-size: 16px;
  color: black;
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
  gap: 20px; 
}

.member {
  text-align: center;
  position: relative;
  margin-bottom: 60px; /* Margin for spacing */
  width: 300px; /* Fixed width for members */
  transition: transform 0.3s; /* Added transition for hover effect */
}

.member:hover {
  transform: scale(1.05); /* Scale effect on hover */
}

.member .pic {
  border-radius: 5px;
  overflow: hidden;
}

.member img {
  width: 100%; /* Make the image fill the container */
  height: auto; /* Maintain aspect ratio */
  transition: all ease-in-out 0.4s;
}

.member:hover img {
  transform: scale(1.1);
}

.member .member-info {
  margin-top: -30px; /* Adjusted position for better layout */
  padding: 15px 0;
  background-color: #0D3973;
  border-radius: 4px;
}

.member h4 {
  font-weight: 700;
  margin: 10px 0 5px; /* Adjusted margin */
  font-size: 18px; /* Increased font size */
  color: #fff;
}

.member h4::after {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: #fff;
  bottom: -5px;
  left: calc(50% - 25px);
}

.member span {
  font-style: italic;
  display: block;
  font-size: 14px; /* Increased font size */
  color: #fff;
}

.member .social {
  margin-top: 10px;
}

.member .social a {
  margin: 0 5px; /* Adjusted spacing between icons */
}

.member .social img {
  width: 20px; /* Set a fixed width for social icons */
  height: auto; /* Maintain aspect ratio */
  transition: opacity 0.3s; /* Added transition for hover effect */
}

.member .social img:hover {
  opacity: 0.7; /* Change opacity on hover */
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
  .member {
    width: 90%; /* Adjusted width for smaller screens */
  }

  .section-title h2 {
    font-size: 24px; /* Smaller font size */
  }

  .section-title p {
    font-size: 14px; /* Smaller font size */
  }
}


/* footer */
.footer {
  background-color: #0D3973;
  color: #fff;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  flex: 1;
  margin: 20px;
}
.footer-col a{
  text-decoration: none;
  color: white;
}

.footer-col h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-col p,
.footer-col ul {
  font-size: 14px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-col ul li a:hover {
  text-decoration: underline;
}

.footer-logo {
  width: 120px;
  margin-bottom: 10px;
}

.social-icons a img {
  width: 20px;
  margin-right: 10px;
  transition: transform 0.3s;
}

.social-icons a img:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
}

.footer-bottom p {
  font-size: 14px;
  margin: 5px 0;
}

.footer-bottom a{
  text-decoration: none;
  color: black;
  font-weight: bolder;

}

/* Responsive Styles */
@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .footer-col {
      margin: 10px 0;
  }

  .social-icons {
    margin-top: 10px;
    justify-content: center;
  }
}

  /* back to top  */
#scrollToTopBtn {
  display: none; 
  position: fixed; 
  bottom: 20px; 
  right: 30px;
  z-index: 99; 
  border: none; 
  outline: none; 
  background-color: #555; 
  color: white; 
  cursor: pointer; 
  padding: 10px; 
  border-radius: 10px; 
  font-size: 18px; 
  transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transitions */
}

#scrollToTopBtn:hover {
  background-color: #333; 
  transform: scale(1.1); 
}
  
  
  