/* assets/css/styles.css */

.text-custom-green {
  color: #007e85;
}

.bg-custom-green {
  background-color: #007e85;
}

.border-custom-green {
  border-color: #007e85;
}

.hover\:bg-custom-green:hover {
  background-color: #007e85;
}

.hover\:text-custom-green:hover {
  color: #007e85;
}

/* Base styles (you might need to adjust these based on the original Tailwind classes) */
body {
  font-family:
    "Open Sans", sans-serif; /* Assuming this is what the tailwind class "font-sans" implies*/
  background-color: #f9fafb; /* Assuming this is what the tailwind class "bg-gray-50" implies */
}

.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;
  }
}

main {
  max-width: 1200px; /* Assuming a max width for container */
  margin: 0 auto;
  padding: 3rem 1rem;
}

section {
  margin-top: 4rem; /* Assuming this is what the tailwind class "mt-16" implies */
  text-align: center;
}

section:first-of-type {
  display: flex;
  flex-direction: column;
  align-items: center;
}

section:first-of-type div:first-child {
  margin-top: 2rem;
}

/* Centered accent text after services */
.see-all-text-container {
  text-align: center;
  margin-top: 1.5rem;
}
.see-all-text {
  color: #007e85;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: default;
}
.see-all-text:hover {
  text-decoration: underline;
}

section:first-of-type h1 {
  font-size: 3rem; /* Assuming this is what the tailwind class "text-4xl" implies */
  font-weight: bold;
  color: #2d3748; /* Assuming this is what the tailwind class "text-gray-800" implies */
  line-height: 1.2;
}

section:first-of-type p {
  color: #718096; /* Assuming this is what the tailwind class "text-gray-600" implies */
  margin-top: 1rem;
  line-height: 1.6;
}

section:first-of-type div:first-child div {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

section:first-of-type div:first-child div a:first-child {
  background-color: #007e85;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
}

section:first-of-type div:first-child div a:first-child:hover {
  background-color: #00666c;
}

section:first-of-type div:first-child div a:last-child {
  color: #007e85;
  text-decoration: none;
  display: flex;
  align-items: center;
}

section:first-of-type div:first-child div a:last-child i {
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

section:first-of-type div:last-child {
  position: relative;
  margin-top: 2rem;
}

section:first-of-type div:last-child div {
  background-color: #007e85;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

section:first-of-type div:last-child img {
  border-radius: 50%;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  height: 18.75rem; /* Assuming this is what the tailwind class "h-300" implies */
  width: 18.75rem; /* Assuming this is what the tailwind class "w-300" implies */
  object-fit: cover; /* or object-fit: contain */
}

section h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2d3748;
}

section:nth-of-type(2) div {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

section:nth-of-type(2) div div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

section:nth-of-type(2) div div h3 {
  font-size: 3rem;
  font-weight: bold;
  color: #007e85;
}

section:nth-of-type(2) div div p {
  color: #718096;
}

section:nth-of-type(3) {
  display: flex;
  flex-direction: column;
  align-items: center;
}

section:nth-of-type(3) div:first-child img {
  border-radius: 0.5rem;
  /* ... (previous CSS) ... */

  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  height: 25rem; /* Assuming this is what the tailwind class "h-400" implies */
  width: 50rem; /* Assuming this is what the tailwind class "w-800" implies */
  object-fit: cover; /* or object-fit: contain */
}

section:nth-of-type(3) div:last-child {
  margin-top: 2rem;
}

section:nth-of-type(3) div:last-child div {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

section:nth-of-type(3) div:last-child div a:first-child {
  background-color: #007e85;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
}

section:nth-of-type(3) div:last-child div a:first-child:hover {
  background-color: #00666c;
}

section:nth-of-type(3) div:last-child div a:last-child {
  border: 1px solid #007e85;
  color: #007e85;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
}

section:nth-of-type(3) div:last-child div a:last-child:hover {
  background-color: #007e85;
  color: white;
}

section:nth-of-type(4) div {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

section:nth-of-type(4) div div {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

section:nth-of-type(4) div div img {
  border-radius: 0.5rem;
  display: block;
  margin: 0 auto 1rem;
  height: 12.5rem; /* Assuming this is what the tailwind class "h-200" implies */
  width: 18.75rem; /* Assuming this is what the tailwind class "w-300" implies */
  object-fit: cover; /* or object-fit: contain */
}

section:nth-of-type(4) div div h3 {
  font-size: 1.25rem;
  font-weight: bold;
  color: #2d3748;
}

section:nth-of-type(4) div div p {
  color: #718096;
  margin-top: 0.5rem;
  line-height: 1.6;
}

section:nth-of-type(4) div div a {
  color: #007e85;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
}

section:nth-of-type(4) div div a i {
  margin-left: 0.5rem;
}

section:nth-of-type(5) div {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

section:nth-of-type(5) div div {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

section:nth-of-type(5) div div img {
  border-radius: 50%;
  display: block;
  margin: 0 auto 1rem;
  height: 9.375rem; /* Assuming this is what the tailwind class "h-150" implies */
  width: 9.375rem; /* Assuming this is what the tailwind class "w-150" implies */
  object-fit: cover; /* or object-fit: contain */
}

section:nth-of-type(5) div div h3 {
  font-size: 1.25rem;
  font-weight: bold;
  color: #2d3748;
}

section:nth-of-type(5) div div p:first-of-type {
  color: #007e85;
}

section:nth-of-type(5) div div p:last-of-type {
  color: #718096;
  margin-top: 0.5rem;
  line-height: 1.6;
}

section:nth-of-type(5) div div div {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

section:nth-of-type(5) div div div a {
  color: #718096;
  text-decoration: none;
}

section:nth-of-type(5) div div div a:hover {
  color: #007e85;
}

section:nth-of-type(6) div {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

section:nth-of-type(6) div div {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

section:nth-of-type(6) div div p:first-of-type {
  color: #718096;
  font-style: italic;
}

section:nth-of-type(6) div div p:nth-of-type(2) {
  color: #718096;
  margin-top: 0.5rem;
  line-height: 1.6;
}

section:nth-of-type(6) div div p:nth-of-type(3) {
  font-weight: bold;
  color: #2d3748;
  margin-top: 1rem;
}

section:nth-of-type(6) div div p:last-of-type {
  color: #007e85;
}

section:last-of-type div {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

section:last-of-type div input {
  border: 1px solid #d1d5db; /* Assuming this is what the tailwind class "border-gray-300" implies */
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  outline: none;
  margin-bottom: 1rem;
}

section:last-of-type div input:focus {
  box-shadow: 0 0 0 2px #007e85;
}

section:last-of-type div button {
  background-color: #007e85;
  color: white;
  /* ... (previous CSS) ... */
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
}

section:last-of-type div button:hover {
  background-color: #00666c;
}

footer {
  background-color: #007e85;
  color: white;
  padding: 2rem 1rem;
}

footer div {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

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

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;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  section:first-of-type {
    flex-direction: row;
    text-align: left;
  }

  section:first-of-type div:first-child {
    width: 50%;
    margin-top: 0;
    margin-right: 3rem;
  }

  section:first-of-type div:first-child div {
    justify-content: flex-start;
  }

  section:first-of-type div:last-child {
    align-items: flex-start;
  }

  section:nth-of-type(3) {
    flex-direction: row;
    text-align: left;
  }

  section:nth-of-type(3) div:first-child {
    width: 50%;
    display: flex;
    justify-content: flex-start;
  }

  section:nth-of-type(3) div:last-child {
    width: 100%;
    margin-top: 0;
    margin-left: 10rem;
  }

  section:last-of-type div {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }

  section:last-of-type div input {
    margin-bottom: 0;
  }
}

/* Services modal styles */
.services-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.services-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.services-modal-content {
  position: relative;
  background: white;
  width: min(1100px, 95%);
  max-height: 85vh;
  overflow: auto;
  border-radius: 0.5rem;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(2,6,23,0.2);
  z-index: 1001;
}
.services-modal-close {
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #4a5568;
}
.services-modal-close:hover { color: #007e85; }
.services-modal-content h3 {
  margin: 0 0 0.75rem 0;
  color: #2d3748;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.service-card {
  background-color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.service-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 0.5rem;
}
.service-card h3 {
  margin: 0.75rem 0 0.5rem 0;
  color: #2d3748;
  font-size: 1.05rem;
}
.service-card p {
  color: #718096;
  font-size: 0.92rem;
  line-height: 1.4;
}
.service-card a {
  margin-top: 0.75rem;
  color: #007e85;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.services-modal-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}
.services-add-btn {
  background: #007e85;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  cursor: pointer;
}
.services-add-btn:hover { background: #00666c; }

@media (max-width: 640px) {
  .service-card img { height: 120px; }
}

/* Service details specific */
.service-details-body {
  color: #374151;
  line-height: 1.6;
  text-align: left;
}
.service-details-body img { max-width: 100%; border-radius: 0.5rem; margin-bottom: 0.75rem; }
