/* Base styles */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  padding-top: 80px;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
  padding: 1rem 2vw;
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  transition: background-color 0.3s, color 0.3s;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header-scrolled {
  background-color: rgba(255, 255, 255, 0.2);
}

.logo img {
  width: auto;
  max-width: 150px;
  transition: opacity 0.3s;
}

nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 2vw;
  gap: 1vw;
}

nav a,
.dropbtn {
  text-decoration: none;
  color: inherit;
  font-size: calc(16px + 0.2vw);
  font-weight: 500;
  transition: color 0.3s;
  padding: 10px 20px;
  margin: 0;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

nav a:hover,
.dropbtn:hover {
  color: #fdd700;
  border-bottom: 2px solid #ffd700;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  top: 100%;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 5px;
  overflow: hidden;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s;
}

.dropdown-content a:hover {
  background-color: #333;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 4vw;
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
}

.hero-content {
  max-width: 40%;
  background-color: rgba(0, 0, 0, 0.95);
  padding: 20px;
}

.hero {
  background: url('../assets/images/about-banner.jpg') no-repeat center center / cover;
  padding: 5rem 0;
  color: #fde700;
  text-align: center;
}

.service-box {
  text-align: center;
  margin-bottom: 10px;
  padding: 0 20px;
  color: darkslategray;
}

.service-box h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.service-box p {
  font-size: 18px;
  margin-bottom: 20px;
}

#our-experience,
#differentiators {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 2rem; /* Added for better spacing */
}

#our-approach {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 2rem; /* Added for better spacing */
}

.service-box,
.about-img {
  width: 48%;
  max-width: 768px; /* Prevent stretching on larger screens */
}

.about-img,
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Form styles */
form {
    background-color: #ffeb3b; /* Yellow background color */
    padding: 20px; /* Padding inside the form */
    max-width: 500px; /* Maximum width of the form */
    margin: 0 auto; /* Center the form horizontally */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Shadow around the form */
}

form label {
    display: block; /* Labels as block elements */
    margin-top: 10px; /* Space above each label */
    font-weight: bold; /* Bold font for labels */
}

form input, form textarea {
    width: 100%; /* Full width inputs and textareas */
    padding: 10px; /* Padding inside inputs and textareas */
    margin-top: 5px; /* Space above inputs and textareas */
    border: 1px solid #ccc; /* Border around inputs and textareas */
    border-radius: 5px; /* Rounded corners */
    box-sizing: border-box; /* Ensure padding is included in the width */
}

form textarea {
    resize: vertical; /* Allow vertical resizing of textarea */
    height: 100px; /* Initial height of textarea */
}

form button {
    margin-top: 20px; /* Space above the button */
    padding: 10px; /* Padding inside the button */
    width: 100%; /* Full width button */
    font-size: 16px; /* Font size */
    background-color: #333; /* Button background color */
    color: white; /* Button text color */
    border: none; /* No border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
}

form button:hover {
    background-color: #555; /* Darker background on hover */
}


/* Responsive adjustments for small screens */
@media (max-width: 768px) {
  #our-experience,
  #our-approach,
  #differentiators {
    flex-direction: column;
    align-items: center;
  }

  .service-box,
  .about-img {
    width: 100%;
    margin-bottom: 20px;
  }

  .about-img,
  .hero-image img {
    max-width: 100%;
  }
}

.site-footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  width: 20%;
  margin-bottom: 20px;
}

.footer-section h4 {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 5px;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #ffd700;
}

.footer-section .social-links {
  text-align: center;
}

.footer-section .social-icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  margin: 0 5px;
}

.social-icon img {
  width: 100%;
  height: 100%;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #444;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9em;
}

.footer-bottom a {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: #ffd700;
}

/* Responsive adjustments for small screens */
@media (max-width: 768px) {
  header {
    padding: 10px 20px;
  }

  .logo img {
    width: 120px; /* Adjusted for small screens */
  }

  nav {
    flex-direction: column;
    align-items: center;
    padding-right: 20px;
  }

  nav a,
  .dropbtn {
    font-size: 14px;
    padding: 5px;
    border-bottom: none;
  }

  .dropdown-content {
    min-width: 120px;
  }

  nav a:not(:first-child) {
    display: none;
  }

  .menu-btn {
    display: inline-block;
    font-size: 24px;
    cursor: pointer;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-section {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-section .social-links {
    justify-content: center;
    width: 100%;
    margin-top: 10px;
  }

  .footer-section .social-icon {
    margin: 0 auto;
  }
}
