@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root {
    --primary-color: #0979a9;
    --secondary-color: #cf1f5d;
    --tertiary-color: #68b349;
    --accent-color: #0096b7;
    --card-bg: #ffffff;
    --text-color: #212529;
    --hover-shadow: rgba(0,0,0,0.1);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}



h1, h2, h3 {
    font-family: "Raleway", sans-serif;
}
h1{
  font-size: 3rem;
  font-weight: bold;
}

.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}


.blob {
  position: absolute;
  z-index: -1;
}

.blob-left {
  top: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
}

.blob-right {
    top: -40%;
    right: 0;
    width: 100%;
    height: -webkit-fill-available;
    max-width: 800px;
    opacity: 0.7;

}

.blob svg {
  width: 100%;
  height: 100%;
}

/* Navbar */
.navbar-brand img {
    height: 100%;
    max-width: 100%;
}

/* Custom Navbar */
.custom-navbar {
    background: transparent;
    transition: all 0.4s ease;
    padding: 1.2rem 2rem;
    z-index: 999;
}

.custom-navbar.scrolled {
    background: rgb(255, 255, 255);
    padding: 0.8rem 2rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

.custom-navbar .nav-link {
    color: #000 !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
}

.custom-navbar .nav-link:hover , .nav-link.active{
    color:var(--accent-color) !important;
}

.custom-navbar .dropdown-menu {
    background: #fff !important;
    border: none;
    border-radius: 10px;
    padding: 10px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    animation: fadeIn 0.3s ease;
}

.custom-navbar .dropdown-item {
    color: #000 !important;
    font-weight: 500;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.custom-navbar .dropdown-item:hover {
/*    background-color: var(--primary-color);*/
    color: var(--primary-color) !important;

}

/* Keyframes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Navbar */
@media (max-width: 992px) {
    .navbar-collapse {
        
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }
    .nav-link {
        margin: 8px 0;
    }
}




/* CTA Button */
.cta-btn {
   border-radius: 10px;
    white-space: nowrap;
    color: rgb(255, 255, 255);
    background-image: linear-gradient(-180deg, rgb(135, 234, 255) 0%, rgb(0, 150, 183) 96%);
    background-position: initial;
    background-size: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: initial;
    box-shadow: rgba(0, 150, 183, 0.5) 0px 2px 6px 0px;
    width: 300px;
    margin: 20px 10px 20px 0;
    padding: 0px 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    text-align: center;
    height: 50px;
    line-height: 50px;
    cursor: pointer;
    font-weight: 400;
    font-size: 16px;
    display: block;
    text-decoration: none !important;
    background-repeat: no-repeat !important;
}

.cta-btn:hover, .btn:hover {
    transform: translateY(-2px);
    color: rgb(255, 255, 255);
        background: rgb(135, 234, 255);
        box-shadow: rgba(0, 150, 183, 0.5) 0px 2px 6px 0px;
    
}



.hero h1 {
    font-weight: 700;
    font-size: 4rem;
    color: var(--text-color);
    margin-bottom: 30px;
}
.hero-title h1{
  font-size: 3.5rem;
}
.hero h1 span {
    color: var(--accent-color);
    font-size: 4rem;
}

.hero p {
    font-size: 1.1rem;
    max-width: 600px;
}

.hero .btn {
    margin-top: 20px;
    padding: 10px 25px;
    font-weight: 600;
}

.hero .learn-more {
    border: 2px solid var(--primary-color);
    color: var(--text-color);
}

.hero .learn-more:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.hero .register-now {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: #fff;
}

.hero .register-now:hover {
    background-color: transparent;
    color: #000;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}


/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: #fff;
}
.about a{
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}
.about a:hover{
    letter-spacing: 1px;
    
}

.stroke-text {
  color: transparent;
  -webkit-text-stroke-width: 1.5px;
  -webkit-text-stroke-color:#0dcaf0;
  font-size: 120px;
  font-weight: 800;
  text-transform: capitalize;
  line-height: 1;
}

/* Speciality Clinics */
#speciality-clinics {
    padding: 6rem 0;
    background-color: #e9ecef;
}
#speciality-clinics h1{
  font-weight: bold;

}
.clinic-card p{
    width: 48px;
    height: 48px;
    border-radius: 10px;
    position: absolute;
    top: -24px;
    left: -24px;
    background: rgb(135, 234, 255);
    color: rgb(255, 255, 255);
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    line-height: 48px;
}

.cards{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    grid-gap: 0.5rem;
}

.clinic-card {
    position: relative;
    text-align: center;
    height: -webkit-fill-available;
    margin: 25px;
    color: var(--text-color);
    padding: 48px 30px;
    word-break: break-word;
    border-radius: 0.5rem;
    background-color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: rgba(0, 150, 183, 0.12) 0px 9px 22px 0px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.clinic-card:hover {
    background-color: rgb(135, 234, 255);
    transform: translateY(-5px);
    box-shadow: 0 15px 25px var(--hover-shadow);
    color: #fff;
}

.clinic-card h4{
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent-color);
}
.clinic-card:hover h4{
  color:#fff;
}

.clinic-card:hover p{
  background-color: var(--primary-color)
}
.facilities-stack-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* space between cards */
}

.facility-item {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.6s ease;
}

/* Background overlay */
.facility-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/endoscopy-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: var(--bg-pos, center center);
  background-color: rgba(0,0,0,0.25);
  background-blend-mode: overlay;
  /* opacity: 0.6; */
  transition: transform 0.6s ease, opacity 0.6s ease;
  z-index: 0;
  border-radius: 10px;
}

/* Hover zoom */
.facility-item:hover::before {
  transform: scale(1.1);
}

/* Content above background */
.facility-content {
  position: relative;
  z-index: 2;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  text-align: center;
}

/* Titles & text */
.facility-content h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.facility-content p {
  margin: 0;
  font-size: 0.95rem;
}

/* Read More Button */
.facility-content .openModal {
  display: inline-block;
  padding: 8px 15px;
  color: #fff;

  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.facility-content .openModal:hover {
  color:#000;
}

.modal
{
    background: rgba(27,50,87,.6) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  
}
.modal-content{
  border:2px solid #fff;
  background:#0979a97a;
  color:#fff;

}
.modal-header{
  border-bottom:2px solid #fff;
}
.modal-header .modal-title{
   color:#fff;
}
.modal .close{
  font-size:1.8rem;
  color:rgb(255, 255, 255);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  
  .facility-item {
    max-width: 90%; /* smaller cards on tablets */
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .facility-item {
    max-width: 100%; /* full width on mobile */
    padding: 1rem;
  }
  .facility-content h3 {
    font-size: 1.2rem;
  }
  .facility-content p {
    font-size: 0.9rem;
  }
  .read-more {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
}



/* Responsive */
@media (max-width: 992px) {
    .header{
    background: url("../images/bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}
  .cards{
    grid-template-columns: repeat(1, 1fr);
  }
    .hero {
        text-align: left;
        align-items: baseline;
        padding: 70px 0;
        height: auto;
    }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1rem; margin: 0 auto; }
}

@media (max-width: 768px) {
    .about { padding: 60px 0; }
    .hero .btn { width: 70%; margin: 10px auto; }
    .facility-item { flex-direction: column; text-align: center; }
}

@media (max-width: 576px) {
    h2 { font-size: 1.5rem; }
    .hero h1 { font-size: 1.9rem; }
    .hero p { font-size: 0.95rem; }
    .facility-item { padding: 1rem; }
    .btn-read-more { padding: 10px 20px; }
}

/* Container for image + blobs */
.image-container {
  position: relative;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  overflow: visible; /* allow blobs to extend outside */
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto; /* center horizontally in column */
}

/* Profile image on top */
.image-container img {
  position: relative;
  width: 80%;       /* slightly smaller than container to show blob */
  height: 80%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 3;
}

/* SVG blobs behind the image */
.image-container svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Optional: responsive scaling */
@media (max-width: 768px) {
  .image-container {
    width: 350px;
    height: 350px;
  }
}

.team-wrapper {
  gap: 20px;
}

/* Team Card */
.team-card {
  flex: 0 0 30%; /* max 3 per row */
  min-width: 250px;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  box-shadow: 0 8px 20px #6c757d96;
  cursor: pointer;
  will-change: transform, opacity;
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Image wrapper with fixed height for uniform size */
.team-img-wrapper {
  width: 100%;
  height: 250px; /* fixed height for all images */
  overflow: hidden;
  border-radius: 10px;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills wrapper perfectly without distortion */
  display: block;
  transition: transform 0.3s;
}

.team-card:hover .team-img {
  transform: scale(1.05);
}

/* Overlay */
.team-overlay {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s, transform 0.3s;
}

/* .team-card:hover .team-overlay {
  opacity: 1;
  transform: translateY(0);
} */

/* Responsive */
@media (max-width: 992px) {
  .team-card { flex: 0 0 45%; }
}
@media (max-width: 576px) {
  .team-card { flex: 0 0 90%; }
}

#contactUs{
  background-color: #0096B7;
}
.contact-boxes{
    color: #fff;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    grid-gap: 0.0;
}
.contact-content-box{
padding: 4rem 3rem;
box-shadow: 0 0 5px 2px #00000017;
    border-radius: 10px;

}
.contact-content-box .icon i{
    font-size:3rem;
    margin-bottom: 3rem;
}


#contact-box1, #contact-box3{
    background:var(--accent-color);
}
#contact-box2,#contact-box4{
    background:var(--primary-color);
}
#contact-box1{
  margin-top: 10%;
}
#contact-box2{
  margin-top: 20%;
}
#contact-box3{
  margin-top: 30%;
}
.custom-footer {
  position: relative;
  overflow: hidden;
}

.custom-footer h5 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.footer-links li {
  margin-bottom: 0.5rem;
}


.footer-links a:hover {
  color: #fff;
}

.footer-content-box p{
  font-size: 12px;
  margin-top: 10px;
}

.social-icons a {
  font-size: 1.2rem;
  color: #d9f2f7;
  transition: color 0.3s ease, transform 0.3s ease;
}


/* Responsive */
@media (max-width: 768px) {
  .custom-footer {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
    display: flex;
  }
  #contact-box1,#contact-box2, #contact-box3{
  margin-top: 0% ;
}

}



.social-icons{
  display: flex;
  align-items: center;
  justify-content: start;

}
.social-icons a{
  display: flex;
  text-decoration: none;
  justify-content: center;
  margin:  5px;
  padding: 10px;
  color: #fff;
  font-size: 1em;
  border-radius: 5px;
  background: linear-gradient(to bottom, #07d2ff 0%, var(--primary-color) 100%);
}
.social-icons a:hover{
  background: linear-gradient(to bottom, var(--primary-color) 0%, #07d2ff  100%);
  transform: scale(1.1);

}
.footer-links li{
  padding: 5px 10px;
  margin-bottom: 5px;
}
.footer-links a{
    text-decoration: none;
    color: var(--accent-color);
      transition: all ease 0.5s ;

}
.footer-links a:hover{
  color: #000;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 992px) {
.contact-boxes{ grid-template-columns: repeat(1, 1fr);
}
}