:root {
  --primary-color: #fff;
  --secondary-color: #a451ef;
  --bg-light: #CCFCF9;
  --text-dark: #333;
  --border-radius: 8px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 --font-family: 'Montserrat', 'Open Sans', 'Inter', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding-top: 70px; /* matches header height */
}

header {
  background-color: #00605A; /* white header */
  color: #333333; /* dark text */
  position: fixed;
  padding: 15px 0;  /* Was 15px 0; this cuts vertical space almost in half */
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  z-index: 1000;
  text-align: left;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* subtle shadow to separate from content */
}

.logo img {
  height: 35px;     /* Adjust this value as needed – start with 40-50px for a compact look */
  width: auto;      /* Keeps aspect ratio intact */
  display: block;
}


#nav-menu a {
  padding: 8px 12px;  /* Reduces vertical space around links if they feel too tall */
  font-size: 0.95rem; /* Slightly smaller text if desired */
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 10px;
  align-items: center;
  min-height: auto;  /* Prevents any forced minimum height */
}


.logo img:hover {
  transform: scale(1.05);
}

.menu-toggle {
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  color: var(--primary-color);
}

nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}

nav a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--secondary-color);
}

.hero-section {
  position: relative;
  background: url('./images/sutterhealth_hero.jpg') center/cover no-repeat;
  padding: 100px 20px 80px 20px; /* ensures space below header */
  color: white;
  text-align: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.container {
  max-width: 900px;
}

.contact-form-section {
  background: #fff;
  padding: 30px;
  margin-top: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.contact-form-section h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.contact-form-section p {
  color: #555;
  margin-bottom: 25px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(81, 127, 239, 0.2);
}

.contact-btn {
  background-color: var(--primary-color);
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-btn:hover {
  background-color: #405dc9;
  transform: translateY(-2px);
}

footer {
  background: #00605A;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
  border-top: 1px solid #ddd;
  margin-top: 40px;
}

footer .container {
  max-width: 900px;
  margin: 0 auto;
}

footer p {
  margin: 0 0 10px 0;
}

footer p.footer_ {
  font-size: 10px;
  color: #fff;
  line-height: 1.5;
}

footer a {
  color: var(--primary-color);
  text-decoration: underline;
}

footer a:hover {
  color: var(--secondary-color);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    background: #303B4B;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
  }

  nav.show {
    display: flex;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }
}
