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

.services{
    background: url(images/background7.jpg);
    padding: 2rem 0;
    margin: 3rem auto;
    text-align: center;
}
.services h2{
    font-size: 3rem;
    color: white;
}
.services p{
    color: lightgray;
    font-size: 1.2rem;
    font-style: italic;
    padding-top: 0;
}
.services-container {
  display: block;
  align-items: center;
  gap: 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(25, 118, 210, 0.08);
  padding: 2rem 1.5rem;
  margin: 2rem 0;
  justify-content: center;
}
.services-container h2{
  text-align: center;
  font-size: 2.5rem;
}
.services-container p{
  font-style: italic;
  font-size: 1.5rem;
  text-align: center;
}

.service-grid{
  display: block;
 
}
.service-card{
  display: flex;
  align-items: center;
  gap: 20%;
  padding-bottom: 50px;
}

.service-card img {
  width: 35%;
  height: 35%;
  object-fit: cover;
  border-radius: 20px;
  margin-left: 100px;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.10);
  padding-bottom: 40px ;

}

.service-card h3 {
  flex: 1;
  color: #333;
  font-size: 1.15rem;
}
.service-card h3 b{
  font-size: 2rem;
}
.service-card h3 i{
  font-size: 2.5rem;
}
.service-card h3 span{
  font-size: 1.5rem;
  font-style: italic;
}


.services-card{
  display: flex;
  align-items: center;
  gap: 10%;
  padding-bottom: 50px;
}
.services-card img {
  width: 35%;
  height: 35%;
  object-fit: cover;
  max-height: 100%;
  min-height: 30%;
  border-radius: 20px;
  margin-right: 50px;
  padding-bottom: 40px;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.10);
  
}
.services-card h3 {
  grid: 1;
  color: #333;
  font-size: 1.15rem;
  margin-left:10%;

}
.services-card h3 b{
  font-size: 2rem;
}
.services-card h3 i{
  font-size: 2.5rem;
}
.services-card h3 span{
  font-size: 1.5rem;
  font-style: italic;
}

@media (max-width: 700px) {
  .services h2{
    font-size: 1.5rem;
  }
  .services p{
    font-size: 0.8rem;
  }
  .services-container {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    text-align: center;
  }
  .services-container h2 {
    font-size: 1.5rem;
  }
  .services-container p {
    font-size: 0.7rem;
  }

   .service-card{
    gap: 5%;
    padding: 20px;
  }
  .service-card:hover {
    background: lightblue !important;
    box-shadow: 0 4px 16px rgba(25, 118, 210, 0.18);
    transform: scale(1.03);
  }

  .service-card img{
    margin-left: 20px;
    height: 180px !important;
    padding: 0;
    object-fit: cover;
  
  }
  .service-card h3{
   font-size: 1rem;
  }
  .service-card h3 b{
    font-size: 0.9rem;
  }
  .service-card h3 i{
    font-size: 1rem;
  }
  .service-card h3 span{
    font-size: 0.8rem;
  }

  .services-card img{
   padding: 0;
   margin-right: 10px;
   height: 180px !important;
   object-fit: cover;
  }
  .services-card h3{
    font-size: 0.9rem;
  }
  .services-card h3 b{
    font-size: 0.9rem;
  }
  .services-card h3 i{
  font-size: 1rem;
}
.services-card h3 span{
  font-size: 0.8rem;
}
.services-card:hover {
  background: lightblue !important;
    box-shadow: 0 4px 16px rgba(25, 118, 210, 0.18);
    transform: scale(1.03);
  }
}

.emergency {
  background: red;
  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: red;
  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 {
    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;
  }
}

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