:root{
--medical-blue: #1976d2;
  --light-grey: #f5f7fa;
  --white: #fff;
}

body {
  background: var(--light-grey);
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #222;
}

nav {
  background: lightgray;
  color: var(--white);
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.08);
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1100;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 2rem;
}
body {
  padding-top: 0;
}

.nav-container img{
  height: 50px;
  width: 60px;
  border-radius: 50%;
}

.nav-container span {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: black;
}

.links {
  display: flex;
  gap: 1.5rem;
}

.links a {
  color: black;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.links a:hover, .links a:focus {
  background: var(--medical-blue);
  color: var(--light-grey);
}

.links a[href="emergency.html"] {
  background: #d32f2f;
  color: #fff !important;
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  font-size: 1.3rem;
  transition: background 0.2s;
  margin-left: 100px;
}

.links a[href="emergency.html"]:hover,
.links a[href="emergency.html"]:focus {
  background: var(--medical-blue);
  color: #fff;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.hamburger a {
  height: 8px;
  width: 100%;
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 700px) {

 .nav-container img{
  height: 40px;
  width: 50px;
  border-radius: 50%;
}

.nav-container span {
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: black;
}

  .hamburger {
    display: flex;
    margin-left: auto;
    font-size: 2rem;
  }
  .links {
    display: none !important;
    flex-direction: column;
    width: 60%;
    border-radius: 20px;
    margin-left: 40px;
    background: #333333;
    position: absolute;
    top: 60px;
    left: 200px;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.08);
    z-index: 1000;
   padding: 1rem 1rem;
  }
  
.links a[href="emergency.html"] {
  background: #d32f2f;
  color: #fff !important;
  border-radius: 10px;
  transition: background 0.2s;
  width: 50%;
  margin-left: 0%;
}

.links a[href="emergency.html"]:hover,
.links a[href="emergency.html"]:focus {
  background: var(--medical-blue);
  color: #fff;
}

  
 .links.open {
    display: flex !important;
  }
  .nav-container {
    position: relative;
  }
}

.emergency {
  background: #d32f2f;
  padding: 2rem 0;
  margin: 3rem auto;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(25, 118, 210, 0.08);
}
.emergency h2{
  color: white;
  font-size: 2rem;
}
.emergency p {
  color: white;
  font-size: 1rem;
  font-style: italic;
}

.emergency .btn {
  display: inline-block;
  background: #fff;
  color: #d32f2f;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 1rem 2.2rem;
  border-radius: 32px;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(211, 47, 47, 0.15);
  margin: 1rem auto;
  transition: background 0.2s, transform 0.2s;
}
.emergency .btn:hover, .emergency .btn:focus {
  background: lightblue;
  color: #fff;
  transform: scale(1.05);
}
@media (max-width: 700px) {
  .emergency {
    margin-top:80px !important;
    border-radius:  30px;
    padding: 1rem 0;
  }
  .emergency h2{
    font-size: 1.2rem;
  }
  .emergency p {
    font-size: 0.6rem;
  }
  .emergency .btn {
    font-size: 0.6rem;
    padding: 0.5rem;
    margin: 0.5rem;
    height: 20px;
  }
}

.contact-intro {
  text-align: center;
  margin: 2rem 0;
}
.contact-intro h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.contact-intro p {
  font-size: 1rem;
  color: #666;
  font-style: italic;
}
  

.contact, .contact-container{
  background: lightgray;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(25, 118, 210, 0.08);
  padding: 2rem 1.5rem;
  max-width: 600px;
  margin: 1rem auto;
}
.contact-info h3 {
  color: #1976d2;
  font-size: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  text-align: center;
  text-decoration: underline;
}
.contact-info p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-align: center;
  font-style: italic;
}

.contact-info ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-info ul li {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}
.contact-info ul li i {
  margin-right: 0.5rem;
  font-size: 1.3rem;
}

.contact-form form{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-weight: 500;
  color: lightgray;
  margin-bottom: 0.3rem;
}
.contact-form h3{
    color: #125ea7;
    font-weight: bold;
    font-size: 2rem;
    padding-top: 2rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.7rem 1rem;
  border: 1.5px solid #b3c6e0;
  border-radius: 8px;
  font-size: 1rem;
  font-style: italic;
  background: #f5f7fa;
  color: #222;
  transition: border 0.2s;
} 
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border: 1.5px solid #1976d2;
  outline: none;
}
.contact-form button {
  background: #1976d2;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-top: 0.5rem;
}
.contact-form button i{
    margin-left: 0.5rem;
    font-size: 1.4rem;
}
.contact-form button:hover {
  background: #125ea7;
  transform: scale(1.03);
}
@media (max-width: 700px) {

   .contact-intro{
    margin: 1rem;
   }
   .contact-intro h2{
    font-size: 1.2rem;
   }
   .contact-intro p{
    font-size: 0.6rem ;
   }
  
   .contact-info h3{
    font-size: 1.4rem;
   }
   .contact-info p{
    font-size: 0.8rem;
   }
   .contact-info ul li{
    font-size: 1rem;
   }


  .contact-form h3{
    font-size: 1.4rem;
  }
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 0.8rem;
    padding: 0.6rem 0.7rem;
  }
  .contact-form button {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
  }

  .contact-form button:hover{
    transform: scale(1.05);
    background: gray;
  }
}


footer {
  background: #333333;
  color: #fff;
  padding: 2.5rem 1rem 1rem 1rem;
  margin:  0.3rem 0.5rem 3rem 0.5rem ;
  font-size: 1rem;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}
.footer-col {
  flex: 1 1 220px;
  min-width: 200px;
  margin-bottom: 1.5rem;
}

.footer-col img{
  height: 35px;
  width: 40px;
  border-radius: 50%;
}


.footer-col h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  letter-spacing: 1px;
}
.footer-col b {
  font-size: 1.1rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 0.7rem;
}
.footer-col ul li a {
  color: #bbdefb;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.footer-social a {
  color: #fff;
  font-size: 1.5rem;
  transition: color 0.2s;
}
.footer-social a:hover {
  color: #43e97b;
}
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  color: #bbdefb;
  font-size: 0.95rem;
}
@media (max-width: 700px) {
  .footer-container {
    flex-direction: column;
    gap: 20px;
    padding: 20px 0 20px 0;
    min-height: 10vh;
    
  }
  .footer-col {
    min-width: unset;
  }
  .footer-col h3 {
    font-size: 1rem;
  }
  .footer-col p{
    font-size: 0.7rem;
  }
  .footer-col b {
    font-size: 0.7rem;
  }
  .footer-col ul li {
    font-size: 0.6rem;
  }
}