@import url("https://fonts.googleapis.com/css2?family=Jost:wght@300;600;700&family=Ropa+Sans&display=swap");
/* font-family: 'Jost', sans-serif;
font-family: 'Ropa Sans', sans-serif; */

h1,
h2,
h3 {
  font-family: "Ropa Sans", sans-serif;
  color: crimson;
}
p {
  font-family: "Jost", sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styles */
body {
  font-family: Arial, sans-serif;
  background-color: #000;
  color: #fff;
}

/* Navigation bar styles */
.navbar {
  color: #fff;
  padding: 10px 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-color: crimson;
  font-family: "Jost", sans-serif;
  font-weight: 700;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.nav-item {
  margin-right: 20px;
  position: relative;
}

.nav-item a {
  color: hsla(0, 0%, 75%, 1);
  text-decoration: none;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: hsla(0, 0%, 20%, 0.5);
  padding: 10px;
  list-style: none;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  color: #000;
  width: 100px;
  z-index: 2;
}

.dropdown-menu li {
  margin-bottom: 5px;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu li:hover {
  background-color: hsla(0, 0%, 20%, 1);
  color: #000;
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

/* Header styles */
.header {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 100px 0; /* Adjust as needed */
  background-size: cover;
  background-position: center;
  height: 600px;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.container {
  position: relative;
  z-index: 2;
}

.header h1 {
  font-size: 3rem; /* Adjust as needed */
  margin-top: 160px;
}

.header p {
  font-size: 1.2rem; /* Adjust as needed */
  margin-bottom: 20px;
}

.buttons {
  margin-top: 30px;
  border-radius: 15px;
}

.primary-btn,
.secondary-btn {
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.primary-btn {
  background-color: crimson;
  color: #fff;
}

.secondary-btn {
  background-color: #333;
  color: #fff;
  margin-left: 10px;
}

.primary-btn:hover,
.secondary-btn:hover {
  background-color: #8b0000;
}

/* Container styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Immediate medical care */
.seek-medical-care {
  background-color: hsla(180, 14%, 18%, 1);
  height: 600px;
  display: flex;
  flex-direction: row;
  gap: 50px;
}

.content1 {
  width: 500px;
  margin-left: 100px;
  margin-top: 100px;
}

.content1 h2 {
  width: 400px;
  margin-top: -40px;
  margin-left: 20px;
  color: crimson;
}

.content1 p {
  width: 450px;
  margin-top: 80px;
  line-height: 1.5rem;
  color: #fff;
}
.content2 p {
  width: 450px;
  margin-top: 80px;
  line-height: 1.5rem;
  color: #333;
  font-weight: 700;
}

.rectangle {
  width: 30px;
  height: 100px;
  background-color: hsla(348, 83%, 47%, 1);
  border-radius: 5px;
  margin-top: 10px;
  margin-left: -30px;
}

.help {
  width: 50%;
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 30px;
}

.ambulance {
  width: 400px;
  height: 400px;
  border-radius: 15px;
  background-image: url("../img/med/ambu.jpeg");
  background-size: cover;
  background-repeat: no-repeat;
  justify-content: center;
  text-align: center;
  align-items: center;
  padding-top: 210px;
  color: #fff;
  font-family: "Jost", sans-serif;
  font-weight: 700;
}

.hospital {
  width: 400px;
  height: 400px;
  border-radius: 15px;
  background-image: url("../img/med/The-Karen-Hospital-Nairobi-Kenya.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  justify-content: center;
  text-align: center;
  align-items: center;
  padding-top: 150px;
  color: #fff;
  font-family: "Jost", sans-serif;
  font-weight: 700;
}
.access {
  background-color: hsla(0, 0%, 20%, 0.8);
  width: 300px;
  margin-left: 10px;
  border-radius: 12px;
  margin-top: -20px;
}
.locate {
  background-color: hsla(0, 0%, 20%, 0.7);
  width: 300px;
  margin-left: 10px;
  border-radius: 12px;
  margin-top: -20px;
}

.secondary-btn button {
  background-color: #333;
}

/* Hospitals near me */
.hospitals-near-me {
  background-color: hsla(0, 0%, 70%, 1);
  height: 700px;
}

.hospitals-near-me h1 {
  color: crimson;
  padding-top: 30px;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.hospitals-near-me p {
  justify-content: center;
  text-align: center;
  align-items: center;
  width: 600px;
  margin-left: 420px;
  margin-top: 10px;
}

.hospital-search-form {
  background-color: #ffffff; /* Crisp white background */
  padding: 5px;
  border-radius: 10px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.7); /* Add a subtle shadow for depth */
  display: flex;
  align-items: center;
  width: 400px;
  margin-left: 450px;
  margin-top: 20px;
}

.hospital-search-form input[type="text"] {
  width: 300px; /* Adjust the width in pixels as needed */
  padding: 8px;
  border: none;
  border-radius: 5px 0 0 5px;
  outline: none;
  font-size: 16px;
  color: #888888; /* Grey text */
  height: 10px;
}

.hospital-search-form button {
  background-color: #4caf50; /* Green background */
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 5px;
}

/* Hospital card container */
.hospital-list-container {
  display: flex;
  overflow-x: auto; /* Enable horizontal scrolling */
  width: 100%;
  padding-bottom: 20px;
  margin-top: -450px; /* Adjust as needed */
  position: relative; /* Add this */
  flex-direction: row;
  height: 600px;
  overflow-x: hidden;
}
.group1 {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.group2 {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.group3 {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.group1 h3,
.group2 h3,
.group3 h3 {
  text-align: center;
}
.group1 h4,
.group2 h4,
.group3 h4 {
  color: crimson;
  font-family: "Ropa Sans", sans-serif;
  font-weight: 700;
  margin-left: 20px;
}
.group1 p,
.group2 p,
.group3 p {
  color: #ffffff;
  font-family: "Jost", sans-serif;
  font-weight: 700;
  color: #ffffff;
  margin-left: 20px;

  font-weight: 300;
}
.star img {
  width: 20px;
  height: 20px;
}

/* Hospital card */
.hospital-card {
  width: 400px;
  margin-right: 20px;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 15px;
  background-color: #333;
  flex-shrink: 0;
  height: 420px;
  box-shadow: 0px 0px 9px rgba(26, 137, 141, 0.7);
  transition: transform 0.3s ease box-shadow 0.3s ease;
}

.hospital-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 0px 9px rgba(26, 133, 141, 0.9);
}

.hospital-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 5px;
}

/* Navigation arrows */
.prev-arrow,
.next-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 20px;
  z-index: 1; /* Ensure arrows are above the hospital cards */
}

.prev-arrow {
  left: 10px;
}

.next-arrow {
  right: 10px;
}

/* Emergency numbers section */
.emergency-numbers {
  margin-bottom: 40px;
}

.emergency-contact {
  margin-bottom: 10px;
}

/* Ambulance services section */
.ambulance-services {
  background-color: hsla(0, 0%, 20%, 1);
  height: 1100px;
  display: flex;
  margin-top: -170px;
}
.content3 {
  text-align: center;
}
.content3 h2 {
  color: crimson;
  margin-top: 20px;
}
.content3 h3 {
  color: azure;
}
.content3 h1 {
  color: #fff;
  width: 600px;
  margin-left: 350px;
  font-size: 18px;
}
.services {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
  margin-left: 30px;
}
.part1 {
  display: flex;
  flex-direction: row;
  gap: 30px;
}
.part2 {
  display: flex;
  flex-direction: row;
  gap: 30px;
}
.ambulance-service1 img,
.ambulance-service2 img,
.ambulance-service3 img,
.ambulance-service4 img,
.ambulance-service5 img,
.ambulance-service6 img,
.ambulance-service7 img,
.ambulance-service8 img {
  width: 300px;
  height: 170px;
  border-radius: 12px;
}
.ambulance-service1,
.ambulance-service2,
.ambulance-service3,
.ambulance-service4,
.ambulance-service5,
.ambulance-service6,
.ambulance-service7,
.ambulance-service8 {
  background: linear-gradient(to bottom, #2f4f4f, #36454f);
  width: 300px;
  height: 350px;
  border-radius: 12px;
  transition: transform 0.3s;
}

/* Scale Animation on Hover */
.ambulance-service1:hover,
.ambulance-service2:hover,
.ambulance-service3:hover,
.ambulance-service4:hover,
.ambulance-service5:hover,
.ambulance-service6:hover,
.ambulance-service7:hover,
.ambulance-service8:hover {
  transform: scale(1.1);
}

.call-button {
  background-color: crimson;
  width: 100px;
  border: 0;
  border-radius: 9px;
  height: 30px;
}
.call-button:hover {
  background-color: blue;
  cursor: pointer;
}
.university-ambulance-services {
  background: linear-gradient(to bottom, #2f4f4f, #36454f);
  height: 200px;
  width: 80%;
  margin-left: 200px;
  padding-top: 20px;
  margin-top: 20px;
  border-radius: 15px;
  box-shadow: 0 0 10px hsla(200, 100%, 50%, 1); /* Single HSLA value */
}

.uni-button {
  background-color: crimson;
  color: #fff;
  border: 0;
  width: 200px;
  height: 40px;
  border-radius: 12px;
  margin-left: 80px;
  margin-top: 10px;
}
.uni-button:hover {
  background-color: #8b0000;
  cursor: pointer;
}

/* Style the select element */
select {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f8f8f8;
  color: #333;
  width: 100%;
  max-width: 300px;
  font-family: "Jost", sans-serif;
  outline: none;
}

/* Style the options within the select dropdown */
option {
  padding: 10px;
  font-size: 16px;
  background-color: hsla(200, 6%, 20%, 1);
  color: #fff;
}

/* Style the select dropdown arrow */
select::-ms-expand {
  /* Remove display: none; */
}

/* Style the select dropdown arrow for other browsers */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("/img/med/gridicons--dropdown.svg");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

/* Style the select dropdown arrow icon */
.select-arrow::after {
  content: "\25BC"; /* Unicode character for down arrow */
  font-size: 14px;
}

/* Style the select dropdown arrow icon color */
.select-arrow {
  color: #555;
}
.intelligent-symptom-checker {
  background-color: hsla(210, 21%, 10%, 1);
  height: 650px;
}
.content5 {
  font-family: "Jost", sans-serif;
  margin-left: 550px;
}
.content5 h2 {
  color: crimson;
  margin-top: 20px;
  text-align: center;
}
.content5 p {
  color: #fff;
  text-align: center;
}
.intelligent-symptom-checker {
  width: 100%;
  margin: 50px auto;
  background-color: hsla(210, 21%, 10%, 1);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-top: -10px;
}

.intelligent-symptom-checker h2 {
  margin-top: 20px;
  font-size: 24px;
  color: crimson;
  margin-left: -500px;
}

.intelligent-symptom-checker p {
  font-size: 16px;
  color: #fff;
  margin-left: -500px;
}

.intelligent-symptom-checker form {
  margin-top: 20px;
}

#symptomOptions {
  margin-bottom: 20px;
}

#symptomOptions label {
  margin-right: 10px;
}

.type button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  margin-left: -50px;
  margin-top: 50px;
  width: 300px;
  height: 50px;
  font-family: "Jost", sans-serif;
}

button:hover {
  background-color: #0056b3;
}

#diagnosisResults {
  margin-top: 20px;
}

#diagnosisResults h3 {
  margin-top: 0;
  font-size: 20px;
  color: #333;
}

#diagnosisResults ul {
  list-style-type: none;
  padding: 0;
}

#diagnosisResults li {
  font-size: 16px;
  color: #555;
  margin-bottom: 5px;
}

.virtual-pharmacy,
.live-location,
.intelligent-symptom-checker,
.personalized-emergency-plans,
.interactive-maps,
.ai-powered-chatbot,
.multi-language-support,
.community-forums,
.emergency-preparedness-guides,
.telemedicine-services,
.health-profile,
.life-saving-ideas,
.community-support {
  margin-bottom: 40px;
}

.virtual-pharmacy h2,
.live-location h2,
.intelligent-symptom-checker h2,
.personalized-emergency-plans h2,
.interactive-maps h2,
.ai-powered-chatbot h2,
.multi-language-support h2,
.community-forums h2,
.emergency-preparedness-guides h2,
.telemedicine-services h2,
.health-profile h2,
.life-saving-ideas h2,
.community-support h2 {
  margin-bottom: 20px;
}

.quick-access-btn {
  background-color: crimson;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 14px;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.quick-access-btn:hover {
  background-color: #8b0000;
}

/* Footer styles */
.footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}
.prev-arrow,
.next-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  border-radius: 50%;
  z-index: 9999; /* Ensure icons are above other content */
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.prev-arrow img,
.next-arrow img {
  width: 100%;
  height: auto;
}

.prev-arrow:hover,
.next-arrow:hover {
  opacity: 0.8;
}

.prev-arrow {
  left: 10px;
}

.next-arrow {
  right: 10px;
}
/* CSS Styling */
.ai-powered-chatbot {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.content {
  padding: 20px;
}

#chat-container {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 10px;
}

#chat-log {
  margin-bottom: 10px;
}

#user-input {
  width: calc(100% - 70px);
  margin-right: 10px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.type2 button {
  padding: 8px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}

/* emergency numbesr */
.emergency-numbers {
  background-color: hsla(0, 0%, 20%, 1);
  height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
/* Emergency Numbers Styles */
.emergency-numbers {
  margin-top: 20px;
}
/* Emergency Numbers Styles */
.emergency-numbers {
  margin-top: 20px;
}

.emergency-numbers .content {
  width: 600px;
  margin: 0 auto;
}
.emergency-numbers h1 {
  font-size: 24px;
  margin-bottom: 10px;
  color: crimson;
  width: 100%;
  margin-top: -70px;
  margin-left: 40px;
}

.emergency-numbers h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #fff;
  margin-left: 40px;
}

.emergency-numbers p {
  margin-bottom: 20px;
  margin-left: 40px;
}

.emergency-numbers select {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 20px;
}

.emergency-numbers button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.emergency-numbers button:hover {
  background-color: #0056b3;
}

.emergency-numbers #contact-info {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: none; /* Prevent resizing */
  margin-top: 10px;
}
.contact-info {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: none; /* Prevent resizing */
  margin-top: 10px;
  font-family: "Jost", sans-serif;
}
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: none; /* Prevent resizing */
  margin-top: 10px;
  font-family: Ropa sans, sans-serif;
  font-weight: 700;
  outline: none;
  color: crimson;
}
/* interactive maps */
.interactive-maps {
  background-color: rgb(126, 100, 100);
  height: 600px;
  margin-top: -80px;
}
.interactive-maps h2 {
  text-align: center;
}
.interactive-maps p {
  text-align: center;
  margin-bottom: 20px;
}
#map {
  width: 70%;
  height: 400px;
  border: 2px solid #ccc;
  border-radius: 10px;
  margin-left: 200px;
  box-shadow: 0 0 10px rgba(231, 213, 213, 0.8);
}
/* health profile */
.health-profile {
  background-color: hsla(0, 0%, 20%, 1);
  height: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: -50px;
}
.health-profile h2 {
  color: crimson;
  font-size: 24px;
  margin-bottom: 10px;
}

.health-profile p {
  color: #ffff;
  font-size: 16px;
  margin-bottom: 20px;
}

.health-profile label {
  display: block;
  font-size: 18px;
  margin-bottom: 5px;
}

.health-profile input[type="text"],
.health-profile input[type="number"],
.health-profile select,
.health-profile textarea {
  width: 200px;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.health-profile textarea {
  height: 50px;
}

.health-profile input[type="submit"] {
  background-color: #4caf50;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-size: 16px;
}

.health-profile input[type="submit"]:hover {
  background-color: #45a049;
}

/* Community Support Section */
.community-support {
  background-color: #000;
  padding: 50px 0;
}

.community-support .content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.community-support h2 {
  font-size: 36px;
  color: crimson;
  margin-bottom: 20px;
}

.community-support p {
  font-size: 18px;
  color: #ffff;
  margin-bottom: 40px;
  width: 400px;
  margin-left: 400px;
}

.support-groups,
.volunteer-opportunities {
  margin-bottom: 60px;
}

.support-groups h3,
.volunteer-opportunities h3 {
  font-size: 24px;
  color: crimson;
  margin-bottom: 20px;
}

.support-group,
.volunteer-opportunity {
  margin-bottom: 40px;
}

.support-group img,
.volunteer-opportunity img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.support-group h4,
.volunteer-opportunity h4 {
  font-size: 20px;
  color: crimson;
  margin-bottom: 10px;
}

.support-group p,
.volunteer-opportunity p {
  font-size: 16px;
  color: #ffff;
}
.footer {
  background-color: #333;
  color: #fff;
  padding: 40px 0;
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.quick-links,
.contact-info {
  width: 45%;
  margin-top: 20px;
}

.quick-links h3,
.contact-info h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.quick-links ul {
  list-style: none;
  padding: 0;
}

.quick-links ul li {
  margin-bottom: 10px;
}

.quick-links ul li a {
  color: #fff;
  text-decoration: none;
}

.contact-info p {
  margin-bottom: 10px;
}
.contact-info {
  border: 0;
}

.copyright {
  text-align: center;
  margin-top: 20px;
  justify-content: center;
  margin-top: 30px;
  margin-left: 20px;
}
.social-media {
  margin-top: 30px;
}
.socials {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
}
/* mobile design */
@media (max-width: 768px) {
  /* CSS for mobile navigation */
  .navbar {
    position: relative;
    z-index: 1;
  }
  .nav-list {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 250px;
    background-color: rgba(22, 136, 212, 0.5);
    padding: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
  }
  .nav-list.active {
    display: block;
  }
  .nav-item {
    display: block;
    margin-bottom: 10px;
  }
  .dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100px;
    /* Display to the right of the parent */
    width: 120px;
    background-color: rgba(197, 33, 55, 0.5);
    /* Semi-transparent background */
    padding: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    /* Optional: Add shadow */
  }
  .dropdown-menu.active {
    display: block;
  }
  .dropdown-toggle {
    display: block;
  }
  /* Hide hamburger icon on larger screens */
  .menu-toggle {
    display: none;
  }
  .menu-toggle img {
    width: 50px;
    height: 50px;
    margin-top: 20px;
    margin-left: 20px;
  }
  /* Show hamburger icon only on smaller screens */
  @media screen and (max-width: 768px) {
    .menu-toggle {
      display: block;
      position: absolute;
      top: 10px;
      /* Adjust as needed */
      left: 10px;
      /* Adjust as needed */
      cursor: pointer;
    }
    .nav-list {
      position: fixed;
      top: 0;
      left: 0;
      max-width: 100vw;
      overflow-x: hidden;
      overflow-y: auto;
    }
  }
  /* Initially hide the navigation */
  .nav-list {
    display: none;
  }
  .navbar:hover .nav-list {
    display: block;
  }
  .nav-list {
    transition: opacity 0.5s ease-in-out;
  }
  .navbar:not(:hover) .nav-list {
    opacity: 0;
    pointer-events: none;
  }
  .header {
    padding: 50px 0;
  }

  .header h1 {
    font-size: 2.5rem;
  }

  .header p {
    font-size: 1rem;
  }
  .buttons {
    display: flex;
    flex-direction: row;
  }
  button {
    border-radius: 19px;
  }
  .seek-medical-care {
    display: flex;
    flex-direction: column;
    height: 800px;
    gap: 10px;
  }
  .content1 {
    order: 1;
  }
  .content1 p{
    
    width: 320px;
    margin-left: -60px;
    margin-top: 20px;
  }
  .content1 h2{
    margin-left: -50px;
  }
  .rectangle{
    margin-left: -80px;
  }
  .help {
    order: 2;
  }
  .hospital {
    order: 3;
  }

 
  .ambulance {
    width: 180px;
    height: 300px;
    padding-top: 150px;
  }
  .access p{
    display: none;
  }
  .locate{
    background-color:hsla(0, 0%, 100%, 0.01);
    width: 200px;
  }
  .locate p{
  display: none;
  }

  .hospital {
    width: 180px;
    height: 300px;
    padding-top: 150px;
    margin-left: -10px;
  }
  .quick-access-btn{
    margin-left: -20px;
    width: 150px;
  }
  .hospitals-near-me{
    height: 700px;
  }
    .hospitals-near-me h1{
        font-size: 20px;
    }
    .hospitals-near-me p{
        width: 300px;
        margin-left: 20px;
    }
    .hospital-search-form{
        width: 300px;
        margin-left: 20px;
    }
    .hospital-search-form input[type="text"]{
        width: 200px;
    }
    .hospital-search-form button{
        width: 100px;
    }
    .hospitals{
      height: 2000px;
      
    }
    .hospital-list-container{
        margin-top: -400px;
        height: 2000px;
        display: flex;
        flex-direction: column;
    }
    .group1,
    .group2,
    .group3{
        display: flex;
        flex-direction: column;
        height: 2500px;
    }
    .hospital-card{
        width: 300px;
        margin-left: 40px;
    }
  .content2 p {
    width: 300px;
    margin-top: 20px;
  }

  .prev-arrow,
  .next-arrow {
    width: 30px;
    height: 30px;
    font-size: 20px;
    margin-top: 200px;
    display: none;
  }
  .ambulance-services{
    height: 2600px;
  }
  .content3{
    display: flex;
    flex-direction: column;
    margin-top: 100px;
    
  }
  .part1{
    display: flex;
    flex-direction: column;
    /* height: 800px; */
    gap: 50px;
  }
  .part2{
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 160px;
    display: none;

   
  }
  .university-ambulance-services{
    width: 350px;
    margin-left: 10px;
    height: 300px;
  }
  .content4{
    width: 300px;
  }
  #university-dropdown{
    margin-left: 20px;
  }
  .content5 p{
    width: 300px;
  }
  .content5 h2{
   width: 320px;
  
  }
.symptoms{
background-color: red;
}
  .emergency-numbers {
    height: 800px;
  }

  .emergency-numbers .content {
    width: 100%;
  }

  .emergency-numbers h1 {
    font-size: 20px;
  }

  .emergency-numbers h2 {
    font-size: 20px;
  }

  .emergency-numbers p {
    font-size: 16px;
  }

  .emergency-numbers select {
    width: 250px;
   
  }

  .emergency-numbers button {
    width: 100%;
  }

  .emergency-numbers #contact-info {
    width: 100%;
  }

  .interactive-maps {
    height: 800px;
  }

  .health-profile {
    height: 800px;
  }

  .community-support {
    height: 1200px;
  }

  .quick-links,
  .contact-info {
    width: 100%;
  }

  .quick-links ul {
    text-align: center;
  }

  .quick-links ul li {
    margin-bottom: 10px;
  }

  .quick-links ul li a {
    color: #fff;
    text-decoration: none;
  }

  .contact-info p {
    text-align: center;
  }

  .footer {
    padding: 20px 0;
  }
}
