/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Include padding in element width */
}

html, body {
  width: 100%;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: rgba(255, 165, 0, 0.9);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
}

.logo span {
  font-size: 28px; /* Increase font size */
  font-weight: 700; /* Make it bolder */
  color: #fff;
  margin-left: 10px; /* Add spacing between logo and text */
}

/* Round Logo Styles */
.logo img {
  height: 60px; /* Adjust size as needed */
  width: 60px; /* Ensure width and height are equal */
  border-radius: 50%; /* Make the logo round */
  object-fit: cover; /* Crop the image to fit */
  margin-right: 10px; /* Add spacing between logo and text */
  transition: transform 0.3s ease; /* Smooth scaling animation */
}

/* Hover Effect */
.logo img:hover {
  transform: scale(1.2); /* Scale up by 20% */
}

/* Responsive Logo */
@media (max-width: 768px) {
  .logo img {
    height: 50px; /* Smaller logo on mobile */
    width: 50px; /* Ensure it remains square */
  }

  .logo span {
    font-size: 20px; /* Smaller text on mobile */
  }
}

/* Navbar Styles */
nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}

nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Hamburger Menu (Mobile) */
.hamburger {
  display: none; /* Hidden by default */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
}

/* Mobile Navbar */
@media (max-width: 768px) {
  .hamburger {
    display: flex; /* Show hamburger menu on mobile */
  }

  .nav-links {
    display: none; /* Hide nav links by default on mobile */
    flex-direction: column;
    position: absolute;
    top: 70px; /* Adjust based on header height */
    right: 20px;
    background-color: rgba(255, 165, 0, 0.9);
    border-radius: 10px;
    padding: 10px;
    width: 200px;
    text-align: center;
  }

  .nav-links.active {
    display: flex; /* Show nav links when menu is active */
  }

  .nav-links li a {
    padding: 10px;
    display: block;
  }
}

/* Navbar Styles */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li {
  position: relative;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}

nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

nav ul li a.active {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
}

/* Dropdown Menu */
nav ul li .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(255, 165, 0, 0.9);
  border-radius: 10px;
  padding: 10px;
  z-index: 1000;
}

nav ul li:hover .dropdown {
  display: block;
}

nav ul li .dropdown a {
  display: block;
  padding: 10px;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

nav ul li .dropdown a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
  position: relative;
  background: url('../home-bg.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2); /* Semi-transparent overlay */
  backdrop-filter: blur(5px); /* Blur effect */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 36px; /* Smaller heading on mobile */
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px; /* Smaller text on mobile */
  margin-bottom: 30px;
}

.cta-button {
  background-color: #32cd32;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #228b22;
}

/* Mobile Hero Section */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 28px; /* Smaller heading on mobile */
  }

  .hero-content p {
    font-size: 16px; /* Smaller text on mobile */
  }

  .cta-button {
    padding: 12px 24px; /* Smaller button on mobile */
    font-size: 14px; /* Smaller font size on mobile */
  }
}

/* Remove extra margins and padding */
.services {
  margin: 0;
  padding: 0;
}

.service-grid {
  margin: 0;
  padding: 0;
}

/* Services Section */
.services {
  background: url('services-bg.jpg') no-repeat center center/cover;
  min-height: 100vh; /* Full viewport height */
}

.services {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh; /* Full viewport height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px; /* Add padding for spacing */
}

.services h2 {
  font-size: 36px;
  margin-bottom: 20px; /* Adjusted spacing */
  color: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 0 20px;
  margin-bottom: 40px; /* Add margin to the bottom of the grid */
}

.service-card {
  height: 200px; /* Smaller cards on mobile */
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.service-card a {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 20px; /* Smaller text on mobile */
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  padding: 10px 20px;
  border: 2px solid #fff;
  border-radius: 50px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.service-card a:hover {
  background-color: #fff;
  color: #32cd32;
}

.service-card:hover {
  transform: scale(1.05);
}

/* Mobile Services Section */
@media (max-width: 768px) {
  .service-card {
    height: 150px; /* Smaller cards on mobile */
  }

  .service-card a {
    font-size: 16px; /* Smaller text on mobile */
    padding: 8px 16px; /* Smaller padding on mobile */
  }
}

/* Service Detail Pages */
.service-detail {
  padding: 100px 20px;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}

.service-content {
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.service-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.service-content p {
  font-size: 18px;
  margin-bottom: 20px;
}

.service-content ul {
  list-style: none;
  padding: 0;
}

.service-content ul li {
  font-size: 16px;
  margin-bottom: 10px;
}

.appointment-form {
  padding: 50px 20px;
  text-align: center;
}

.appointment-form h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
}

.appointment-form form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.appointment-form input,
.appointment-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
}

.appointment-form button {
  background-color: #32cd32; /* Lime Green */
  color: #fff;
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.appointment-form button:hover {
  background-color: #228b22; /* Darker Green */
}

/* About Us Page */
.about-us {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5); /* Semi-transparent overlay */
  backdrop-filter: blur(5px); /* Blur effect */
  z-index: 1;
}

.about-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #333;
}

.about-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #555;
}

.mission-vision {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.mission, .vision {
  background: rgba(255, 165, 0, 0.1); /* Semi-transparent orange */
  padding: 20px;
  border-radius: 20px;
  flex: 1;
}

.mission h3, .vision h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.mission p, .vision p {
  font-size: 16px;
  color: #555;
}

.values {
  background: rgba(50, 205, 50, 0.1); /* Semi-transparent green */
  padding: 20px;
  border-radius: 20px;
}

.values h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.values ul {
  list-style: none;
  padding: 0;
}

.values ul li {
  font-size: 16px;
  margin-bottom: 10px;
  color: #555;
}

/* Contact Us Page */
.contact {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5); /* Semi-transparent overlay */
  backdrop-filter: blur(5px); /* Blur effect */
  z-index: 1;
}

.contact-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #333;
}

.contact-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #555;
}

.social-media {
  margin-bottom: 40px;
}

.social-media h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.social-media ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-media ul li a {
  text-decoration: none;
  color: #32cd32; /* Lime Green */
  font-size: 18px;
  transition: color 0.3s ease;
}

.social-media ul li a:hover {
  color: #228b22; /* Darker Green */
}

.contact-form {
  background: rgba(50, 205, 50, 0.1); /* Semi-transparent green */
  padding: 20px;
  border-radius: 20px;
}

.contact-form h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
}

.contact-form button {
  background-color: #32cd32; /* Lime Green */
  color: #fff;
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #228b22; /* Darker Green */
}

/* Footer Styles */
footer {
  background-color: rgba(255, 165, 0, 0.9); /* Orange with transparency */
  color: #fff;
  text-align: center;
  padding: 20px;
  width: 100%;
  box-sizing: border-box; /* Ensure padding doesn't increase width */
}

/* Contact Information Styles */
.contact-info {
  margin-bottom: 20px; /* Reduced margin */
}

.contact-info p {
  font-size: 18px;
  margin-bottom: 8px !important; /* Force the spacing */
  color: #555;
}

.contact-info a {
  color: #32cd32; /* Lime Green */
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #228b22; /* Darker Green */
}
/* Home Page Blur Effect + Text Box */
.hero {
  position: relative;
  background: url('../home-bg.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2); /* Semi-transparent overlay */
  backdrop-filter: blur(5px); /* Blur effect */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #333; /* Darker text for better contrast */
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  color: #555; /* Darker text for better contrast */
}

.cta-button {
  background-color: #32cd32; /* Lime Green */
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #228b22; /* Darker Green */
}