/* =======================
   RESET & BASE STYLES
======================= */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: 'Dosis', sans-serif;
  color: white;
  text-align: center;
  overflow-x: hidden;
  position: relative;
}

/* Fixed background that always fills the screen */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('comingsoon.png') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  z-index: -1;
}

/* Ensure background covers the entire viewport on all devices */
@media (max-width: 768px) {
  body::before {
    background-size: cover;
    background-position: center center;
  }
}

@media (max-width: 480px) {
  body::before {
    background-size: cover;
    background-position: center center;
  }
}

/* Page container handles layout */
.page-container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

/* Content expands, pushing footer down */
.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
  min-height: 100vh;
}

/* =======================
   LANGUAGE SWITCH
======================= */
.lang-switch {
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 1000;
  font-family: inherit;
}

.lang-switch button {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  margin: 0 5px;
  cursor: pointer;
  color: white;
  transition: color 0.3s ease;
}

.lang-switch button:hover {
  color: #00AEBD;
}

.lang-switch button.active {
  color: #FAC1C0;
}

/* =======================
   LOGOS
======================= */
.logo-container {
  position: fixed;
  top: 35%;
  right: 10%;
  transform: translateY(-50%);
  z-index: 10;
}

.logo {
  height: 70px;
  width: auto;
}

.logo-OPQ-container {
  position: fixed;
  top: 58%;
  left: 5%;
  transform: translateY(-50%);
  z-index: 10;
}

.logo-OPQ {
  height: 200px;
  width: auto;
}

/* =======================
   MAIN CONTAINER
======================= */
.container {
  background: rgba(38, 31, 10, 0.6); /* Transparent overlay */
  padding: 1.5rem 3rem 1.5rem 3rem;
  border-radius: 1rem;
  max-width: 600px;
  width: 90%;
  margin: 80px auto 0;   /* center horizontally and push down */
  text-align: center;
  z-index: 2;
  position: relative;
}

/* =======================
   TYPOGRAPHY
======================= */
h1 {
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* =======================
   CONTACT EMAIL
======================= */
.contact-email {
  margin-top: 0;
  margin-bottom: 0;
}

.contact-email a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.contact-email a:hover {
  color: #00AEBD;
}

/* =======================
   SIGNUP FORM
======================= */
.signup {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.signup input {
  padding: 0.7rem;
  border: none;
  border-radius: 0.3rem;
  outline: none;
}

.signup button {
  padding: 0.7rem 1rem;
  background: #00AEBD;
  border: none;
  color: white;
  border-radius: 0.3rem;
  cursor: pointer;
  transition: background 0.3s;
}

.signup button:hover {
  background: #FAC1C0;
}

/* =======================
   container_addr
======================= */
.Pharma_addr { 
  font-size: 1.2rem;       /* adjust size */
  font-weight: 600;        /* bold */
  color: black;            /* white text */
  background: rgba(255, 254, 254, 0.463); /* optional background for readability */
  padding: 0.5rem 1rem;    /* some spacing around */
  border-radius: 0.2rem;   /* rounded corners */
  text-align: center;
  display: block;        /* force it to take full width */
  margin: 2rem auto 0;   /* center horizontally and add spacing */
  width: fit-content;    /* shrink nicely around text */
  position: relative;
 
}
/* =======================
   VACCINE SECTION
======================= */
.vaccine-link a {
  color: #00AEBD;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.vaccine-link a:hover {
  color: #FAC1C0;
}

/* =======================
   RESPONSIVE FIXES
======================= */
@media (max-width: 1200px) {
  .logo-container {
    position: relative;
    top: auto;
    right: auto;
    transform: translateY(50%);
    z-index: 10;
  }

  .logo {
    height: 50px;
  }

  .logo-OPQ-container {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 1rem auto;
    text-align: center;
    transform: translateY(50%);
  }

  .logo-OPQ {
    height: 120px;
  }

  .container {
    max-width: 95%;
    padding: 2rem;
    margin: 60px auto 0;
  }

  .content {
    padding: 0;
    min-height: 60vh;
  }
}

@media (max-width: 500px) {
  h1 {
    font-size: 1.4rem;
  }

  p {
    font-size: 1rem;
  }

  .signup {
    flex-direction: column;
  }

  .signup input,
  .signup button {
    width: 100%;
  }
}
