/* =========== GOOGLE FONTS =========== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* =========== VARIABLES =========== */
:root {
  /* Colors */
  --primary-color: #0f4c81;
  --primary-dark: #0a3a66;
  --secondary-color: #22c55e;
  --secondary-dark: #16a34a;
  --accent-color: #3b82f6;
  --text-color: #1f2933;
  --text-light: #6b7280;
  --light-color: #f9fafb;
  --white: #ffffff;
  --border-color: #e5e7eb;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Spacing */
  --section-padding: 3rem 1rem;
}

/* =========== BASE STYLES - MOBILE FIRST =========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  min-height: 0;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 14px; /* Smaller base font for mobile */
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  font-size: 1rem;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  max-width: 100%;
  overflow-x: hidden;
}

.section {
  overflow-x: hidden;
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.section-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.section-header p {
  font-size: 0.9rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.bg-light {
  background-color: var(--light-color);
}

.text-center {
  text-align: center;
}
/* =========== NAVBAR - SIMPLIFIED =========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: 0.5rem 0; /* Reduced from 1rem 0 */
  min-height: 60px; /* Fixed minimum height */
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo img {
  height: 35px;
  width: auto;
}

.logo span {
  color: var(--secondary-color);
}

/* Desktop Navigation - Shows on desktop */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-color);
  padding: 0.5rem 0;
  position: relative;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 180px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-medium);
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text-color);
  font-weight: 400;
  font-size: 0.9rem;
}

.dropdown-menu a:hover {
  background: var(--light-color);
  color: var(--primary-color);
}

.nav-buttons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* Mobile Menu Toggle - HIDDEN on desktop */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-color);
  background: none;
  border: none;
  padding: 0.5rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
}
/* Mobile Menu - Hidden by default */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 9999;
  overflow-y: auto;
  padding: 5rem 1.5rem 2rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-header {
  display: none; /* We don't need a separate header */
}

.menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-color);
  z-index: 10000;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-links li {
  width: 100%;
}

.mobile-nav-links a {
  display: block;
  padding: 1rem;
  font-weight: 500;
  color: var(--text-color);
  font-size: 1.1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: var(--light-color);
  color: var(--primary-color);
}

.mobile-nav-links .btn {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem;
  font-size: 1.1rem;
}

/* =========== RESPONSIVE BREAKPOINTS =========== */
@media (min-width: 769px) and (max-width: 1100px) {
  .nav-item-long {
    font-size: 0.8rem !important;
    white-space: nowrap;
  }
  .nav-links {
    gap: 1rem;
  }
  
  .nav-links a {
    font-size: 0.85rem;
    padding: 0.5rem 0.25rem;
  }
  
  .dropdown-menu {
    min-width: 160px;
  }
  
  .dropdown-menu a {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
  
  .nav-buttons {
    gap: 0.5rem;
  }
  
  .btn-small {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }
}
@media (min-width: 769px) and (max-width: 950px) {
  .nav-links {
    gap: 0.75rem;
  }
  
  .nav-links a {
    font-size: 0.8rem;
  }
  .nav-item-long {
    white-space: normal;
    line-height: 1.2;
    padding: 0.3rem 0 !important;
    text-align: center;
    max-width: 80px;
  }
  .logo {
    font-size: 1.1rem;
  }
  
  .logo img {
    height: 30px;
  }
}
/* Tablets and below (max-width: 991px) */
@media (max-width: 991px) {
  .nav-links {
    gap: 1rem;
  }
  
  .nav-links a {
    font-size: 0.9rem;
  }
  
  .logo {
    font-size: 1.2rem;
  }
  
  .logo img {
    height: 30px;
  }
}
/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .nav {
    gap: 1rem;
  }
  
  .nav-links {
    gap: 1rem;
    display: none;
  }
  .nav-links a {
    font-size: 0.9rem;
    padding: 0.5rem 0.2rem;
  }
  
  .nav-buttons {
    display: none;
  }
  
  .dropdown-menu {
    display: none;
  }
  
  /* Show mobile menu toggle */
  .menu-toggle {
    display: block;
  }
  
  /* Adjust logo size for mobile */
  .logo {
    font-size: 1.1rem;
  }
  
  .logo img {
    height: 28px;
  }
  
  .navbar .container {
    padding: 0 0.75rem;
  }
  .mobile-nav-links a {
    font-size: 1rem;
    /* Or use abbreviation */
    /* content: "Medical Travel"; */
  }
  
  /* Alternative: Show abbreviated version */
  .mobile-nav-links a[href="MedicalTravelAssistance.html"] {
    /* Uncomment below if you want to show different text */
    /* content: "Travel Assistance"; */
  }
}
/* Small phones (max-width: 480px) */
@media (max-width: 480px) {
  .logo {
    font-size: 0.9rem;
  }
  
  .logo img {
    height: 25px;
  }
  
  .menu-toggle {
    font-size: 1.2rem;
    padding: 0.3rem;
    min-width: 34px;
    min-height: 34px;
  }
  
  .mobile-nav-links a {
    font-size: 1rem;
    padding: 0.875rem;
  }
  .navbar {
    padding: 0.3rem 0;
    min-height: 52px;
  }
}
/* =========== FIX NAVBAR FOR SMALL DEVICES =========== */
@media (max-width: 480px) {
  .navbar .container {
    padding: 0 0.75rem;
  }
  
  .logo {
    font-size: 1rem;
  }
  
  .logo img {
    height: 26px;
  }
  
  .menu-toggle {
    font-size: 1.3rem;
    padding: 0.25rem;
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Ensure mobile menu is accessible */
  .mobile-menu {
    padding: 5rem 1rem 2rem;
  }
  
  .mobile-nav-links a {
    padding: 0.875rem;
    font-size: 1rem;
  }
  
  .mobile-nav-links .btn {
    padding: 0.875rem;
    font-size: 1rem;
  }
}

/* =========== BUTTONS =========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: var(--transition-medium);
  border: 2px solid transparent;
  font-size: 0.9rem; /* Smaller button text */
  text-align: center;
  white-space: nowrap;
  width: 100%;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--secondary-color);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-large {
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
}

/* =========== HERO SECTION =========== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 4rem 1rem 2.5rem;
  margin-top: 60px;
  overflow: hidden;
  text-align: center;
  width: 100%;
}

.hero-content {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 0 0.5rem;
  overflow: hidden;
}

.hero-title {
  font-size: 1.5rem; /* Much smaller for mobile */
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 600;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  padding: 0 0.25rem;
}

.hero-title span {
  color: var(--secondary-color);
  display: inline-block;
}

.hero-subtitle {
  font-size: 0.9rem; /* Smaller subtitle */
  margin-bottom: 1.5rem;
  opacity: 0.9;
  padding: 0 0.5rem;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-buttons .btn {
  max-width: 250px;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat {
  text-align: center;
  min-width: 80px;
}

.stat h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: var(--secondary-color);
}

.stat p {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-bottom: 0;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.hero-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 50px;
  transform: rotate(180deg);
}

.hero-wave svg path {
  fill: var(--white);
}

/* =========== FEATURES =========== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 0 1rem;
}

.feature-card {
  background: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-medium);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.3rem;
  color: var(--white);
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* =========== TREATMENTS =========== */
.treatments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.treatment-card {
  background: var(--white);
  padding: 1.25rem 0.875rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-medium);
  display: block;
  border: 1px solid transparent;
}

.treatment-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.treatment-icon {
  width: 45px;
  height: 45px;
  background: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.3rem;
  color: var(--primary-color);
}

.treatment-card h3 {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.treatment-card p {
  color: var(--text-light);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.treatment-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.8rem;
}

/* =========== COUNTRIES =========== */
.countries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
  padding: 0 1rem;
}

.country-card {
  background: var(--white);
  padding: 1.25rem 0.875rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-medium);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.country-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.country-card.highlighted {
  border-color: var(--primary-color);
}

.country-card.highlighted::before {
  content: 'Primary';
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary-color);
  color: var(--white);
  padding: 0.2rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 500;
  border-bottom-left-radius: var(--radius-sm);
}

.country-flag {
  width: 45px;
  height: 45px;
  background: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.3rem;
  color: var(--primary-color);
}

.country-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.country-card p {
  color: var(--text-light);
  font-size: 0.8rem;
  margin-bottom: 0;
  line-height: 1.4;
}

/* =========== TESTIMONIALS =========== */
.testimonials-swiper {
  padding: 0 1.5rem;
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  height: 100%;
  margin: 0 0.25rem;
}

.testimonial-content {
  position: relative;
  margin-bottom: 1rem;
}

.testimonial-content i {
  font-size: 1.3rem;
  color: var(--secondary-color);
  opacity: 0.3;
  position: absolute;
  top: 0;
  left: 0;
}

.testimonial-content p {
  padding-left: 1.75rem;
  font-style: italic;
  color: var(--text-color);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.testimonial-author h4 {
  color: var(--primary-color);
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.testimonial-author p {
  color: var(--text-light);
  font-size: 0.75rem;
  margin-bottom: 0;
}

/* Swiper Navigation */
.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  border: none;
}

.testimonials-swiper .swiper-button-next::after,
.testimonials-swiper .swiper-button-prev::after {
  font-size: 0.9rem;
  font-weight: bold;
}

.testimonials-swiper .swiper-button-prev {
  left: 0;
}

.testimonials-swiper .swiper-button-next {
  right: 0;
}

.testimonials-swiper .swiper-pagination {
  position: relative;
  margin-top: 1.25rem;
  bottom: 0;
}

.testimonials-swiper .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: var(--border-color);
  opacity: 1;
}

.testimonials-swiper .swiper-pagination-bullet-active {
  background: var(--primary-color);
}

/* =========== PARTNERS =========== */
.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
  align-items: center;
  padding: 0 1rem;
}

.partner-logo {
  height: 60px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--primary-color);
  box-shadow: var(--shadow-md);
  padding: 0.875rem;
  transition: var(--transition-medium);
  font-size: 0.85rem;
  text-align: center;
}
.partner-logo img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}
.partner-logo:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* =========== CTA SECTION =========== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 2.5rem 1rem;
}

.cta-content h2 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.cta-content p {
  font-size: 0.9rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 1.25rem;
  padding: 0 0.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.cta-buttons .btn {
  max-width: 250px;
  font-size: 0.9rem;
}

/* =========== WHATSAPP FLOAT =========== */
.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 50px;
  height: 50px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition-medium);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

/* =========== RESPONSIVE BREAKPOINTS =========== */

/* Extra small devices (max-width: 359px) */
@media (max-width: 359px) {
  html {
    font-size: 13px;
  }
  
  .container {
    padding: 0 0.75rem;
  }
  
  .logo {
    font-size: 1rem;
  }
  
  .logo img {
    height: 26px;
  }
  
  .hero-title {
    font-size: 1.4rem;
  }
  
  .hero-subtitle {
    font-size: 0.85rem;
  }
  
  .stat h3 {
    font-size: 1.3rem;
  }
  
  .stat {
    min-width: 70px;
  }
  
  .whatsapp-float {
    width: 45px;
    height: 45px;
    bottom: 1rem;
    right: 1rem;
    font-size: 1.2rem;
  }
}
/* Extra small phones */
@media (max-width: 360px) {
  .cta-section {
    padding: 1.75rem 0.5rem;
  }

  .cta-content h2 {
    font-size: 1.2rem;
  }

  .cta-content p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .cta-buttons {
    gap: 0.5rem;
  }

  .cta-buttons .btn {
    max-width: 240px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
}
/* Small phones (min-width: 360px) */
@media (min-width: 360px) {
  html {
    font-size: 15px;
  }
  
  .logo {
    font-size: 1.1rem;
  }
  
  .logo img {
    height: 30px;
  }
  
  .hero-title {
    font-size: 1.6rem;
  }
  
  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .countries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium phones (min-width: 480px) */
@media (min-width: 480px) {
  html {
    font-size: 16px;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .logo {
    font-size: 1.2rem;
  }
  
  .logo img {
    height: 32px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .btn {
    width: auto;
  }
  
  .hero-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .hero-buttons .btn {
    width: auto;
  }
  
  .cta-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .cta-buttons .btn {
    width: auto;
  }
  
  .testimonials-swiper {
    padding: 0 2.5rem;
  }
}

/* Tablets (min-width: 640px) */
@media (min-width: 640px) {
  .section {
    padding: 3.5rem 2rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .feature-card h3 {
    font-size: 1.1rem;
  }
  
  .feature-card p {
    font-size: 0.9rem;
  }
  
  .treatments-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  
  .treatment-card h3 {
    font-size: 1rem;
  }
  
  .countries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .partner-logo {
    font-size: 0.9rem;
  }
  
  
}

/* Large Tablets (min-width: 768px) */
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
  
  .mobile-menu {
    display: none;
  }
  
  .nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  
  .nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }
  
  .nav-links a {
    font-weight: 500;
    color: var(--text-color);
    padding: 0.5rem 0;
    position: relative;
    font-size: 0.95rem;
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--primary-color);
  }
  
  .nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
  }
  
  .dropdown {
    position: relative;
  }
  
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 180px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-medium);
    z-index: 100;
    display: block;
  }
  
  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-color);
    font-weight: 400;
    font-size: 0.9rem;
  }
  
  .dropdown-menu a:hover {
    background: var(--light-color);
    color: var(--primary-color);
  }
  
  .nav-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-left: 1rem;
  }
  
  .logo {
    font-size: 1.3rem;
  }
  
  .logo img {
    height: 35px;
  }
  
  .hero {
    padding: 6rem 2rem 4rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-wave svg {
    height: 80px;
  }
  
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .treatment-card {
    padding: 1.5rem 1rem;
  }
  
  .treatment-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .country-card {
    padding: 1.5rem;
  }
  
  .country-flag {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .testimonials-swiper {
    padding: 0 3rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .testimonial-content p {
    font-size: 0.9rem;
  }
  
  .cta-content h2 {
    font-size: 1.8rem;
  }

}
/* =========== IMPROVED CTA SECTION FOR MOBILE =========== */
@media (max-width: 768px) {
  .cta-section {
    padding: 2rem 0.75rem;
  }

  .cta-content {
    text-align: center;
  }

  .cta-content h2 {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    padding: 0 0.5rem;
  }

  .cta-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    padding: 0 0.5rem;
  }

  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
    justify-content: center;
  }

  .cta-buttons .btn i {
    font-size: 1.1rem;
  }
}
/* =========== ADDITIONAL FIXES FOR CONTACT INFO ON MOBILE =========== */
@media (max-width: 768px) {
  .footer-col .contact-info {
    display: flex;
    flex-direction: column;
  }

  .contact-info li {
    display: flex;
    align-items: flex-start;
    word-break: break-word;
  }

  .contact-info li span {
    display: inline-block;
    word-break: break-word;
  }

  /* Ensure phone numbers don't overflow */
  .contact-info li span br {
    display: none; /* Hide line break on mobile */
  }

  .contact-info li span {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
}

/* Desktop (min-width: 1024px) */
@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
  
  .section {
    padding: 4rem 2rem;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .section-header p {
    font-size: 1.05rem;
  }
  
  .logo {
    font-size: 1.4rem;
  }
  
  .logo img {
    height: 38px;
  }
  
  .hero {
    padding: 7rem 2rem 5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.15rem;
  }
  
  .hero-wave svg {
    height: 100px;
  }
  
  .treatments-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
  }
  
  .countries-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }
  
  .partners-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.75rem;
  }
  
  .partner-logo {
    height: 70px;
    font-size: 1rem;
  }
}

/* Large Desktop (min-width: 1200px) */
@media (min-width: 1200px) {
  html {
    font-size: 17px;
  }
  
  .hero-wave svg {
    height: 120px;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .logo img {
    height: 40px;
  }
  
  .footer-logo {
    font-size: 1.5rem;
  }
  
  .footer-logo img {
    height: 38px;
  }
}

/* Landscape mode on phones */
@media (max-height: 600px) and (orientation: landscape) and (max-width: 768px) {

  .cta-section {
    padding: 1.5rem 0.75rem;
  }

  .cta-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .cta-buttons .btn {
    width: auto;
    min-width: 200px;
  }
}
/* Landscape orientation for phones */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    padding: 4rem 1rem 2rem;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .hero-buttons {
    flex-direction: row;
    margin-bottom: 1rem;
  }
  
  .hero-stats {
    margin-top: 1rem;
    gap: 1rem;
  }
  
  .mobile-menu {
    padding-top: 60px;
  }
  
  .mobile-nav-links {
    padding: 1rem 1.5rem;
  }
}


/* =========== EXTREME SMALL DEVICE FIXES =========== */
@media (max-width: 359px) {
  /* Page header fixes */
  .page-header {
    padding: 4rem 0.5rem 2rem;
    margin-top: 50px;
  }
  
  .page-header h1 {
    font-size: 1.4rem;
    padding: 0 0.5rem;
  }
  
  .page-header p {
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }
  
  .breadcrumb {
    font-size: 0.8rem;
    gap: 0.25rem;
    padding: 0 0.5rem;
  }
  
  /* Mission statement fixes */
  .mission-statement {
    padding: 2rem 0.5rem;
  }
  
  .mission-icon {
    font-size: 2rem;
  }
  
  .mission-content h2 {
    font-size: 1.3rem;
  }
  
  .mission-content .highlight {
    font-size: 1rem;
    padding: 0.75rem;
    margin: 1rem 0;
  }
  
  /* Process section fixes */
  .process-step {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .step-number::after {
    width: 16px;
    height: 16px;
    bottom: -4px;
    right: -4px;
  }
  
  .step-content {
    padding: 1rem;
  }
  
  .step-content h3 {
    font-size: 1.1rem;
  }
  
  .step-details {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  /* Stats fixes */
  .mission-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .mission-stat {
    padding: 1rem;
  }
  
  .mission-stat h3 {
    font-size: 1.5rem;
  }
  
  /* Timeline fixes */
  .story-timeline::before {
    left: 15px;
  }
  
  .timeline-item {
    padding-left: 40px;
  }
  
  .timeline-dot {
    left: 8px;
    width: 16px;
    height: 16px;
  }
  
  .timeline-content {
    padding: 1rem;
  }
  
  /* Team section fixes */
  .team-image {
    height: 200px;
  }
  
  /* FAQ fixes */
  .accordion-header {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .accordion-header i {
    font-size: 0.9rem;
  }
  
  /* CTA button fixes */
  .cta-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 100%;
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
  }
}

/* =========== VERY SMALL HEIGHT DEVICES =========== */
@media (max-height: 600px) and (orientation: landscape) {
  .page-header {
    padding: 4rem 1rem 2rem;
  }
  
  .mission-statement {
    padding: 1.5rem 0.5rem;
  }
  
  .process-section {
    padding: 2rem 0.5rem;
  }
  
  .process-step {
    margin-bottom: 1.5rem;
  }
  
  .mobile-menu {
    padding-top: 50px;
    padding-bottom: 1rem;
  }
}

/* =========== ENSURE MENU TOGGLE APPEARS =========== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10001 !important;
  }
  
  .nav-links {
    display: none !important;
  }
  
  .nav-buttons {
    display: none !important;
  }
  
  .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 9999;
    overflow-y: auto;
  }
  
  .mobile-menu.active {
    display: block !important;
  }
}

/* =========== FIX FOR BUTTONS ON EXTREME SMALL =========== */
@media (max-width: 359px) {
  .btn {
    min-height: 44px; /* Minimum touch target size */
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  .btn-large {
    padding: 0.625rem 1rem;
  }
  
  /* Ensure buttons are visible and clickable */
  .hero-buttons .btn,
  .cta-buttons .btn {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
}

/* =========== FIX PAGE HEADER FOR SMALL DEVICES =========== */
@media (max-width: 480px) {
  .page-header {
    padding: 5rem 0.75rem 2.5rem;
  }
  
  .page-header h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }
  
  .page-header p {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  /* Ensure mission statement is readable */
  .mission-statement {
    padding: 2rem 0.75rem;
  }
  
  .mission-content .highlight {
    font-size: 1.1rem;
    line-height: 1.4;
    padding: 0.875rem;
  }
}

/* Phone numbers styling */
.contact-info .phone-numbers {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

@media (max-width: 768px) {
  .contact-info .phone-numbers {
    gap: 0.15rem;
  }
}

/* =========== FOOTER =========== */
.footer {
  background: var(--text-color);
  color: var(--white);
  padding: 3rem 1rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 32px;
  width: auto;
}

.footer-logo span {
  color: var(--secondary-color);
}

.footer-description {
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary-color);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul a {
  color: #9ca3af;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.footer-col ul a:hover {
  color: var(--white);
  transform: translateX(5px);
}

/* Contact Info */
.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-info i {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-top: 0.2rem;
  min-width: 20px;
}

.phone-numbers {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.85rem;
}

/* =========== MOBILE FOOTER (max-width: 768px) =========== */
@media (max-width: 768px) {
  .footer {
    padding: 2rem 0.9rem 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Center align all footer content on mobile */
  .footer-col {
    text-align: left;
    width: 100%;
  }

  /* First column - Logo and description */
  .footer-col:first-child {
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .footer-logo {
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.4rem;
  }

  .footer-logo img {
    height: 35px;
  }

  .footer-description {
    max-width: 100%;
    margin: 0 auto 1rem;
    text-align: center;
    padding: 0 0.5rem;
  }

  /* Section headers with centered underline */
  .footer-col h4 {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
  }

  /* Center list items */
  .footer-col ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .footer-col ul li {
    margin-bottom: 0;
    text-align: center;
  }

  .footer-col ul a {
    font-size: 1rem;
    padding: 0.3rem 0;
  }

  .footer-col ul a:hover {
    transform: translateX(0) scale(1.05);
  }

  /* Contact info - keep left aligned for better readability */
  .footer-col:last-child {
    text-align: left;
  }

  .footer-col:last-child h4 {
    text-align: center;
  }

  .contact-info {
    max-width: 300px;
    margin: 0 auto;
  }

  .contact-info li {
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .contact-info i {
    font-size: 1.2rem;
    min-width: 24px;
  }

  .contact-info span,
  .phone-numbers span {
    font-size: 0.95rem;
  }

  .phone-numbers {
    gap: 0.35rem;
  }

  /* Footer bottom */
  .footer-bottom {
    padding-top: 1.5rem;
    margin-top: 1rem;
  }

  .footer-bottom p {
    font-size: 0.8rem;
    line-height: 1.5;
    padding: 0 0.5rem;
  }
}

/* =========== SMALL MOBILE (max-width: 480px) =========== */
@media (max-width: 480px) {
  .footer {
    padding: 2rem 0.75rem 1rem;
  }

  .footer-grid {
    gap: 1.75rem;
  }

  .footer-logo {
    font-size: 1.3rem;
  }

  .footer-logo img {
    height: 30px;
  }

  .footer-description {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
  }

  .footer-col h4::after {
    width: 45px;
    height: 2px;
  }

  .footer-col ul a {
    font-size: 0.95rem;
  }

  .contact-info {
    max-width: 280px;
  }

  .contact-info li {
    gap: 0.75rem;
  }

  .contact-info i {
    font-size: 1.1rem;
    min-width: 22px;
  }

  .contact-info span,
  .phone-numbers span {
    font-size: 0.9rem;
  }

  .footer-bottom p {
    font-size: 0.75rem;
  }
}

/* =========== EXTRA SMALL (max-width: 360px) =========== */
@media (max-width: 360px) {
  .footer {
    padding: 1.75rem 0.5rem 0.75rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .footer-logo {
    font-size: 1.2rem;
  }

  .footer-logo img {
    height: 26px;
  }

  .footer-description {
    font-size: 0.85rem;
  }

  .footer-col h4 {
    font-size: 1rem;
  }

  .footer-col ul a {
    font-size: 0.9rem;
  }

  .contact-info {
    max-width: 260px;
  }

  .contact-info li {
    gap: 0.6rem;
  }

  .contact-info i {
    font-size: 1rem;
    min-width: 20px;
  }

  .contact-info span,
  .phone-numbers span {
    font-size: 0.85rem;
  }

  .footer-bottom p {
    font-size: 0.7rem;
  }
}

/* =========== LANDSCAPE MODE =========== */
@media (max-height: 600px) and (orientation: landscape) and (max-width: 768px) {
  .footer {
    padding: 1.5rem 1rem;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-col:first-child {
    grid-column: span 2;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-description {
    max-width: 80%;
  }

  .footer-col h4 {
    text-align: center;
  }

  .footer-col ul {
    align-items: center;
  }

  .contact-info {
    margin: 0 auto;
  }
}

/* =========== TABLET (min-width: 769px) and (max-width: 1024px) =========== */
@media (min-width: 769px) and (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .footer-col:first-child {
    grid-column: span 2;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-description {
    max-width: 500px;
    margin: 0 auto 1rem;
    text-align: center;
  }

  .footer-col h4 {
    text-align: center;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-col ul {
    align-items: center;
    text-align: center;
  }

  .contact-info {
    max-width: 300px;
    margin: 0 auto;
  }
}
/* =========== PREVENT TEXT OVERFLOW =========== */
.page-header h1,
.mission-content h2,
.section-header h2,
.step-content h3,
.value-card h3,
.timeline-content h3,
.team-info h3,
.accordion-header span {
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Partner Hospitals Section */
.partners-section {
  padding: 4rem 1rem;
  background: var(--light-color);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.partner-logo {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-medium);
  border: 2px solid transparent;
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.partner-logo img {
  max-width: 150px;
  max-height: 80px;
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
}

.partner-info h4 {
  color: var(--primary-color);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.partner-info p {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 0;
}

.section-footer {
  margin-top: 2rem;
  text-align: center;
}

.section-footer p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Small device adjustments */
@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .partner-logo {
    padding: 1rem;
  }
  
  .partner-logo img {
    max-width: 120px;
  }
}
/* Hospital Detail Page Styles */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb span {
    color: #2c3e50;
    font-weight: 500;
}

.hospital-detail-container {
    padding: 40px 0;
}

.hospital-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.hospital-banner {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.hospital-banner img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.hospital-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #e74c3c;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.hospital-info h1 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 2.2rem;
}

.hospital-rating {
    margin-bottom: 20px;
}

.stars {
    color: #f39c12;
    font-size: 1.2rem;
}

.stars span {
    color: #666;
    font-size: 1rem;
    margin-left: 10px;
}

.hospital-meta {
    display: flex;
    gap: 30px;
    margin: 25px 0;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
}

.meta-item i {
    color: #3498db;
}

.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.specialty-tag {
    background: #e8f4fc;
    color: #3498db;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Detail Grid */
.hospital-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.detail-tabs {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
    overflow-x: auto;
}

.tab-btn {
    padding: 15px 30px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
}

.tab-btn.active {
    color: #3498db;
    border-bottom: 3px solid #3498db;
    margin-bottom: -2px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Sidebar Cards */
.sidebar-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.sidebar-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.btn-primary {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin: 15px 0;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #2980b9;
}

.contact-info {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #555;
}

.contact-info p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #3498db;
}

/* Responsive */
@media (max-width: 992px) {
    .hospital-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hospital-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hospital-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .detail-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
}


/* contact.css - Contact Page Specific Styles */

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-primary.btn-hero {
    background: white;
    color: #3498db;
    border: 2px solid white;
}

.btn-primary.btn-hero:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.btn-secondary.btn-hero {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary.btn-hero:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Contact Container */
.contact-container {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Info Card */
.contact-info-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: fit-content;
}

.contact-info-card h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.contact-info-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.contact-method:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    background: #e8f4fc;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: #3498db;
}

.contact-details h3 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.contact-details p {
    color: #666;
    margin-bottom: 5px;
    font-size: 1rem;
    line-height: 1.5;
}

.contact-details a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.contact-hours {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 10px;
}

.contact-hours p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #555;
}

.contact-hours p:last-child {
    margin-bottom: 0;
}

/* Contact Form Card */
.contact-form-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.form-description {
    color: #666;
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.consent-group {
    margin-top: 20px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
    color: #555;
}

.consent-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.consent-label a {
    color: #3498db;
    text-decoration: none;
}

.consent-label a:hover {
    text-decoration: underline;
}

.submit-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.submit-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Success Message */
.success-message {
    display: none;
    background: #2ecc71;
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Emergency Banner */
.emergency-banner {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin: 40px auto;
    text-align: center;
    max-width: 1200px;
}

.emergency-banner h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.emergency-number {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.emergency-number i {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.emergency-note {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 10px;
}

/* Map Section */
.map-section {
    padding: 60px 0;
    background: white;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 400px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #3498db;
}

.map-placeholder h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 300px;
}

.map-overlay h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.map-overlay p {
    margin-bottom: 8px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-overlay i {
    color: #3498db;
    min-width: 20px;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
    font-size: 2.5rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-item h4 {
    color: #3498db;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* =========== FOOTER - ULTRA COMPACT FOR SMALL MOBILE =========== */
.footer {
    background: var(--text-color);
    color: var(--white);
    padding: 1.25rem 0.75rem 0.75rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-col {
    text-align: center;
    width: 100%;
}

/* Logo Section - More Compact */
.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.footer-logo img {
    height: 22px;
    width: auto;
}

.footer-logo span {
    color: var(--secondary-color);
}

.footer-description {
    color: #9ca3af;
    font-size: 0.75rem;
    line-height: 1.3;
    margin: 0 auto 0.5rem;
    max-width: 280px;
    text-align: center;
}

/* Headers - Minimal Spacing */
.footer-col h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.4rem 0;
    padding-bottom: 0.25rem;
    position: relative;
    text-align: center;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
}

/* Lists - Tight and Compact */
.footer-col ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
}

.footer-col ul a {
    color: #9ca3af;
    font-size: 0.75rem;
    text-decoration: none;
    display: inline-block;
    padding: 0.15rem 0;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.footer-col ul a:hover {
    color: var(--white);
}

/* Contact Info - Left Aligned for Readability */
.footer-col:last-child {
    text-align: left;
}

.footer-col:last-child h4 {
    text-align: center;
}

.contact-info {
    max-width: 240px;
    margin: 0 auto;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
    color: #9ca3af;
    font-size: 0.75rem;
    line-height: 1.2;
    justify-content: flex-start;
}

.contact-info i {
    color: var(--secondary-color);
    font-size: 0.8rem;
    min-width: 16px;
    text-align: center;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.phone-numbers span {
    font-size: 0.75rem;
    line-height: 1.2;
}

/* Footer Bottom - Minimal */
.footer-bottom {
    text-align: center;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    font-size: 0.6rem;
    line-height: 1.2;
}

.footer-bottom p {
    margin: 0;
    padding: 0 0.25rem;
}

/* =========== RESPONSIVE BREAKPOINTS =========== */

/* 360px and up - Slightly larger */
@media (min-width: 360px) {
    .footer {
        padding: 1.5rem 0.75rem 0.75rem;
    }
    
    .footer-logo {
        font-size: 1.2rem;
    }
    
    .footer-logo img {
        height: 24px;
    }
    
    .footer-description {
        font-size: 0.8rem;
        max-width: 300px;
    }
    
    .footer-col h4 {
        font-size: 0.95rem;
    }
    
    .footer-col ul a {
        font-size: 0.8rem;
    }
    
    .contact-info li {
        font-size: 0.8rem;
    }
    
    .phone-numbers span {
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        font-size: 0.65rem;
    }
}

/* 375px and up - iPhone SE/6/7/8 */
@media (min-width: 375px) {
    .footer {
        padding: 1.75rem 1rem 0.875rem;
    }
    
    .footer-grid {
        gap: 1.25rem;
    }
    
    .footer-description {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-info {
        max-width: 280px;
    }
}

/* 390px and up - iPhone 12/13/14 */
@media (min-width: 390px) {
    .footer-description {
        max-width: 320px;
    }
    
    .contact-info {
        max-width: 300px;
    }
}

/* 412px and up - Samsung Galaxy */
@media (min-width: 412px) {
    .footer-col ul a {
        font-size: 0.85rem;
    }
    
    .contact-info li {
        font-size: 0.85rem;
    }
}

/* 480px and up - Small tablets */
@media (min-width: 480px) {
    .footer {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-grid {
        gap: 1.5rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
        max-width: 100%;
    }
}

/* 640px and up - Tablets */
@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-col:first-child {
        grid-column: span 2;
    }
    
    .footer-col h4 {
        text-align: left;
    }
    
    .footer-col h4::after {
        left: 0;
        transform: none;
    }
    
    .footer-col ul {
        align-items: flex-start;
    }
    
    .footer-col ul li {
        text-align: left;
    }
    
    .footer-col:last-child {
        text-align: left;
    }
    
    .contact-info {
        max-width: 100%;
        margin: 0;
    }
    
    .contact-info li {
        justify-content: flex-start;
    }
}

/* 768px and up - Large tablets */
@media (min-width: 768px) {
    .footer {
        padding: 2.5rem 1.5rem 1.25rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .footer-col:first-child {
        grid-column: span 1;
    }
    
    .footer-logo {
        justify-content: flex-start;
    }
    
    .footer-description {
        text-align: left;
    }
}

/* 1024px and up - Desktop */
@media (min-width: 1024px) {
    .footer {
        padding: 3rem 2rem 1.5rem;
    }
    
    .footer-grid {
        gap: 3rem;
    }
    
    .footer-description {
        font-size: 0.95rem;
    }
    
    .footer-col h4 {
        font-size: 1.1rem;
    }
    
    .footer-col ul a {
        font-size: 0.9rem;
    }
}

/* Extra Small (max-width: 320px) - iPhone 5/SE */
@media (max-width: 320px) {
    .footer {
        padding: 1rem 0.5rem 0.5rem;
    }
    
    .footer-grid {
        gap: 0.85rem;
    }
    
    .footer-logo {
        font-size: 1rem;
        gap: 0.25rem;
    }
    
    .footer-logo img {
        height: 18px;
    }
    
    .footer-description {
        font-size: 0.7rem;
        line-height: 1.2;
        margin-bottom: 0.4rem;
    }
    
    .footer-col h4 {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
        padding-bottom: 0.2rem;
    }
    
    .footer-col h4::after {
        width: 25px;
        height: 1.5px;
    }
    
    .footer-col ul a {
        font-size: 0.7rem;
        padding: 0.1rem 0;
    }
    
    .contact-info {
        max-width: 220px;
    }
    
    .contact-info li {
        gap: 0.35rem;
        margin-bottom: 0.25rem;
        font-size: 0.7rem;
    }
    
    .contact-info i {
        font-size: 0.7rem;
        min-width: 14px;
    }
    
    .phone-numbers span {
        font-size: 0.7rem;
    }
    
    .footer-bottom {
        font-size: 0.55rem;
        padding-top: 0.35rem;
        margin-top: 0.35rem;
    }
}

/* Landscape mode */
@media (max-height: 600px) and (orientation: landscape) and (max-width: 768px) {
    .footer {
        padding: 0.75rem 0.75rem 0.5rem;
    }
    
    .footer-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .footer-col:first-child {
        grid-column: span 2;
    }
    
    .footer-description {
        max-width: 80%;
        margin-bottom: 0.25rem;
    }
    
    .footer-col ul {
        gap: 0.1rem;
    }
}