/*
 * Styles for the Eblan Health landing page
 *
 * This file defines a modern, minimal design with a light color
 * palette and blue accents.  The layout uses a fixed header with
 * smooth scrolling to sections, a hero banner with a call to
 * action, and clearly separated content areas for the about,
 * services and contact information.  Sections adapt gracefully
 * across devices via responsive media queries.
 */

/* Basic reset and typography */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Reserve space for the fixed header when using anchor links */
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Utility container for consistent horizontal padding */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header styling */
header {
  background-color: #ffffff;
  border-bottom: 1px solid #eaeaea;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2a73cc;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  margin-left: 1.5rem;
}

nav a {
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #2a73cc;
}

/* Phone call-to-action button in header */
.contact-cta .phone-btn {
  background-color: #2a73cc;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 500;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.contact-cta .phone-btn:hover {
  background-color: #1a5fa3;
}

/* Hero section */
#hero {
  background: linear-gradient(135deg, #dbeafe, #f0f9ff);
  padding: 8rem 0 6rem;
  text-align: center;
  margin-top: 72px; /* offset content under fixed header */
}

#hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1e3a8a;
}

#hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #555555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  background-color: #2a73cc;
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: 500;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background-color: #1a5fa3;
}

/* General section styling */
.section {
  padding: 4rem 0;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #1e3a8a;
  text-align: center;
}

.section p {
  font-size: 1rem;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
}

/* Cards grid for services */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.icon {
  font-size: 2rem;
  color: #2a73cc;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  color: #1e3a8a;
}

.card p {
  color: #555555;
  font-size: 0.95rem;
}

/* Contact info */
.contact-info {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info p {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: #333333;
}

.contact-info a {
  color: #2a73cc;
  font-weight: 500;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: #f0f9ff;
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid #eaeaea;
}

footer p {
  margin: 0;
  color: #666666;
  font-size: 0.9rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  #hero h1 {
    font-size: 2rem;
  }
  header .container {
    flex-direction: column;
    align-items: flex-start;
  }
  nav ul {
    flex-direction: column;
    width: 100%;
    margin-top: 0.5rem;
  }
  nav li {
    margin-left: 0;
    margin-top: 0.5rem;
  }
  .contact-cta {
    margin-top: 0.5rem;
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }
}