/* ===========================
   Global Styles
=========================== */
:root {
  --primary-color: #005B96;
  --secondary-color: #0277BD;
  --accent-color: #00BCD4;
  --text-color: #222;
  --bg-color: #f8fafc;
  --font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --white: #ffffff;
  --light-blue: #e9f3ff;
  --dark-blue: #004B70;
  --whatsapp-green: #25d366;
  --gold: #FFD700;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* ===========================
   Accessibility Styles
=========================== */
/* Skip Navigation Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  z-index: 1000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 6px;
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* Enhanced Focus Styles */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
iframe:focus,
[tabindex]:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Focus styles for buttons and interactive elements */
.btn-call:focus,
.btn-visit:focus,
.whatsapp-float:focus,
.social-link:focus,
.footer-links a:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
}

/* Ensure focus is visible on navigation items */
.nav-contact a:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 1px;
  border-radius: 3px;
}

/* Service cards focus */
.service-card:focus,
.info-card:focus,
.review-card:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 188, 212, 0.3);
}

/* ===========================
   Icon Styles
=========================== */
.icon-accent {
  color: var(--accent-color);
}

/* ===========================
   Header / Hero
=========================== */
header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

/* Navigation Styles */
.top-nav {
  background: rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.clinic-logo {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: brightness(1.1);
  border-radius: 6px;
  transition: all 0.3s ease;
  transform: scale(1);
}

.clinic-name-nav {
  border-left: 2px solid rgba(255,255,255,0.3);
  padding-left: 15px;
}

.clinic-name-nav h1 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
  color: white;
}

.clinic-name-nav p {
  font-size: 0.85rem;
  margin: 0;
  opacity: 0.9;
  color: var(--accent-color);
  font-weight: 500;
}

.nav-contact {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 0.9rem;
}

.nav-contact-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-contact-item a {
  color: white;
  text-decoration: none;
}

/* Hero Content */
.hero-content {
  padding: 40px 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.hero-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-container {
  max-width: 1200px;
  margin: auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 25px;
}

.hero-left, .hero-right {
  opacity: 0.9;
}

.hero-left {
  text-align: left;
}

.hero-right {
  text-align: right;
}

.hero-center {
  text-align: center;
}

.hero-card {
  background: rgba(255,255,255,0.1);
  padding: 25px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  margin-bottom: 20px;
}

.hero-card-small {
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.hero-card h4 {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.hero-card-small h4 {
  color: var(--accent-color);
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
}

.hero-card li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-right li {
  justify-content: flex-end;
}

.hero-card-small p {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* Doctor Image */
.doctor-frame {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
  padding: 8px;
  margin: auto;
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.doctor-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.doctor-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  color: white;
  padding: 10px 15px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Doctor Info */
.doctor-name {
  font-size: 2.8rem;
  margin-bottom: 6px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.doctor-title {
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 10px;
  opacity: 0.9;
}

.clinic-name {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 15px;
  color: var(--accent-color);
  white-space: nowrap;
}

.doctor-description {
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 20px;
  line-height: 1.5;
  opacity: 0.95;
}

/* Contact Buttons */
.contact-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 15px;
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--dark-blue), var(--secondary-color));
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0,75,112,0.3);
  transition: all 0.3s ease;
}

.btn-visit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.3s ease;
}

.btn-call:hover, .btn-visit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,75,112,0.4);
}

/* Stats Section */
.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 25px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===========================
   Main Content Section
=========================== */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 25px 20px;
}

.section {
  margin-bottom: 25px;
}

.section h2 {
  margin-bottom: 12px;
}

.section p {
  margin-bottom: 0;
}

.services-section {
  margin-bottom: 25px;
}

.services-section h2 {
  margin-bottom: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

/* ===========================
   Clinic Section
=========================== */
.clinic-section {
  margin-top: 30px;
  background: linear-gradient(135deg, #f8fafc 0%, #e9f3ff 100%);
  padding: 50px 0;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.clinic-section-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(0, 188, 212, 0.03) 0%, transparent 50%), 
                    radial-gradient(circle at 80% 20%, rgba(2, 119, 189, 0.03) 0%, transparent 50%);
}

.clinic-container {
  max-width: 1000px;
  margin: auto;
  padding: 0 20px;
  position: relative;
}

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

.clinic-header h2 {
  color: #004B70;
  font-size: 2.2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.clinic-header p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.clinic-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.info-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,75,112,0.1);
  text-align: center;
  border: 1px solid rgba(0,188,212,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-container {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #005B96, #0277BD);
  border-radius: 20px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,91,150,0.3);
}

.info-card h3 {
  color: #004B70;
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 600;
}

.info-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,75,112,0.1);
  text-align: center;
  border: 1px solid rgba(0,188,212,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,75,112,0.15);
}

.icon-container {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #005B96, #0277BD);
  border-radius: 20px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,91,150,0.3);
}

.info-card h3 {
  color: #004B70;
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 600;
}

.clinic-hours {
  background: rgba(0,188,212,0.1);
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.clinic-hours p {
  margin: 0;
  color: #004B70;
  line-height: 1.8;
  font-weight: 500;
}

.clinic-hours .day-block {
  display: block;
  margin-bottom: 5px;
}

.time-slot {
  color: #0277BD;
}

.sunday-hours {
  background: rgba(255,107,107,0.1);
  padding: 10px;
  border-radius: 12px;
}

.sunday-hours p {
  margin: 0;
  color: #004B70;
  font-weight: 500;
}

.sunday-time {
  color: #FF6B6B;
}

.icon-container-accent {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #00BCD4, #0277BD);
  border-radius: 20px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,188,212,0.3);
}

/* Clinic Image Hover Effect */
.media-card:hover .clinic-image {
  transform: scale(1.05);
}

.media-card:hover .image-overlay,
.media-card:hover .map-overlay,
.media-card:hover .map-hover-overlay {
  opacity: 1;
}

.media-card:hover iframe {
  filter: contrast(1.1) saturate(1.2) brightness(0.8);
  transform: scale(1.02);
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,75,112,0.15);
}

/* ===========================
   Patient Testimonials Section
=========================== */
.testimonials-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e9f3ff 100%);
  padding: 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.testimonials-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(0, 188, 212, 0.02) 0%, transparent 50%), 
                    radial-gradient(circle at 80% 20%, rgba(2, 119, 189, 0.02) 0%, transparent 50%);
}

.testimonials-container {
  max-width: 1000px;
  margin: auto;
  position: relative;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 35px;
}

.testimonials-header h2 {
  color: #004B70;
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.testimonials-header p {
  color: #666;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 25px;
  line-height: 1.6;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid rgba(0,188,212,0.2);
  border-radius: 50px;
  padding: 15px 25px;
  box-shadow: 0 8px 25px rgba(0,75,112,0.1);
  margin-bottom: 15px;
}

.rating-stars {
  display: flex;
  gap: 2px;
}

.rating-star {
  font-size: 1.2rem;
  color: var(--gold);
}

.rating-text {
  border-left: 2px solid rgba(0,188,212,0.3);
  padding-left: 12px;
}

.rating-text .score {
  color: #004B70;
  font-weight: 700;
  font-size: 1.1rem;
}

.rating-text .label {
  color: #666;
  font-size: 0.95rem;
  margin-left: 5px;
}

.verified-text {
  color: #004B70;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.8;
}

/* Review Cards */
.review-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  text-align: left;
  margin-bottom: 40px;
}

.review-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,75,112,0.08);
  border: 1px solid rgba(0,188,212,0.1);
  transition: all 0.3s ease;
  position: relative;
}

.verified-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0,188,212,0.1);
  padding: 8px 12px;
  border-radius: 20px;
}

.verified-badge span {
  font-size: 0.8rem;
  color: #004B70;
  font-weight: 600;
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 15px;
}

.review-star {
  font-size: 1.2rem;
  color: var(--gold);
}

.review-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00BCD4, #0277BD);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.author-info .name {
  font-size: 0.95rem;
  color: #004B70;
  margin: 0;
  font-weight: 600;
}

.author-info .source {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}

/* ===========================
   WhatsApp Floating Button
=========================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--whatsapp-green);
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 28px;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  border: 3px solid rgba(255,255,255,0.2);
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  animation: none;
}

@keyframes whatsapp-pulse {
  0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6); }
  100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}

/* Mobile WhatsApp Button */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
  
  .hero-content {
    padding: 20px 15px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 20px;
  }
  
  .hero-left,
  .hero-right {
    text-align: center;
    order: 2;
  }
  
  .hero-center {
    order: 1;
  }
  
  .hero-left > div,
  .hero-right > div {
    padding: 20px;
    margin-bottom: 15px;
  }
  
  .doctor-frame {
    width: 150px;
    height: 150px;
    margin-bottom: 15px;
  }
  
  .doctor-badge {
    bottom: 10px;
    right: 10px;
    padding: 8px 12px;
    font-size: 0.75rem;
  }
  
  .doctor-name {
    font-size: 2rem;
    margin-bottom: 8px;
  }
  
  .doctor-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
}

/* ===========================
   Footer Section
=========================== */
.footer {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(0, 188, 212, 0.05) 0%, transparent 50%), 
                    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px 30px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}

.footer-section {
  text-align: left;
}

.footer-section h3 {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.4;
}

.clinic-info {
  line-height: 1.8;
}

.clinic-info .logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-logo {
  height: 50px;
  width: auto;
  border-radius: 8px;
  filter: brightness(1.1);
}

.clinic-info .clinic-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin: 0;
  line-height: 1.3;
}

.clinic-info .clinic-subtitle {
  font-size: 0.9rem;
  color: var(--accent-color);
  margin: 0;
  line-height: 1.3;
}

.clinic-info .description {
  margin: 15px 0;
  opacity: 0.9;
  line-height: 1.6;
  font-size: 0.95rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
  line-height: 1.5;
}

.contact-item:hover {
  opacity: 1;
}

.contact-item .icon {
  color: var(--accent-color);
  font-size: 1.1rem;
  width: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.9;
  transition: all 0.3s ease;
  display: block;
  padding: 4px 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.footer-links a:hover {
  color: var(--accent-color);
  opacity: 1;
  padding-left: 8px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 188, 212, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  position: relative;
}

.footer-bottom p {
  margin: 0;
  opacity: 0.8;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-bottom .made-with {
  margin-top: 8px;
  font-size: 0.85rem;
  opacity: 0.6;
}

.footer-bottom .made-with .heart {
  color: #ff4757;
  animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
  0%, 50%, 100% { transform: scale(1); }
  25%, 75% { transform: scale(1.1); }
}

/* Mobile Footer */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left;
  }
  
  .footer-content {
    padding: 40px 20px 20px;
  }
  
  .clinic-info .logo-section {
    justify-content: flex-start;
  }
  
  .social-links {
    justify-content: flex-start;
  }
  
  .footer-section {
    text-align: left;
  }
  
  .footer-bottom {
    text-align: center;
  }
}

/* ===========================
   Decorative Elements
=========================== */
.header-decoration-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.header-decoration-left {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(0,188,212,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

/* Logo Hover Effects */
.nav-logo:hover .clinic-logo {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.nav-logo:hover .clinic-name-nav h1 {
  color: var(--accent-color);
  transition: color 0.3s ease;
}

.nav-logo:hover .clinic-name-nav p {
  color: white;
  transition: color 0.3s ease;
}

/* Hero Content Animations */
.hero-content {
  animation: fadeInUp 1.2s ease;
}

/* Professional Doctor Image Styling */
.hero-content img[alt*="Dr. Shivsagar"] {
  transition: all 0.4s ease;
}

.hero-content img[alt*="Dr. Shivsagar"]:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4) !important;
}

/* Stats hover effects */
.hero-content div[style*="grid-template-columns"] > div:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

header h2 {
  font-weight: 300;
  margin-bottom: 0.5rem;
  color: white;
  opacity: 0.9;
}

header h3 {
  color: var(--accent-color);
  font-weight: 500;
}

header p {
  font-size: 1.1rem;
  margin-top: 1rem;
  line-height: 1.6;
  opacity: 0.95;
}

header a {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  margin: 0.3rem;
  transition: all 0.3s ease;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
}

header a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

header a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

header a:hover::before {
  left: 100%;
}

header a:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ===========================
   Specific Button Styles
=========================== */
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #128C7E 0%, #075E54 100%) !important;
  transform: translateY(-3px) scale(1.05);
}

.btn-call {
  background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%) !important;
}

.btn-call:hover {
  background: linear-gradient(135deg, #FF5252 0%, #26A69A 100%) !important;
  transform: translateY(-3px) scale(1.05);
}

/* ===========================
   Reviews Button
=========================== */
.btn-reviews {
  background: linear-gradient(135deg, #0277BD 0%, #004B70 100%) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

.btn-reviews:hover {
  background: linear-gradient(135deg, #004B70 0%, #002A3A 100%) !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 6px 20px rgba(2, 119, 189, 0.4) !important;
}

.btn-reviews::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent) !important;
  transition: left 0.5s ease !important;
}

.btn-reviews:hover::before {
  left: 100% !important;
}

/* ===========================
   Logo Animations
=========================== */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* ===========================
   Main Sections
=========================== */
main {
  max-width: 1100px;
  margin: auto;
  padding: 25px 20px;
}

section {
  margin-bottom: 30px;
}

h2 {
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: center;
  font-size: 1.8rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.grid div {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e1e8f0;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.grid div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.grid div:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 91, 150, 0.15);
  border-color: var(--primary-color);
}

.grid div:hover::before {
  transform: scaleX(1);
}

.grid div h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.grid div:hover h3 {
  color: var(--secondary-color);
}

.grid div p {
  color: #666;
  margin-bottom: 0;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.grid div:hover p {
  color: #444;
}

/* ===========================
   Service Cards Specific Styling
=========================== */
.service-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
  opacity: 0.1;
}

.service-card:hover::after {
  transform: scale(1);
}

/* Add icons for each service type */
.service-card:nth-child(1) h3::before {
  content: "👨‍⚕️ ";
}

.service-card:nth-child(2) h3::before {
  content: "🩺 ";
}

.service-card:nth-child(3) h3::before {
  content: "🏥 ";
}

.service-card:nth-child(4) h3::before {
  content: "❤️ ";
}

/* ===========================
   Clinic / Contact Section
=========================== */
#contact img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  transition: transform 0.3s ease;
}

#contact img:hover {
  transform: scale(1.02);
}

#contact a {
  color: var(--secondary-color);
  text-decoration: none;
}

#contact a:hover {
  text-decoration: underline;
}

/* ===========================
   Enhanced Clinic Section
=========================== */
.clinic-section {
  position: relative;
  overflow: hidden;
}

.clinic-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.info-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
  border-color: var(--primary-color) !important;
}

.info-card .icon-container {
  transition: transform 0.3s ease;
}

.info-card:hover .icon-container {
  transform: scale(1.1) rotate(5deg);
}

.media-card {
  transition: transform 0.3s ease;
}

.media-card:hover {
  transform: translateY(-3px);
}

.media-card:hover .clinic-image {
  transform: scale(1.05);
}

.media-card:hover .image-overlay,
.media-card:hover .map-overlay {
  transform: translateY(0);
}

/* Enhanced clinic image effects */
.clinic-image {
  transition: all 0.4s ease;
  filter: brightness(1) contrast(1);
}

.clinic-image:hover {
  filter: brightness(1.1) contrast(1.1);
}

/* Responsive adjustments for clinic section */
@media (max-width: 768px) {
  .clinic-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .info-card {
    margin-bottom: 15px;
  }
}

/* ===========================
   Footer
=========================== */
footer {
  background: #004B70;
  color: white;
  text-align: center;
  padding: 25px 20px;
}

footer a {
  color: var(--accent-color);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ===========================
   WhatsApp Floating Button
=========================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  font-weight: bold;
  padding: 12px 18px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 100;
  transform: scale(1);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
}

.whatsapp-float:active {
  transform: scale(1.05);
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 768px) {
  /* Navigation adjustments */
  nav div {
    flex-direction: column !important;
    gap: 10px !important;
    text-align: center;
  }
  
  .nav-logo {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: center !important;
  }
  
  .nav-logo .clinic-logo {
    height: 40px !important;
    max-width: 180px !important;
  }
  
  .clinic-name-nav {
    border-left: none !important;
    padding-left: 0 !important;
    text-align: center;
  }
  
  .clinic-name-nav h1 {
    font-size: 0.95rem !important;
  }
  
  .clinic-name-nav p {
    font-size: 0.8rem !important;
  }
  
  /* Hero content mobile layout */
  .hero-content div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* Hide credential and specialization cards on mobile */
  .hero-content > div > div > div:first-child,
  .hero-content > div > div > div:last-child {
    display: none !important;
  }
  
  /* Adjust button layout */
  .hero-content div[style*="flex"] a {
    flex: 1;
    justify-content: center;
  }
  
  /* Stats grid mobile */
  .hero-content div[style*="grid-template-columns"]:last-child {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  header img {
    width: 140px;
    height: 140px;
  }

  .clinic-logo {
    height: 60px !important;
    max-width: 250px !important;
  }

  h1 {
    font-size: 1.8rem;
  }
  
  header h1 {
    font-size: 2rem !important;
  }
  
  header h3 {
    font-size: 1.2rem !important;
  }

  main {
    padding: 20px;
  }

  #contact div {
    text-align: center;
  }

  /* Stack clinic image and map vertically on mobile */
  .clinic-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ===========================
   Scroll Animation (Reviews)
=========================== */
.review-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.review-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   Scroll Animation (Services)
=========================== */
.service-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   Header Fade-In Animation
=========================== */
.hero-content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.hero-content.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   Clinic Image Animation
=========================== */
.clinic-image {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clinic-image:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* ===========================
   Floating WhatsApp Button Animation
=========================== */
.whatsapp-float {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.whatsapp-float.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   Areas Served Section
=========================== */
.areas-served-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e9f3ff 100%);
  position: relative;
}

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

.areas-header {
  text-align: center;
  margin-bottom: 3rem;
}

.areas-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

.areas-header p {
  font-size: 1.1rem;
  color: var(--text-color);
  opacity: 0.8;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.area-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 91, 150, 0.1);
  border: 1px solid rgba(0, 91, 150, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 91, 150, 0.15);
}

.area-card h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.area-card ul {
  list-style: none;
  padding: 0;
}

.area-card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 1rem;
  color: var(--text-color);
}

.area-card ul li:last-child {
  border-bottom: none;
}

.area-card ul li strong {
  color: var(--primary-color);
  font-weight: 600;
}

.primary-area {
  border-left: 4px solid var(--accent-color);
}

.extended-area {
  border-left: 4px solid var(--secondary-color);
}

.consultation-info {
  border-left: 4px solid var(--whatsapp-green);
}

.consultation-info p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.local-keywords {
  text-align: center;
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(0, 91, 150, 0.05);
  border-radius: 10px;
  border: 1px dashed var(--primary-color);
}

.local-keywords p {
  font-style: italic;
  color: var(--text-color);
  opacity: 0.8;
  font-size: 0.95rem;
}

/* Mobile Responsiveness for Areas Served */
@media (max-width: 768px) {
  .areas-served-section {
    padding: 3rem 1rem;
  }
  
  .areas-header h2 {
    font-size: 2rem;
  }
  
  .areas-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .area-card {
    padding: 1.5rem;
  }
  
  .local-keywords {
    padding: 1rem;
  }
}
