/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Navbar styling */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #333;
  padding: 10px 20px;
}

.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative; /* For dropdown positioning */
  margin: 0 15px;
}

.logo img{
    width: 80px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  padding: 8px 12px;
  display: block;
}

.nav-links a:hover {
  background-color: #575757;
  border-radius: 4px;
}

/* Dropdown menu styling */
.dropdown-menu {
  display: none; /* Initially hidden */
  position: absolute; /* Positioned relative to the parent */
  top: 100%; /* Align dropdown below the parent */
  left: 0;
  background-color: #444;
  list-style: none;
  padding: 0;
  margin: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  z-index: 1000;
  min-width: 150px; /* Adjust as needed */
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  color: white;
  padding: 10px 15px;
  white-space: nowrap;
  display: block;
  text-align: left;
}

.dropdown-menu a:hover {
  background-color: #575757;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}




/* Hero Section */
.about-hero {
    height: 80vh;
    background: linear-gradient(135deg, #004e92, #00d4ff), 
                url('hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Our Mission Section */
.our-mission {
    padding: 50px 20px;
    background-color: #e3f2fd;
    text-align: center;
}

.our-mission h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #0077cc;
}

.our-mission p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 50px 20px;
    text-align: center;
}

.why-choose-us h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #004e92;
}

.features {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.feature-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 30%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.feature-item i {
    font-size: 3rem;
    color: #004e92;
    margin-bottom: 10px;
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 1.1rem;
}

.feature-item:hover {
    transform: scale(1.05);
}

/* Our Team Section */
.our-team {
    padding: 50px 20px;
    background-color: white;
    text-align: center;
}

.our-team h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #004e92;
}

.team-members {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.team-card {
    background: #f9f9f9;
    padding: 20px;
    text-align: center;
    width: 250px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.4rem;
    color: #004e92;
}

.team-card p {
    font-size: 1.1rem;
    color: #666;
}

.team-card:hover {
    transform: scale(1.05);
}

/* Client Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #004e92, #00d4ff);
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.testimonial-card {
    max-width: 800px;
    margin: 20px auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
}

.testimonial-card h4 {
    font-size: 1.2rem;
    margin-top: 10px;
    color: #00d4ff;
}

/* Achievements Section */
.achievements {
    padding: 50px 20px;
    background-color: #e3f2fd;
    text-align: center;
}

.achievements h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #004e92;
}

.counters {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.counter {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 25%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.counter h3 {
    font-size: 2rem;
    color: #0077cc;
}

.counter p {
    font-size: 1.1rem;
    color: #666;
}

/* Footer Section */
.footer {
    background: linear-gradient(135deg, #000428, #004e92); /* Gradient background */
    color: white;
    padding: 40px 20px 10px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo img {
    width: 100px; /* Adjust logo size */
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 18px;
    font-weight: bold;
}

.footer-links {
    margin: 20px 0;
}

.footer-links h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #00d4ff; /* Highlight color on hover */
}

.footer-social h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-social a {
    color: white;
    font-size: 24px;
    margin-right: 10px;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
    transform: scale(1.2);
    color: #00d4ff;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
    font-size: 14px;
}


/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {
    .features {
        flex-direction: column;
        gap: 40px;
    }

    .team-members {
        flex-direction: column;
        gap: 20px;
    }

    .counter {
        width: 100%;
    }

    .team-card {
        width: 80%;
        margin: 0 auto;
    }
}



@media screen and (max-width: 768px) {
  /* Navbar */
  .nav-links {
    flex-direction: column;
    background-color: #333;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    margin: 10px 0;
  }

  .navbar {
    flex-wrap: wrap;
  }

  /* Hero Section */
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
    padding: 0 15px;
  }

  /* Mission, Why Choose Us */
  .features {
    flex-direction: column;
    align-items: center;
  }

  .feature-item {
    width: 90%;
  }

  /* Team Section */
  .team-members {
    flex-direction: column;
    align-items: center;
  }

  .team-card {
    width: 90%;
  }

  /* Achievements */
  .counters {
    flex-direction: column;
    align-items: center;
  }

  .counter {
    width: 80%;
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links,
  .footer-social {
    margin-bottom: 20px;
  }
}

/* Small Phones (480px and below) */
@media screen and (max-width: 480px) {
  .logo img {
    width: 60px;
  }

  .nav-links a {
    font-size: 14px;
    padding: 6px 10px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .our-mission h2,
  .why-choose-us h2,
  .our-team h2,
  .testimonials h2,
  .achievements h2 {
    font-size: 1.8rem;
  }

  .feature-item,
  .team-card,
  .counter {
    width: 95%;
    padding: 20px;
  }

  .testimonial-card {
    padding: 15px;
  }

  .footer-logo img {
    width: 80px;
  }

  .footer-links h3,
  .footer-social h3 {
    font-size: 18px;
  }
}

/* Small Laptops (1024px and below) */
@media screen and (max-width: 1024px) {
  .features {
    flex-wrap: wrap;
    gap: 30px;
  }

  .feature-item {
    width: 45%;
  }

  .team-members {
    flex-wrap: wrap;
  }

  .team-card {
    width: 45%;
  }

  .counter {
    width: 45%;
  }
}
