/*
 Theme Name: Humwell 
 Description: Custom styles for Humwell Health - Mobile-first approach
 Author: Asterysk
 Version: 1.0 – Global Styles
*/

/* === Global Box-Sizing & Reset === */
*,
*::before,
*::after {
  box-sizing: border-box; 
  margin: 0;
  padding: 0;
  letter-spacing: 0.02em; /* subtle spacing */
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
  background-color: #FFFFFF;
  overflow-x: hidden; /* prevent horizontal scroll */
}

/* === Headers – Updated Sizes & Weights === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  color: #00295D;
  font-weight: 500;  /* reduced weight */
  margin: 0 0 0.75em;
}

/* Mobile-first sizes (default) */
h1 { font-size: 2.5rem; } /* max for hero */
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* ≥768px – Small Tablets */
@media (min-width: 768px) {
  h1 { font-size: 2.5rem; } /* keep max */
  h2 { font-size: 2.25rem; }
  h3 { font-size: 2rem; }
  h4 { font-size: 1.75rem; }
}

/* ≥1024px – Large Tablets / Small Laptops */
@media (min-width: 1024px) {
  h1 { font-size: 2.5rem; } /* still capped */
  h2 { font-size: 2.5rem; }
  h3 { font-size: 2.25rem; }
  h4 { font-size: 2rem; }
}

/* ≥1280px – Desktop & Wide Screens */
@media (min-width: 1280px) {
  h1 { font-size: 2.5rem; } /* max */
  h2 { font-size: 2.8rem; }
  h3 { font-size: 2.5rem; }
  h4 { font-size: 2.2rem; }
}


/* === Links (optional global) ===
a {
  color: #0189FF;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

a:hover, a:focus {
  color: #00B8A9;
}
*/


/* ----------------------------------------------------------
   Containers & Layout Helpers
----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}

.vertical-line {
  border-left: 3px solid #00295D;
  padding-left: 1.5rem;
  display: inline-block;
}

/* ----------------------------------------------------------
   Responsive Breakpoints
----------------------------------------------------------- */

/* ≥480px – Small Phones & Portrait Tablets */
@media (max-width: 480px) {
  .footer-menu { flex-direction: column; gap: 0.5rem; }
  .newsletter-fields { flex-direction: column; }
  .newsletter-submit { width: 100%; }
}
