* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f9;
  color: #333;
  line-height: 1.6;
}

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

/* Navbar */
.navbar {
  background-color: #1e3a8a;
  color: white;
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand .fw-bold {
  color: #ff69b4; /* Pink color for "Super Health Care" logo text */
}

.logo {
  display: flex;
  align-items: center;
}

.logo-icon {
  font-size: 2rem;
  color: #fff;
  margin-right: 10px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
}

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

.nav-menu li {
  margin-left: 20px;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 5px 10px;
  transition: background-color 0.3s;
}

.nav-menu a:hover {
  background-color: #1e40af;
  border-radius: 5px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
  background-color: #1e3a8a;
  padding: 20px;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  display: none;
}

.mobile-menu:not(.hidden) {
  display: block;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  margin: 10px 0;
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  display: block;
  padding: 10px;
  transition: background-color 0.3s;
}

.mobile-menu a:hover {
  background-color: #1e40af;
  border-radius: 5px;
}

/* Hero Section */
.hero {
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 0; /* No space above hero */
}

.hero p.lead {
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .hero {
    height: 300px;
  }

  .hero p.lead {
    font-size: 1.2rem;
  }
}

/* Sections */
.section {
  padding: 60px 0;
}

.section.alternate-bg {
  background-color: #e5e7eb;
}

.section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #1e3a8a;
}

/* Service Boxes */
.service-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.service-box:hover {
  transform: translateY(-5px);
}

.service-box i {
  color: #1e3a8a;
  margin-bottom: 10px;
}

.service-box p {
  font-size: 1.1rem;
  margin: 0;
  text-align: center;
}

/* About Section */
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

.about-text {
  flex: 1;
  min-width: 300px;
  font-size: 1.1rem;
}

/* Contact Form */
.contact-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.form-button {
  background-color: #1e3a8a;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1rem;
}

.form-button:hover {
  background-color: #1e40af;
}

/* Footer */
.footer {
  background-color: #1e3a8a;
  color: white;
  text-align: center;
  padding: 20px;
}

/* Fixed Buttons */
.fixed-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fixed-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
}

.whatsapp {
  background-color: #25d366;
}

.whatsapp:hover {
  background-color: #20bf55;
}

.phone {
  background-color: #3b82f6;
}

.phone:hover {
  background-color: #2563eb;
}

.fixed-button i {
  font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .about-content {
    flex-direction: column;
  }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Navbar adjustments */
.navbar {
    margin-bottom: 0; /* Remove any default margin */
    border-bottom: none; /* Ensure no extra spacing */
}

/* Header Section */
.header {
    position: relative;
    min-height: 100vh; /* Full viewport height */
    background-image: url('images/logo1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Optional: Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0; /* No gap between navbar and header */
}

/* Overlay for better text readability */
.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: 1;
}

/* Header Content */
.header-content {
    position: relative;
    z-index: 2; /* Ensure content is above overlay */
    color: #fff; /* White text for contrast */
    padding: 20px;
    max-width: 800px;
    text-align: center;
}

.header-content h1 {
    font-size: 3.5rem; /* Large heading */
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Subtle shadow for readability */
    margin-bottom: 20px;
}

.header-content p {
    font-size: 1.25rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

.header-content .btn-primary {
    background-color: #007bff;
    border: none;
    padding: 10px 20px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.header-content .btn-primary:hover {
    background-color: #0056b3;
}

/* Service Strip */
.service-strip {
    background-color: #007bff; /* Blue background for most service pages */
    padding: 20px 0;
    color: #fff;
    margin-bottom: 20px;
    width: 100%;
    z-index: 1; /* Ensure strip is above other content */
}

.service-strip-gastrostomy {
    background-color: #20c997; /* Teal background for gastrostomy page */
    padding: 20px 0;
    color: #fff;
    margin-bottom: 20px;
    width: 100%;
    z-index: 1; /* Ensure strip is above other content */
}

.service-strip-colostomy {
    background: linear-gradient(135deg, #fd7e14 0%, #ff9f43 100%); /* Coral gradient for colostomy page */
    padding: 25px 0;
    color: #fff;
    margin-bottom: 20px;
    width: 100%;
    z-index: 1; /* Ensure strip is above other content */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.service-strip-icu {
    background: linear-gradient(135deg, #007bff 0%, #4dabf7 100%); /* Blue gradient for ICU page */
    padding: 25px 0;
    color: #fff;
    margin-bottom: 20px;
    width: 100%;
    z-index: 1; /* Ensure strip is above other content */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.service-strip-injection {
    background: linear-gradient(135deg, #6f42c1 0%, #a370f7 100%); /* Purple gradient for injection page */
    padding: 25px 0;
    color: #fff;
    margin-bottom: 20px;
    width: 100%;
    z-index: 1; /* Ensure strip is above other content */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.service-strip-home-patient {
    background: linear-gradient(135deg, #28a745 0%, #51cf66 100%); /* Green gradient for home patient care page */
    padding: 25px 0;
    color: #fff;
    margin-bottom: 20px;
    width: 100%;
    z-index: 1; /* Ensure strip is above other content */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.service-strip-care-givers {
    background: linear-gradient(135deg, #f76707 0%, #ff922b 100%); /* Orange gradient for care givers page */
    padding: 25px 0;
    color: #fff;
    margin-bottom: 20px;
    width: 100%;
    z-index: 1; /* Ensure strip is above other content */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.service-strip-nursing-attendants {
    background: linear-gradient(135deg, #099268 0%, #3bc9db 100%); /* Teal gradient for nursing attendants page */
    padding: 25px 0;
    color: #fff;
    margin-bottom: 20px;
    width: 100%;
    z-index: 1; /* Ensure strip is above other content */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.service-strip-senior-care {
    background: linear-gradient(135deg, #7048e8 0%, #9775fa 100%); /* Warm purple gradient for senior care page */
    padding: 25px 0;
    color: #fff;
    margin-bottom: 20px;
    width: 100%;
    z-index: 1; /* Ensure strip is above other content */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.service-strip-dementia-alzheimer {
    background: linear-gradient(135deg, #e64980 0%, #ff8787 100%); /* Soft pink gradient for dementia & Alzheimer care page */
    padding: 25px 0;
    color: #fff;
    margin-bottom: 20px;
    width: 100%;
    z-index: 1; /* Ensure strip is above other content */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.service-strip-baby-care {
    background: linear-gradient(135deg, #4dabf7 0%, #74c0fc 100%); /* Soft blue gradient for baby care page */
    padding: 25px 0;
    color: #fff;
    margin-bottom: 20px;
    width: 100%;
    z-index: 1; /* Ensure strip is above other content */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.service-strip-home-care {
    background: linear-gradient(135deg, #2b8a3e 0%, #63e6be 100%); /* Soft green gradient for home care page */
    padding: 25px 0;
    color: #fff;
    margin-bottom: 20px;
    width: 100%;
    z-index: 1; /* Ensure strip is above other content */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.service-strip h1,
.service-strip-gastrostomy h1,
.service-strip-colostomy h1,
.service-strip-icu h1,
.service-strip-injection h1,
.service-strip-home-patient h1,
.service-strip-care-givers h1,
.service-strip-nursing-attendants h1,
.service-strip-senior-care h1,
.service-strip-dementia-alzheimer h1,
.service-strip-baby-care h1,
.service-strip-home-care h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px; /* Slight letter spacing for professionalism */
}

/* Breadcrumb Styling */
.service-breadcrumb {
    margin-bottom: 30px;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 5px;
}

.service-breadcrumb .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.service-breadcrumb .breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.service-breadcrumb .breadcrumb-item a:hover {
    text-decoration: underline;
}

.service-breadcrumb .breadcrumb-item.active {
    color: #6c757d;
    font-weight: 500;
}

/* Service Image */
.service-image {
    margin-bottom: 30px;
    border: 1px solid #e9ecef; /* Subtle border */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.service-image img {
    max-width: 100%;
    height: auto;
}

/* Service Content Card */
.service-content-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Card-like shadow */
    margin-bottom: 30px;
}

/* Service Content */
.service-content {
    margin-bottom: 30px;
}

.service-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #343a40; /* Darker color for professional look */
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #007bff;
}

.service-content h4 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #007bff;
}

.service-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #495057;
}

.service-content ol,
.service-content ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

.service-content ol li {
    margin-bottom: 15px;
}

.service-content ul li {
    list-style-type: disc;
    margin-bottom: 10px;
}

.service-content .btn-primary {
    background-color: #007bff;
    border: none;
    padding: 12px 24px;
    font-size: 1.1rem;
    border-radius: 25px; /* Rounded button */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.service-content .btn-primary:hover {
    background-color: #0056b3;
    transform: scale(1.05); /* Slight scale on hover */
}

/* Service Sidebar */
.service-sidebar {
    background: #e9ecef; /* Slightly darker background */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center the content */
}

.service-sidebar h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #007bff;
}

.service-sidebar .list-group {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the list items */
}

.service-sidebar .list-group-item {
    border: none;
    border-bottom: 1px solid #dee2e6; /* Subtle border between items */
    padding: 12px 0;
    width: 80%; /* Limit width for better centering */
    transition: background-color 0.2s ease;
}

.service-sidebar .list-group-item:last-child {
    border-bottom: none; /* Remove border for last item */
}

.service-sidebar .list-group-item a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.service-sidebar .list-group-item a:hover {
    text-decoration: underline;
    color: #0056b3;
}

.service-sidebar .list-group-item:hover {
    background-color: #dee2e6; /* Subtle hover effect */
}

/* Services Footer Section */
.services-footer {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%); /* Light gradient */
    padding: 40px 0;
}

.services-footer p {
    font-size: 1rem;
    line-height: 1.7;
    color: #6c757d;
    font-weight: 400;
}

/* Service Box Styling */
.service-box {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-box:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

.service-box i {
    color: #007bff;
}

/* Service Page Styling */
.service-page {
    padding: 70px 0 60px 0; /* Add padding-top to clear fixed navbar */
}

.service-page .service-header {
    text-align: center;
    margin-bottom: 40px;
}

.service-page .service-header i {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .header {
        min-height: 60vh; /* Shorter height for tablets */
    }

    .header-content h1 {
        font-size: 2.5rem; /* Smaller font for tablets */
    }

    .header-content p {
        font-size: 1rem;
    }

    .service-strip h1,
    .service-strip-gastrostomy h1,
    .service-strip-colostomy h1,
    .service-strip-icu h1,
    .service-strip-injection h1,
    .service-strip-home-patient h1,
    .service-strip-care-givers h1,
    .service-strip-nursing-attendants h1,
    .service-strip-senior-care h1,
    .service-strip-dementia-alzheimer h1,
    .service-strip-baby-care h1,
    .service-strip-home-care h1 {
        font-size: 2rem;
    }

    .service-content h2 {
        font-size: 1.75rem;
    }

    .service-content h3 {
        font-size: 1.25rem;
    }

    .service-content h4 {
        font-size: 1.1rem;
    }

    .service-sidebar {
        margin-top: 30px;
    }

    .service-sidebar .list-group-item {
        width: 100%; /* Full width on smaller screens */
    }

    .service-page .service-header i {
        font-size: 2.5rem;
    }

    .service-page {
        padding: 60px 0 40px 0; /* Adjust padding for tablets */
    }
}

@media (max-width: 576px) {
    .header {
        min-height: 50vh; /* Shorter height for mobiles */
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .header-content p {
        font-size: 0.9rem;
    }

    .service-strip h1,
    .service-strip-gastrostomy h1,
    .service-strip-colostomy h1,
    .service-strip-icu h1,
    .service-strip-injection h1,
    .service-strip-home-patient h1,
    .service-strip-care-givers h1,
    .service-strip-nursing-attendants h1,
    .service-strip-senior-care h1,
    .service-strip-dementia-alzheimer h1,
    .service-strip-baby-care h1,
    .service-strip-home-care h1 {
        font-size: 1.75rem;
    }

    .service-content h2 {
        font-size: 1.5rem;
    }

    .service-content h3 {
        font-size: 1.1rem;
    }

    .service-content h4 {
        font-size: 1rem;
    }

    .service-page .service-header i {
        font-size: 2rem;
    }

    .service-page {
        padding: 50px 0 30px 0; /* Adjust padding for mobiles */
    }
}

/* General section styling */
section {
    margin: 0;
    padding: 60px 0;
}