/* Main styles from HTML */
.book-now-wrapper {
  text-align: center;
  margin-top: 20px;
  display: flex;
}

.book-now-btn {
  display: inline-block;
  width: 100%;
  background: linear-gradient(180deg, #fdb933 0%, #f9b023 100%);
  color: #000;
  padding: 15px 50px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.book-now-btn:hover {
  background: linear-gradient(180deg, #e3a628 0%, #d99b1f 100%);
  transform: translateY(-2px);
}

body {
  font-family: Arial, sans-serif;
  background: #fff9f5;
  margin: 0;
  padding: 0;
  color: #333;
}

.heading-1,
h1 {
  font-size: 32px;
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}

.heading-1 {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
}

h1 span {
  color: #2e8b57;
}

h2 {
  font-size: 24px;
  text-align: center;
  color: #555;
  margin-bottom: 50px;
}

.main-info {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 20px;
  gap: 20px;
}

.main-info .left,
.main-info .right {
  flex: 1 1 48%;
  box-sizing: border-box;
}

.main-info .left img {
  max-width: 100%;
  border-radius: 8px;
}

.main-info .right {
  background: #e6f7ff;
  border-radius: 8px;
  padding: 20px;
}

p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  margin-bottom: 14px;
  font-size: 18px;
  position: relative;
  padding: 20px;
  list-style: none;
}

.core-section {
  background: #2d8c6f;
  color: #fff;
  padding: 30px 20px 40px 20px;
  text-align: center;
  border-radius: 8px;
  margin-top: 40px;
}

.core-section img.top-image {
  width: 100px;
  height: auto;
  margin: 15px 0 2px 0;
}

.core-section h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.core-section li a {
  text-decoration: none;
  color: #fff;
}

.divider {
  width: 60px;
  height: 3px;
  background: #ffc107;
  margin: 10px auto 30px auto;
}

.ear-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.ear-column {
  flex: 1 1 47%;
  padding: 0 10px;
}

.ear-column ul {
  list-style: none;
  padding: 0;
}

.ear-column li {
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  padding: 20px 20px 20px 40px;
  margin: 12px 0;
  font-size: 20px;
  text-align: left;
}

.ear-column li span {
  position: relative;
}

.check-list li {
  list-style: none;
  padding: 0px 20px 0px 40px;
}

.check-list li span {
  position: relative;
}

.check-list li span::before {
  content: "\2714";
  color: green;
  position: absolute;
  top: -3px;
  left: -25px;
}

.ear-column li span::before {
  content: "\279C";
  color: #fff;
  position: absolute;
  top: -5px;
  left: -25px;
}

.image-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
}

.image-row img {
  width: 230px;
  height: 130px;
}

.choose-section {
  background: linear-gradient(135deg, #c2e9fb 0%, #f9f9f9 100%);
  padding: 50px 20px;
  text-align: center;
  border-radius: 8px;
  margin-top: 60px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.choose-section h2 {
  font-size: 36px;
  color: #0a5275;
  margin-bottom: 10px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.choose-section p.sub-text {
  font-size: 18px;
  color: #333;
  margin-bottom: 40px;
}

.choose-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.choose-box {
  flex: 1 1 220px;
  background: linear-gradient(180deg, #fff, #b2e2f5);
  padding: 25px 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s;
}

.choose-box:hover {
  transform: translateY(-8px);
}

.choose-box img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

.choose-box h3 {
  font-size: 20px;
  margin: 5px 0;
  color: #0a5275;
}

.choose-box p {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

/* Header Styling */
.head-info-area {
  background-color: #1bbde3;
  color: white;
  padding: 8px 0;
  font-size: 14px;
}

.head-info-area .center {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.head-info-area .left {
  display: flex;
  gap: 20px;
}

.head-info-area .right {
  display: flex;
  gap: 20px;
}

.head-info-area a {
  color: white;
  text-decoration: none;
}

.head-info-area a:hover {
  opacity: 0.8;
}

.head-info-area .fa {
  margin-right: 8px;
}

.main-header {
  background: white;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.main-header .center {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.main-header .logo img {
  height: 50px;
  width: auto;
}

.main-header .logo .text {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 1001;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hamburger animation when active */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.main-nav {
  display: flex;
  gap: 30px;
}

.main-nav a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #1bbde3;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

/* Section Styling */
.section-wrapper {
  background: #fdf4f1;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

.white-box {
  background: #fff;
  display: flex;
  max-width: 1200px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.left-content {
  flex: 1 1 55%;
  text-align: center;
}

.left-content h3 {
  color: #00addc;
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: bold;
  letter-spacing: 2px;
}

.left-content h1 {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 30px;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.feature-card {
  flex: 1 1 150px;
  text-align: center;
  background: #fff;
  padding: 20px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.feature-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.feature-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
}

.feature-card p {
  font-size: 14px;
  color: #555;
}

.right-form {
  flex: 1 1 35%;
  background: #0b35b3;
  padding: 30px 20px;
  border-radius: 12px;
  color: #fff;
  box-sizing: border-box;
}

.right-form h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 24px;
  color: #fff;
}

.right-form input,
.right-form select {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 5px;
  border: none;
  font-size: 15px;
  box-sizing: border-box;
}

.right-form input[type="date"] {
  color: #333;
}

.right-form button,
.right-form input[type="submit"] {
  width: 100%;
  background: #00addc;
  border: none;
  padding: 12px;
  border-radius: 5px;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

.right-form button:hover,
.right-form input[type="submit"]:hover {
  background: #0093b5;
}

/* Map Container Styling */
.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  margin: 30px 0;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100%;
  border: 0;
}

/* Footer Styling */
.footer {
  background: #0c3eb3;
  color: white;
  padding: 50px 0 0 0;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  gap: 0;
}

.footer-section {
  padding: 0 15px;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 22px;
  font-size: 26px;
  position: relative;
  font-weight: 600;
}

.footer-section p {
  line-height: 1.6;
  margin-bottom: 15px;
  color: #ecf0f1;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
  padding: 5px 0;
}

.footer-section ul li a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #1bbde3;
}

.clinic-info {
  margin-bottom: 20px;
}

.clinic-info h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 0px;
  font-weight: bold;
}

.contact-info p {
  margin-top: 0;
  margin-bottom: 8px;
}

.contact-details .fa {
  margin-right: 8px;
  color: #1bbde3;
}

.registration-logos {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-item img {
  height: 30px;
  width: auto;
}

.logo-item span {
  font-weight: bold;
}

.footer-bottom {
  background: #0a30ad;
  padding: 20px 0;
  margin-top: 40px;
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom-content p {
  margin: 0;
  font-size: 15px;
  color: #fff;
}

/* New classes for inline styles */
/* Main ENT specialist image */
.ent-specialist-image {
  height: 500px;
  width: 500px;
  object-fit: cover;
  border-radius: 8px;
}

/* Section headings in main info */
.main-info-heading {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
}

/* Book now button wrapper - already defined above */

/* Service section titles (Ear, Nose, Throat) */
.service-title {
  font-size: 26px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 20px;
}

/* Top images with margin-top */
.service-image-spaced {
  margin-top: 40px;
}

/* About Our Doctors section heading */
.doctors-section-heading {
  font-size: 32px;
  color: #0a5275;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
  font-weight: bold;
}

/* Doctor profile container */
.doctor-profile-container {
  max-width: 1100px;
  margin: 60px auto;
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

/* Doctor profile image section */
.doctor-image-section {
  flex: 1 1 40%;
  text-align: center;
}

/* Doctor profile text section */
.doctor-text-section {
  flex: 1 1 55%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Doctor profile image */
.doctor-profile-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

/* Doctor name heading */
.doctor-name {
  font-size: 32px;
  color: #222;
  margin-bottom: 25px;
  font-weight: bold;
}

/* Doctor description text */
.doctor-description {
  font-size: 18px;
  line-height: 1.7;
  color: #444;
  text-align: justify;
}

/* Footer section widths */
.footer-about {
  width: 30%;
}

.footer-links {
  width: 20%;
}

.footer-registered {
  width: 20%;
}

.footer-contact {
  width: 30%;
}

/* Map iframe border removal */
.map-iframe {
  border: 0;
}

.wpcf7-form p {
  margin: 0;
}

/* Existing responsive styles */
@media (max-width: 768px) {
  .head-info-area .center {
    flex-direction: column;
    gap: 10px;
  }

  .main-header .center {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  /* Show mobile menu toggle on mobile */
  .mobile-menu-toggle {
    display: flex !important;
  }

  /* Hide desktop navigation on mobile */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    gap: 0;
  }

  /* Show mobile navigation when open */
  .main-nav.mobile-open {
    right: 0;
  }

  /* Mobile navigation links styling */
  .main-nav a {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 18px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .main-nav a:hover {
    color: #1bbde3;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .white-box {
    flex-direction: column;
    align-items: center;
  }

  .left-content h1 {
    font-size: 28px;
  }

  h1 {
    font-size: 24px;
    margin-bottom: 5px;
  }

  h2 {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .main-info {
    gap: 20px;
  }

  .main-info .left,
  .main-info .right {
    flex-basis: 100%;
  }

  .main-info .left {
    display: flex !important;
    justify-content: center !important;
  }

  .main-info-heading {
    font-size: 20px;
  }

  .footer-content {
    flex-direction: column;
    width: 100%;
  }

  .footer-section {
    width: auto;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .registration-logos {
    flex-direction: column !important;
    justify-content: center;
  }

  /* Responsive doctor profiles */
  .doctor-profile-container {
    flex-direction: column;
    margin: 30px auto;
    padding: 20px;
  }

  .doctor-profile-container-2 {
    flex-direction: column-reverse;
  }

  .doctor-image-section,
  .doctor-text-section {
    flex: 1 1 100%;
  }

  .doctor-text-section {
    padding: 10px 0;
  }

  .doctor-name {
    font-size: 24px;
    text-align: center;
    margin-bottom: 0px;
  }

  .doctor-profile-image {
    max-width: 400px;
    height: 400px;
    object-fit: cover;
  }
}

/* ===================================
   CUSTOM WHATSAPP WIDGET STYLES
   =================================== */

.vk-whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* WhatsApp Button */
.vk-whatsapp-button {
  position: relative;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 15px 20px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  overflow: hidden;
  min-width: 60px;
  max-height: 30px;
  justify-content: center;
}

.vk-whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.vk-whatsapp-button.active {
  border-radius: 50px 50px 0 50px;
}

.vk-whatsapp-button i {
  font-size: 24px;
  flex-shrink: 0;
}

.vk-whatsapp-text {
  white-space: nowrap;
  transition: all 0.3s ease;
}

/* Pulse Animation */
.vk-whatsapp-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50px;
  background: rgba(37, 211, 102, 0.3);
  animation: whatsappPulse 2s infinite;
  pointer-events: none;
}

@keyframes whatsappPulse {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.3);
  }
}

/* WhatsApp Popup */
.vk-whatsapp-popup {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transform: translateY(20px) scale(0.8);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.vk-whatsapp-popup.show {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

/* Popup Header */
.vk-whatsapp-header {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.vk-whatsapp-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.vk-whatsapp-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.vk-whatsapp-info h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.vk-whatsapp-status {
  margin: 5px 0 0 0;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
}

.vk-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff9800;
  transition: all 0.3s ease;
}

.vk-status-dot.online {
  background: #4caf50;
  box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.3);
}

.vk-whatsapp-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.vk-whatsapp-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Popup Body */
.vk-whatsapp-body {
  padding: 20px;
}

.vk-whatsapp-message {
  background: #f0f2f5;
  padding: 15px;
  border-radius: 15px;
  margin-bottom: 20px;
  position: relative;
}

.vk-whatsapp-message::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 0 0;
  border-color: #f0f2f5 transparent transparent transparent;
}

.vk-whatsapp-message p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #1e1e1e;
}

.vk-whatsapp-message p:first-child {
  font-weight: 600;
  margin-bottom: 5px;
}

/* Options */
.vk-whatsapp-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

.vk-whatsapp-option {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 12px 15px;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  color: #495057;
}

.vk-whatsapp-option:hover {
  background: #25d366;
  border-color: #25d366;
  color: white;
  transform: translateX(5px);
}

.vk-whatsapp-direct {
  border-top: 1px solid #e9ecef;
  padding-top: 15px;
}

.vk-whatsapp-chat-btn {
  width: 100%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vk-whatsapp-chat-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .vk-whatsapp-widget {
    bottom: 15px;
    right: 15px;
  }

  .vk-whatsapp-popup {
    width: 280px;
    bottom: 70px;
  }

  .vk-whatsapp-button {
    min-width: 35px !important;
    max-width: 35px !important;
    min-height: 35px !important;
    max-height: 35px !important;
    border-radius: 50%;
    padding: 10px;
    font-size: 14px;
  }

  .vk-whatsapp-text {
    display: none;
  }

  .vk-whatsapp-pulse {
    border-radius: 50%;
  }
}

@media (max-width: 480px) {
  .vk-whatsapp-button {
    min-width: 25px !important;
    min-height: 25px !important;
  }
  .vk-whatsapp-popup {
    width: calc(100vw - 30px);
    right: 15px;
  }
  .vk-whatsapp-popup.show {
    transform: translateX(15px) translateY(0) scale(1);
  }
}
