: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-hero {
  background: #fff3f3;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(211, 47, 47, 0.08);
  padding: 2.5rem 1.5rem;
  text-align: center;
  margin: 2rem auto;
  max-width: 600px;
}
.emergency-hero h1 {
  color: #d32f2f;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.emergency-hero p {
  color: #333;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.emergency-call-btn, .emergency-whatsapp-btn {
  display: inline-block;
  margin: 0.5rem 0.5rem 1.5rem 0.5rem;
  padding: 1rem 2rem;
  border-radius: 32px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.emergency-call-btn {
  background: #d32f2f;
  color: #fff;
}
.emergency-call-btn:hover {
  background: #b71c1c;
  transform: scale(1.05);
}
.emergency-whatsapp-btn {
  background: #25D366;
  color: #fff;
}
.emergency-whatsapp-btn:hover {
  background: #128C7E;
  transform: scale(1.05);
}
.emergency-services-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  color: #d32f2f;
  font-size: 1.5rem;
}
.emergency-services-list li {
  margin-bottom: 0.5rem;
}
.emergency-steps {
  background: #d32f2f;
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1.5rem;
  text-align: left;
  display: inline-block;
}
.emergency-steps h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  text-decoration: underline;
}
.emergency-steps ol {
  margin: 0;
  padding-left: 1.2rem;
  color: #fff;
  font-size: 1rem;
}

@media (max-width: 700px) {
  .emergency-hero{
    margin: 1rem auto;
  }
  .emergency-hero h1{
    font-size: 1.3rem;
    text-decoration: underline;
  }

.emergency-hero p{
  font-size: 0.6rem;
}
.emergency-call-btn, .emergency-whatsapp-btn{
   margin: 0.2rem 0.2rem 0.9rem 0.2rem;
   padding: 0.5rem;
   font-size: 0.8rem;
   transition: background 0.2s, transform 0.2s;
}
   .emergency-call-btn {
  background: #d32f2f;
  color: #fff;
}
.emergency-call-btn:hover {
  background: #b71c1c !important;
  transform: scale(1.05);
}
.emergency-whatsapp-btn {
  background: #25D366;
  color: #fff;
}
.emergency-whatsapp-btn:hover {
  background: #128C7E;
  transform: scale(1.05);
}

.emergency-services-list{
  font-size: 1rem;
}

.emergency-steps h3{
  font-size: 1rem;
}
.emergency-steps ol{
  font-size: 0.7rem;
  font-style: italic;
}

}


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;
  }
}
