/* ===== Header Styling ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

.header {
  background: #fff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 50;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 40px;
  height: 40px;
  animation: bounce 2s infinite;
}

.logo span {
  font-size: 24px;
  font-weight: bold;
  color: #1d4ed8; /* blue */
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #4b5563; /* gray */
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #1d4ed8;
}

/* Appointment Button */
.btn-appointment {
  background: #1d4ed8;
  color: #fff;
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-appointment:hover {
  background: #2563eb;
  transform: scale(1.05);
  animation: pulse 1.5s infinite;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: #4b5563;
  border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.mobile-menu a {
  padding: 15px 30px;
  border-bottom: 1px solid #e5e7eb;
  text-decoration: none;
  color: #4b5563;
  transition: background 0.3s;
}

.mobile-menu a:hover {
  background: #eff6ff;
}

.btn-appointment-mobile {
  margin: 10px 30px;
  background: #1d4ed8;
  color: #fff;
  text-align: center;
  border-radius: 999px;
  padding: 8px 0;
}

/* ===== Animations ===== */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links, .btn-appointment {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu.show {
    display: flex;
  }
}
/* ===== Body & Background ===== */
body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  
  background-size: cover;     /* make it cover the whole page */
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

/* Optional overlay to darken the background for better text readability */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3); /* adjust opacity as needed */
  z-index: -1;
}

/* ===== Header Styling ===== */
.header {
  background: rgba(255, 255, 255, 0.9); /* semi-transparent white */
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 50;
}

/* Container, logo, nav-links, buttons, etc. */
/* ... keep your previous styles as is ... */
.hero {
  height: 100vh; /* full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-image: url('teeth 1.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.3); /* dark overlay */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}
/* ===== Hero Section ===== */
.heo {
  height: 100vh; /* full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-color:white;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Optional dark overlay for readability */
.heo::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.35); /* adjust opacity if needed */
  z-index: 0;
}

.heo-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

/* Headline */
.heo-content h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease forwards;
}

/* Subtext */
.heo-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: fadeInUp 1.2s ease forwards;
}

/* Hero Button */
.btn-hero {
  background: #1d4ed8;
  color: #fff;
  padding: 12px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  animation: fadeInUp 1.5s ease forwards;
}

.btn-hero:hover {
  background: #2563eb;
  transform: scale(1.05);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}
/* ===== About Us Section ===== */
.about-section {
  padding: 80px 20px;
  background: #f9fafb; /* light gray background */
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

/* Text Content */
.about-text {
  flex: 1 1 500px;
}

.about-text h2 {
  font-size: 2.5rem;
  color: #1d4ed8; /* blue */
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.6;
  color: #374151; /* dark gray */
}

.about-text ul {
  list-style: disc inside;
  color: #374151;
}

.about-text ul li {
  margin-bottom: 10px;
}

/* Video */
.about-video {
  flex: 1 1 500px;
}

.about-video video {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
  }

  .about-text h2 {
    font-size: 2rem;
    text-align: center;
  }

  .about-text p, .about-text ul {
    text-align: center;
  }

  .about-video {
    margin-top: 30px;
  }
}
/* ===== Services Section ===== */
.services-section {
  padding: 80px 20px;
  background: #fff;
}

.services-container {
  max-width: auto;
  text-align: 1200px;
  margin-bottom: center;
}

.services-container h2 {
  font-size: 2.5rem;
  color: #1d4ed8; /* blue */
  margin-bottom: 50px;
}

/* Grid layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* Individual Service Card */
.service-card {
  background: #f3f4f6; /* light gray */
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

/* Add slight delay for each card */
.service-card:nth-child(1) { animation-delay: 0.2s; }
.service-card:nth-child(2) { animation-delay: 0.4s; }
.service-card:nth-child(3) { animation-delay: 0.6s; }
.service-card:nth-child(4) { animation-delay: 0.8s; }
.service-card:nth-child(5) { animation-delay: 1s; }

.service-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Service Icon */
.service-icon {
  font-size: 50px;
  margin-bottom: 20px;
  color: #1d4ed8;
  transition: transform 0.3s;
}

.service-card:hover .service-icon {
  transform: rotate(10deg) scale(1.2);
}

/* Service Title */
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #111827; /* dark gray */
}

/* Service Description */
.service-card p {
  font-size: 1rem;
  color: #374151; /* gray */
  line-height: 1.6;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .services-container h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }
}
/* ===== Meet the Doctors Section ===== */
.doctors-section {
  padding: 80px 20px;
  background: #f9fafb; /* light gray background */
}

.doctors-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.doctors-container h2 {
  font-size: 2.5rem;
  color: #1d4ed8; /* blue */
  margin-bottom: 50px;
}

/* Grid layout for doctors */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* Individual Doctor Card */
.doctor-card {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

/* Staggered animation delay */
.doctor-card:nth-child(1) { animation-delay: 0.2s; }
.doctor-card:nth-child(2) { animation-delay: 0.4s; }
.doctor-card:nth-child(3) { animation-delay: 0.6s; }
.doctor-card:nth-child(4) { animation-delay: 0.8s; }

.doctor-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Doctor Image */
.doctor-card img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 15px;
  transition: transform 0.3s;
}

.doctor-card:hover img {
  transform: scale(1.05);
}

/* Doctor Name */
.doctor-card h3 {
  font-size: 1.5rem;
  color: #111827; /* dark gray */
  margin-bottom: 10px;
}

/* Specialty & Experience */
.doctor-card p {
  font-size: 1rem;
  color: #374151; /* gray */
  margin-bottom: 15px;
}

/* View Profile Button */
.btn-doctor {
  background: #1d4ed8;
  color: #fff;
  padding: 8px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-doctor:hover {
  background: #2563eb;
  transform: scale(1.05);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .doctors-container h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }
}
/*hh
@media (max-width: 768px) {
  /* About Section */
  .about-container {
    flex-direction: column;  /* stack text & video */
    align-items: center;
    gap: 20px;
  }

  .about-text, .about-video {
    flex: 1 1 100%;
    max-width: 100%;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;  /* 1 column on mobile */
    gap: 20px;
  }

  /* Doctors Grid */
  .doctors-grid {
    grid-template-columns: 1fr;  /* 1 column on mobile */
    gap: 20px;
  }
/* ===== Appointment Section ===== */
.appointment-section {
  padding: 80px 20px;
  background: #f3f4f6; /* light gray background */
  text-align: center;
}

.appointment-container {
  max-width: 600px;
  margin: auto;
}

.appointment-section h2 {
  font-size: 2.5rem;
  color: #1d4ed8;
  margin-bottom: 15px;
}

.appointment-section p {
  font-size: 1.1rem;
  color: #374151;
  margin-bottom: 40px;
}

/* Form Styling */
.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 600;
  color: #1f2937;
}

.form-group input,
.form-group select {
  padding: 12px 15px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #1d4ed8;
  box-shadow: 0 0 5px rgba(29, 78, 216, 0.5);
}

/* Submit Button */
.btn-appointment-submit {
  background: #1d4ed8;
  color: #fff;
  font-weight: 600;
  padding: 12px;
  border-radius: 999px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-appointment-submit:hover {
  background: #2563eb;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .appointment-section h2 {
    font-size: 2rem;
  }

  .appointment-section p {
    font-size: 1rem;
  }

  .appointment-form {
    gap: 15px;
  }
}
/* ===== Blog / Dental Tips Section ===== */
.blog-section {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
}

.blog-container {
  max-width: 1200px;
  margin: auto;
}

.blog-section h2 {
  font-size: 2.5rem;
  color: #1d4ed8;
  margin-bottom: 15px;
}

.blog-section p {
  font-size: 1.1rem;
  color: #374151;
  margin-bottom: 50px;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* Individual Blog Card */
.blog-card {
  background: #f3f4f6;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

/* Stagger animation */
.blog-card:nth-child(1) { animation-delay: 0.2s; }
.blog-card:nth-child(2) { animation-delay: 0.4s; }
.blog-card:nth-child(3) { animation-delay: 0.6s; }
.blog-card:nth-child(4) { animation-delay: 0.8s; }

/* Hover effect */
.blog-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Blog Image */
.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.blog-card:hover img {
  transform: scale(1.05);
}

/* Blog Title */
.blog-card h3 {
  font-size: 1.3rem;
  color: #111827;
  margin: 15px 20px 10px;
}

/* Blog Description */
.blog-card p {
  font-size: 1rem;
  color: #374151;
  margin: 0 20px 15px;
  line-height: 1.5;
}

/* Read More Button */
.btn-blog {
  display: inline-block;
  margin: 0 20px 20px;
  background: #1d4ed8;
  color: #fff;
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-blog:hover {
  background: #2563eb;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .blog-section h2 {
    font-size: 2rem;
  }

  .blog-section p {
    font-size: 1rem;
  }

  .blog-card img {
    height: 160px;
  }

  .blog-card h3 {
    font-size: 1.2rem;
  }

  .blog-card p {
    font-size: 0.95rem;
  }
}
/* ===== FAQ Section ===== */
.faq-section {
  padding: 80px 20px;
  background: #f9fafb;
  text-align: center;
}

.faq-container {
  max-width: 900px;
  margin: auto;
}

.faq-section h2 {
  font-size: 2.5rem;
  color: #1d4ed8;
  margin-bottom: 15px;
}

.faq-section p {
  font-size: 1.1rem;
  color: #374151;
  margin-bottom: 50px;
}

/* Accordion */
.faq-accordion {
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 15px;
}

.faq-question {
  width: 100%;
  background: #fff;
  border: none;
  padding: 15px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  text-align: left;
  transition: background 0.3s;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-question:hover {
  background: #f3f4f6;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.faq-answer p {
  padding: 15px 0;
  color: #374151;
  line-height: 1.6;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .faq-section h2 {
    font-size: 2rem;
  }

  .faq-section p {
    font-size: 1rem;
  }

  .faq-question {
    font-size: 1rem;
    padding: 12px 15px;
  }

  .faq-answer p {
    font-size: 0.95rem;
    padding: 12px 0;
  }
}
/* ===== Emergency Dental Care Section ===== */
/* ===== Emergency Dental Care Section ===== */
.emergency-section {
  background: #fee2e2; /* light red/pink for urgency */
  padding: 60px 20px;
  text-align: center;
}

.emergency-section h2 {
  font-size: 2.5rem;
  color: #b91c1c; /* dark red */
  margin-bottom: 15px;
}

.emergency-section p {
  font-size: 1.1rem;
  color: #521010; /* darker text */
  margin-bottom: 30px;
}

/* Emergency Contact Flex */
.emergency-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.emergency-icon {
  font-size: 3rem;
  color: #b91c1c;
}

.emergency-details h3 {
  margin: 5px 0;
  color: #b91c1c;
  font-size: 1.1rem;
}

.emergency-details a {
  display: block;
  font-size: 1.1rem;
  color: #7f1d1d;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.emergency-details a:hover {
  color: #f87171; /* lighter red */
}

/* Emergency Button */
.btn-emergency {
  display: inline-block;
  background: #b91c1c;
  color: #fff;
  padding: 12px 30px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-emergency:hover {
  background: #f87171;
  transform: scale(1.05);
}

/* ===== Location / Map Section ===== */
.location-section {
  background: #f3f4f6; /* light gray */
  padding: 60px 20px;
}

.location-section h2 {
  font-size: 2.5rem;
  color: #1d4ed8; /* blue */
  margin-bottom: 15px;
  text-align: center;
}

.location-section p {
  font-size: 1.1rem;
  color: #374151;
  margin-bottom: 40px;
  text-align: center;
}

/* Map + Details Flex */
.location-content {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.map {
  flex: 1 1 500px;
  min-width: 300px;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.location-details {
  flex: 1 1 400px;
  min-width: 250px;
}

.location-details h3 {
  color: #1d4ed8;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.location-details p {
  color: #374151;
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.5;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  /* Emergency Section */
  .emergency-section h2 {
    font-size: 2rem;
  }

  .emergency-section p {
    font-size: 1rem;
  }

  .emergency-contact {
    flex-direction: column;
    gap: 15px;
  }

  .emergency-details h3,
  .emergency-details a {
    font-size: 1rem;
  }

  .btn-emergency {
    padding: 10px 25px;
    font-size: 0.95rem;
  }

  /* Location Section */
  .location-section h2 {
    font-size: 2rem;
  }

  .location-section p {
    font-size: 1rem;
  }

  .location-content {
    flex-direction: column;
    gap: 20px;
  }

  .map {
    height: 300px;
  }

  .location-details h3 {
    font-size: 1.1rem;
  }

  .location-details p {
    font-size: 0.95rem;
  }
}
/* ===== Contact & Footer Section ===== */
.contact-footer {
  background: #1d4ed8; /* blue background */
  color: #fff;
  padding: 80px 20px 40px 20px;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

/* Individual Sections */
.footer-contact, .footer-social, .footer-newsletter {
  flex: 1 1 300px;
  min-width: 250px;
}

/* Headings */
.footer-contact h2,
.footer-social h2,
.footer-newsletter h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

/* Links */
.footer-contact a,
.footer-social a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.footer-contact a:hover,
.footer-social a:hover {
  color: #93c5fd; /* light blue */
}

/* Newsletter Form */
.footer-newsletter form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-newsletter input[type="email"] {
  padding: 10px 15px;
  border-radius: 999px;
  border: none;
  flex: 1 1 200px;
  min-width: 180px;
}

.footer-newsletter button {
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  background: #fff;
  color: #1d4ed8;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.footer-newsletter button:hover {
  background: #93c5fd;
  color: #1d4ed8;
  transform: scale(1.05);
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 50px;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 20px;
}

.footer-bottom p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-menu a {
  margin: 0 10px;
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
}

.footer-menu a:hover {
  color: #93c5fd;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .footer-newsletter form {
    flex-direction: column;
    gap: 10px;
  }

  .footer-menu a {
    display: block;
    margin: 5px 0;
  }
}
/* ===== Chat Widget ===== */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  font-family: Arial, sans-serif;
}

/* Chat Icon */
.chat-icon {
  background: #1d4ed8;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  animation: bounce 2s infinite;
  transition: transform 0.3s, background 0.3s;
}

.chat-icon:hover {
  transform: scale(1.1);
  background: #2563eb;
}

/* Chat Popup */
.chat-popup {
  position: absolute;
  bottom: 70px; /* above the icon */
  right: 0;
  width: 250px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 15px;
  text-align: center;
  animation: fadeIn 0.3s ease forwards;
}

.chat-popup h4 {
  margin: 0;
  font-size: 1.2rem;
  color: #1d4ed8;
}

.chat-popup p {
  margin: 0;
  font-size: 1rem;
  color: #374151;
}

.btn-call {
  display: inline-block;
  background: #1d4ed8;
  color: #fff;
  padding: 10px 15px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-call:hover {
  background: #2563eb;
  transform: scale(1.05);
}

/* Animations */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .chat-popup {
    width: 200px;
    bottom: 65px;
    padding: 15px;
  }

  .chat-popup h4 {
    font-size: 1rem;
  }

  .chat-popup p {
    font-size: 0.9rem;
  }

  .btn-call {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .chat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}
html, body {
  overflow-x: hidden; /* prevents horizontal scrolling */
}
img, video, iframe {
  max-width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .container, 
  .about-container, 
  .services-container, 
  .doctors-container, 
  .appointment-container, 
  .blog-container {
    width: 100%;
    padding: 0 15px; /* small padding */
    box-sizing: border-box;
  }

  .about-container, .services-grid, .doctors-grid {
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
  }
}
.map iframe {
  width: 100% !important;
  max-width: 100%;
}
/* Equipment Section */
/* Our Equipment Section */
#equipment {
  padding: 50px 20px;
  background-color: #ecf0f1;
  text-align: center;
}

.equipment-title {
  font-size: 32px;
  color: #2c3e50;
  margin-bottom: 40px;
  text-align: center; /* Top center */
}

.equipment-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Equipment Card */
.equipment-card {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  width: 250px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.equipment-card:hover {
  transform: translateY(-5px);
}

/* Image Styling */
.equipment-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .equipment-card {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .equipment-card {
    width: 90%;
  }
}

/* Main Section */
.hospital-section {
  padding: 50px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.hospital-section h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #2c3e50;
}

/* Horizontal Layout */
.hospital-photos {
  display: flex;
  flex-wrap: wrap; /* Mobile me wrap ho jaye */
  justify-content: center; /* Center horizontally */
  gap: 20px; /* Space between photos */
}

.hospital-photos .photo {
  flex: 1 1 200px; /* Minimum 200px per photo, flexible grow */
  max-width: 250px; /* Max width */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}

.hospital-photos .photo:hover {
  transform: scale(1.05);
}

.hospital-photos img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

/* Responsive for small screens */
@media (max-width: 768px) {
  .hospital-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .hospital-photos .photo {
    flex: 1 1 45%; /* 2 photos per row */
  }
}

@media (max-width: 480px) {
  .hospital-photos .photo {
    flex: 1 1 90%; /* 1 photo per row */
  }
}



/* Clinic Section */
#clinic-section {
  background-color: #eef6fb;
  padding: 80px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
}

#clinic-section h2 {
  font-size: 36px;
  color: #2c3e50;
  margin-bottom: 50px;
}

/* Gallery container */
.clinic-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

/* Single card */
.clinic-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  max-width: 300px;
  flex: 1 1 250px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.clinic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.clinic-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.clinic-card p {
  font-size: 16px;
  color: #555555;
  margin: 15px 0;
}

/* Responsive */
@media (max-width: 768px) {
  #clinic-section h2 {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .clinic-card {
    max-width: 90%;
  }
}
/* ========== RESPONSIVE FIX ========== */

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #cbb07a, #e5d2a0);
    overflow-x: hidden; /* 🔥 important */
}

/* Top Bar */
#docTopBar {
    background: #000;
    padding: 12px;
    text-align: center;
}

.docTitle {
    color: gold;
    letter-spacing: 2px;
    font-size: 20px;
}

/* Main Wrapper */
#docMainWrapper {
    width: 95%;              /* 🔥 flexible */
    max-width: 750px;
    margin: 15px auto;
    background: #f3e1ad;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    overflow: hidden;
}

/* Header */
.docHeaderFlex {
    display: flex;
    align-items: center;
    gap: 12px;
    background: black;
    padding: 15px;
    flex-wrap: wrap; /* 🔥 important */
}

#docLogoCircle {
    font-size: 40px;
}

.docNameBlock {
    color: gold;
}

#docName {
    font-size: 22px;
}

.docDegree {
    font-size: 13px;
}

/* Role Section */
.docRoleArea {
    text-align: center;
    padding: 15px;
}

#docRoleTitle {
    margin-bottom: 5px;
    font-size: 18px;
}

/* Contact Grid */
#docContactGrid {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: #e6cf94;
    flex-wrap: wrap; /* 🔥 main fix */
}

.docMobileBox,
.docInfoBox {
    flex: 1 1 100%; /* 🔥 mobile full width */
}

/* Text */
.docSubHeading {
    margin-bottom: 6px;
    font-weight: bold;
    font-size: 15px;
}

.docNumber,
.docEmail,
.docWebsite {
    margin-bottom: 4px;
    font-size: 13px;
    word-break: break-word; /* 🔥 email overflow fix */
}

/* ========== TABLET ========== */
@media (min-width: 600px) {

    .docMobileBox,
    .docInfoBox {
        flex: 1 1 48%;
    }

    #docContactGrid {
        flex-wrap: nowrap;
    }
}

/* ========== DESKTOP ========== */
@media (min-width: 900px) {

    #docName {
        font-size: 24px;
    }

    .docTitle {
        font-size: 22px;
    }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #ffffff; /* ✅ White background */
}
.doccc{
  text-align: center;
   font-size: 28px;
  color: black;
  margin-bottom: 20px;
}
/* Section */
.doctor-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
}

/* Image */
.doctor-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 5px 15px white;
  margin-bottom: 20px;
}

/* Name */
.doctor-name {
  font-size: 28px;
  color: black;
  margin-bottom: 5px;
}

/* Degree */
.doctor-degree {
  color: black;
  margin-bottom: 15px;
}

/* Role */
.doctor-role {
  font-size: 20px;
  margin-bottom: 5px;
}

/* Hospital */
.doctor-hospital {
  font-size: 15px;
  color: #444;
  margin-bottom: 20px;
}

/* Contact */
.doctor-contact {
  background: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
}

.doctor-contact p {
  margin-bottom: 8px;
  font-size: 14px;
}

/* Responsive */
@media (min-width: 768px) {
  .doctor-section {
    text-align: left;
  }
}