:root {
  --green:#2b8c5a;
  --dark:#2b8c5a;
  --white:#fff;
  --text:#849098;
  --light:#f6f9f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:serif;
  color: var(--text);
  font-family: serif;
    font-size: 18px;
}
p {
    font-size: 20px !important;
    line-height: 24px;
}
a{text-decoration:none; color:#0f8f45; word-wrap: break-word;}
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}
.clear{clear:both;}
.mt-50{margin-top: 50px  !important;}
.pull-left{float:left;}
.innercontent .col-sm-8{width:65%;}
.innercontent .col-sm-4 {
    width: 30%;
    margin-left: 26px;
}

h3, .content-section h3, .about-content h3 {color:#2b8c5a !important;}

/* CONTAINER */
header .container, .page-header .container{max-width: 1300px; padding:0;}
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.brandlogo img{width:70%;}
/* TOP BAR */
.top-bar {
  background: #2b8c5a;
  color: #fff;
  font-size: 13px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  padding: 8px 20px;
}

/* HEADER */
.header {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-weight: 700;
  color: #2b8c5a;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav a {
  text-decoration: none;
  color: #000;
  font-size: 14px;
}

.nav .btn {
  background: #2b8c5a;
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
}

.hamburger {
  display: none;
  background: none;
  font-size: 28px;
  border: none;
}

/* HERO */
.hero {
  position: relative;
  height: 560px;
  overflow: hidden;
}

.slides {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(43,140,90,0.75);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 140px 80px;
  color: #fff;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 28px;
}

.btn.white {
  background: #fff;
  color: #2b8c5a;
  padding: 12px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}

/* DOTS */
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  margin: 0 5px;
}

.dot.active {
  background: #fff;
}
/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #2b8c5a;
  display: block;
}



/* SECTIONS */
.section{
  padding:70px 40px;
  text-align:center;
}

.section-light{background:var(--light)}

.section h2{color:#2b8c5a;margin-bottom:50px}
.section p{max-width:820px;margin:0 auto 30px;color:var(--gray)}
.welcome{
	    line-height: 1.625;font-size: 1.125rem;
	
}
.home-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.booking-hours-home .info-grid{display: grid !important;}
@media (max-width: 768px) {
    .home-services-grid {
        grid-template-columns: 1fr;
    }
}
/* SERVICES */
.services-grid {
    max-width: 1400px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.card{
  background:#fff;
  padding:28px;
  border-radius:6px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  text-align:left;
border:1px solid #ccc;
}
.card i{
  font-size:26px;
  color:#2b8c5a;
  margin-bottom:10px;
  padding: 10px;
    background: #eef6f3;
    border-radius: 5px;
}
.card h4{color:#2b8c5a; font-size: 20px;}
/* INFO */
.info-grid{
  max-width:1300px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:30px;
}

.hours-box{
  background:#2b8c5a;
  color:#fff;
  padding:30px;
  border-radius:6px;
}

.hours-box div{
  display:flex;
  justify-content:space-between;
  margin:10px 0; 
  padding: 10px;
    border-bottom: 1px solid #40986f;
}
.hours-box h3 {
    font-size: 1.5rem;
    line-height: 2rem;
    margin: 0;
    text-align: left; color:#fff !important;
}
.booking-box{
  background:#fff;
  padding:30px;
  border-radius:6px;
  box-shadow:0 6px 18px rgba(0,0,0,.06); border: 1px solid #ccc; text-align:left;
}
.booking-box h3{
font-size: 1.5rem;
    line-height: 2rem;
	}
.booking-box p{line-height:30px;}
.booking-box p a{color:#2b8c5a ;}
/* FOOTER */
footer{
  background:#22262a;
  color:#969aa0;
  padding:60px 40px 20px;
}

.footer-grid{
  max-width:1300px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:30px;
}
footer p {
    color: #969aa0;
    font-size: 18px !important;
    line-height: 1.625;
}
footer ul{padding-left: 0;}
footer ul li {
    color: #969aa0;
    font-size: 18px;
    line-height: 1.625;
    list-style: none;
    align-items: flex-start;
    display: flex;
    margin-bottom: 20px;
}
footer ul li svg {color:#278b5d;     margin:6px 5px;}
footer h4{color:#fff;margin-bottom:12px}
footer a {
    color: #969aa0;
    text-decoration: none;
    display: block;
    margin: 6px 0;
    font-size: 18px;
    line-height: 1.625;
}

.footer-bottom{
  text-align:center;
  font-size:13px;
  margin-top:30px;
  border-top:1px solid #333;
  padding-top:15px;
}

/* ANIMATIONS */
.animate{
  opacity:1;
  transform:translateY(40px);
  transition:all .8s ease;
}

.animate.show{
  opacity:1;
  transform:none;
}
.container.narrow {
  max-width: 860px;
}

/* Page Header */
.page-header {
  background: #2b8c5a;
  padding: 64px 0 56px;
}

.page-header h1 {
  color: #fff;
  font-size: 44px;
  font-weight: 700;
  margin: 0 0 10px;
}

.breadcrumb {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

.breadcrumb a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.breadcrumb span {
  margin: 0 6px;
}

/* Content */
.about-content {
  padding: 72px 0;
}

.about-content p {
  font-size: 15.5px;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.about-content h3 {
  color: var(--dark-green);
  font-size: 20px;
  margin: 36px 0 12px;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 34px;
  }

  .about-content {
    padding: 48px 0;
  }
}
.practice-section {
  padding: 80px 0;
  background: #ffffff;
  color: #475569;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Intro text */
.practice-intro {
  max-width: 900px;
  margin-bottom: 50px;
}

.practice-intro p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Info cards */
.practice-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 70px;
}

.practice-card {
  background: #eef7f2;
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
}

.practice-card .icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.practice-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1f7a52;
  margin-bottom: 8px;
}

.practice-card p {
  font-size: 14px;
  line-height: 1.6;
}

/* Facilities */
.facilities {
  max-width: 900px;
  margin-bottom: 60px;
}

.facilities h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1f7a52;
  margin-bottom: 20px;
}

.facilities p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 18px;
}

/* Awards */
.awards h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1f7a52;
  margin-bottom: 20px;
}

.award-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #eef7f2;
  border-left: 4px solid #1f7a52;
  padding: 20px;
  border-radius: 8px;
}

.award-icon {
  font-size: 22px;
  line-height: 1;
}

.award-text strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
  color: #0f172a;
}

.award-text span {
  font-size: 14px;
  color: #64748b;
}

/* Responsive */
@media (max-width: 900px) {
  .practice-cards {
    grid-template-columns: 1fr;
  }

  .practice-section {
    padding: 60px 0;
  }
}
.practice-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #1f7a52;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.award-icon {
  font-size: 20px;
  color: #1f7a52;
  margin-top: 3px;
}
/************doctor*******************/
/* Font (similar to screenshot) */

.doctors-section:not(.doctorspage) {
  padding: 70px 20px;
  max-width: 900px;
  margin: auto;
}

/* Card */
.doctor-card {
  display: flex;
  gap: 30px;
  background: #ffffff;
  border: 1px solid #e3e6e5;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 35px;
  transition: 0.3s ease;
}

.doctor-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* Icon */
.doctor-icon {
  min-width: 50px;
  height: 80px;
  background: #eef3f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #2e8b57;
}

/* Content */
.doctor-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1f7a52;
  margin-bottom: 6px;
}

.qualification {
  display: block;
  font-size: 14px;
  color: #2e8b57;
  font-weight: 600;
  margin-bottom: 14px;
}

.doctor-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #5c6b66;
}

/* Responsive */
@media (max-width: 768px) {
  .doctor-card {
    flex-direction: column;
    text-align: left;
  }

  .doctor-icon {
    margin-bottom: 15px;
  }
}
/****************services***************************/
.services-section {
  padding: 80px 20px;
  font-family: 'Inter', sans-serif; max-width: 1200px;
  margin: auto;
}



.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Service Card */
.service-card {
  background: #ffffff;
  border: 1px solid #e3e6e5;
  border-radius: 8px;
  padding: 22px;
  transition: 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 8px 18px rgba(0,0,0,0.05);
}

.service-card .icon {
  width: 38px;
  height: 38px;
  background: #eaf3ef;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #2e8b57;
  margin-bottom: 14px;
}

.service-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1f7a52;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #5f6f69;
}

/* Pathology Box */
.pathology-box {
  margin-top: 50px;
  background: #eaf3ef;
  padding: 28px;
  border-radius: 8px;
}

.pathology-box h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1f7a52;
  margin-bottom: 10px;
}

.pathology-box p {
  font-size: 14px;
  color: #5f6f69;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
/***************for patients**********************/
.patients-content {
  padding: 80px 20px;
  font-family: 'Inter', sans-serif; max-width: 1200px;
  margin: auto;
}


.content-block {
  margin-bottom: 35px;
}

.content-block h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1f7a52;
  margin-bottom: 12px;
}

.content-block p {
  font-size: 14px;
  line-height: 1.7;
  color: #5f6f69;
  margin-bottom: 10px;
}

.content-block .highlight {
  font-weight: 600;
  color: #344d43;
}

.content-block strong {
  color: #1f7a52;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .patients-content {
    padding: 60px 20px;
  }

  .content-block h3 {
    font-size: 17px;
  }

  .content-block p {
    font-size: 14px;
  }
}
/*******************contact************************/
.contact-content {
  padding: 80px 0;
  font-family: 'Inter', sans-serif;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}



.contact-intro {
  text-align: center;
  color: #6b7c75;
  font-size: 18px;
  margin-bottom: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-left h2,
.contact-right h2 {
  color: #1f7a52;
  font-size: 24px;
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}

.info-icon {
  width: 42px;
  height: 42px;
  background: #e4efe9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.info-item h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #1f7a52;
}

.info-item p {
  margin: 0;
  color: #5c6e66;
  font-size: 15px;
  line-height: 1.6;
}

.info-item span {
  font-size: 13px;
  color: #7d8f88;
}

.contact-content .hours-title {
  margin-top: 40px;
}

.contact-content .hours-box {
  background: #eef6f3;
  border-radius: 10px;
  padding: 20px 25px;
  margin-top: 15px;
}

.contact-content .hours-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 15px;
  color: #3f4f48;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.contact-content .hours-row:last-child {
  border-bottom: none;
}

.map-box {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  margin-bottom: 25px;
}

.map-box img {
  width: 100%;
  display: block;
}

.btn-primary {
  display: block;
  text-align: center;
  background: #1f7a52;
  color: #fff;
  padding: 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #16603f;
}
.info-icon {
  width: 44px;
  height: 44px;
  background: #e4efe9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f7a52;
  flex-shrink: 0;
}

.info-icon svg {
  width: 20px;
  height: 20px;
}
/****************our staff********************/
.staff-content {
  padding: 70px 0;
  font-family: "Inter", sans-serif;
  color: #5f6f67;   
  /*width: 85%;
  max-width: 1100px;*/
  margin: auto;
}


.intro-text {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 900px;
}

.section-title {
  font-size: 22px;
  color: #1f7a52;
  margin: 40px 0 20px;
  font-weight: 700;
}

/* Doctor Cards */
.doctor-card {
  background: #ffffff;
  border: 1px solid #e3e9e6;
  border-radius: 8px;
  padding: 22px;
  display: flex;
  gap: 20px;
  margin-bottom: 18px;
  transition: 0.3s ease;
}

.doctor-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.doctor-icon {
  width: 48px;
  height: 48px;
}

.doctor-icon svg {
  width: 20px;
  height: 20px;
}

.doctor-info h3 {
  font-size: 16px;
  color: #1f7a52;
  margin-bottom: 4px;
  font-weight: 600;
}

.doctor-role {
  font-size: 13px;
  color: #1f7a52;
  display: block;
  margin-bottom: 8px;
}

.doctor-info p {
  font-size: 14px;
  line-height: 1.7;
}

/* Highlight Nursing Box */
.highlight-box {
  background: #e9f2ed;
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.highlight-box strong {
  display: block;
  margin-bottom: 6px;
  color: #1f7a52;
}

/* Allied List */
.allied-list {
  margin-top: 15px;
  padding-left: 20px;
}

.allied-list li {
  margin-bottom: 8px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .doctor-card {
    flex-direction: column;
  }

  .doctor-icon {
    margin-bottom: 10px;
  }

  .container {
    width: 92%;
  }
}
/****************women health************************/
.womens-health-content {
  background: #f5f7f6;
  padding: 70px 0;
  font-family: "Inter", sans-serif;
  color: #5f6f67;
}

.intro-text {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 35px;
  max-width: 900px;
}

/* Main section headings */
.womens-health-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1f7a52;
  margin-top: 30px;
  margin-bottom: 10px;
}

/* Sub headings (Family Planning etc.) */
.womens-health-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1f7a52;
  margin-top: 18px;
  margin-bottom: 6px;
}

/* Paragraph styling */
.womens-health-content p {
  font-size: 14.5px;
  line-height: 1.8;
  margin-bottom: 14px;
  max-width: 900px;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    width: 92%;
  }

  .womens-health-content {
    padding: 50px 0;
  }
}
/**********************pediatric**********************/
.paediatrics-content {
  padding: 70px 0;
  font-family: "Inter", sans-serif;
  color: #5f6f67;
    width: 85%;
  max-width: 1200px;
  margin: auto;
}


.paediatrics-content .intro {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 25px;
  max-width: 900px;
}

/* Bullet List */
.services-list {
  padding-left: 22px;
  margin-bottom: 35px;
  max-width: 900px;
}

.services-list li {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 8px;
  color: #5f6f67;
}

/* Resources Box */
.resources-box {
  background: #dfe9e5;
  padding: 30px;
  border-radius: 8px;
  max-width: 900px;
}

.resources-box h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1f7a52;
  margin-bottom: 15px;
}

.resources-box a {
  display: block;
  font-size: 15px;
  color: #1f7a52;
  text-decoration: none;
  margin-bottom: 8px;
  font-weight: 500;
}

.resources-box a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    width: 92%;
  }

  .paediatrics-content {
    padding: 50px 0;
  }
}

/********************Preventative Health*********************/

.preventative-content {
  padding: 80px 0;
  font-family: "Inter", sans-serif;
  width: 85%;
  max-width: 1200px;
  margin: 0 auto;
}

.preventative-content h2 {
  color: #1f6b45;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
}

.preventative-content p {
  color: #5f6f67;
  font-size: 35px;
  line-height:35px;
  margin-bottom: 25px;
  max-width: 950px;
  font-family:serif;
}

.service-list {
  margin-top: 10px;
  padding-left: 22px;
  max-width: 950px;
}

.service-list li {
  color: #5f6f67;
  font-size: 16px;
  line-height: 2;
  margin-bottom: 6px;
}
/*************faq accordian*****************/
.faq-section {
    padding: 70px 20px;
    max-width: 900px;
    margin: auto;
}
/* Core styles/functionality */
.tab {
    position: relative;
    border: 1px solid #e0e6eb;
    margin-bottom: 10px;
    border-radius: 5px;
}
.tab input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.tab__content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s;
}
.tab input:checked ~ .tab__content {
  max-height: 10rem;
}

/* Visual styles */
.accordion {
  color: var(--theme);
  overflow: hidden;
}
.tab__label,
.tab__close {
  display: flex;
  color: #2b8c5a;
  background: var(--theme);
  cursor: pointer; font-weight:bold;
}
.tab__label {
  justify-content: space-between;
  padding: 1rem;
}
.tab__label::after {
  content: "\276F";
  width: 1em;
  height: 1em;
  text-align: center;
  transform: rotate(90deg);
  transition: all 0.35s;
}
.tab input:checked + .tab__label::after {
  transform: rotate(270deg);
}
.tab__content p {
  margin: 0;
  padding: 1rem;
}
.tab__close {
  justify-content: flex-end;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}
.accordion--radio {
  --theme: var(--secondary);
}

/* Arrow animation */
.tab input:not(:checked) + .tab__label:hover::after {
  animation: bounce 0.5s infinite;
}
@keyframes bounce {
  25% {
    transform: rotate(90deg) translate(0.25rem);
  }
  75% {
    transform: rotate(90deg) translate(-0.25rem);
  }
}
.list-inline>li {
    display: inline-block;
    padding-right: 5px;
    padding-left: 5px;
}
.list-style3 .first-letter {
color: #12a854;
font-weight: bold;
font-size: 20px;
}

.section-boxed-child ul{padding-left:0px;}
.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}
.panel-body {
    padding: 15px;
}
.panel-default>.panel-heading {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd; padding: 10px;
}
.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.doctor-card-half{width:49%;
background: #ffffff;
    border: 1px solid #e3e9e6;
    border-radius: 8px;
    padding: 22px;
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
    transition: 0.3s ease;
	float:left; margin-right: 5px;
}
.doctor-icon {
    width: 100px;
    height: 100px;
}
.doctor-icon img {
    width: 100%;
    border-radius: 50%;
}

/* SECTION */
.doctors-section.doctorspage {
  padding: 80px 0;
  background: #f8f9fb;
  max-width: none;
  width: 100%;
  margin: 0;
}



/* CARD */
.doctor-card {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  align-items: flex-start;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.doctor-card:hover {
  transform: translateY(-5px);
}

/* IMAGE */
.doctors-section.doctorspage .doctor-img {
  flex: 0 0 180px;
  width: 180px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  align-self: flex-start;
  background: #2b8c5a;
}

.doctors-section.doctorspage .doctor-img img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  display: block;
  flex-shrink: 0;
  border-radius: 0;
}

.doctors-section.doctorspage .btn-bookdoctor {
  display: block;
  width: 100%;
  margin: 0;
  padding: 14px 10px;
  text-align: center;
  text-decoration: none;
  background: #2b8c5a;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  border-radius: 0;
  border: none;
  box-sizing: border-box;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.doctors-section.doctorspage .btn-bookdoctor:hover {
  background: #237a4d;
  color: #fff;
}

.doctor-img {
  flex: 0 0 180px;
  /*height: 180px;*/
  overflow: hidden;
  border-radius: 12px;
}

.doctor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* CONTENT */
.doctor-content {
  flex: 1;
}

.doctor-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #0a2a43;
}

.qualification {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0f8f45;
  margin-bottom: 15px;
}

.doctor-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 15px;
}

.doctor-bio-wrap {
  margin-top: 4px;
}

.doctors-section.doctorspage .doctor-bio.is-truncated,
.team-section .doctor-bio.is-truncated {
  max-height: 200px;
  overflow: hidden;
  position: relative;
}

.doctors-section.doctorspage .doctor-bio.is-truncated::after,
.team-section .doctor-bio.is-truncated::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

.doctors-section.doctorspage .btn-show-more,
.team-section .btn-show-more {
  margin-top: 12px;
  padding: 8px 18px;
  background: transparent;
  border: 1px solid #2b8c5a;
  color: #2b8c5a;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease;
}

.doctors-section.doctorspage .btn-show-more:hover,
.team-section .btn-show-more:hover {
  background: #2b8c5a;
  color: #fff;
}

.doctor-content ul {
  padding-left: 18px;
}

.doctor-content li {
  margin-bottom: 8px;
  font-size: 15px;
}

/* TABLET */
@media (max-width: 992px) {
  .doctor-card {
    gap: 25px;
  }

  .doctor-img {
    flex: 0 0 220px;
    height: 220px;
  }

  .doctors-section.doctorspage .doctor-img {
    flex: 0 0 200px;
    width: 200px;
    height: auto;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .doctor-card {
    flex-direction: column;
    padding: 20px;
  }

  .doctor-img {
    width: 100%;
    height: 300px;
  }

  .doctors-section.doctorspage .doctor-img {
    width: 100%;
    max-width: 280px;
    flex: none;
    height: auto;
    margin: 0 auto;
  }

  .doctor-content h3 {
    font-size: 20px;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  .doctor-img {
    height: 250px;
  }

  .doctors-section.doctorspage .doctor-img {
    max-width: 100%;
    height: auto;
  }
}




@media (max-width: 680px) {
.list-inline>li {display: block;}
.doctor-card-half{width:100%;}
}
/****************************doctor page icons*************************/
.team-section {
  padding: 60px 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.section-title {
  font-size: 26px;
  font-weight: 600;
  color: #0c8f5b;
  margin: 40px 0 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: #f1f1f1;
  padding: 18px 12px;
  border-radius: 4px;
}

.card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card p {
  font-size: 14px;
  color: #6b6b6b;
  margin: 0;
}

.team-card-description {
  margin-top: 8px;
  color: #444;
  line-height: 1.5;
}

.team-section .team-doctor-profiles {
  margin-top: 48px;
  margin-bottom: 48px;
}

.team-section .team-doctor-profiles .doctor-card {
  margin-bottom: 32px;
}

.team-section .team-doctor-profiles .doctor-card:last-child {
  margin-bottom: 0;
}

.team-section .team-doctor-profiles .doctor-img {
  flex: 0 0 180px;
  width: 180px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  align-self: flex-start;
  background: #f5f5f5;
}

.team-section .team-doctor-profiles .doctor-img img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: top;
  display: block;
  flex-shrink: 0;
}

.team-section .team-doctor-profiles .btn-bookdoctor {
  display: block;
  width: 100%;
  margin: 0;
  padding: 14px 10px;
  text-align: center;
  text-decoration: none;
  background: #2b8c5a;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  border-radius: 0;
  border: none;
  box-sizing: border-box;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.team-section .team-doctor-profiles .btn-bookdoctor:hover {
  background: #237a4d;
  color: #fff;
}

/* SVG icon style */
.icon svg {
  width: 18px;
  height: 18px;
  stroke: #0c8f5b;
}

/* Responsive */
@media (max-width: 992px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .grid {
    grid-template-columns: 1fr;
  }
  
}
.presswrap {
    padding: 70px 20px;
    max-width: 1200px;
    margin: auto;
}
.presswrap .doctor-img {
    flex: 0 0 280px;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
}
@media (max-width: 680px) {
.presswrap .doctor-img {
    flex: 0 0 180px;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
}
}
/*************feedback*****************/

.feedback-section {
  padding: 70px 20px;
  background: #f5f5f5;
}

.feedback-section h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #222;
}

.subtitle {
  font-size: 18px;
  color: #555;
  margin-bottom: 35px;
  line-height: 1.6;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  padding: 18px 20px;
  border-radius: 6px;
  border: 1px solid #ddd;
  background: #f1f1f1;
  font-size: 16px;
  outline: none;
  transition: 0.3s ease;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  border-color: #28a745;
  background: #fff;
}

.form-row {
  display: flex;
  gap: 25px;
  margin-bottom: 25px;
}

.feedback-form input[type="text"],
.feedback-form input[type="email"] {
  height: 60px;
}

#summary {
  margin-bottom: 25px;
  height: 60px;
}

textarea {
  height: 200px;
  resize: vertical;
  margin-bottom: 25px;
}

.btn-submit {
  background: linear-gradient(to bottom, #28c76f, #1e9e55);
  color: #fff;
  border: none;
  padding: 15px 45px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 5px 0 #1b8a4a;
  transition: 0.2s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
}

.btn-submit:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #1b8a4a;
}

.feedback-form-message {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 600;
}

.feedback-form-message.is-success {
  color: #2b8c5a;
}

.feedback-form-message.is-error {
  color: #c0392b;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-message {
  margin-top: 20px;
  font-weight: 500;
  font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 20px;
  }

  .feedback-section h2 {
    font-size: 26px;
  }

  .subtitle {
    font-size: 16px;
  }
}


.contact-info-section {
  background: #f3f3f3;
  padding: 60px 20px;
}


.info-grid {
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

.info-box {
  flex: 1;
}

.info-box h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
}

.info-box p {
  font-size: 18px;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.6;
}

.info-box a {
  color: #1aa35b;
  text-decoration: none;
  font-weight: 500;
}

.info-box a:hover {
  text-decoration: underline;
}

.mt-15 {
  margin-top: 15px;
}

/* ---------------- Responsive ---------------- */

/* Tablet */
@media (max-width: 992px) {
  .info-grid {
    gap: 40px;
  }

  .info-box p {
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .info-grid {
    flex-direction: column;
    gap: 40px;
  }

  .info-box h3 {
    font-size: 20px;
  }

  .info-box p {
    font-size: 15px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .contact-info-section {
    padding: 40px 15px;
  }

  .info-box h3 {
    font-size: 18px;
  }

  .info-box p {
    font-size: 14px;
  }
}
/******************Testimonials*********************/
.form-container {
    max-width: 500px;
    margin: auto;
    background: #fff;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

h2 {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

textarea {
    height: 120px;
    resize: vertical;
}

form button,
button.btn-submit,
button[type="submit"],
.hero .arrow {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 25px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
}

form button:hover,
button.btn-submit:hover,
button[type="submit"]:hover,
.hero .arrow:hover {
    background: #218838;
}

.success {
    color: green;
    margin-top: 10px;
}

.error {
    color: red;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 680px) {
    .form-container {
        padding: 20px;
    }
	.innercontent .col-sm-8 {
    width: 100%;
}
	.innercontent .col-sm-4 {
    width: 100%;
    margin-left: 0px;
}
}

.testimonials-block {
    color: #333;
    border-bottom: 2px dotted #ccc;
    margin-bottom: 30px;
    width: 100%;
    padding: 20px 20px;
}
/******************home services icons*****************/
.service-icon {
     width: 50px;
    height: 50px;
    background: lightgrey;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: #0c8f5b;
  fill: none;
}

.service-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.home-services-grid .service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.home-services-grid .service-card-link:hover h4 {
  color: #0c8f5b;
}
/****************SIDE NAV********************/
.sidenav .list-unstyled {
    padding-left: 0;
    list-style: none;
}
.sidenav li {
    border-bottom: 2px solid #fff;
    background: #edf7f1;
}
.sidenav li a {
    display: block;
    padding: 10px 20px;
    color: #0f8f45;
    font-weight: 500; font-size: 16px;
}
.sidenav li:hover {
    background: #bdecd2;
}
.sidenav li.active {
    background: #bdecd2;
}
/*************LATEST NEWS**************/

.latest-news {
  background: #f3f3f3;
  padding: 80px 20px;
}


/* Section Title */
.section-title {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.section-title .icon {
  font-size: 30px;
  margin-right: 15px;
}

.section-title h2 {
  font-size: 40px;
  font-weight: 500;
  color: #333;
}

/* Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Card */
.news-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card img {
  width: 100%;
  height: 200px;
  /*object-fit: cover;*/
}

/* Content */
.news-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.news-content h3 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #222;
}

.news-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 40px;
}

/* Button */
.newsbtn {
    padding: 15px 30px;
    background: #2b8c5a;
    color: #fff;
    border-radius: 2px;
    margin: 10px;
    display: inline-table;
    cursor: pointer;
    text-align: center;
    bottom: 0px;
    position: absolute;
    width: 100%;
    margin: 0 auto;
    left: 0;
}

.newsbtn:hover {
  background: #166634;
}
.latestnews_detail .doctor-img img {object-fit: inherit;}
/* ---------------- Responsive ---------------- */

/* Tablet */
@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title h2 {
    font-size: 32px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .news-card img {
    height: 180px;
  }
}
/********events**************/

.events-section {
  background: beige;
  padding: 20px 20px;
}


/* Title */
.events-title {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.calendar-icon {
  font-size: 36px;
  margin-right: 15px;
  color: #1f8b46;
}

.events-title h2 {
  font-size: 28px;
        color: #2b8c5a;
        font-weight: bold;
}

/* Event Item */
.event-item {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Date Badge */
.event-date {
  background: #1f8b46;
  color: #fff;
  width: 90px;
  text-align: center;
  padding: 15px 10px;
  position: relative;
}

.event-date::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 0;
  border-top: 45px solid transparent;
  border-bottom: 45px solid transparent;
  border-left: 20px solid #1f8b46;
}

.day {
  display: block;
  font-size: 32px;
  font-weight: 600;
}

.month {
  display: block;
  font-size: 16px;
  margin-top: 5px;
}

/* Event Text */
.event-content a {
  font-size: 20px;
  color: #1f8b46;
  text-decoration: none;        font-weight: bold;
} 

.event-content a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {

  .events-title h2 {
    font-size: 28px;
        color: #2b8c5a;
        font-weight: bold;
  }

  .event-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .event-date::after {
    display: none;
  }

}

.footer-bottom a{display: inline-block;}
.social-icon {
  color: #fff; /* Facebook blue */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.social-icon:hover {
  color: #0f5dc2;
  transform: scale(1.1);
}

/*********************************/

.latest-news-alt {
  background: #f5f5f5;
  padding: 80px 20px;
}


.section-heading {
  font-size: 28px;
  margin-bottom: 40px;
  color: #2b8c5a;
}

/* Layout */
.news-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
}

/* Featured Left */
.featured-news {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.featured-news img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.featured-content {
  padding: 30px;
}

.featured-content h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.featured-content p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.btn-main {
  background: #1f8b46;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
}

.btn-main:hover {
  background: #166634;
}

/* Right Side Small News */
.side-news {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.small-news {
  display: flex;
  gap: 15px;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.05);
  /*align-items: center;*/
}

.small-news img {
  /*width: 190px;*/
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
}

.small-news h4 {
  font-size: 16px;
  margin-bottom: 8px; margin-top: 0;
}

.small-news a {
  font-size: 13px;
  color: #1f8b46;
  text-decoration: none;
}

.small-news a:hover {
  text-decoration: underline;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 992px) {
  .news-layout {
    grid-template-columns: 1fr;
  }

  .featured-news img {
    height: 250px;
  }
}

@media (max-width: 600px) {

  .section-heading {
    font-size: 28px;
  }

  .small-news {
    flex-direction: column;
    align-items: flex-start;
  }

  .small-news img {
    width: 100%;
    height: 160px;
  }
}/************Modal css**************/
.btn.btn-big {
    font-size: 18px;
    padding: 15px 20px;
    min-width: 100px;
}
#modal-one .btn-close {
    color: #dc3545;
    font-size: 32px;
    text-decoration: none;
    position: absolute;
    right: 10px;
    top: 6px;
    z-index: 100;
    pointer-events: auto;
    line-height: 36px;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    padding: 0;
    display: inline-block;
    box-sizing: border-box;
    transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
#modal-one .btn-close:hover {
    color: #fff;
    background: #dc3545;
    transform: scale(1.08);
}

@keyframes backdropFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -48%) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes titlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}
@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

body.modal-open {
    overflow: hidden;
}

#modal-one.modal {
    display: block !important;
    position: relative;
    z-index: 9999;
}
#modal-one.modal.modal-closed {
    display: none !important;
}
#modal-one .modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background: rgba(0, 0, 0, 0.65);
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    animation: backdropFadeIn 0.35s ease-out;
}
#modal-one .modal-dialog {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 11;
    transform: translate(-50%, -50%);
    background: #fefefe;
    border: 1px solid #ddd;
    border-radius: 12px;
    width: 640px;
    max-width: calc(100vw - 32px);
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    animation: modalSlideIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
#modal-one .modal-content-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #0f8f45 #eee;
}
#modal-one .modal-content-scroll::-webkit-scrollbar {
    width: 8px;
}
#modal-one .modal-content-scroll::-webkit-scrollbar-thumb {
    background: #0f8f45;
    border-radius: 6px;
}
.modal-body {
    padding: 14px 20px 18px;
    text-align: center;
}
.modal-body p, .modal-footer p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 10px;
}
.modal-header, .modal-footer {
    flex-shrink: 0;
}
.modal-header {
    border-bottom: 1px solid #eee;
}
.notifi-banner {
    width: 100%;
    max-height: 90px;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.modal-footer {
    border-top: 1px solid #eee;
    text-align: center;
    padding: 12px 16px 18px;
}
.modal-footer h5 {
    color: #0f8f45;
    font-family: "Brygada 1918", sans-serif;
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 8px;
}
.modal-booking-btn img {
    max-width: 220px;
    height: auto;
}

.bulk-billing-promo {
    background: #f3faf6;
    padding: 18px 20px 8px;
    text-align: center;
    animation: fadeInUp 0.45s ease 0.1s both;
}
.bulk-billing-intro {
    margin: 0 0 4px;
    font-size: 15px;
    color: #333;
    font-weight: 500;
}
.bulk-billing-title {
    margin: 0 0 6px;
    font-size: 32px;
    line-height: 1.1;
    color: #0f8f45;
    font-weight: 700;
    animation: titlePulse 2.5s ease-in-out 0.8s infinite;
}
.bulk-billing-subtitle {
    margin: 0 0 8px;
    font-size: 16px;
    color: #444;
    font-weight: 500;
}
.medicare-card-illus {
    max-width: 120px;
    margin: 0 auto 4px;
    animation: cardFloat 3s ease-in-out 1s infinite;
}
.medicare-card-illus svg {
    width: 100%;
    height: auto;
    display: block;
}
.bulk-billing-bar {
    background: #0f8f45;
    color: #fff;
    text-align: center;
    padding: 12px 18px 14px;
    animation: fadeInUp 0.45s ease 0.2s both;
}
.bulk-billing-required {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}
.bulk-billing-note {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.4;
    color: #ffe566;
}
.bulk-fee-btn {
    display: inline-block;
    background: #fff;
    color: #0f8f45;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 24px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.bulk-fee-btn:hover {
    background: #e8f7ee;
    color: #0a6b34;
    transform: translateY(-2px);
}
.modal-header {
    animation: fadeInUp 0.45s ease 0.3s both;
}
.modal-body {
    animation: fadeInUp 0.45s ease 0.38s both;
}
.modal-footer {
    animation: fadeInUp 0.45s ease 0.46s both;
}

@media (max-width: 680px) {
    #modal-one .modal-dialog {
        width: calc(100vw - 24px);
        max-height: 92vh;
    }
    .bulk-billing-title {
        font-size: 26px;
    }
    .notifi-banner {
        max-height: 75px;
    }
    .modal-footer h5 {
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .modal-backdrop,
    .modal .modal-dialog,
    .bulk-billing-promo,
    .bulk-billing-bar,
    .bulk-billing-title,
    .medicare-card-illus,
    .modal-header,
    .modal-body,
    .modal-footer {
        animation: none;
    }
}

.btn-bookdoctor {
    padding: 15px 25px;
    background: #2b8c5a;
    color: #fff;
    border-radius: 2px;
    display: inline-table;
    cursor: pointer;
}

/* Inner page layout (migrated PHP pages) */
.page-header-subtitle {
    margin-top: 8px;
    color: #fff;
    font-size: 16px;
}
.inner-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
}
.inner-main {
    min-width: 0;
}
.inner-sidebar {
    position: sticky;
    top: 100px;
}
.cms-content,
.cms-content li {
    line-height: 1.7;
    color: #3d4a44;
}
.cms-content p, .cms-content {
font-size: 20px !important;
line-height: 30px !important;
color: #3d4a44;
font-family: serif;
max-width: none;
margin-bottom: 25px;
}
.cms-content h5 {font-size: 22px !important;}
.cms-content img {
    max-width: 100%;
    height: auto;
}
.cms-content h1,
.cms-content h2,
.cms-content h3,
.cms-content h4,
.cms-content h5 {
    color: #1f7a52;
    margin: 1.2em 0 0.6em;
}
.press-detail img,
.graybox img,
.doctor .img-box img {
    max-width: 100%;
    height: auto;
}
.inner-main-full {
    max-width: 900px;
    margin: 0 auto;
}
#map {
    width: 100%;
    min-height: 360px;
    border-radius: 8px;
    background: #e8ece9;
}
.contact-details table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}
.contact-details table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e3e6e5;
    vertical-align: top;
}
.contact-grid-legacy {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
}
.doctor {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e3e6e5;
}
.doctor-detail .text-content.short-text {
    max-height: 120px;
    overflow: hidden;
}
.dr-list {
    list-style: none;
    padding: 0;
}
.dr-list li {
    padding: 8px 0;
    border-bottom: 1px solid #edf2ef;
}
.dr-list li i {
    color: #0f8f45;
    margin-right: 8px;
}
.video-panel {
    margin-top: 24px;
    background: #f7faf8;
    border-radius: 8px;
    overflow: hidden;
}
.video-panel h4 {
    padding: 14px 16px;
    margin: 0;
    background: #0f8f45;
    color: #fff;
    font-size: 15px;
}
.video-panel .video-panel-body {
    padding: 16px;
}
.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 16px;
}
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.home-services-grid.category-services-grid {
    margin-top: 24px;
}

.show-more-services .card:not(.is-visible) {
    display: none;
}

.category-services-actions .is-hidden {
    display: none !important;
}

.category-services-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.error-404-wrap {
    text-align: center;
    padding: 40px 0;
}
.error-404-wrap img {
    max-width: 100%;
    height: auto;
}
@media (max-width: 991px) {
    .inner-layout,
    .contact-grid-legacy {
        grid-template-columns: 1fr;
    }
    .inner-sidebar {
        position: static;
    }
}

/* Services Grid */
.home-services-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr); /* Desktop */
    gap:20px;
    margin:40px 0;
}

.home-services-grid .card{
    background:#fff;
    border:1px solid #e8e8e8;
    border-radius:12px;
    text-align:center;
    transition:.3s ease;
    overflow:hidden;
}

.home-services-grid .card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.service-card-link{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:20px 15px;
    text-decoration:none;
    color:#222;
    height:100%;
}

.service-icon{
    width:70px;
    height:70px;
    margin:0 auto 15px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.service-icon img,
.service-icon svg{
    display:block;
    width:48px;
    height:48px;
    object-fit:contain;
}
.home-services-grid h4{
    margin:0;
    font-size:18px;
    line-height:1.4;
    font-weight:600;
}

/* Tablet */
@media (max-width:991px){
    .home-services-grid{
        grid-template-columns:repeat(3,1fr);
        gap:16px;
    }
}

/* Mobile - 2 Columns */
@media (max-width:767px){
    .home-services-grid{
        grid-template-columns:repeat(2,1fr);
        gap:15px;
    }

    .service-card-link{
        padding:18px 12px;
    }

    .service-icon{
        width:55px;
        height:55px;
        margin-bottom:12px;
    }

    .home-services-grid h4{
        font-size:14px;
        line-height:1.3;
    }
}

/* Small Mobile */
@media (max-width:480px){
    .home-services-grid{
        gap:12px;
    }

    .service-card-link{
        padding:15px 10px;
    }

    .service-icon{
        width:48px;
        height:48px;
    }

    .home-services-grid h4{
        font-size:14px;
    }
}

/* Remove old float clearing */
.home-services-grid .clear{
    display:none;
}
.booking-hours-home .booking-box .btn{margin:10px 0px;}
