/* ===============================
   RESET & BASE
================================ */
/* ===== GLOBAL FIX ===== */
* {
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html, body {
  width:100%;
  overflow-x:hidden;   /* stop horizontal scroll */
}

img {
  max-width:100%;
  height:auto;
  display:block;
}

.container {
  max-width:1200px;
  margin:auto;
  padding:0 15px;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

section {
  width: 100%;
  clear: both;
}

/* ===============================
   BUTTONS
================================ */
.btn {
  display: inline-block;
  background: #0d6efd;
  color: #fff;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background: #084298;
}

.btn-outline {
  background: transparent;
  border: 2px solid #0d6efd;
  color: #0d6efd;
}

.btn-outline:hover {
  background: #0d6efd;
  color: #fff;
}

/* ===============================
   HEADER FIXED FINAL
================================ */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo img {
  height: 60px;
}

/* NAV */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.main-nav ul li a {
  font-weight: 600;
  color: #333;
}

.main-nav ul li a:hover {
  color: #0d6efd;
}

/* ACTION BUTTONS */
.header-actions {
  display: flex;
  gap: 10px;
}

.call-btn,
.whatsapp-btn {
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.call-btn {
  background: #0d6efd;
}

.whatsapp-btn {
  background: #25d366;
}

/* ===============================
   MOBILE HEADER
================================ */
@media (max-width: 768px) {

  .header-inner {
    flex-direction: column;
    gap: 15px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .header-actions {
    justify-content: center;
  }

}


/* ===============================
   HERO
================================ */
.hero {
  background: #f5f7fa;
  padding: 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.hero-text p {
  margin-bottom: 25px;
  font-size: 18px;
}

/* ===============================
   ABOUT
================================ */
.about-section {
  padding: 70px 0;
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.about-text p {
  margin-bottom: 15px;
}

/* ===============================
   SERVICES
================================ */
.services-section {
  padding: 70px 0;
  background: #f9f9f9;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.service-box {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  transition: 0.3s;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* ===============================
   DOCTORS
================================ */
.doctors-section {
  padding: 70px 0;
  background: #ffffff;
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.doctor-card {
  background: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

.doctor-card img {
  height: 260px;
  width: 100%;
  object-fit: cover;
}

.doctor-card h3 {
  margin-top: 15px;
}

.doctor-card p {
  font-size: 14px;
  color: #666;
}

.badge {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  color: #fff;
}

.badge.available {
  background: #28a745;
}

.badge.unavailable {
  background: #dc3545;
}

/* ===============================
   APPOINTMENT CTA
================================ */
.appointment-cta {
  background: #0d6efd;
  color: #fff;
  padding: 70px 0;
  text-align: center;
}

.appointment-cta h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.appointment-cta p {
  margin-bottom: 25px;
}

/* ===============================
   FORMS (Appointment & Contact)
================================ */
form {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

/* ===============================
   CONTACT
================================ */
.contact-section {
  padding: 70px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info p {
  margin-bottom: 10px;
}

.map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 10px;
}

/* ===============================
   FOOTER
================================ */
footer {
  background: #111;
  color: #ccc;
  padding: 30px 0;
  text-align: center;
}

footer p {
  font-size: 14px;
}

footer span {
  color: #0d6efd;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

}
.contact-section {
  padding:60px 20px;
  background:#f4f6f9;
}
.section-title {
  text-align:center;
  color:#0a7cff;
  font-size:32px;
}
.section-subtitle {
  text-align:center;
  color:#555;
  margin-bottom:40px;
}

.contact-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;
}

.contact-info, .contact-form {
  background:#fff;
  padding:30px;
  border-radius:15px;
  box-shadow:0 8px 20px rgba(0,0,0,0.12);
}

.contact-info h3, .contact-form h3 {
  color:#0a7cff;
  margin-bottom:15px;
}

.contact-buttons {
  margin-top:20px;
  display:flex;
  gap:15px;
  flex-wrap:wrap;
}

.btn {
  padding:10px 20px;
  border-radius:8px;
  text-decoration:none;
  font-weight:bold;
  color:#fff;
}
.email-btn { background:#6c63ff; }
.whatsapp-btn { background:#25D366; }

.contact-form input,
.contact-form textarea {
  width:100%;
  padding:12px;
  border-radius:6px;
  border:1px solid #ccc;
  margin-bottom:12px;
}

.contact-form button {
  width:100%;
  background:#0a7cff;
  color:#fff;
  padding:12px;
  border:none;
  border-radius:8px;
  font-weight:bold;
  cursor:pointer;
}

/* MAP */
.map-box {
  margin-top:40px;
}
.map-box iframe {
  width:100%;
  height:350px;
  border-radius:15px;
  border:none;
}

/* FLOATING WHATSAPP */
.floating-whatsapp {
  position:fixed;
  bottom:20px;
  right:20px;
  background:#25D366;
  color:#fff;
  font-size:26px;
  padding:15px;
  border-radius:50%;
  text-decoration:none;
  box-shadow:0 4px 15px rgba(0,0,0,0.3);
  z-index:999;
}

/* SCROLL TOP */
#scrollTopBtn {
  position:fixed;
  bottom:90px;
  right:20px;
  background:#0a7cff;
  color:#fff;
  border:none;
  padding:12px;
  border-radius:50%;
  cursor:pointer;
  display:none;
  font-size:18px;
}


.thc-slider {
  width: 100%;
  max-width: 1100px;
  margin: auto;
  overflow: hidden;
  position: relative;
  font-family: Arial, sans-serif;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
}

.slide-content {
  display: flex;
  align-items: center;
  background: #f4f9ff;
  padding: 20px;
  border-radius: 10px;
}

.slide-image {
  width: 300px;
  height: 300px;
  flex-shrink: 0;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.slide-text {
  padding: 0 20px;
}

.slide-text h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #0a3d62;
}

.slide-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.btn-appointment {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 25px;
  background: #0a3d62;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.btn-appointment:hover {
  background: #0652dd;
}

/* Responsive */
@media(max-width:768px){
  .slide-content {
    flex-direction: column;
    text-align: center;
  }
  .slide-image {
    width: 100%;
    height: 250px;
  }
}
/* Tablet */
@media(max-width:992px){
  .thcMedicoImgBox{height:200px;}
}

/* Mobile */
@media(max-width:576px){
  .thcMedicoTitle{font-size:22px;}
  .thcMedicoImgBox{height:180px;}
  .thcMedicoBody h3{font-size:16px;}
  .thcContactBtns a{font-size:12px;padding:6px 0;}
}
