    * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}


html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: linear-gradient(90deg, #0d6efd, #20c997);
  color: #fff;
  font-size: 14px;
}

.top-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 42px;
}

.top-left span {
  margin-right: 18px;
}

.top-right a {
  color: #fff;
  margin-right: 12px;
}

.complain-btn {
  background: #ff4d4f;
  color: #fff;
  text-decoration: none;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.complain-btn:hover {
  background: #e63b3d;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 77, 79, 0.35);
}

@media (max-width: 768px) {
  .top-flex {
    flex-direction: column;
    gap: 6px;
    height: auto;
    padding: 6px 0;
    text-align: center;
  }

  .top-left span {
    display: block;
    margin: 2px 0;
  }
}


/* ===== NAVBAR ===== */
.navbar {
  background: #fff;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000; /* increase */
}

.dropdown-menu {
  z-index: 2000;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: #0d6efd;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  line-height: 1.2;
  white-space: nowrap;

  text-decoration: none;
  color: #333;
  margin: 0 6px;
  font-weight: 500;
  border-radius: 8px;
  transition: 0.3s ease;
}


.nav-links a:hover,
.nav-links a.active {
  color: #0d6efd;
  background: rgba(13, 110, 253, 0.08);
}


/* LOGIN BUTTON */
.login-btn {
  background: #0d6efd;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 25px;
}

/* ===== DROPDOWN ===== */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-toggle i {
  transition: 0.3s;
}

.dropdown.active .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 42px;
  left: 0;
  width: 250px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.3s;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  color: #333;
}

.dropdown-menu a i {
  color: #0d6efd;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===== MOBILE ===== */
.menu-icon {
  display: none;
  font-size: 22px;
}

@media (max-width: 991px) {
  .menu-icon {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    display: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    padding: 14px 0;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    width: 100%;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }
}










.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 16px;
  margin: 0 auto;
  box-sizing: border-box;
}



/* COMPLAINT MODAL */
.complaint-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.complaint-modal.active {
  display: flex;
}

.complaint-box {
  background: rgba(255,255,255,0.95);
  width: 420px;
  max-width: 95%;
  padding: 36px;
  border-radius: 20px;
  animation: slideUp 0.5s ease;
  position: relative;
}

@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-complaint {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}

.complaint-box h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.complaint-box p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  outline: none;
  font-size: 14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0d6efd;
}

.complaint-submit {
  width: 100%;
  padding: 14px;
  background: #dc3545;
  border: none;
  color: #fff;
  font-size: 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
}

.complaint-submit:hover {
  background: #bb2d3b;
  transform: translateY(-2px);
}

.complaint-form small {
  display: block;
  text-align: center;
  margin-top: 10px;
  color: #777;
}
/* SUCCESS STATE */
.complaint-success {
  display: none;
  text-align: center;
  animation: fadeScale 0.6s ease forwards;
}

.complaint-success.active {
  display: block;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #28a745;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pop 0.5s ease;
}

.success-icon i {
  color: #fff;
  font-size: 34px;
}

@keyframes pop {
  0% { transform: scale(0); }
  80% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes fadeScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.complaint-success h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.complaint-success p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.complaint-success button {
  padding: 10px 26px;
  background: #0d6efd;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.complaint-success button:hover {
  background: #084298;
}
@media (max-width: 480px) {
  .complaint-box {
    padding: 28px 22px;
  }
}








/* hero section */

.hero {
  padding: 90px 0;
  background: linear-gradient(135deg, #f5f9ff, #ffffff);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.2;
  color: #0b1c2d;
}

.hero h1 span {
  color: #0d6efd;
}

.hero p {
  margin: 18px 0 30px;
  font-size: 16px;
  color: #555;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.btn-primary {
  background: #0d6efd;
  color: #fff;
  padding: 14px 26px;
  border-radius: 30px;
  text-decoration: none;
}

.btn-outline {
  border: 2px solid #0d6efd;
  color: #0d6efd;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
}

.hero-image img {
  width: 100%;
  border-radius: 18px;
}

/* HERO BUTTON HOVER */
.btn-primary,
.btn-outline {
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #0b5ed7;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(13,110,253,0.35);
}

.btn-outline:hover {
  background: #0d6efd;
  color: #fff;
  transform: translateY(-3px);
}


/* Responsive */
/* ===== HERO MOBILE FIX ===== */
@media (max-width: 768px) {

  .hero {
    padding: 60px 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 14px;
  }

  .hero-content h1 span {
    display: block; /* Advanced Treatment clean break */
  }

  .hero-content p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 auto 22px;
    max-width: 320px;
  }

  .hero-buttons {
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
  }

  .hero-buttons a {
    padding: 12px 22px;
    font-size: 14px;
    border-radius: 30px;
  }

  .hero-image {
    margin-top: 20px;
  }

  .hero-image img {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: block;
    border-radius: 16px;
  }
}

/* emergency strip */

.emergency-strip {
  background: #dc3545;
  color: #fff;
  padding: 18px 0;
}

.emergency-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.emergency-box a {
  background: #fff;
  color: #dc3545;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
}

@media (max-width: 600px) {
  .emergency-box {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* latest news */

.latest-news {
  background: #f1f6ff;
  padding: 14px 0;
}

.news-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

.news-title {
  background: #0d6efd;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 500;
  white-space: nowrap;
}

.news-marquee {
  overflow: hidden;
  flex: 1;
  width: 100%;
}

.news-track {
  display: flex;
  gap: 50px;
  animation: scrollNews 18s linear infinite;
}

.news-track span {
  white-space: nowrap;
  font-size: 14px;
  color: #333;
}

@keyframes scrollNews {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}


@media (max-width: 600px) {
  .news-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-title {
    margin-bottom: 6px;
  }
}


/* departments */

.departments {
  padding: 80px 0;
  background: #f8fafc;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 32px;
  font-weight: 700;
  color: #0d6efd;
}

/* GRID */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

/* CARD */
.dept-card {
  padding: 32px 20px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #1f2933;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.dept-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(13,110,253,0.2);
  color: #0d6efd;
  border-color: #0d6efd;
}

/* MOBILE */
@media (max-width: 768px) {
  .section-title {
    font-size: 26px;
  }

  .dept-card {
    font-size: 16px;
    padding: 24px 16px;
  }
}


/* features */

.section-title.light {
  color: #000;
}

/* FEATURES */
.features {
  
  padding: 80px 0;
  color: #000;
}

.features .section-title {
  text-align: center;
  margin-bottom: 50px;
}

/* HORIZONTAL ALIGNMENT */
.features-grid {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 24px;
}

/* FEATURE CARD */
.feature {
  flex: 1;
  background: rgba(255,255,255,0.15);
  padding: 36px 26px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.35s ease;
  border: 1px solid #000;
}

.feature i {
  font-size: 34px;
  margin-bottom: 16px;
}

.feature h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature p {
  font-size: 14px;
  opacity: 0.9;
  color: #000;
}

/* HOVER */
.feature:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-8px);
}

@media (max-width: 991px) {
  .features-grid {
    flex-wrap: wrap;
  }

  .feature {
    flex: 1 1 calc(50% - 12px);
  }
}

@media (max-width: 575px) {
  .features-grid {
    flex-direction: column;
  }

  .feature {
    flex: 1 1 100%;
  }
}
@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 22px;
    margin-bottom: 24px;
  }
}


/* doctors */

/* ===== DOCTORS SECTION ===== */
.doctors {
  padding: 90px 0;
  background: #f9fbff;
}

.section-subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 50px;
  font-size: 15px;
}

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

/* CARD */
.doctor-card {
  background: #fff;
  border-radius: 18px;
  padding: 26px;
  text-align: center;
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.doctor-card:hover {
  transform: translateY(-8px);
}

/* IMAGE */
.doctor-img {
  width: 120px;
  height: 120px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #0d6efd;
}

.doctor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXT */
.doctor-card h4 {
  font-size: 18px;
  margin-bottom: 6px;
  color: #0b1c2d;
}

.doctor-card span {
  color: #0d6efd;
  font-size: 14px;
  font-weight: 500;
}

.doctor-card p {
  font-size: 14px;
  margin-top: 8px;
  color: #666;
}

.doctor-cta {
  margin-top: 50px;
  text-align: center;
}

/* apointment */

/* ===== APPOINTMENT CTA ===== */
.appointment-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #0d6efd, #20c997);
}

.appointment-box {
  background: #ffffff;
  border-radius: 22px;
  padding: 50px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

/* TEXT */
.appointment-text h2 {
  font-size: 34px;
  color: #0b1c2d;
  margin-bottom: 14px;
}

.appointment-text p {
  color: #555;
  font-size: 16px;
  max-width: 420px;
}

/* FORM */
.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.appointment-form input,
.appointment-form select {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 15px;
}

.appointment-form input:focus,
.appointment-form select:focus {
  outline: none;
  border-color: #0d6efd;
}

/* BUTTON */
.appointment-form button {
  margin-top: 10px;
  padding: 14px;
  border-radius: 12px;
  font-size: 16px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .appointment-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .appointment-text p {
    margin: 0 auto;
  }
}

/* testimonials */

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 100px 0;
  background: #f9fbff;
  overflow: hidden;
}

.testimonial-slider {
  margin-top: 60px;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 30px;
  animation: slideTestimonials 25s linear infinite;
}

.testimonial-card {
  min-width: 320px;
  background: #ffffff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
}

.testimonial-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 18px;
}

.testimonial-card h4 {
  font-size: 16px;
  color: #0b1c2d;
  margin-bottom: 4px;
}

.testimonial-card span {
  font-size: 13px;
  color: #0d6efd;
}

/* AUTO SLIDE */
@keyframes slideTestimonials {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .testimonial-track {
    animation-duration: 35s;
  }

  .testimonial-card {
    min-width: 260px;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    min-width: 240px;
    padding: 24px;
  }
}
















/* ===== FOOTER ===== */
.footer {
  background: #0b1c2d;
  color: #cfd8e3;
  padding: 70px 0 0;
   margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* FOOTER COL */
.footer-col h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 14px;
}

/* LOGO */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

/* LINKS */
.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #cfd8e3;
  font-size: 14px;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #0d6efd;
  padding-left: 4px;
}




/* CONTACT LIST */
.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

/* SOCIAL */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  transition: 0.3s;
  text-decoration: none;
}

.footer-social a:hover {
  background: #0d6efd;
  transform: translateY(-3px);
}

/* BOTTOM */
.footer-bottom {
  margin-top: 50px;
  padding: 18px 0;
  background: #081523;
  text-align: center;
  font-size: 14px;
  color: #9fb0c3;
}

.footer-credit {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.footer-credit:hover {
  color: #20c997;
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== FLOATING ICON BUTTONS ===== */
.floating-icons {
  position: fixed;
  right: 12px;
   max-width: 100vw;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1200;
}

.float-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

.float-icon::after {
  content: attr(title);
  position: absolute;
  right: 60px;
  background: #000;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.float-icon:hover::after {
  opacity: 1;
}

.float-icon i {
  pointer-events: none;    /* icon clean click */
}

/* COLORS */
.float-icon.call {
  background: #0d6efd;
}

.float-icon.whatsapp {
  background: #25d366;
}

.float-icon.appointment {
  background: #20c997;
}

.float-icon.top {
  background: #343a40;
}

/* EMERGENCY SOS */
.float-icon.sos {
  background: #dc3545;
  animation: pulseSOS 1.6s infinite;
}

/* HOVER */
.float-icon:hover {
  transform: translateY(-4px) scale(1.05);
}

.float-icon.top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

/* show class */
.float-icon.top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


/* SOS PULSE */
@keyframes pulseSOS {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(220, 53, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
  }
}

/* MOBILE SAFE SIZE */
@media (max-width: 575px) {
  .float-icon {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }
}
@media (max-width: 600px) {
  .floating-icons {
    right: 12px;
    bottom: 80px;
  }
}

