/* ensure full-height baseline */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: Arial, sans-serif;
  background: #f4f7fb;
}

/* container holds everything and centers its children */
.container {
  width: 100%;                      
  min-width: 350px;          
  padding: 2vh 2vw;          
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;       
  text-align: center;
  min-height: 30vh;
  height: 59vh;
  margin-top: 8%;               
}

.container img {
  margin-top: 2vh;            
  max-height: 30vh; 
  max-width: 100%;            
  width: 35%;
  height: 35%;
  object-fit: contain;
}

.container h1 {
  margin-top: 2vh;
  font-size: clamp(1rem, 5vw + 1rem, 4.2rem);
  color: #2c3e50;
}

.pharmacy-btn {
  background-color: #3498db;
  border: none;
  color: white;
  padding: 1.2vh 2vw;
  margin-top: 2vh;
  font-size: clamp(14px, 1.5vw, 1.5rem);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.25s ease;
}


.pharmacy-btn:hover {
  background-color: #2980b9;
}

/* =========================
   New Section Layout
   ========================= */
.container-new {
  flex: 1; /* take up remaining height between header and footer */
  display: flex; /* side-by-side layout */
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Equal halves */
.old, .new {
  flex: 1;
  display: flex;
  flex-direction: column;  /* stack content vertically */
  align-items: center;     /* center horizontally */
  justify-content: center; /* center vertically */
  text-align: center;
  font-size: 1.5rem;
  padding: 2rem; /* gives breathing space around text and button */
  color: #000;
}

/* Colors */
.old {
  background-color: white;
}

.new {
  background-color: rgb(237, 236, 241);
}
