/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: 60px; /* Adjust padding to account for fixed navbar height */
  font-family: 'Montserrat', sans-serif;
  background-color: #191917;
  color: #fff;
}

.contact-container {
  display: flex;
  gap: 40px; /* Reduced gap on smaller screens initially */
  width: 95%; /* Take up more width on smaller screens */
  max-width: 1000px;
  padding: 30px 15px; /* Reduced padding */
  color: #fff;
  margin: 60px auto 0; /* Adjust top margin */
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 280px;
}

.contact-info h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1em;
}

.info-item i {
  margin-right: 10px;
  color: #fff;
  font-size: 1.1em; /* Slightly larger icon */
}

.contact-info a.location-link {
  color: inherit;
  text-decoration: none;
}

.contact-form {
  flex: 1;
  min-width: 280px;
}

.contact-form p {
  margin-bottom: 15px;
  font-size: 0.95em;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.9em;
  color: #ccc;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 8px 10px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #666;
  border-radius: 5px;
  color: #fff;
  font-size: 0.95em;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px; /* Ensure textarea isn't too small */
}

.submit-button {
  background-color: #ed4a04;
  color: #000000;
  padding: 8px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  letter-spacing: 1px;
  display: block;
  margin: 15px auto 0;
  font-size: 0.9em;
}

.submit-button:hover {
  background-color: #444;
}

.careers-link {
  margin-top: 15px;
  display: inline-block;
  color: #ccc;
  text-decoration: none;
  font-size: 0.85em;
}

.careers-link:hover {
  color: #fff;
  text-decoration: underline;
}

.footer {
  background: linear-gradient(to top, #ff6b00, #ff6a0072, #191917);
  color: white;
  padding: 60px 40px 20px;
  text-align: center;
  font-family: "Montserrat", sans-serif;
}

.footer-container {
 display: flex;
  flex-direction: column;
  gap: 70px; 
  align-items: center;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: #0a0a0a;
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials a {
  color: #fff;
  font-size: 20px;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #0a0909;
}

.footer-bottom h3 {
  font-size: 14px;
  margin-top: 50px;
}
@media (max-width: 600px) {
  .footer-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .footer-menu a {
    font-size: 16px;
  }

  .footer-socials {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
}

/* Media Queries for smaller screens */
@media (max-width: 768px) {
  body {
    padding-top: 55px; /* Adjust padding for smaller navbar */
  }

  

  .hamburger.active .line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger.active .line:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .nav-buttons {
    display: none; /* Hide signup button on small screens */
  }

  .contact-container {
    flex-direction: column;
    gap: 30px;
    margin-top: 50px;
    padding: 20px;
  }

  .contact-info h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .contact-form p {
    font-size: 0.9em;
  }

  .form-row {
    flex-direction: column; /* Stack form fields in a row */
    gap: 15px;
  }

  .form-row .form-group {
    width: 100%; /* Make form groups full width */
    min-width: auto;
  }

  .submit-button {
    font-size: 0.9em;
    padding: 8px 20px;
  }


}

/* Media query for even smaller screens (phones) */
@media (max-width: 480px) {
  body {
    padding-top: 50px;
  }

  .navbar {
    padding: 8px 12px;
  }

  .nav-logo img {
    height: 35px;
  }

  .nav-links a {
    font-size: 1em;
  }

  .contact-info h2 {
    font-size: 1.6em;
  }

  .info-item {
    font-size: 0.9em;
  }

  .social-icons a {
    font-size: 1.1em;
    margin-right: 8px;
  }

  .footer-column h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .footer-column p,
  .footer-column li {
    font-size: 13px;
  }

  .footer-bottom p {
    font-size: 10px;
  }

  .footer-bottom .social-icons i {
    font-size: 16px;
  }
}