@import "tailwindcss";
body {
  font-family: "Roboto", sans-serif;
}

.background-gray {
  background-color: #f7fafc; /* Tailwind's bg-gray-100 */
}

.navbar-background {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.logo {
  height: 2.5rem; /* Tailwind's h-10 */
  width: 2.5rem; /* Tailwind's w-10 */
  border-radius: 50%;
  object-fit: cover;
}

.title-text {
  font-size: 1.5rem; /* Tailwind's text-2xl */
  font-weight: bold; /* Tailwind's font-bold */
  color: #007e85; /* Custom teal color */
}

@media (max-width: 640px) {
  .title-text {
    font-size: 1.1rem;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .title-text {
    font-size: 1.25rem;
  }
}

#menu-toggle {
  cursor: pointer;
  transition: all 0.3s ease;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #4a5568;
  padding: 0.5rem;
}

#menu-toggle:hover {
  color: #007e85;
}

#mobile-menu {
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease;
  background-color: white;
  border-top: 1px solid #e2e8f0;
}

#mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  color: #4a5568;
  text-decoration: none;
  transition: color 0.3s ease;
}

#mobile-menu a:hover {
  color: #007e85;
}

#mobile-menu .nav-sign {
  margin-top: 0.5rem;
  width: 100%;
  text-align: center;
}

#mobile-menu .login-button {
  margin-top: 0.5rem;
  width: 100%;
  text-align: center;
  display: block;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex !important;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: nowrap;
    margin-left: auto;
  }
}

.nav-links li {
  display: inline-block;
  margin: 0;
  white-space: nowrap;
}

.nav-links .nav-link {
  color: #4a5568; /* Tailwind's text-gray-700 */
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  display: inline-block;
  padding: 0.5rem 0;
  white-space: nowrap;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nav-links .nav-link {
    font-size: 0.85rem;
    padding: 0.5rem 0.25rem;
  }
}

@media (min-width: 1024px) {
  .nav-links .nav-link {
    font-size: 0.95rem;
    padding: 0.5rem 0;
  }
}
}

.nav-links .nav-link:hover {
  color: #007e85; /* Custom teal color */
}

.nav-links .nav-link.active,
#nav-links .nav-link.active,
.nav-link.active {
  border-bottom: 2px solid #007e85; /* Custom teal color */
  padding-bottom: 0.25rem;
  display: inline-block;
}

/* Ensure base .nav-link can show active state even when parent ul doesn't have .nav-links class */
.nav-link {
  display: inline-block;
}

.nav-links .nav-sign {
  border: 2px solid #007e85; /* Corrected border syntax */
  color: #007e85;
  padding: 0.5rem 1rem; /* Tailwind's px-4 py-2 */
  border-radius: 0.375rem; /* Tailwind's rounded */
  background-color: transparent; /* Ensures it's not filled */
  cursor: pointer; /* Optional: Makes it look clickable */
  transition:
    border-color 0.3s ease,
    color 0.3s ease,
    background-color 0.3s ease; /* Smooth effect */
  text-decoration: none;
  display: inline-block;
}

.nav-links .nav-sign:hover {
  border-color: #005f63; /* Darker shade on hover */
  color: #005f63; /* Change text color to match */
}

.login-button {
  background-color: #007e85; /* Custom teal color */
  color: white;
  padding: 0.5rem 1rem; /* Tailwind's px-4 py-2 */
  border-radius: 0.375rem; /* Tailwind's rounded */
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.login-button:hover {
  background-color: #00696e; /* Darker shade for hover */
}

@media (min-width: 768px) {
  #menu-toggle {
    display: none;
  }

  #mobile-menu {
    display: none !important;
  }
}

.hero-image-container {
  width: 100%;
}

.hero-image {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

@media (min-width: 640px) {
  .hero-image {
    height: 20rem;
  }
}

@media (min-width: 1024px) {
  .hero-image {
    height: 24rem;
  }
}

.contact-section {
  padding: 2rem 1rem;
}

@media (min-width: 640px) {
  .contact-section {
    padding: 3rem 1rem;
  }
}

@media (min-width: 1024px) {
  .contact-section {
    padding: 4rem 1rem;
  }
}

.subtitle {
  color: #a0aec0; /* Tailwind's text-gray-500 */
  font-size: 0.9rem;
}

.main-title {
  color: #2d3748; /* Tailwind's text-gray-800 */
  font-size: 2rem;
}

@media (min-width: 768px) {
  .main-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .main-title {
    font-size: 3rem;
  }
}

.description {
  color: #a0aec0; /* Tailwind's text-gray-500 */
  margin-top: 1rem; /* Tailwind's mt-4 */
}

.contact-form {
  max-width: 40rem; /* Tailwind's max-w-2xl */
  margin: 0 auto; /* Center the form */
  background-color: white; /* White background for the form */
  padding: 1.5rem; /* Tailwind's p-8 */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Tailwind's shadow-md */
  border-radius: 0.375rem; /* Tailwind's rounded */
}

@media (min-width: 768px) {
  .contact-form {
    padding: 2rem;
  }
}

.form-label {
  display: block; /* Block display for labels */
  margin-bottom: 0.5rem; /* Tailwind's mb-2 */
}

.form-input,
.form-select,
.form-textarea {
  width: 100%; /* Full width */
  border: 1px solid #cbd5e0; /* Tailwind's border-gray-300 */
  padding: 0.75rem; /* Tailwind's p-3 */
  border-radius: 0.375rem; /* Tailwind's rounded */
  margin-top: 0.5rem; /* Tailwind's mt-2 */
  font-size: 1rem;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px; /* Prevent iOS zoom on focus */
  }
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none; /* Remove default outline */
  border-color: #007e85; /* Custom teal color */
  box-shadow: 0 0 0 2px rgba(0, 126, 133, 0.5); /* Focus ring */
}

.submit-button {
  background-color: #007e85; /* Custom teal color */
  color: white; /* White text */
  padding: 0.75rem 1.5rem; /* Tailwind's px-6 py-3 */
  border-radius: 0.375rem; /* Tailwind's rounded */
  transition: background-color 0.2s; /* Smooth transition */
}

.submit-button:hover {
  background-color: #00696e; /* Darker shade for hover */
}
footer {
  background-color: #007e85; /* Custom green */
  color: white;
  padding: 2rem 1rem;
}

footer div {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  footer div {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  footer div {
    grid-template-columns: repeat(4, 1fr);
  }
}

footer div div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 1024px) {
  footer div div {
    align-items: flex-start;
    text-align: left;
  }
}

footer div div:first-child {
  align-items: flex-start;
}

footer div div img {
  height: 2.5rem;
  width: 2.5rem;
  object-fit: cover; /* or object-fit: contain */
  margin-bottom: 1rem;
}

footer div div span {
  font-size: 1.5rem;
  font-weight: bold;
}

footer div div p {
  margin-top: 0.5rem;
  line-height: 1.6;
}

footer div div h3 {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

footer div div a {
  color: white;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

footer div div div {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

footer div div div a {
  font-size: 1.25rem;
}
