@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap');

*{
    margin: 0;
    padding: 0;
}

/* Common Colors */

:root{
    --white: #f8f5e3;
    --red: #EC6051;
    --darkred: #e0594a;
    --heading:  #3a689c;
    --headinglight: #5379A3;
    --heading3: #7CA19E;
    --card-border: rgb(116, 112, 112);
}

/* Heading #03AF9E */

html, body {
    overflow-x: clip;
}

body{
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
  }
   

/* Mobile Hide */
@media (max-width:800px){
.mobile-hide{
    display: none;
}
}

.mobile-responsive{
    display: flex;
}

@media (max-width:600px){
    .mobile-responsive{
        display: block;
        font-size: 0.8rem;
    }    
}

/* Header Section */
.dropdown-menu{
    transition: all 0.2s linear;
  }
  
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; 
  }
  

.head-icon{
    color: var(--heading);
    font-size: 0.8rem;
    border: 1px solid var(--heading);
    background-color: white;
    border-radius: 50%;
    margin-bottom: -0.4rem;
    padding: 8px;
}

.head-text{
    text-decoration: none;
    font-weight:800;
    color: var(--heading3);
    transition: all linear 0.2s;
}
.head-text:hover{
    color: var(--heading);
}
.drop-item{
    color: var(--heading);
    transition: all linear 0.2s;
}
.drop-item:hover{
    color: var(--red);
    background-color: white;
}

/* Header Image Section */

.head-img{
    background: url("https://easetemplate.com/free-website-templates/cardiology/images/service-6.jpg");
    background-position:center center;
    position: relative;
    opacity: 0.8;
    background-size: cover;
}
.overlay {
    background-color: rgba(0, 0, 0, 0.7);
    top: 0;
    left: 0;
    width: 100%;
    height: 30rem;;
    position: relative;
    padding: 8rem 5rem;
    z-index: 1;
}

@media (max-width:413px){
    .overlay {
        background-color: rgba(0, 0, 0, 0.7);
        top: 0;
        left: 0;
        width: 100%;
        height: 30rem;;
        position: relative;
        padding: 3rem 4rem;
        z-index: 1;
    }    
}
.head-btn{
    background-color: var(--red);
    font-weight: 600;
    transition: all linear 0.2s;
}
.head-btn:hover{
    background-color: var(--heading);
}

.slider-img{
    height: 32rem;
    filter: brightness(90%);
}

@media (max-width: 768px){
    .slider-img{
        height: 26rem;
    }
}

@media (max-width: 600px){
    .slider-img{
        height: 24rem;
    }
}
/* Services Section */
.service-card{
    position: relative;
}
.service-img{
    transition: all 0.3s linear;
    height: 15rem;
}

.service-card:hover .service-img{
    filter: brightness(60%);
    cursor: pointer;
}

.service-icon{
    position : absolute;
    display:none;
    top:30%;
    color: white;
    /* width:40px; */
    margin:0 auto; left:0px;
    right:0px;
    z-index:100
}

.service-card:hover .service-icon{
    display:block
}

.service-img-text{
    font-size: 1.1rem;
    padding: 2rem 0rem;
    transition: all 0.3s linear;
}

.service-card:hover .service-img-text{
    color: var(--heading);
    cursor: pointer;
}

/* Values Section */
.value-icon{
    color: var(--heading);
    font-size: 1.8rem;
    padding: 1.4rem 2px;
}

/* Get a Quote Section */
.quote-icon{
    color: white;
    font-size: 2.2rem;
    border: 2px solid white;
    border-radius: 50%;
    padding: 16px;

}
.quote-btn{
    font-size: 0.9rem;
    font-weight: bold;
    background-color: white;
    border: 2px solid white;
    color: var(--heading);
    padding: 0.8rem;
    transition: all linear 0.1s;
}

.quote-btn-inner{
    text-decoration: none;
    color: var(--heading);
}

.quote-btn:hover{
    font-size: 0.9rem;
    background-color: var(--heading);
    color: white;
    padding: 0.8rem;
}

.quote-btn:hover .quote-btn-inner{
    color: white;
}
/* Patients Review Section */

.patient-icon{
    color: var(--red);
    font-size: 2.6rem;
    margin-bottom: -3rem;
    margin-right: 3rem;
}

/* Footer Section */

.footer-text{
    font-weight: 500;
    text-decoration: none;
    transition-property: all;
    transition-duration: 0.2s;
    text-decoration: none;
    color: grey;
}
.footer-text:hover{
    color: var(--heading);
    cursor: pointer;
}
.footer-sec1{
    height: 3.4rem;
    color: grey;
    font-weight: 300;
    margin-top: 4rem;
}
/* Service Page */
.service-btn{
    color: var(--red);
    font-size: 0.9rem;
    transition: all linear 0.1s;
}
.service-card:hover .service-btn{
    color: var(--heading);
}

/* Contact Page */
.form-btn{
    color: white;
    background: var(--red);
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all linear 0.1s;
}
.form-btn:hover{
    color: white;
    background: var(--darkred);
}
/* Service Details Page */
.accord-item{
    color: white;
    background: var(--headinglight);
    transition: all linear 0.1s;
}

.accord-item:hover{
    background: var(--heading);
}

.accord-item1{
    color: white;
    background: var(--heading);

}

/* Gallery Image Page */

.gallery-card{
    position: relative;
}
.gallery-img{
    transition: all 0.3s linear;
}

.gallery-card:hover .gallery-img{
    filter: brightness(60%);
    cursor: pointer;
}

.gallery-icon{
    position : absolute;
    display:none;
    top:40%;
    color: white;
    /* width:40px; */
    margin:0 auto; left:0px;
    right:0px;
    z-index:100
}

.gallery-card:hover .gallery-icon{
    display:block
}


/* The Modal (background) */
.gallerymodal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    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.9); /* Black w/ opacity */
  }
  
  /* Modal Content (Image) */
  .gallerymodal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
  }
  
  /* Caption of Modal Image (Image Text) - Same Width as the Image */
  #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
  }
  
  /* Add Animation - Zoom in the Modal */
  .gallerymodal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  @keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    top: 40px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* 100% Image Width on Smaller Screens */
  @media only screen and (max-width: 700px){
    .modal-content {
      width: 100%;
    }
  }

/* Scroll to top button */

#scrollBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: var(--darkred); /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 2px 18px; /* Some padding */
    width: 3.2rem;
    font-weight: 600;
    height: 3.2rem;
    border-radius: 50px; /* Rounded corners */
    transition: all 0.2s linear;    
  }
  
  #scrollBtn:hover {
    background-color: var(--heading); /* Add a dark-grey background on hover */
  }