* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f8f9fa;
  color: #333;
}

/* Hero / Banner Section */
.hero-banner {
  position: relative;
  min-height: 80vh;
  background: url('https://images.unsplash.com/photo-1551076805-e1869033e561?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  transition: background-image 0.5s ease-in-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.hero-content {
  color: #ffffff;
  flex: 1;
}

.badge {
  background: #2563eb;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin: 1rem 0;
  line-height: 1.2;
}

/* Banner Contact Form */
.hero-form-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-form-card h3 {
  margin-bottom: 1rem;
  color: #0f172a;
}

#hero-contact-form input,
#hero-contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 0.8rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.9rem;
}

.submit-btn {
  width: 100%;
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #1d4ed8;
}

/* Main Layout */
.main-layout {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
  display: flex;
  gap: 2.5rem;
}

.content-area {
  flex: 3;
}

.content-area h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0f172a;
}

/* Image Gallery Inside Content */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.gallery-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.gallery-item span {
  display: block;
  padding: 0.8rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #475569;
  text-align: center;
}

/* Sidebar Services */
.sidebar-services {
  flex: 1;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  height: fit-content;
}

.sidebar-services h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.5rem;
}

.service-list {
  list-style: none;
}

.service-list li {
  margin-bottom: 0.5rem;
}

.service-link {
  display: block;
  padding: 10px 14px;
  color: #334155;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.service-link:hover,
.service-link.active {
  background: #2563eb;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 900px) {
  .hero-container, .main-layout {
    flex-direction: column;
  }
  .hero-form-card {
    max-width: 100%;
  }
}

/* Dropdown Container Position */
.nav-item.dropdown {
  position: relative;
}

/* Dropdown Menu Base Styling */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

/* Show Submenu on Hover */
.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Submenu Items */
.dropdown-item {
  display: block;
  padding: 10px 20px;
  color: #333333;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Hover State on Submenu Items */
.dropdown-item:hover {
  background-color: #f0f7ff;
  color: #007bff; /* Aapke hospital ka theme accent color */
  padding-left: 24px; /* Smooth shifting effect */
}


