@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    font-family: "Ubuntu", sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.5) url("bg.jpg"); */
    /* background-position-x: 30%;
    background-position-y: bottom; */
    background-position: center;
    background-size: cover;
    background-blend-mode: darken;
    transition: background-image 1s ease-in-out;
  }

/* CSS for the modal dialog */
#modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

#modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 40px 20px;
    border: 1px solid #888;
    border-radius: 20px;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 600px;
    font-size: 20px;
    font-weight: bold;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.navbar {
    /* padding: 15px 0; */
    /* position: sticky; */
    /* top: 0; */
    width: 100%;
    z-index: 1000;
    display: flex;
    background: rgba(0, 0, 0, 0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 10px auto;
}


.navbar-logo img{
    width: 250px;
}
.navbar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}



.navbar-menu a {
    text-decoration: none;
    color: white;
    font-size: 1em;
    transition: color 0.3s;
    padding: 10px 20px;
}
.non-home{
    position: sticky;
    top: 0;
    background: black;
}
/* navbar ends */
#intro{
  /* background: rgba(0,0,0,0.5) url("bg.jpg");
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center top;
  background-blend-mode: darken; */
  display: flex;
  justify-content: center;
  /* align-items: center; */
  flex-direction: column;
  height: 520px;
  background: transparent;
  color: white;
  padding: 0px 80px;
  background: rgba(0, 0, 0, 0.5);
}
.section{
    /* margin: 0 auto; */
    padding: 50px 100px;
    background-color: #c3d8dd;
}

#intro h1, #intro h2, #intro p{
    padding: 10px 0px;
    font-weight: 500;
}
h3{
    font-weight: 500;
}
.container p{
    padding: 5px 0px;
    line-height: 25px;
}
.section h2{
    padding: 10px 0px;
}
#testimonials h2, #services h2, #blog h2, #testimonials h3{
    text-align: center;
}

#intro h1{
    font-size: 2.6rem;
    /* color: #e64a19; */
    /* font-weight: bolder; */
    opacity: 0;
    animation: zoom 1s ease-in-out 1 alternate forwards;
}

#intro h2{
   font-size: 20px;
   /* color: #003d80; */
   font-weight: 400;
   opacity: 0;
    animation: zoom 1s ease-in-out 1 alternate forwards;
}
#intro p{
    line-height: 25px;
    opacity: 0;
    animation: zoom 1s ease-in-out 1 alternate forwards;
}

section {
    padding: 40px 0;
}

.cta-buttons {
    margin-top: 20px;
}

.cta-button {
    display: inline-block;
    margin-right: 10px;
    padding: 10px 20px;
    color: #fff;
    background-color: #38aed4;
    text-decoration: none;
    border-radius: 20px;
    border: 1px solid #38aed4;
    transition: all 0.6s;
    cursor: pointer;
    font-size: 16px;
}
#intro .cta-button{
    background: transparent;
    opacity: 0;
    animation: zoom 1s ease-in-out 1s 1 alternate forwards;
}

.navbar.sticky {
    position: sticky;
    background-color: black; /* Color changes to black */
    color: white; /* Text color changes to white */
    top: 0;
  }

#about .container{
    border-radius: 16px;
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.section-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    padding: 0px 30px;
}

/* First Part Styling */
.first-part {
    flex: 1;
    padding-right: 20px;
}

.first-part h2 {
    font-size: 24px;
    color: #333;
}
.first-part h3{
    font-size: 16px;
    font-weight: bold;
}
.first-part p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    text-align: justify;
}

/* Second Part Styling */
.second-part {
    flex: 1;
    text-align: center;
}

.second-part img {
    max-width: 100%;
    height: 400px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
/* General Container */
#services .container{
    border-radius: 16px;
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
#services .service-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
    /* background-color: #f9f9f9; */
}
#services > h2{
    margin-left: 20px;
}
/* Service Box */
.service {
    width: 31%;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 16px;
    margin-bottom: 20px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.6s;
}

.service img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.service h2, .service h3 {
    font-size: 20px;
    margin: 10px 5px 6px;
    color: #333;
    font-weight: bold;
}
.service p {
    font-size: 14px;
    color: #666;
    padding: 0 10px 6px;
}

.service .cta-button{
    margin: 5px 0px 10px;
}
.section .cta-buttons{
text-align: center;
}
#vision .container, #blog .container{
    border-radius: 16px;
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
#vision h2{
    margin-left: 10px;
}

#vision .container .content{
    display: flex;
    align-items: center;
}
#vision .container .content p{
  padding: 20px;
  text-align: justify;
}
#vision .container .content img{
    width: 400px;
    border-radius: 20px; margin: 0px 10px;
}



#contact .container{
    background-color: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;

}

form label {
    display: block;
    margin-bottom: 5px;
}

form input, form textarea {
    width: 80%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 15px;
    resize: vertical;
}

form button {
    padding: 10px 20px;
    background-color: #38aed4;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 200px;
}




/* Container Styling */
#testimonials .container {
    padding: 20px;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


/* Testimonial Container with Arrows */
.testimonial-container {
    position: relative;
    display: flex;
    align-items: center;
}

/* Testimonial Wrapper for Horizontal Scroll */
.testimonial-wrapper {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    white-space: nowrap;
    padding: 20px 0;
    margin: 0 40px; /* Leave space for arrows */
    width: calc(100% - 80px); /* Adjust width to accommodate arrows */
}

.testimonial-wrapper::-webkit-scrollbar {
    display: none; /* Hide the scrollbar */
}

/* Testimonial Box Styling */
.testimonial {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-right: 20px;
    text-align: left;
    display: inline-block;
    white-space: normal;
    transition: all 0.6s;
}

/* Arrow Styling */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: black;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
}

.left-arrow {
    left: 0;
}

.right-arrow {
    right: 0;
}

.contact-container{
    display: flex;
}
.contact-container form{
    flex: 1;
}
.contact-container .contact-details{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-container .contact-details .detail {
   display: flex;
   align-items: center;
   margin: 10px 0px;
}
.contact-container .contact-details .detail a{
  text-decoration: none;
  color: black;
}
.contact-container .contact-details .detail .icon{
   background-color: black;
   display: flex;
   justify-content: center;
   align-items: center;
   margin-right: 10px;
   flex: 0 0 50px;
   height: 50px;
   border-radius: 50px;
}

.contact-container .contact-details .detail img{
    width: 30px;
    filter: invert(100%);
}


.stats-section {
    text-align: center;
    padding: 50px 0;
    background: rgba(0, 0, 0, 0.5);
}

.stats-section h2 {
    font-size: 2.0rem;
    margin-bottom: 30px;
    color: white;
    line-height: 25px;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-box {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 200px;
    transition: transform 0.3s ease;
}



.stat-box h3 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #007bff; /* Primary color */
}

.stat-box h3 span {
    font-size: 3rem;
    color: #ffcc00; /* Highlight color for the plus sign */
}

.stat-box p {
    font-size: 1.2rem;
    color: #666;
}


#map {
    height: 400px;
  }
#map iframe {
    height: 100%;
    width: 100%;
    border: none;
  }

/* Footer Styles */
.footer {
    background-color: #38aed4;
    color: white;
    padding: 40px 0;
}

.footer .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-right: 20px;
}

.footer-section h2 {
    font-size: 1.2em;
    color: white;
    margin-bottom: 15px;
    padding: 0px;
}

.footer-section p{
    padding: 0px;
}

.footer-section p, .footer-section a {
    font-size: 0.9em;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
}



.social-links {
    list-style: none;
    padding: 0;
}

.social-links li {
    /* margin-bottom: 10px; */
    display: flex;
    /* justify-content: center; */
    align-items: center;
    /* background-color: #333; */
    margin: 5px 0px;
}
.social-links li img{
    width: 30px;
    height: 30px;
    filter: invert(100%);
}
.social-links a {
    color: white;
    text-decoration: none;
    margin-left: 5px;
}



.quick-links {
    list-style: none;
    padding: 0;
}

.quick-links li {
    margin-bottom: 10px;
}

.quick-links a {
    color: white;
    text-decoration: none;
}



.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8em;
    color: white;
}

.services-page, .blog-page{
    background-color: white;
}
.services-page h3{
    margin-top: 10px;
}
.services-page h2, .blog-page h2{
    margin-top: 20px;
}
.services-page p, .blog-page p{
    line-height: 25px;
    margin: 10px 0px;
    text-align: justify;
}
.services-page h3{
   font-weight: bold;
}

.services-page li{
   line-height: 25px;
   margin-left: 20px;
   padding: 5px 0px;
}
.services-page img, .blog-page img{
    width: 600px;
    border-radius: 5px;
}
.blog-page h3{
    font-weight: bold;
    margin: 5px 0px;
}
.blog-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
}
.blog {
    width: 48%;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 16px;
    margin-bottom: 20px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.6s;
}

.blog img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
}
.blog h2, .blog h3 {
    font-size: 20px;
    margin: 10px 5px 6px;
    color: #333;
    font-weight: bold;
}

.blog p {
    font-size: 14px;
    color: #666;
    padding: 0 10px 6px;
}

.blog .cta-button{
    margin: 5px 0px 10px;
}
#hope-video{
    margin: 0px;
    padding: 0px;
    width: 100%;
    /* height: 500px; */
    overflow: hidden;
    background-color:#c3d8dd;
}
.video-container {
    position: relative;
    width: 636px;
    height: 360px;
    z-index: 4;
}

.warning-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 18px;
    z-index: 10;
}
.warning-overlay p{
    padding: 5px 10px;
    text-align: center;
}
.warning-overlay button {
    margin-top: 16px;
    padding: 10px 20px;
    background-color: #f44336;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

.warning-overlay button:hover {
    background-color: #d32f2f;
}
#surgery-video {
    display: none; /* Initially hidden */
}
/* Responsive Navbar */
@media (max-width: 1133px) {
    .navbar-menu{
        flex-direction: column;
        display: none;
    }
    .active {
        display: flex;
    }
    .cta .cta-button{
        margin-right: 30px;
    }
    .navbar-menu li {
        margin: 10px 0;
    }

    .navbar-toggle {
        display: block;
        cursor: pointer;
        position: absolute;
        top: 25px;
        right: 20px;
    }

    .navbar-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        background-color:white;
        margin: 5px 0;
        border-radius: 3px;
    }
    .section{
        /* margin: 0 auto; */
        padding: 50px;
    }
    #vision .container .content img{
     width: 300px;   
    }
}
/* Responsive adjustments */
@media (max-width: 768px) {
    #intro{
        height: 600px;
        padding: 0px 30px;
    }
    #vision .container .content{
        flex-direction: column;
    }
    #vision .container h2{
        text-align: center;
    }
    #vision .container .content img{
        width: 400px;   
       }
    .service, .blog {
        width: 100%;
    }
    .mobile-nav{
        flex-direction: column;
    }
    .mobile-nav .navbar-menu{
        flex-direction: row;
        margin: 10px;
    }
    .navbar-menu a {
        font-size: 14px;
        padding: 10px;
    }
    .section-content {
        flex-direction: column;
        text-align: center;
    }
    .navbar-logo img{
        width: 200px;
    }
    .first-part {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .second-part {
        text-align: center;
    }
    form input, form textarea{
        width: 100%;
    }
    .cta-buttons .cta-button{
        margin: 10px 0px;
    }
    .contact-container{
        flex-direction: column;
    }
    .services-page img, .blog-page img{
        width: 100%;
        border-radius: 5px;
    }
    .video-container{
        max-width: 100%;
        max-height: 60vw;
    }
    .video-container video{
        width: 100%;
        height: 100%;
    }
.surgery-video{
    width: 80%;
    height: 80%;
    margin-top: 10px;
}
}
@media(max-width: 540px) {
    .stats-section h2 {
        font-size: 1.5rem;
    }
    #vision .container .content img{
        width: 100%;   
       }
       .navbar-logo img{
        width: 150px;
    }
    .navbar-menu a {
        font-size: 12px;
        padding: 8px;
    }
    .cta{
        display: none;
    }
    .ctaActive{
        display:block;
    }
    .navbar-toggle {
        top: 15px;
        right: 15px;
    }
    #intro h1{
        font-size: 1.8rem;
        /* color: #e64a19; */
        /* font-weight: bolder; */
    }
    
    #intro h2{
       font-size: 20px;
       /* color: #003d80; */
       font-weight: 400;
    }
    h2{
        font-size: 20px;
    }
    h3{
        font-size: 16px;
    }
    .ctaActive .cta-button{
   margin: auto;
    }
    .cta-button{
        font-size: 14px;
        padding: 10px;
    }
    .section{
        /* margin: 0 auto; */
        padding: 20px;
    }
    #services .container{
        border-radius: 16px;
        background-color: white;
        padding: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }
    #services .service-container, .blog-container {
        padding: 10px;
        /* background-color: #f9f9f9; */
    }
    #vision .container .content p{
        padding: 10px;
    }
    .testimonial p{
        font-size: 14px;
    }
    .review-header {
        flex-direction: column;
            }
            .review-info{
                margin-top: 5px;
            }
    .section-content{
        padding: 0px 10px;
    }
}

@media(max-width: 360px) {
    .mobile-nav .navbar-menu{
        margin: 10px 5px;
    }
    .navbar-menu a {
        font-size: 11px;
        padding: 6px;
    }
    .cta-button{
        font-size: 11px;
    }
    .testimonial p{
        font-size: 12px;
    }
    #testimonials .container {
        padding: 20px 10px;
        background-color: white;
        border-radius: 16px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }
    .testimonial-wrapper {
        display: flex;
        overflow-x: hidden;
        scroll-behavior: smooth;
        white-space: nowrap;
        padding: 20px 0;
        margin: 0 10px; /* Leave space for arrows */
        width: calc(100% - 20px); /* Adjust width to accommodate arrows */
    }
    .contact-container .contact-details .detail p{
        font-size: 14px;
     }
     .contact-container .contact-details .detail .icon{
        flex: 0 0 40px;
        height: 40px;
        border-radius: 40px;
     }
     
     .contact-container .contact-details .detail img{
         width: 24px;
     }
     .section-content{
        padding: 0;
    }
}
@media(max-width: 320px) {
    .contact-container .contact-details .detail p{
        font-size: 11px;
     }
    .mobile-nav .navbar-menu{
        margin: 10px 2px;
    }
    .navbar-menu a {
        font-size: 10px;
        padding: 5px;
    }
    .cta-button{
        font-size: 10px;
    }
}

@media(hover:hover){
    
.navbar-menu a:hover {
    border: 1px solid #38aed4;
    border-radius: 15px;
}
#intro .cta-button:hover{
    background-color: #38aed4;
}
.cta-button:hover {
    background: transparent;
}
.section .cta-button:hover{
    color: #38aed4;
}
.service:hover{
    transform: scale(1.1);
    }
    form button:hover {
        background-color: #003d80;
    }
    .stat-box:hover {
        transform: translateY(-10px);
    }
    .footer-section a:hover {
        text-decoration: underline;
    }
    .social-links a:hover {
        text-decoration: underline;
    }
    .quick-links a:hover {
        text-decoration: underline;
    }
    .testimonial:hover{
        transform: scale(1.1);
    }
}
@media(hover:none){
    
.navbar-menu a:active{
    border: 1px solid #38aed4;
    border-radius: 15px;
}
#intro .cta-button:active{
    background-color: #38aed4;
}
.cta-button:active {
    background: transparent;
}
.section .cta-button:active{
    color: #38aed4;
}
.service:active{
    transform: scale(1.1);
    }
    form button:active {
        background-color: #003d80;
    }
    .stat-box:active {
        transform: translateY(-10px);
    }
    .footer-section a:active {
        text-decoration: underline;
    }
    .social-links a:active {
        text-decoration: underline;
    }
    .quick-links a:active {
        text-decoration: underline;
    }
    .testimonial:active{
        transform: scale(1.1);
    }
}

.whatsapp-chat-btn {
    position: fixed;
    bottom: -60px;
    right: 20px;
    background-color: #25D366;
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 5;
    animation: showbtn 2s ease-in-out 1 alternate forwards;
}

.whatsapp-chat-btn:hover {
    background-color: #20b957;
}

.whatsapp-chat-btn img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

@keyframes showbtn {
    0% {
      /* opacity: 0; */
      bottom: -60px;
    }
    50%{
        bottom: 90px;
    }
    100% {
      /* opacity: 1; */
      bottom: 30px;
    }
  }
  @keyframes zoom {
    from {
      transform: scale(0.1);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }
 /* Responsive styles */
 @media (max-width: 600px) {
    .whatsapp-chat-btn {
        padding: 10px 15px;
        font-size: 14px;
    }

    .whatsapp-chat-btn img {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }
}

@media (max-width: 400px) {
    .whatsapp-chat-btn {
        padding: 8px 12px;
        font-size: 12px;
        bottom: 10px;
        right: 10px;
    }

    .whatsapp-chat-btn img {
        width: 18px;
        height: 18px;
        margin-right: 6px;
    }
}



/* Pop-Up Form Styling */
.form-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

.form-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 10px;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    margin: 0 0 20px;
    text-align: center;
}

.form-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-container input,
.form-container textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.submit-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.submit-button:hover {
    background-color: #0056b3;
}

/* Close Button Styling */
.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.close-button:hover {
    color: #ff0000;
}