/* Header Styling */
.main-header {
  background-color: rgb(3, 3, 55);
  color: rgb(248, 217, 177);
  padding: 10px 5px;
  text-align: center;
  border-bottom: 5px solid crimson;
}

.logo-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  max-width: 200px;
  margin-bottom: 5px;
}

/* Tab Ribbon */
.tab-ribbon {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: rgb(6, 2, 74);
  padding: 1rem;
}

.tab {
  background-color: antiqueWhite;
  color: crimson;
  border: none;
  padding: 0.75rem 1.5rem;
  margin: 0.5rem;
  font-size: 1em;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.1s ease;
}

.tab:hover {
  background-color: #ffe4e1;
}

.tab.active {
  background-color: #fff;
  font-weight: bold;
}

/* Tab Content */
.tab-content {
  display: none;
  padding: 2rem;
  text-align: center;
}

.tab-content.active {
  display: block;
}

/* Responsive Tabs */
@media (max-width: 480px) {
  .tab {
    font-size: 0.9em;
    padding: 0.5rem 1rem;
  }
}


body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f6f8;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.section {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 30px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.section:hover {
  transform: scale(1.01);
}

.section h2 {
  margin-top: 0;
  font-size: 1.5rem;
  padding-bottom: 8px;
  border-bottom: 2px solid #ccc;
}

.section ul {
  list-style: none;
  padding-left: 0;
}

.section ul li {
  padding: 8px 0;
  border-bottom: 1px dashed #e0e0e0;
}

.section ul li:last-child {
  border-bottom: none;
}

/* Color themes per section */
.emergency h2 { color: #d32f2f; border-color: #d32f2f; }
.non-emergency h2 { color: #1976d2; border-color: #1976d2; }
.specialized h2 { color: #388e3c; border-color: #388e3c; }
.air h2 { color: #f57c00; border-color: #f57c00; }
.onsite h2 { color: #7b1fa2; border-color: #7b1fa2; }
.courier h2 { color: #455a64; border-color: #455a64; }

/* Responsive layout */
@media (max-width: 768px) {
  .section h2 {
    font-size: 1.3rem;
  }

  .section {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .section h2 {
    font-size: 1.1rem;
  }

  .section ul li {
    font-size: 0.95rem;
  }
}


/* Homecare Styling */
.homecare-container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  background-color: #fdf5e6; /* Antique White */
  border-radius: 10px;
}

.homecare-section {
  background-color: #f4f6f8; /* Light Grey */
  border-left: 5px solid crimson;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.homecare-section:hover {
  transform: scale(1.01);
}

.homecare-section h3 {
  color: navy;
  font-size: 1.3rem;
  margin-bottom: 10px;
  border-bottom: 2px solid grey;
  padding-bottom: 5px;
}

.homecare-section ul {
  list-style-type: disc;
  padding-left: 20px;
  color: #333;
}

.homecare-section ul li {
  padding: 6px 0;
  font-size: 1rem;
  border-bottom: 1px dashed #ccc;
}

.homecare-section ul li:last-child {
  border-bottom: none;
}

/* Responsive layout for Homecare */
@media (max-width: 768px) {
  .homecare-section h3 {
    font-size: 1.2rem;
  }

  .homecare-section {
    padding: 15px;
  }

  .homecare-section ul li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .homecare-container {
    padding: 15px;
  }

  .homecare-section h3 {
    font-size: 1.1rem;
  }

  .homecare-section ul {
    padding-left: 15px;
  }

  .homecare-section ul li {
    font-size: 0.9rem;
  }
}


/* Home Button Styling */
.home-button {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: rgb(102, 234, 234);
  color: crimson;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
  z-index: 1000;
}

.home-button:hover {
  background-color: rgb(124, 185, 147);
  transform: scale(1.05);
}

/* Responsive Button */
@media (max-width: 480px) {
  .home-button {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
}

/* Hospital Section with Background Image */
.hospital-section {
  position: relative;
  background-image: url('images/CLS LIMITED\CLH RECEPTION AREA.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;
  color: white;
  z-index: 1;
}

.hospital-overlay {
  background-color: rgba(169, 169, 174, 0.7); /* Navy overlay with transparency */
  padding: 30px;
  border-radius: 50px;
  max-width: 1000px;
  margin: auto;
}

.hospital-section h2 {
  color: crimson;
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

.hospital-section p,
.hospital-section ul {
  font-size: 1rem;
  line-height: 1.6;
  color: rgb(2, 2, 60);
}

.hospital-section ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hospital-overlay {
    padding: 20px;
  }

  .hospital-section h2 {
    font-size: 1.5rem;
  }

  .hospital-section p,
  .hospital-section ul {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hospital-section {
    padding: 40px 15px;
  }

  .hospital-section h2 {
    font-size: 1.3rem;
  }

  .hospital-section p,
  .hospital-section ul {
    font-size: 0.9rem;
  }
}

.hospital-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 0 auto 30px auto;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* ===============================
   Call Button Styling
   =============================== */

.call-button {
  display: inline-block;
  margin-left: 10px;
  padding: 8px 14px;
  background-color: var(--crimson);
  color: var(--antiquewhite);
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.call-button:hover {
  background-color: var(--navy);
  transform: scale(1.05);
}

/* Responsive Hotline Banner */
.hotline-banner {
  position: fixed;
  top: 5px;
  left: 5px;
  background-color: rgb(88, 224, 237);
  color: rgb(14, 35, 222);
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 50px;
  font-size: 1rem;
  z-index: 9999;
  border-bottom-right-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.hotline-banner:hover {
  background-color: rgb(98, 198, 135);
  transform: scaleX(1.05);
}

