/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* Header & Navigation */
header {
  background: #eff1f3;
  padding: 1rem;
  text-align: center;
}

nav {
  display: flex;
  justify-content: center;
}

.main-nav {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  color: #040404;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  display: block;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #004080;
  list-style: none;
  padding: 0.5rem 0;
  min-width: 180px;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  padding: 0.5rem 1rem;
  color: #fff;
  display: block;
}

/* Hero Section */
.hero {
  padding: 2rem;
  background: #e0f7fa;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Stats Banner */
.stats-banner {
  position: relative;
  margin-top: -20px;
  z-index: 2;
}

.stats-card {
  display: flex;
  justify-content: space-around;
  padding: 2rem;
  margin: -40px auto 2rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  width: 90%;
  max-width: 1100px;
}

.stats-card div {
  flex: 1;
  text-align: center;
}

.stats-card h2 {
  color: #f44336;
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.stats-card p {
  color: #444;
  font-weight: 600;
}

/* Hero Intro */
.hero-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 4rem 5%;
  background: #f9f9f9;
  flex-wrap: wrap;
}

.hero-left, .hero-right {
  flex: 1;
  min-width: 300px;
}

.hero-left {
  margin-right: 2rem;
}

.hero-left h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.cta-button,
.explore-btn {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: #333;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.3s;
}

.cta-button .arrow,
.explore-btn .arrow,
.arrow-round {
  background: #f44336;
  color: #fff;
  border-radius: 50%;
  padding: 0.5rem 0.7rem;
  margin-left: 0.7rem;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.cta-button:hover .arrow,
.location-tag:hover {
  background: #d32f2f;
}

.hero-right {
  flex: 1.2;
  color: #444;
  font-size: 1rem;
  line-height: 1.8;
}

.hero-right p {
  margin-bottom: 1.2rem;
}

/* Specialities */
.specialities-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 3rem 5%;
  background: #fff;
  flex-wrap: wrap;
  gap: 2rem;
}

.specialities-left {
  flex: 1;
  min-width: 280px;
}

.specialities-left h4 {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.specialities-left h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
  line-height: 1.4;
}

.specialities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  flex: 2;
  min-width: 400px;
}

.speciality-card {
  background: #dea9bb;
  border: 1px solid #f44336;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.speciality-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}

.speciality-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
}

.speciality-card p {
  font-size: 1rem;
  color: #f44336;
  font-weight: 600;
}

.speciality-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Services */
.services-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 3rem 5%;
  background: #fff;
  flex-wrap: wrap;
  gap: 2rem;
}

.services-left {
  flex: 1;
  min-width: 280px;
}

.services-left h4 {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.services-left h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
  line-height: 1.4;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  flex: 2;
  min-width: 400px;
}

.services-card {
  background: #dea9bb;
  border: 1px solid #f44336;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}

.services-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
}

.services-card p {
  font-size: 1rem;
  color: #f44336;
  font-weight: 600;
}

.services-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Doctors Section */
.doctors-section {
  text-align: center;
  padding: 4rem 5% 2rem;
  background: #fcfcfc;
  color: #444;
}

.doctors-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #333;
}

.doctors-section p {
  font-size: 1.05rem;
  max-width: 900px;
  margin: 0 auto 1.5rem;
  line-height: 1.8;
  color: #555;
}

/* Locations */
.location-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.location-wrapper h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 1.5rem;
  text-align: left;
}

.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.location-tag {
  background: #f44336;
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  transition: background-color 0.3s;
}

/* Services */
.services {
  padding: 2rem;
  background: #fff;
  margin: 1rem 0;
}

.services ul {
  columns: 2;
  list-style: square;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #003366;
  color: #fff;
}

/* Technology Section */
.technology-section {
  text-align: center;
  padding: 40px 20px;
}

.subheading {
  color: #888;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 10px;
}

.main-heading {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #333;
}

.image-box {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background-image: url("images/Technologies.png");
  background-size: cover;
  background-position: center;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-overlay {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 30px;
  font-size: 16px;
  line-height: 1.6;
  color: #222;
  border-radius: 8px;
  max-width: 100%;
  text-align: center;
}

/* Awards Section */
.awards-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.left {
  flex: 1;
}

.left h4 {
  font-size: 18px;
  color: #666;
  margin-bottom: 10px;
}

.left h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #333;
  line-height: 1.3;
}

.explore {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 500;
}

.arrow-btn {
  width: 40px;
  height: 40px;
  background-color: #f0441c;
  border: none;
  color: white;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.divider {
  width: 1px;
  height: 220px;
  background-color: #e24a34;
}

.right {
  flex: 1.3;
  font-size: 16px;
  line-height: 1.7;
}

.right .highlight {
  color: #f0441c;
  font-weight: 600;
}

/* Network Section */
.network-section {
  text-align: center;
  padding: 60px 20px;
}

.subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 10px;
}

.title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.location-card {
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  width: 200px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.location-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.location-info {
  background-color: #fff;
  padding: 15px;
  text-align: center;
  border-radius: 0 0 20px 20px;
  width: 100%;
}

.city {
  font-size: 16px;
  margin: 5px 0;
  font-weight: 600;
}

.icon {
  margin-right: 6px;
}

.location-link {
  display: inline-flex;
  align-items: center;
  color: #f0441c;
  font-weight: 500;
  text-decoration: none;
  margin-top: 6px;
}

.arrow {
  font-size: 16px;
  margin-left: 5px;
}

/* Floating Sidebar */
.contact-sidebar {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.sidebar-icon {
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.sidebar-icon img {
  width: 28px;
  height: 28px;
}

.sidebar-icon:hover {
  transform: scale(1.1);
}

.sidebar-icon.whatsapp {
  background-color: #25D366;
}

.sidebar-icon.phone {
  background-color: #4A63D3;
}

.sidebar-icon.email {
  background-color: #FF9800;
}

.sidebar-icon:hover img {
  filter: brightness(0) invert(1);
}

/* ========== RESPONSIVE STYLES ========== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
  .specialities-grid,
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-intro,
  .specialities-section,
  .services-section {
    padding: 3rem 3%;
  }

  .stats-card {
    width: 95%;
    padding: 1.5rem;
  }

  .awards-section {
    padding: 40px 20px;
    gap: 30px;
  }

  .divider {
    height: 180px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  /* Navigation */
  .main-nav {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .main-nav li {
    width: 100%;
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    min-width: 100%;
  }

  /* Hero Section */
  .hero {
    padding: 1rem;
  }

  .hero-intro {
    flex-direction: column;
    padding: 2rem 5%;
  }

  .hero-left {
    margin-right: 0;
    margin-bottom: 2rem;
  }

  .hero-left h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .hero-right {
    font-size: 0.95rem;
  }

  /* Stats */
  .stats-card {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    margin: -20px auto 1rem;
  }

  .stats-card h2 {
    font-size: 1.5rem;
  }

  .stats-card p {
    font-size: 0.9rem;
  }

  /* Specialities & Services */
  .specialities-section,
  .services-section {
    flex-direction: column;
    padding: 2rem 5%;
  }

  .specialities-left,
  .services-left {
    margin-bottom: 1.5rem;
  }

  .specialities-left h2,
  .services-left h2 {
    font-size: 1.5rem;
  }

  .specialities-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    min-width: 100%;
  }

  .speciality-card,
  .services-card {
    padding: 0.8rem;
  }

  .speciality-card img,
  .services-card img {
    width: 40px;
    height: 40px;
  }

  .speciality-card p,
  .services-card p {
    font-size: 0.9rem;
  }

  /* Doctors Section */
  .doctors-section {
    padding: 2rem 5%;
  }

  .doctors-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .doctors-section p {
    font-size: 0.95rem;
  }

  .location-wrapper h3 {
    font-size: 1.2rem;
    text-align: center;
  }

  .location-tags {
    justify-content: center;
    gap: 0.8rem;
  }

  .location-tag {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }

  /* Technology Section */
  .technology-section {
    padding: 30px 15px;
  }

  .main-heading {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .image-box {
    height: auto;
    min-height: 250px;
    padding: 15px;
  }

  .text-overlay {
    padding: 20px;
    font-size: 14px;
  }

  /* Awards Section */
  .awards-section {
    flex-direction: column;
    padding: 30px 20px;
    gap: 20px;
  }

  .left h1 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .divider {
    width: 100%;
    height: 1px;
    margin: 20px 0;
  }

  .right {
    font-size: 14px;
  }

  /* Network Section */
  .network-section {
    padding: 40px 15px;
  }

  .title {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .card-container {
    gap: 20px;
  }

  .location-card {
    width: 160px;
  }

  .location-card img {
    height: 180px;
  }

  /* Contact Sidebar - Move to bottom */
  .contact-sidebar {
    flex-direction: row;
    bottom: 15px;
    right: 50%;
    transform: translateX(50%);
    top: auto;
    background: white;
    padding: 10px 14px;
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  }

  .sidebar-icon {
    width: 45px;
    height: 45px;
  }

  .sidebar-icon img {
    width: 24px;
    height: 24px;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .hero-left h1,
  .specialities-left h2,
  .services-left h2,
  .doctors-section h2 {
    font-size: 1.3rem;
  }

  .specialities-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-card {
    padding: 1rem;
  }

  .cta-button,
  .explore-btn {
    font-size: 0.9rem;
  }

  .location-card {
    width: 140px;
  }

  .location-card img {
    height: 160px;
  }

  .city {
    font-size: 14px;
  }

  .location-link {
    font-size: 13px;
  }

  .contact-sidebar {
    padding: 8px 12px;
    gap: 10px;
  }

  .sidebar-icon {
    width: 40px;
    height: 40px;
  }

  .sidebar-icon img {
    width: 20px;
    height: 20px;
  }
}
/* Home icon */
.home-icon {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

/* Hover effect */
.home-icon:hover {
  transform: scale(1.2);
}

/* Optional: space adjustment so it matches text items */
.home-link {
  display: flex;
  align-items: center;
}
.phone-number {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  white-space: nowrap;
}
/* 📱 Mobile Devices */
@media (max-width: 768px) {
  .phone-number {
    font-size: 13px;
  }
}