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

.message-container {
  display: block;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.message-grid, .message-card {
  background: url(images/logo2.webp);
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(25, 118, 210, 0.08);
  padding: 0.5rem 3rem 1rem 3rem ;
  margin: 90px 100px 60px 100px;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.message-card p {
  flex-direction: row;
  gap: 2rem;
  font-size: 1.3rem;
  margin: 0 20px 0 20px;
  font-style: italic;
}

.message-card h2 {
  color: #1976d2;
  margin-bottom: 1rem;
  font-size: 2rem;
}
.message-signature{
    margin-top: 1rem;
    margin-right: 90%;
    
}
.message-signature span {
  color: #333;
  font-size: 1.4rem;
  font-style: bold;
}

@media (max-width: 700px) {
  .message-container{
    display: grid;

  }
  .message-grid {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    margin: 35px 20px 25px 20px;

  }
  .message-card {
    margin: 10px 20px;
    text-align: center;
    padding: 0.1rem;
    gap: 0.8rem;
    min-height: 40vh;

  }

 .message-card h2{
  font-size: 1.2rem;
  margin-top: 0;
 }
 .message-card p{
  font-size: 0.7rem;
  margin-top: 0;
 }
 .message-signature{
    margin-top: 0.6rem;
    margin-right: 50%;
}
.message-signature span {
  color: #333;
  font-size: 0.9rem;
  font-style: italic;
}

}
.statistics-container{
  background-color: lightgray;
  text-align: center;
  border-radius: 20px;
}
.statistics-container h2{
  font-size: 2.5rem;
}
.statistics-container p{
  font-size: 0.9rem;
  font-style: italic;
  padding-bottom: 0.7rem;
}

.statistics-section {
  background: #e3f2fd;
  padding: 2.5rem 1rem;
  border-radius: 18px;
  margin: 2rem 0;
  box-shadow: 0 2px 12px rgba(25, 118, 210, 0.08);
}
.statistics-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 900px;
}
.statistics-card {
  background: skyblue;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.07);
  padding: 1rem 1.5rem;
  min-width: 180px;
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin-bottom: 1rem;
}

.statistics-card b {
  color: #1976d2;
  font-size: 3rem;
   margin: 0.5rem ;
   padding: 2.5rem;
}
.statistics-card p {
  color: #444;
  font-size: 1.1rem;
  margin: 0;
}

.stat-icon{
  font-size: 3rem;
  color: #d32f2f;
}

@media (max-width: 700px) {

  .statistics-container h2{
  font-size: 1.5rem;
}
.statistics-container p{
  font-size: 0.6rem;
  font-style: italic;
}

  .statistics-section {
    
    gap: 1rem;
    padding: 0 0.5rem;
    margin-top: 1rem;
  }

  .statistics-grid{
    flex-direction: grid;
    gap: 0.8rem;
    
  }
  .statistics-card {
    padding: 0.7rem 0.7rem;
    min-width: unset;
    max-width: 30%;
    margin: 0 auto;

  }
  .statistics-card b{
    font-size: 1.2rem;
    margin: 0;
    padding: 0;
  }
  .statistics-card p{
    font-size: 0.8rem;
    
  }
  .stat-icon{
    font-size: 1.5rem;
  }
   .statistics-card {
    transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
  }
  .statistics-card:hover {
    background: blue;
    color: #fff;
    box-shadow: 0 4px 16px rgba(25, 118, 210, 0.18);
    transform: scale(1.03);
  }
  .statistics-card:hover h3 {
    color: #fff;
  }
  .statistics-card:hover p {
    color: #e3f2fd;
  }
}


.value-container, .value-grid{
  background: lightblue;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(25, 118, 210, 0.08);
  padding: 2rem 1.5rem;
  margin: 2rem 0;
  display: flex;
  flex-direction: grid;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.value-sec{
  border-radius: 20px;
  text-align:center ;
  background-color: skyblue;
  padding: 1rem 0 1rem 0;
  
}
.value-sec h5{
  background-color: lightblue;
  border-radius: 30px;
  width: 170px;
  height: 20px;
  margin-left: 45%;
  font-size: 0.9rem;
  font-style: italic;
}
.value-sec h2{
 font-size: 3rem;

}


.value-card{
  flex: 1 1 220px;
  min-width: 30%;
  max-width: 40% ;
  margin-bottom: 1.5rem;
  background: #e3f2fd;
  border-radius: 12px;
  padding: 1.2rem 1rem;
  box-shadow: 0 1px 6px rgba(25, 118, 210, 0.06);
  text-align: center;
}
.value-card h2 {
  color: #1976d2;
  margin-bottom: 0.5rem;
  font-size: 1.7rem;
}
.value-card p {
  color: #444;
  font-size: 1rem;
  font-style: italic;
  margin: 0;
}
.value-icon{
  font-size: 4.5rem;
  margin-right: 70%;
}
@media (max-width: 700px) {
  .value-sec{
    padding: 0.2rem 0;
    background-color: lightgray;
}
  .value-sec h5{
    font-size: 0.6rem;  
    width: 100px;
    
  }
  
  .value-sec h2{
    font-size: 1.5rem;
  }
  .value-container {
    flex-direction: grid;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
  }
  .value-card {
    min-width: unset;
    max-width: 40%;
    padding: 0.5rem 0.5rem;
    height: 270px !important;
  }
  .value-card:hover {
    background: plum !important;
    color: #fff;
    box-shadow: 0 4px 16px rgba(25, 118, 210, 0.18);
    transform: scale(1.03);
  }
  .value-card p{
    font-size: 0.8rem;
    font-style: italic;
  }
  .value-icon{
    font-size: 2.5rem;
  }

}

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