/* Base styles */
body {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fefce8; /* Very light yellow for a softer background */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
}

/* Header specific styling for better appearance */
header {
  background-color: #f59e0b; /* Orange-500 */
  color: #ffffff;
  padding: 1rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 50;
}
header .max-w-7xl {
  padding: 0 1.5rem; /* Add horizontal padding */
}
header a {
  color: #151414; /* Ensure header links are white */
  transition: color 0.2s ease-in-out;
}
header a:hover {
  color: #fed7aa; /* Lighter orange on hover */
}
header .text-orange-600 {
  /* For the clinic name in header */
  color: #ffffff; /* Make the clinic name white */
}

/* Main content container enhancements */
.container-main {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  background-color: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Slightly stronger shadow */
  padding: 3rem; /* Increased padding for more breathing room */
  display: flex;
  flex-direction: column;
  gap: 2.5rem; /* Adjusted gap between sections */
  flex-grow: 1;
  margin-top: 100px; /* Adjust based on fixed header height */
  margin-bottom: 2.5rem; /* More space before footer */
}
.section-title {
  color: #d97706; /* Darker orange for titles */
  font-weight: 700;
  margin-bottom: 2.5rem; /* More space below title */
  text-align: center;
  font-size: 2.8rem; /* Larger main title */
}

/* Introductory hero section for the contact page */
.hero-contact {
  text-align: center;
  background: linear-gradient(
    to right,
    #f59e0b,
    #fbbf24
  ); /* Orange to Yellow gradient */
  color: white;
  padding: 3rem 1.5rem;
  border-radius: 1.25rem;
  margin-bottom: 3rem; /* Space below hero */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.hero-contact h1 {
  font-size: 3rem; /* Large and inviting hero title */
  font-weight: 700;
  margin-bottom: 1rem;
  color: white; /* Ensure it stays white on gradient */
}
.hero-contact p {
  font-size: 1.25rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.branch-card {
  background-color: #ffffff;
  padding: 2rem; /* Increased padding inside cards */
  border-radius: 1rem;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.1); /* Slightly stronger card shadow */
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #fcd34d; /* Light yellow border for emphasis */
}
.branch-card:hover {
  transform: translateY(-8px); /* More pronounced lift on hover */
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2); /* More pronounced shadow on hover */
}
.branch-card h4 {
  color: #d97706; /* Darker orange for branch names */
  font-weight: 700; /* Bolder branch names */
  margin-bottom: 1rem;
  font-size: 1.75rem; /* Larger branch names */
}
.branch-card p {
  color: #4b5563; /* Slightly darker gray for text */
  line-height: 1.7; /* Better line spacing */
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}
.branch-card .text-orange-500 {
  /* Phone numbers */
  color: #f97316; /* A more vibrant orange */
  font-weight: 600;
}

.branch-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem; /* More space between buttons */
}
.map-link,
.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem; /* Larger buttons for touch */
  border-radius: 0.75rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle button shadow */
}
.map-link {
  background-color: #fdba74; /* A vibrant light orange */
  color: #8c4e03; /* Dark brown for contrast */
  border: 1px solid #f59e0b;
}
.map-link:hover {
  background-color: #f59e0b; /* Darker orange on hover */
  color: #ffffff; /* White text on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
.whatsapp-button {
  background-color: #25d366; /* WhatsApp green */
  color: #ffffff;
  border: 1px solid #1da851;
}
.whatsapp-button:hover {
  background-color: #1da851; /* Darker green on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
.icon-spacing {
  margin-right: 0.6rem; /* Slightly more space for icons */
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem; /* More space between branch cards */
}

/* Footer styling */
footer {
  background-color: #333333; /* Darker grey for footer */
  color: #e5e7eb; /* Light grey text */
  padding: 3rem 1.5rem; /* Increased padding */
  font-size: 0.95rem;
}
footer .text-xl {
  color: #fcd34d; /* Yellow for footer titles */
}
footer a {
  color: #9ca3af; /* Light grey for footer links */
  transition: color 0.2s ease-in-out;
}
footer a:hover {
  color: #f59e0b; /* Orange on hover */
}
footer .border-t {
  border-color: #4b5563; /* Darker border for separation */
}

/* Responsive adjustments */
@media (max-width: 767px) {
  body {
    padding: 0.5rem; /* Reduce overall padding on small screens */
  }
  .container-main {
    padding: 1.5rem;
    margin-top: 80px; /* Adjust for smaller header on mobile */
    margin-bottom: 1.5rem;
  }
  .section-title {
    font-size: 2.2rem; /* Adjust title size for mobile */
    margin-bottom: 1.5rem;
  }
  .hero-contact {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
  }
  .hero-contact h1 {
    font-size: 2.5rem;
  }
  .hero-contact p {
    font-size: 1rem;
  }
  .branch-card {
    padding: 1.25rem;
  }
  .branch-card h4 {
    font-size: 1.5rem;
  }
  .branch-card p {
    font-size: 0.95rem;
  }
  .map-link,
  .whatsapp-button {
    padding: 0.8rem 1rem;
  }
  .branches-grid {
    gap: 1.5rem;
  }
  footer {
    padding: 2rem 1rem;
  }
  footer .grid-cols-1 {
    text-align: center;
  }
  footer .flex {
    justify-content: center;
  }
}
