*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Montserrat',sans-serif;
background:#f4f4f8;
color:#333;
}

/* Styling for the Large Card Version */
.clinic-card.large-card {
    margin-top: 50px !important; /* This creates the space below the contact bar */
    margin-bottom: 40px;          /* This creates space before the grid starts */
    max-width: 1100px; 
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    height: 400px;
    
}

.clinic-card.large-card .clinic-img {
    width: 50%;
    height: 100%;
    object-fit: cover;
}

.clinic-card.large-card .clinic-content {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}



/* 1. Create space between the image/header and the form */
.form-container-spacer {
    margin-top: 0px !important; /* Forces the gap you had originally */
    margin-bottom: 0px;
}

/* 2. Style the form to ensure it doesn't bleed into other elements */
.contact-form {
    display: block;
    clear: both;
    overflow: hidden;
}

/* 3. Center the popup perfectly on the screen */
.centered-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers based on its own width/height */
    bottom: auto; /* Disables the 'bottom: 20px' from the original class */
    right: auto;  /* Disables the 'right: 20px' from the original class */
    width: 90%;
    max-width: 350px;
    z-index: 99999;
}

/* Add a dark background overlay when the popup is active (optional but looks pro) */
#popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 99998;
    display: none;
}

/* Center the Thank You Popup */
.thank-you-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  bottom: auto; /* Overrides bottom: 20px from .sticky-notify */
  right: auto;  /* Overrides right: 20px from .sticky-notify */
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 400px;
  z-index: 10001; /* Above everything else */
}

/* Ensure the Close (X) button is visible */
.thank-you-popup .close-notify {
  top: 10px;
  right: 15px;
  font-size: 24px;
}



/* STICKY NOTIFICATION WITH FULL COLOR FLASH */
.sticky-notify {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  padding: 25px;
  border-radius: 20px;
  z-index: 10000;
  color: white;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  
  /* Apply the animation */
  animation: fullFlash 0.5s infinite alternate ease-in-out;
  transition: transform 0.3s ease;
}

/* The Color Cycle: Green to Purple */
@keyframes fullFlash {
  0% {
    background-color: #3DDC97; /* Your Green */
    box-shadow: 0 0 15px rgba(61, 220, 151, 0.6);
  }
  100% {
    background-color: #46237A; /* Your Purple */
    box-shadow: 0 0 20px rgba(70, 35, 122, 0.6);
  }
}

/* Close Button (X) */
.close-notify {
  position: absolute;
  top: 8px;
  right: 15px;
  cursor: pointer;
  font-size: 22px;
  color: white;
  opacity: 0.8;
}

.close-notify:hover {
  opacity: 1;
}

/* Content Styles */
.notify-content p {
  font-size: 15px;
  margin-bottom: 15px;
  font-weight: 500;
  line-height: 1.4;
}

/* Read More Button */
.notify-btn {
  background: white;
  color: #46237A; /* Dark purple text for contrast */
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 30px;
  display: inline-block;
  transition: 0.3s;
}

.notify-btn:hover {
  transform: scale(1.05);
  background: #f4f4f8;
}








/* NAVBAR */

.header{
position:absolute;
width:100%;
top:30px;
display:flex;
justify-content:center;
z-index:10;
}

.navbar{
width: 95%;
max-width: 1200px;
background:linear-gradient(90deg, #46237A 3.06%, #8140E0 96.16%);
padding:14px 30px;
border-radius:50px;
display:flex;
align-items:center;
justify-content:space-between;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a{
color:white;
margin:0 16px;
text-decoration:none;
font-size:14px;
transition: 0.5s;
}

.nav-links a:hover{
color:#3DDC97;
}

.book-btn{
background:white;
padding:10px 22px;
border-radius:30px;
border:none;
font-weight:500;
width: 250px;
transition: 0.5s;
color: #46237A;
}

.book-btn:hover{
background-color: #3DDC97;
color: rgb(255, 255, 255);
}



/* HERO */


.hero-top-btn {
background:#3cd28c;
 border: none;
  color: white;
   display: none;

  padding: 10px 24px;
  border-radius: 30px;

  font-size: 13px;
  margin-bottom: 20px;

  cursor: pointer;
  transition: 0.3s ease;
}

.hero-top-btn:hover {
  background: white;
  color: #46237A;
}






.hero{
height:520px;
background:
linear-gradient(rgba(72,37,150,.85),rgba(72,37,150,.85)),
url('images/hero-image.png') center/cover;
border-bottom-left-radius:90px;
border-bottom-right-radius:90px;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
color:white;
}

.hero h1{
font-size:48px;
font-weight:700;
line-height:1.2;
}

.hero p{
margin-top:18px;
font-size:16px;
}

.hero img{
max-width:100%;       /* adjust to match page layout */
height: auto;
display:block;
margin:0 auto;

z-index:1;
position:relative;
}

.hero-btn {
  display: flex;
  justify-content: center; /* horizontal */
  align-items: center; /* vertical */
  margin-top: -50px;    

background:white;
padding:12px 22px;
border-radius:30px;
border:none;
font-weight:500;
}



.hero-content p {
  margin-bottom:50px ;
}

.hero-content h1 {
  margin-top:100px ;
}

/* FLOATING CONTACT CARD */

.contact-bar{
display:flex;
justify-content:center;
margin-top:-50px;
}

.servicecontact-bar{
display:flex;
justify-content:center;
margin-top:50px;
margin-bottom: 50px;
}

.homecontact-bar{
display:flex;
justify-content:center;
margin-top:0px;
margin-bottom: 0;
}

.cliniccontact-bar{
display:flex;
justify-content:center;
margin-top:50px;
}

.contact-card{
background:white;
width:95%;
max-width: 950px;
padding:18px 28px;
border-radius:50px;
display:flex;
align-items:center;
justify-content:space-between;
box-shadow:0 10px 25px rgba(0,0,0,.1);
}

.contact-item span{
font-size:12px;
color:#999;
}

.contact-item h4{
color:#46237A;
font-weight:600;
}

.divider{
height:40px;
width:1px;
background:#e5e5e5;
}

.green-btn{
background:#3cd28c;
color:white;
padding:10px 24px;
border:none;
border-radius:30px;
}

/* SERVICES GRID */

.services{
padding:50px 0;
background:linear-gradient(105deg, #46237A 0.46%, #8140E0 101.21%);
color:white;
text-align:center;
}

.services h2{
margin-bottom:40px;
margin-top: 0px;
}

.services p{
line-height: 20px;

}

.services-grid{
width:90%;
max-width: 1100px;
margin:auto;
display:grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap:20px;
}

.service-card{
border:2px solid #3DDC97;
border-radius:30px;
padding:10px 28px;
background:transparent;
transition:.3s;
height: 130px;
}

.service-card:hover{
background:rgba(255,255,255,.08);
}



.service-card img{
width:100%;
max-width:42px;
height: auto;

}

/* NEWS */

.news{
padding:50px 0;
text-align:center;
}

.news-grid{
width:100%;
max-width: 1100px;
margin:auto;
margin-top:50px;
display:grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap:30px;
}

.news-card{
background:none;
border-radius:20px;
overflow:hidden;

text-align:left;
}

.news-card img{
width:90%;
}

.news-card h4{
padding:15px;
font-size:16px;
color:#46237A;
}

.news-card p{
padding:0 15px 20px;
font-size:14px;
}

/* ACCORDION */

.accordion-section{
padding:50px 16px;

}

.accordion-grid{
width:100%;
max-width:1100px;
margin:auto;
display:grid;
grid-template-columns:1fr 1fr;
gap:20px;
color: #46237A;
}

.accordion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  
  padding: 20px 16px;
  font-size: 20px;

  background: linear-gradient(135deg, #FFF 5.73%, #999 94.34%);
  border-radius: 40px;
  margin-left: 0;   /* remove this */
  width: 100%;
  color: #46237A;
  cursor: pointer;
  transition: all 0.3s ease;
  
}

.accordion:hover {
  background: linear-gradient(89deg, #3DDC97 0.23%, #217651 99.77%);
  color: white;
}

/* CONTACT FORM */

.contact-form-section{
padding:90px 0;
}

.contact-form{
width:950px;
margin:auto;
background:linear-gradient(135deg,#46237A,#7d57e6);
padding:40px;
border-radius:15px;
}

.form-row{
display:flex;
gap:20px;
margin-bottom:20px;
}

.contact-form input,
.contact-form select{
flex:1;
padding:12px;
border-radius:15px;
border:none;
}

textarea{
width:100%;
height:160px;
border-radius:20px;
border:none;
padding:14px;
margin:20px 0;
}

/* FOOTER */

.footer{
background:linear-gradient(180deg,#46237A,#352483);
color:white;
padding:80px 0;
margin-top:80px;
}

.footer-container{
width:100%;
max-width:1100px;
margin:auto;

display:grid;
grid-template-columns:2fr 2fr 2fr 2fr;
gap:40px;
}

.footer-logo{
width:160px;
}

.footer-col h3{
margin-bottom:18px;
font-size:18px;
}

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

.footer-col li{
margin-bottom:10px;
font-size:14px;
color:#ddd;
cursor:pointer;
transition:.2s;
text-decoration: none;
}

.footer-col li:hover{
color:white;
}

.footer-col p{
font-size:14px;
margin-bottom:10px;
color:#ddd;
}

.footer-col ul li a {
  color: white;           /* Makes the text white */
  text-decoration: none;  /* Removes the default blue underline */
  transition: 0.3s;       /* Smooth transition for hover effect */
}

.footer-col ul li a:hover {
  color: #3DDC97;         /* Optional: Turns green when you hover over it */
}

.insurance{
text-align:center;
padding:60px 0 20px 0;
}

.insurance h2{
color:#46237A;
font-size:28px;
font-weight:600;
}

.insurance p{
margin-top:10px;
color:#777;
}

/* Banner container */
.services-banner{
position:relative;
width:100%;
margin:40px 0 0px 0;
}

/* Banner image with rounded corners */
.services-banner img{
width:100%;       /* adjust to match page layout */

display:block;
margin:auto auto;

z-index:1;
position:relative;
}

/* Full-width overlay */
.banner-overlay{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:linear-gradient(
135deg,
rgba(76,45,177,0.85),
rgba(122,76,225,0.85)
);
z-index:2;           /* on top of everything */
}

/* Text above both overlay and image */
.banner-text{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
color:white;
font-size:38px;
font-weight:600;
z-index:3;
text-align:center;
}

/* CONTACT FORM SECTION */
.contact-form-section {
  padding: 80px 0;
  display: flex;
  justify-content: center;
  position: relative;       /* ensures form stays independent */
  z-index: 1;               /* lower than contact bar */
  width: 100%;
  box-sizing: border-box;
}

.contact-form {
  background: linear-gradient(135deg, #46237A, #7a4ce1); /* purple gradient */
  border-radius: 20px;
  padding: 40px;
  width: 1100px;
  max-width: 95%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  color: white;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  flex: 1 1 100%;
}

.contact-form label {
  font-size: 14px;
  margin-bottom: 6px;
  font-weight: 500;
  color: white;
}

.contact-form .required {
  color: red;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px 16px;

  border-radius: 15px;
  font-size: 14px;
  background: #ffffff;
  color: rgb(31, 31, 31);
}

.contact-form input::placeholder,
.contact-form select::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.contact-form textarea {
  resize: none;
  height: 200px;
}

/* BUTTON */
.contact-form .green-btn {
  background: #fff;          /* white button on purple form */
  color: #46237A;
  padding: 12px 28px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  display: block;
  margin: auto;
  transition: all 0.3s ease;
}

.contact-form .green-btn:hover {
  background: #e6e6e6;
  color: #46237A;
}

/* RESPONSIVE */
@media screen and (max-width:768px) {
  .contact-form {
    padding: 30px;
  }

  .form-row {
    flex-direction: column;
  }
}

/* WORKERS HEALTH PAGE */

.workers-price-col .service-row {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Style for the Workers Health static price list */
.static-price-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.static-price-content .service-row {
    color: #46237A; /* Your brand purple */
    border-bottom: 1px solid rgba(70, 35, 122, 0.1);
    padding: 10px 0;
    opacity: 1; /* Ensures it is visible */
}

/* Ensures strong tags (prices) are clearly visible */
.static-price-content .service-row strong {
    color: #46237A;
    font-weight: 700;
}

.workers-about{
position:relative;
min-height: 260px;
  padding: 40px 20px;

display:flex;
align-items:center;
justify-content:center;
text-align:center;
color:white;
margin-top:60px;
}

.workers-about-overlay{
position:absolute;
width:100%;
height:100%;
background:rgba(0,128,70,0.75);
}

.workers-about-content{
position:relative;
width:900px;
}

.workers-about-content h2{
font-size:28px;
margin-bottom:12px;
}

.workers-info{
padding:80px 0;
}

.workers-grid{
width:100%;
max-width: 1100px;
margin:auto;
display:grid;
grid-template-columns: repeat(2,1fr);
gap:30px;
}

.workers-card{
background:white;
border-radius:18px;
padding:30px;
box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.workers-card h3{
color:#46237A;
margin-bottom:12px;
}

.workers-card ul{
padding-left:18px;
}

.workers-price{
padding:80px 0;
text-align:left;
}

.workers-price h2{
margin-bottom:40px;
}

.workers-price-card{
width: 95%;
max-width: 950px;
margin:auto;
background:linear-gradient(135deg,#46237A,#7a4ce1);
border-radius:25px;
padding:40px;
display:flex;
gap:40px;
color:white;
}

.workers-price-col{
flex:1;
}

.workers-price-col h4{
margin-top:18px;
margin-bottom:6px;
}

/* =====================================================
ABOUT PAGE PIXEL PERFECT STYLES
Add this to the BOTTOM of your stylesheet
===================================================== */


/* QUADCARE STORY */

.story-title {
  color: #46237A;
  font-size: 26px;
  font-weight: 600;

  max-width: 1100px;
  margin: 0 auto 20px auto;

  padding-left: 38%; /* 👈 KEY: pushes it to align with text */
}

.quadcare-story{
display:flex;
justify-content:center;

position:relative;
z-index:5;
}

.story-container{
width:1100px;
max-width:92%;
display:flex;
border-radius:28px;
overflow:hidden;
box-shadow:0 20px 45px rgba(0,0,0,.18);
background:white;
}

.story-image{
width:45%;
}

.story-image img{
width:100%;
height:10%;
object-fit:cover;
display:block;
}

.story-text{
width:55%;
background:linear-gradient(135deg,#46237A,#7a4ce1);
color:white;
padding:55px;
display:flex;
flex-direction:column;
justify-content:center;
}

.story-text h2{
font-size:28px;
margin-bottom:18px;
}

.story-text p{
font-size:15px;
line-height:1.7;
margin-bottom:15px;
}


.carousel {
  width: 100%;
  max-width: 2000px;
  margin: 0px opx;
  overflow: hidden;
  border-radius: 20px;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll 150s linear infinite;
  gap: 15px ;
}

.slide {
  width: auto;
  height: 80px;
  object-fit: contain;

  display: block;
  padding: 5px;       /* breathing space */
  

  margin-right: 0px;
  border-radius: 15px;
  margin-bottom: 20px;
  
}


/* --- ABOUT PAGE WRAPPER (Prevents breaking other pages) --- */

.about-page-wrapper .story-section {
    padding: 100px 0 0 0;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.about-page-wrapper .story-container {
    width: 95%; 
    max-width: 900px; /* MATCHES THE CONTACT BAR */
    background: linear-gradient(135deg, #105D8E, #2A88CA);
    border-radius: 40px;
    display: flex;
    position: relative;
    min-height: 450px;
    overflow: visible; /* Allows image to overlay */
    z-index: 2;
}

.about-page-wrapper .story-image-block {
    width: 40%; /* Reduced slightly to keep the total width contained */
    position: relative;
    z-index: 10;
}

.about-page-wrapper .story-image-block img {
    position: absolute;
    bottom: 0px; /* Sits slightly on the contact bar */
    left: 0px;
    height: 120%; /* Pops out above the blue box */
    width: auto;
    object-fit: contain;
    z-index: 20; /* Ensures it stays on top of the contact bar */
}



.about-page-wrapper .story-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: white;
}

.about-page-wrapper .floating-contact-wrapper {
    display: flex;
    justify-content: center;
    margin-top: -50px; /* Pulls bar up to meet the doctor's feet */
    position: relative;
    z-index: 5; /* Lower than image, higher than blue box */
}

.about-page-wrapper .contact-card-floating {
    background: white;
    width: 95%;
    max-width: 900px; /* MATCHES THE STORY CONTAINER */
    padding: 15px 40px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* LOWER SECTION GRADIENT SPLIT */
.about-page-wrapper .lower-body-wrapper {
  /* Purple top, Grey bottom as per design */
  background: linear-gradient(to  #f4f4f8 500px, #f4f4f8 100%);
  padding: 60px 0;
}

.about-page-wrapper .mvv-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.about-page-wrapper .mvv-card {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 25px;
  padding: 40px 20px;
  color: white;
  text-align: center;
  background: transparent;
}

/* TEAM CARDS (2 Centered) */
.about-page-wrapper .team-section-about {
  padding: 0px 0;
  text-align: center;
  color: #46237A;
}

.team-section-about p {

  color: #46237A;
}

.team-section-about p1 {

  color: #46237A;
  font-size: 10px;
}
.team-section-about h4 {

  color: #46237A;
}

.about-page-wrapper .team-container-two {
  display: grid;
  grid-template-columns: repeat(2, 350px);
  gap: 40px;
  justify-content: center;
  margin: 0 auto;
}

.about-page-wrapper .team-member-card {
  background: rgb(255, 255, 255);
  border-radius: 25px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  height: 420px;
}

.about-page-wrapper .team-member-photo img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* GREEN HOVER EFFECT */
.about-page-wrapper .team-hover-info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #3DDC97; /* Quadcare Green */
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  opacity: 0;
  transition: all 0.4s ease;
  transform: translateY(20px);
}

.about-page-wrapper .team-member-card:hover .team-hover-info {
  opacity: 1;
  transform: translateY(0);
}

.about-page-wrapper .hover-divider {
  width: 40px;
  height: 2px;
  background: white;
  margin: 15px 0;
}

/* ==========================================================================
   ABOUT PAGE: DOCTOR OVERLAY & FLOATING BAR EFFECT
   ========================================================================== */

.about-page-wrapper .story-section {
    padding: 100px 0 0 0; /* No bottom padding, the bar handles it */
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1; /* Lowest z-index in this sequence */
}

/* 1. The main blue gradient story container */
.about-page-wrapper .story-container {
    width: 100%;
    max-width: 1100px;
    background: linear-gradient(135deg, #105D8E, #2A88CA);
    border-radius: 40px;
    display: flex;
    position: relative;
    min-height: 480px; /* Slightly taller for text */
    overflow: visible; /* CRITICAL: Prevents the image from being cut off */
    z-index: 2; /* Sits on top of the section background */
}

.about-page-wrapper .story-image-block {
    width: 35%;
    position: relative;
    z-index: 10; /* Important: The image block must have a high stacking order */
}

/* 2. The Doctor's Image ( dulcy-standing.png ) Positioning */
.about-page-wrapper .story-image-block img {
    position: absolute;
    /* This positioning needs manual fine-tuning depending on the final image aspect ratio */
    bottom: 0%; /* Image pops out below the blue box slightly */
    left: 20px;
    height: 120%; /* Image is taller than the box */
    width: auto;
    object-fit: contain; /* Prevents squishing */
    display: block;
    z-index: 20; /* The highest z-index, on top of everything including the bar */
}

.about-page-wrapper .story-text-block {
    width:65%;
    padding: 80px 60px 80px 60px; /* Extra bottom padding for spacing to the bar */
    color: white;
    text-align: left;
}

.about-page-wrapper .story-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color:white ;
}

/* 3. The Floating Contact Bar (Positioning & Overlap) */
.about-page-wrapper .floating-contact-wrapper {
    display: flex;
    justify-content: center;
    margin-top: -65px; /* CRITICAL: Negative margin pulls the bar up to overlap the blue box */
    position: relative;
    z-index: 5; /* Sits higher than the story container (2) but lower than the doctor image (10/20) */
}

.about-page-wrapper .contact-card-floating {
    background: white;
    width: 85%;
    max-width: 900px;
    padding: 15px 40px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* CONTINUOUS SCROLL ANIMATION */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* ===============================
MISSION SECTION (formerly MVV)
=============================== */

/* SECTION BACKGROUND */
.mission-section {
  background: linear-gradient(180deg, #46237A 0%, #352483 100%); /* Solid Purple */
  padding: 80px 0;
  margin-top: 60px; /* Removes overlap */
  position: relative;
  width: 100%;
}

/* CONTAINER */
.mission-container {
  width: 1100px;
  max-width: 92%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0 auto;
}

/* CARD */
.mission-card {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 22px;
  padding: 40px;
  color: white;
  min-height: 280px;
}

/* TITLE */
.mission-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

/* LINE UNDER TITLE */
.mission-line {
  width: 50px;
  height: 2px;
  background: white;
  margin: 10px 0 20px 0;
  opacity: 0.9;
}

/* PARAGRAPH + LIST TEXT */
.mission-card p,
.mission-card li {
  font-size: 14px;
  line-height: 1.7;
  max-width: 260px;
}

/* REMOVE BULLETS */
.mission-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* OPTIONAL SPACING BETWEEN LIST ITEMS */
.mission-card li {
  margin-bottom: 6px;
}

/* MANAGEMENT TEAM */

.team-section{

text-align:center;

margin-top:-110px;

padding-bottom:100px;

position:relative;

z-index:10;

}

.team-section h2{
color:#46237A;
font-size:28px;
margin-bottom:30px;
}

.team-wrapper {
  display: flex;
  justify-content: center; /* horizontal */
  align-items: center; /* vertical */
  margin-top: -50px;
  margin-bottom: 0;    
}

.team-wrapper img {
  max-width: 900px;
  width: 100%;
}

.team-grid{

width:1100px;
max-width:92%;

margin:auto;

display:grid;

grid-template-columns:repeat(3,1fr);

gap:30px;

}

.team-card{

background:white;

border-radius:22px;

overflow:hidden;

box-shadow:0 12px 35px rgba(0,0,0,.18);

transition:.25s;

}

.team-card:hover{
transform:translateY(-6px);
}

.team-card img{

width:100%;

height:260px;

object-fit:cover;

}

.team-card h4{

margin-top:15px;

color:#46237A;

font-size:16px;

}

.team-card p{

padding-bottom:20px;

color:#777;

font-size:14px;

}


/* RESPONSIVE FIXES */

@media(max-width:900px){

.story-container{
flex-direction:column;
}

.story-image,
.story-text{
width:100%;
}

.mission-grid{
grid-template-columns:1fr;
}

.team-grid{
grid-template-columns:1fr;
}

.clinic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 250px)); /* match news */
  gap: 30px;   /* same spacing */
  width: 100%;
  max-width: 1100px;
  margin: auto;
  justify-content: center;
}

.story-text{
padding:35px;
}

}

/* Clinics */

.clinic-section {
  padding: 50px 0px;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin: -50px auto;          /* Added to center the section container */
  display: flex;
  flex-direction: column;
  align-items: center;     /* Centers the H2 and the Grid inside */
}

.clinic-section2{
padding: 0px 0;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;          /* Added to center the section container */
  display: flex;
  flex-direction: column;
  align-items: center; 
}



.clinic-section h2{
color:#46237A;
font-size:28px;
margin-bottom:30px;
}

.news h2{
color:#46237A;
font-size:28px;
margin-bottom:30px;
font-weight: 600;
}

.clinic-grid {
  display: grid;
  /* Change '1fr' to 350px to stop stretching */
  grid-template-columns: repeat(auto-fit, minmax(320px, 350px)); 
  gap: 20px;
  padding: 20px;
  justify-content: center; /* This horizontally centers the cards in the grid */
  width: 100%;
  max-width: 1200px;       /* Keeps the grid from becoming too wide */
  margin: 0 auto;          /* Centers the grid container itself */
}

/* NEW CLINIC CARD DESIGN */


.clinic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(70, 35, 122, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
    border-radius: 25px;
}

.clinic-card {
    position: relative;
    overflow: hidden;
    background: white;
   
    border-radius: 25px;
    padding: 20px; /* Keeps image and text away from edges */
    
    /* THE DROP SHADOW */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); 
    
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.clinic-card:hover {
    background: linear-gradient(135deg, #46237A, #8140E0);
    transform: translateY(-5px);
    /* Enhances shadow slightly on hover for a "lifted" effect */
    box-shadow: 0 15px 35px rgba(70, 35, 122, 0.3); 
}

.clinic-card:hover .clinic-title,
.clinic-card:hover .clinic-info p,
.clinic-card:hover .clinic-divider {
    color: white;
}

.clinic-card:hover .clinic-overlay {
    opacity: 1;
}

.overlay-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 80%;
}

.overlay-btn {
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: 0.3s;
}

.overlay-btn.book {
    background: #3DDC97; /* Green for booking */
    color: white;
}

.overlay-btn.visit {
    background: white;
    color: #46237A;
}

.overlay-btn:hover {
    transform: scale(1.05);
}

.clinic-content {
    padding: 0px;
}


/* IMAGE */
.clinic-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px; /* Optional: rounds image corners slightly */
    margin-bottom: 15px;
}

/* TITLE */
.clinic-title {
  color: #46237A;
  font-size: 20px;
  text-align: center;
  font-weight: 700;
}

.clinic-title3 {
  color: #46237A;
  font-size: 20px;
  text-align: left;
  font-weight: 700;
}

.clinic-title2 {
  color: #46237A;
  font-size: 50px;
  text-align: left;
  font-weight: 700;
}

/* DIVIDER LINE */
.clinic-divider {
  height: 2px;
  width: 60%;
  background: #46237A;
  margin: 15px auto;
  opacity: 0.3;
}

/* INFO ROW */
.clinic-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

/* ICON */
.clinic-icon {
  min-width: 50px;
  height: 50px;
    
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
}

.clinic-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* TEXT */
.clinic-info p {
  font-size: 12px;
  color: #555;
  line-height: 1;
  text-align: left;
}

/* ACCORDION FUNCTIONALITY */

.accordion-text {
  margin-left: 15px;
}

.accordion-item {
  width: 100%;
}

/* hidden by default */


/* text inside */


/* active state */
.accordion-item.active .accordion-content {
  max-height: 250px; /* or bigger if needed */
  opacity: 1;
  transform: translateY(0);
  padding: 20px;
}

/* rotate arrow */
.accordion-item.active .accordion {
  background: linear-gradient(89deg, #3DDC97 0.23%, #217651 99.77%);
  color: white;
}

.arrow {
  transition: 0.3s;
  margin-right: 15px;
}

.accordion-item.active .arrow {
  transform: rotate(180deg);
}

.accordion-item {
  position: relative;
  margin-bottom: 2px;
}
 
.accordion-content {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;

  background: linear-gradient(135deg, #46237A, #7a4ce1);
  color: white;

  border-radius: 20px;

  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;

  z-index: 100;

  padding: 0 20px;

  /* remove height restriction */
  max-height: none;
  overflow: visible;

  display: flex;
  align-items: left;
  justify-content: left;
  text-align: left;

  pointer-events: none; /* prevents click issues when hidden */
}

.accordion-item.active .accordion-content {
  opacity: 1;
  transform: translateY(0);
  padding: 20px;
max-height: 1000px;
  pointer-events: auto;
}

.accordion-content p {
  color: white;
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.service-row {
  display: flex;
  justify-content: space-between; /* Pushes name to left, price to right */
  width: 100%;
  margin-bottom: 8px; /* Adds space between lines */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Optional: subtle separator */
  padding-bottom: 4px;
  align-items: flex-start; /* Aligns text to the top if it wraps to two lines */
  gap: 5px;              /* Creates the space between description and price */
  padding: 10px 0;
}

/* Update the service-row to ensure vertical centering and spacing */
.workers-price-col .service-row {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertically centers the price with the text */
    gap: 10px;           /* Creates a fixed minimum gap between text and price */
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.workers-price-col .service-row span {
    color: white;
    flex: 1;            /* Allows text to take up remaining space */
    line-height: 1.4;
}

.workers-price-col .service-row strong {
    color: white;
    white-space: nowrap; /* Prevents the price from breaking into two lines */
    text-align: right;
}



.hamburger {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}






/* Mobile */

/* MOBILE NAV (DROPDOWN STYLE) */
@media (max-width: 768px) {

  .nav-links {
    position: absolute;
    top: 70px;
    right: 10px;
    width: 90%;

    background: linear-gradient(90deg, #46237A 3.06%, #8140E0 96.16%);
    
    flex-direction: column;
    display: none;
    padding: 20px;
    border-radius: 15px;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
}


@media (max-width: 768px) {

  .contact-card {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
    border-radius: 20px;
  }

  .divider {
    display: none;
  }

  .green-btn {
    width: 100%;
  }

}

@media (max-width: 768px) {

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 14px;
  }

}

@media (max-width: 768px) {

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

}

@media (max-width: 768px) {

  .news {
    text-align: center;
    padding: 40px 20px;
  }

  .news-grid {
    grid-template-columns: 1fr; /* stack cards */
    justify-content: center;
  }

  .news-card {
    margin: 0 auto;
    max-width: 350px;
  }

  .news-card h4,
  .news-card p {
    text-align: center;
  }

}

@media (max-width: 768px) {

  .news-card img {
    display: block;
    margin: 0 auto;
  }

}

@media (max-width: 768px) {

  .services h2 {
    font-size: 22px;
  }

  .services p {
    font-size: 13px;
    line-height: 16px;
  }

}

@media (max-width: 768px) {

  /* HERO TEXT */
  .hero-services h1 {
    font-size: 26px;
    padding: 0 15px;
    line-height: 1.3;
  }

  .hero-services p {
    font-size: 14px;
  }

  /* BANNER TEXT */
  .banner-text h2 {
    font-size: 22px;
  }

  /* ACCORDION GRID (MOST IMPORTANT) */
  .accordion-grid {
    grid-template-columns: 1fr;
    width: 90%;
  }

  .accordion {
    font-size: 14px;
    padding: 14px 16px;
  }

}

@media (max-width: 768px) {

  .clinic-card {
    padding: 15px;
    border-radius: 20px;
  }

  .clinic-title {
    font-size: 16px;
  }

  .clinic-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .clinic-icon {
    min-width: 50px;
    height: 50px;
  }

  .clinic-info p {
    font-size: 13px;
  }

}
@media (max-width: 768px) {

  footer {
    text-align: center;
    padding: 30px 20px;
  }

  .footer-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
  }

  .footer-column {
    width: 100%;
  }

  .footer-column h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .footer-column p,
  .footer-column a,
  .footer-column li {
    font-size: 14px;
    line-height: 1.6;
  }

  .footer-column ul {
    padding: 0;
  }

}

@media (max-width: 768px) {
  .navbar .book-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .workers-grid {
    grid-template-columns: 1fr; /* stack cards */
    width: 90%;
  }
}

@media (max-width: 768px) {
  .workers-price-card {
    flex-direction: column;
    gap: 20px;
    padding: 25px;
  }

  .workers-price-col {
    width: 100%;
  }
}

@media (max-width: 768px) {

  .workers-info {
    padding: 40px 0;
  }

  .workers-card {
    padding: 20px;
  }

  .workers-price {
    padding: 40px 0;
  }

}

@media (max-width: 768px) {
    
    /* 1. Story Section Adjustments */
    .about-page-wrapper .story-section {
        padding: 80px 0 0 0; /* Space for the head popping out */
    }

    .about-page-wrapper .story-container {
        flex-direction: column; /* Stack image on top of text */
        align-items: center;
        width: 90%;
        min-height: auto;
        overflow: visible; /* Ensure head stays visible */
    }

    .about-page-wrapper .story-image-block {
        width: 100%;
        display: flex;
        justify-content: center;
        height: auto; /* Allow it to have height so it pushes text */
    }

    .about-page-wrapper .story-image-block img {
        position: relative; /* Change from absolute to relative */
        height: 280px;      /* Set a fixed height for mobile */
        width: auto;
        margin-top: -100px; /* This pulls the head UP out of the box */
        margin-bottom: 0;   /* Ensures it sits flush with the text below */
        left: 0;
        transform: none;
        display: block;
    }

    .about-page-wrapper .story-text-block {
        width: 100%;
        padding: 20px 25px 60px 25px; /* Balanced spacing */
        text-align: center;
    }

    .about-page-wrapper .story-logo {
        margin: 0 auto 20px auto; /* Center logo on mobile */
        max-width: 140px;
    }

    /* 2. Floating Contact Bar Adjustments */
    .about-page-wrapper .floating-contact-wrapper {
        margin-top: -40px; /* Overlap the blue box slightly */
    }

    .about-page-wrapper .contact-card-floating {
        flex-direction: column;
        gap: 15px;
        border-radius: 30px;
        padding: 25px;
        width: 85%;
    }

    .about-page-wrapper .contact-card-floating .divider {
        display: none;
    }

    .about-page-wrapper .contact-card-floating .green-btn {
        width: 100%;
    }

    /* 3. Team & MVV Stacking */
    .about-page-wrapper .mvv-container,
    .about-page-wrapper .team-container-two {
        grid-template-columns: 1fr;
        width: 90%;
        justify-items: center;
    }

    .about-page-wrapper .team-member-card {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
  .mission-container {
    grid-template-columns: 1fr;
  }

  .mission-card {
    min-height: auto;
  }

  .mission-card p,
  .mission-card li {
    max-width: 100%;
  }
}

@media (max-width: 768px) {

  .navbar {
    background: transparent !important;  /* 🔥 remove background */
    box-shadow: none;
  }

}

@media (max-width: 768px) {

  .hero-top-btn {
    display: inline-block; /* ✅ show on mobile */
  }

}

/* Mobile Responsive */
@media (max-width: 768px) {
  .sticky-notify {
    width: 90%;
    left: 5%;
    bottom: 15px;
    padding: 20px;
  }
}

/* Mobile Responsiveness for Large Card */
@media screen and (max-width: 768px) {
    .clinic-card.large-card {
        flex-direction: column;
        height: auto;
    }
    
    .clinic-card.large-card .clinic-img,
    .clinic-card.large-card .clinic-content {
        width: 100%;
    }
}