/* Base Styles */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9ff;
}

/* Header */
header {
  background: linear-gradient(135deg, #6A0DAD, #4B0082);
  position: relative;
  background-image: url(images/logo.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain; /* Ensure the entire image is visible */
  padding: 2.5rem; /* Desktop header padding */
  text-align: center;
  margin: 2rem 0; /* Added space above and below the header */
}
header h1 {
  margin: 0;
  font-size: 2.5rem;
  letter-spacing: 1px;
}

/* Enhanced Navigation */
nav {
  background: #4B0082;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
}
.nav-logo {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
}
.menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: none; /* Hidden by default on larger screens */
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-links a {
  color: white;
  text-decoration: none;
  margin: 0.5rem 1rem;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s;
  font-weight: bold;
}
.nav-links a:hover {
  background: #FFD700;
  color: #4B0082;
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  position: relative;
  background-image: url(images/background_img.avif);
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 150px 20px;
  background-color: #6A0DAD;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}
.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.hero h2,
.hero p {
  position: relative;
  z-index: 2;
}
.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  background-color: #ffffff;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}
.service {
  background: #ffffff;
  border: 2px solid #FFD700;
  border-radius: 10px;
  padding: 1.5rem;
  max-width: 320px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
}
.service:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
.service h3 {
  color: #6A0DAD;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.service ul {
  text-align: left;
  padding-left: 1.5rem;
  color: #333;
}
.service ul li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
}

/* Additional Information Section */
.info-section {
  background: #ffffff;
  padding: 3rem;
  border-top: 3px solid #FFD700;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 2rem auto 0;
  max-width: 900px;
}
.info-section h2 {
  color: #6A0DAD;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.info-section ul {
  text-align: left;
  font-size: 1.2rem;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
}

/* Service Area Section */
.service-area-section {
  background: #f4f4f4;
  padding: 3rem;
  border-top: 3px solid #FFD700;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 2rem auto 0;
  max-width: 900px;
}
.service-area-section h2 {
  color: #6A0DAD;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.service-area-section p {
  text-align: center;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  color: #333;
}
.service-area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}
.service-area-grid ul {
  list-style: none;
  padding: 0;
  font-size: 1.2rem;
  color: #333;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #4B0082, #6A0DAD);
  color: white;
  text-align: center;
  padding: 2.5rem;
  margin-top: 2rem;
}
.contact h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.contact a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}
.contact a:hover {
  color: #FFFFFF;
}

/* Footer */
footer {
  background: #6A0DAD;
  color: white;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
}
footer p {
  margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  /* Show hamburger and hide nav links initially */
  .menu-toggle {
    display: block;
  }
  .nav-links {
    width: 100%;
    flex-direction: column;
    display: none;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    margin: 0.5rem;
    padding: 0.5rem 1rem;
  }
  .services {
    flex-direction: column;
    align-items: center;
  }
  .service {
    width: 90%;
  }
  /* Adjust header for smaller screens */
  header {
    background-size: auto 120%; /* Reduced scaling for mobile */
    padding: 1.2rem; /* Reduced mobile padding */
    margin: 2rem 0; /* Maintain the same margin on mobile */
  }
  /* Adjust Service Area Section for consistent sizing on mobile */
  .service-area-section {
    padding: 2rem;
    margin: 1.5rem auto;
    max-width: 100%;
  }
  .service-area-section h2 {
    font-size: 2rem;
  }
  .service-area-section p {
    font-size: 1rem;
  }
  .service-area-grid {
    grid-template-columns: 1fr; /* Stack items vertically if needed */
    gap: 1rem;
  }
}
