/* ------------------------------
   GLOBAL STYLES
------------------------------ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700&display=swap');

:root {
  --blue-soft: #AFCBFF;
  --blue-accent: #6FA8FF;
  --lavender: #D7C9FF;

  /* NEW pastel sage tones */
  --sage-light: #E8F1E2;   /* very soft background */
  --sage-mid: #C9D6A5;     /* your original olive, now used as an accent */
  --sage-accent: #B7C9A9;  /* soft sage for highlights */

  --grey-bg: #F5F7FA;
  --text-dark: #2A3A4A;
  --max-width: 850px;
  
  
  
}

body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  background: white; /* clean healthcare look */
  color: var(--text-dark);
  line-height: 1.7;
  padding-top: 80px;
}

/* ------------------------------
   LAYOUT
------------------------------ */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  border-bottom: 1px solid #dfe7d8;
  padding: 1rem;
  z-index: 1000;
  transition: padding 0.3s ease, box-shadow 0.3s ease;

  display: flex;
  justify-content: space-between;
  align-items: center;
}


header.shrink {
  padding: 0.4rem 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

nav {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  flex-wrap: nowrap;
  box-sizing: border-box;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
}

nav a:hover {
  color: var(--sage-accent); /* soft sage hover */
}

main {
  max-width: var(--max-width);
  margin: 2rem auto;
  padding: 0 1rem;
}

footer {
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
  background: var(--sage-light); /* pastel sage footer */
  font-size: 0.9rem;
}

/* ------------------------------
   HAMBURGER MENU
------------------------------ */

.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  z-index: 9999;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

/* Mobile layout */
@media (max-width: 768px) {

  .hamburger {
    display: block;
  }

  .site-logo {
    height: 45px;
    margin-right: 0.5rem;
  }

  header {
    padding: 0.7rem 1rem;
    gap: 1rem;
    justify-content: flex-start;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: white; 
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    width: 100%;
  }

  .nav-links.open {
    display: flex;
  }

  nav {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }
}






/* ------------------------------
   TYPOGRAPHY
------------------------------ */





h1, h2, h3 {
  font-weight: 700;
  color: var(--text-dark);
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
}

/* ------------------------------
   BUTTONS
------------------------------ */

.button {
  display: inline-block;
  background: var(--sage-mid);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  margin-right: 0.5rem;
  transition: background 0.2s ease;
}

.button:hover {
  background: var(--sage-accent);
}


.button-outline {
  display: inline-block;
  border: 2px solid var(--blue-accent);
  color: var(--blue-accent);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.button-outline:hover {
  background: var(--blue-soft); /* soft pastel blue */
}


/* ------------------------------
   BLOCKS
------------------------------ */
.hero-row {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 1.5rem;
}

.hero-photo {
  width: 300px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.hero-text {
  max-width: 600px;
}

.hero {
  background: var(--sage-light); /* soft pastel sage */
  padding: 2rem 1rem;
  border-radius: 8px;
}

.hero-photo {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  display: block;
  margin: 1.5rem 0;
  margin-left: 0; /* aligns left */
}


blockquote {
  background: var(--sage-light); /* gentle sage background */
  padding: 1rem;
  border-radius: 6px;
  margin: 1rem 0;
  font-style: italic;
  border-left: 4px solid var(--sage-accent);
}

ul {
  padding-left: 1.2rem;
}

.section-divider {
  height: 10px;
  background: var(--sage-accent);
  border-radius: 6px;
  margin: 3rem 0;
}

.hero-photo {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  display: block;
  margin: 1.5rem auto;
}



/* ------------------------------
   CONTACT FORM
------------------------------ */

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  width: 100%;
}

input,
textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
}

textarea {
  min-height: 180px;
}





/* ------------------------------
   MOBILE FRIENDLY LAYOUT
------------------------------ */
@media (max-width: 768px) {

  .hero-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-photo {
    max-width: 80%;
    margin: 1rem auto;
  }

  .hero-side-text,
  .hero-text {
    max-width: 100%;
    margin: 0 auto;
  }

  nav {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.4rem;
  }
}

/* Keep logo visible when hamburger menu opens */
@media (max-width: 768px) {
  header {
    position: relative;
    justify-content: space-between;
    align-items: center;
  }

  .site-logo {
    position: absolute;
    right: 1rem;
    top: 0.7rem;
    height: 45px;
    z-index: 1001; /* stays above menu */
  }

  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    background: white;
    width: 70%;
    flex-direction: column;
    padding: 1rem;
    border-radius: 8px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }

  .nav-links.open {
    transform: translateX(0);
  }
}

