* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
  /* padding-bottom: 52px; */
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1170px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: #1c1c4c;
  color: #fff;
  font-size: 14px;
}

.topbar-inner,
.middlebar-inner,
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-list {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.phone-list a {
  padding: 11px 0;
  font-weight: 600;
  display: flex;
}
.header-text{
  color:#fff;
  font-size: 35px;
}
.phone-list span {
  color: #ffdf54;
}
.row{
  display: grid;
    grid-template-columns: 0.8fr .8fr;
    gap: 48px;
    align-items: center;
}
.socials {
  display: flex;
  gap: 10px;
}
.hospital-address{
 padding: 0px 0px;
    font-size: 16px;
    color: #919191;
    font-weight: 500;
    margin-bottom: 15px;
}
.timezone{
      padding: 0px;
    margin: 0px;
    font-size: 20px;
}
.footer{
    background:#4b2e83;
    padding:50px 80px;
    color:#fff;
}

.footer-row{
    display:flex;
    align-items:flex-start;
}

.col{
    width:33.33%;
    padding-right:30px;
}

.logo{
    width:180px;
    margin-bottom:15px;
}

.col h3{
    margin-bottom:20px;
    font-size:24px;
}

.col p,
.col a{
    color:#fff;
    text-decoration:none;
    line-height:28px;
}

.col a:hover{
    text-decoration:underline;
}
.line-bottom{
  font-size: 20px;
  margin-bottom: 0px;
}
.socials a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .16);
  font-weight: 700;
}

.middlebar {
  background: #f8f8f8;
  border-bottom: 1px solid #e9e9e9;
}

.logo img {
  width: 245px;
  padding: 14px 0;
}

.header-actions {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-weight: 500;
  font-size: 18px;
}

.call-btn {
  background: #f36f21;
  color: #fff;
  padding: 10px 14px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
}

.main-nav {
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-inner {
  justify-content: flex-start;
  gap: 0;
  overflow-x: auto;
}

.nav-inner a {
  padding: 15px 14px;
  color: #222;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-transform: uppercase;
}

.nav-inner a:hover {
  background: #1c1c4c;
  color: #fff;
}

.hero {
  position: relative;
  min-height: 585px;
  overflow: hidden;
  background: #111;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity .8s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .22);
}

.hero-slide.active {
  opacity: 1;
}

.hero-copy {
  position: relative;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 585px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
}

.hero-copy.align-right {
  align-items: flex-end;
  text-align: right;
}

.hero-copy p {
  margin: 0 0 10px;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 800;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 55px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
}

section {
  padding: 60px 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
}
.two-col1{
   display: grid;
  grid-template-columns:0.4fr .8fr;
  gap: 48px;
  align-items: center;
}

.section-kicker {
  display: block;
  color: #1c1c4c;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

h2 {
  margin: 0 0 8px;
  color: #1c1c4c;
  font-size: 32px;
  line-height: 1.25;
  text-align: center;
}

.doctor-section h2,
.doctor-section .section-kicker {
  text-align: left;
}

.lead {
  font-weight: 600;
  color: #222;
}

.doctor-photo {
  border: 1px solid #4c4c4c;
  padding: 0;
  justify-self: end;
  max-width: 400px;
}

.appointment,
.services {
  background: #fff;
}

.title-icon {
  margin: 0 auto 28px;
  width: 57px;
}

.appointment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.hours-card {
  border: 10px solid #f3f3f3;
  padding: 24px;
  background: #fff;
}

.hours-card h3,
.service-card h3 {
  margin: 0 0 12px;
  color: #1c1c4c;
  font-size: 18px;
}

.label {
  margin: 0 0 12px;
  color: #000;
  text-transform: uppercase;
  font-weight: 600;
}

.time-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #eee;
  padding: 12px 0;
}

.time-row span {
  color: #f36f21;
  font-weight: 600;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.service-card {
  border: 1px solid #e6e6e6;
  background: #fff;
  padding-bottom: 18px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-card h3,
.service-card p {
  padding: 0 18px;
}

.service-card h3 {
  margin-top: 15px;
    min-height: 33px;
    text-align: center;
    font-size: 19px;
}

.service-card p {
  margin: 0;
  font-size: 14px;
}

.achievements {
  background: #1c1c4c;
  color: #fff;
}

.achievements h2 {
  color: #fff;
  margin-bottom: 30px;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.counter {
  background: #fff;
  color: #222;
  text-align: center;
  padding: 34px 16px;
}

.counter span {
  color: #1c1c4c;
  display: block;
  font-size: 44px;
  font-weight: 500;
}

.counter p {
  margin: 6px 0 0;
  font-weight: 600;
}

.full {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.videos {
  background: #fafafa;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.video-grid iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.more-video {
  display: table;
  margin: 28px auto 0;
  background: #1c1c4c;
  color: #fff;
  padding: 10px 18px;
}

.query-section {
  display: grid;
  grid-template-columns: 5fr 7fr;
  padding: 0;
  min-height: 420px;
}

.query-image {
  background: url("images/bg/bg4.jpg") center/cover;
}

.query-form {
  background: url("images/bg/bg6.jpg") center/cover, #f7f7f7;
  padding: 56px;
}

.query-form h2 {
  text-align: left;
  margin-bottom: 24px;
}

.query-form form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

input {
  width: 100%;
  height: 44px;
  border: 1px solid #ddd;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}

.full-field {
  grid-column: 1 / -1;
}

button {
  width: fit-content;
  border: 0;
  background: #1c1c4c;
  color: #fff;
  padding: 11px 24px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.testimonials {
  background: #fff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.review {
  border: 1px solid #ececec;
  padding: 22px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
}

.review p {
  margin: 0 0 16px;
  font-size: 14px;
}

.review h3 {
  margin: 0;
  color: #1c1c4c;
  font-size: 16px;
  text-align: right;
}

.review span {
  display: block;
  color: #777;
  font-size: 13px;
  text-align: right;
}

.ticker {
  display: flex;
  align-items: center;
  gap: 0;
  background: #efefef;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  overflow: hidden;
}

.ticker strong {
  flex: 0 0 auto;
  background: #1c1c4c;
  color: #fff;
  padding: 12px 18px;
}

.ticker-track {
  display: flex;
  gap: 48px;
  min-width: max-content;
  animation: ticker 32s linear infinite;
  padding-left: 48px;
      background: #1c1c4c;
    color: #fff !important;
    padding-top: 13px;
    padding-bottom: 12px;
}

.ticker-track span {
  white-space: nowrap;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.footer {
  background: #111;
  color: #ddd;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  padding: 44px 0 30px;
}

.footer h3 {
  color: #fff;
  margin: 0 0 16px;
  font-size: 17px;
}

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

.footer li {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding: 8px 0;
  font-size: 13px;
}

.footer a:hover {
  color: #ffdf54;
}

.copyright {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 16px;
  font-size: 13px;
}

.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 74px;
  z-index: 20;
}

.whatsapp img {
  width: 40px;
}

.bottom-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  z-index: 30;
}

.bottom-call a {
  flex: 1;
  color: #fff;
  background: #2878ce;
  text-align: center;
  padding: 13px 8px;
  font-weight: 700;
}

.bottom-call a + a {
  background: #1c1c4c;
}

@media (max-width: 900px) {
  .topbar,
  .header-actions {
    display: none;
  }

  .middlebar-inner {
    justify-content: center;
  }

  .hero,
  .hero-copy {
    min-height: 520px;
  }

  .two-col,
  .appointment-grid,
  .service-grid,
  .achievement-grid,
  .video-grid,
  .query-section,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .doctor-section h2,
  .doctor-section .section-kicker {
    text-align: center;
  }

  .doctor-photo {
    justify-self: center;
  }

  .query-image {
    min-height: 260px;
  }

  .query-form {
    padding: 36px 20px;
  }

  .bottom-call {
    display: flex;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 22px, 1170px);
  }

  section {
    padding: 42px 0;
  }

  .logo img {
    width: 220px;
  }

  .hero,
  .hero-copy {
    min-height: 440px;
  }

  .hero-copy.align-right {
    align-items: center;
    text-align: center;
  }

  .nav-inner a {
    padding: 12px 10px;
    font-size: 12px;
  }

  .query-form form {
    grid-template-columns: 1fr;
  }

  .time-row {
    flex-direction: column;
    gap: 2px;
  }

  .ticker {
    display: none;
  }
}
