/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
}

.container {
  width: 80%;
  margin: 0 auto;
  max-width: 1200px;
}

/* Navigation Bar */
nav {
  background: #333;
  color: #fff;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Aligns language switcher to the right */
}

/* Navigation Links */
nav ul {
  display: flex;
  justify-content: center; /* Centers the links */
  list-style: none;
  margin: 0 auto; /* Ensures navigation links stay in the center */
  padding: 0;
}

nav ul li {
  position: relative; /* Required for dropdown positioning */
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ff6600;
}

/* Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
  margin-right: 20px; /* Add some space from the right edge */
}

.lang-switch button {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 5px 10px;
  margin-left: 10px; /* Space between buttons */
  border-radius: 5px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.lang-switch button:hover {
  background: #ff6600;
  color: #fff;
  border-color: #ff6600;
}

.lang-switch button.active {
  background: #ff6600;
  color: #fff;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none; /* Initially hidden */
  position: absolute;
  top: 100%; /* Positioned below the parent menu */
  left: 0;
  background: #444;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  border-radius: 5px;
  z-index: 1000;
  min-width: 150px; /* Ensures a consistent width */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Adds subtle shadow */
}

.dropdown-menu li {
  padding: 5px 20px;
}

.dropdown-menu li a {
  color: #fff;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
}

.dropdown-menu li a:hover {
  background: #555;
  color: #ff6600;
}

/* Show Dropdown on Hover */
.dropdown:hover .dropdown-menu {
  display: block; /* Show dropdown menu */
}

/* Header Styles */
header {
  background: linear-gradient(135deg, #1e90ff, #00bfff);
  color: #fff;
  text-align: center;
  padding: 60px 0;
}

header h1 {
  font-size: 3rem;
}

header p {
  font-size: 1.2rem;
  margin: 20px 0;
}

header .btn {
  text-decoration: none;
  color: #fff;
  background: #ff6600;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1rem;
}

header .btn:hover {
  background: #ff4500;
}

/* Vision Message Section */
#vision {
  padding: 50px 0;
  background: #f4f4f4;
  text-align: center;
}

#vision h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

#vision p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.8;
  margin: 10px auto;
  max-width: 800px;
}

/* Services Section */
#services {
  padding: 50px 0;
  text-align: center;
  background: #f4f4f4;
}

#services h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.service-item {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center; /* Center-align the content */
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-item img {
  width: 100px; /* Adjust size for better visibility */
  height: 100px;
  margin-bottom: 15px;
}

.service-item h3 {
  font-size: 1.5rem;
  margin: 10px 0;
}

.service-item p {
  font-size: 1rem;
  color: #666;
}

/* Contact Section */
#contact {
  padding: 50px 0;
  text-align: center;
  background: #f4f4f4;
}

#contact h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* Google Form Wrapper Styling */
#contact form {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: left; /* Aligns fields properly */
}

#contact input,
#contact textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#contact button {
  padding: 10px 20px;
  background: #0044cc;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

#contact button:hover {
  background: #002266;
  transform: scale(1.05);
}

/* Custom adjustments for Google Form embedded elements */
#contact iframe {
  width: 100%;
  border: none;
  height: 100%; /* Adjust height as per need */
  min-height: 500px; /* Minimum height for proper display */
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

footer p {
  margin: 0;
}

footer ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

footer ul li {
  margin: 0 10px;
}

footer ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}

footer ul li a:hover {
  color: #ff6600;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start; /* Adjust alignment for smaller screens */
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .lang-switch {
    margin-top: 10px;
    align-self: flex-end; /* Align language switcher to the right in mobile view */
  }

  nav ul li {
    margin: 10px 0;
  }

  .dropdown-menu {
    position: relative;
    top: 0;
    min-width: 100%;
    box-shadow: none;
  }
}