html {
    font-family: 'Space Grotesk';    
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

:after,:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

a:focus {
    outline: 0!important;
    outline-offset: 0!important
}

a {
    text-decoration: none
}

li::marker{
    color: #000 !important;
}

body {
    margin: 0;
    font-family: 'Space Grotesk';
    font-size: 18px;
    font-weight: 400;
    color: #242329;
    line-height: 28px
}

.m-10{
    margin: 10px 0;
}

.m-0{
    margin: 0;
}

.relative{
    position: relative;
}

.main-section-top{
    margin-top: 175px;
}

/* header */

.header-container {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    padding: 40px 0 !important;
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.container {
    width: 1280px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto
}

.container-section {
    width: 1400px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto
}

.container-main{
    width: 1280px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

.container-fluid {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto
}

.section-margin {
    margin: 80px 0;
}

.relative {
    position: relative
}

.d-grid {
    display: grid;
}

.d-flex-left{
    display: flex;
    justify-content: left;
    align-items: center;
}

.d-flex-center{
    display: flex;
    justify-content: center;
    align-items: center;
}

.d-inline-flex{
    display: inline-flex;
}
.small-header{
    display: none;
    transition: top 0.5s;
}

.white{
    color: #FFFFFF;
}

.black{
    color: #000 !important;
} 

.second-header {
    background: #915FFE;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    position: relative;
    z-index: 999;
    width: 100%;
    transition: 0.7s ease;
    padding: 10px 0;
    border-radius: 8px;
    border: 2px solid #fff;
}

.second-navbar {
    height: 100%;
    max-width: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    padding: 0 25px;
}

.menu-logo {
    margin: 10px 10px 0px 25px;
}

.second-menu{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 0;
}


.second-menu-item a{
    color: #fff;
    font-weight: 400;
    font-size: 16px;
}

.second-menu-item a.active{
    color: #4074F6;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px; /* Adjust this value to control thickness */

}

.second-menu-item svg{
    vertical-align: bottom;
    margin: 5px 5px 5px 0;  
}

.menu-doctor{
    background-color: #DFEEFF;
    border-radius: 24px;
    padding: 5px 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-appoint{
    background: #fff;
    border-radius: 8px;
    padding: 10px 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.book-appoint a{
    color: #915FFE;
    font-weight: 500;
    font-size: 18px;
}

.hidden-lg {
    display: none !important;
}

.gg-menu {
    transform: scale(var(--ggs,1))
}
.gg-menu,
.gg-menu::after,
.gg-menu::before {
    box-sizing: border-box;
    position: relative;
    display: block;
    width: 25px;
    height: 3px;
    border-radius: 3px;
    background: #fff
}
.gg-menu::after,
.gg-menu::before {
    content: "";
    position: absolute;
    top: -7px
}
.gg-menu::after {
    top: 7px
}

.text-align{
    text-align: center;
}

.gg-close-o {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(var(--ggs, 1));
    width: 22px;
    height: 22px;
    border: 2px solid;
    border-radius: 40px;
    color: #fff;
}

.gg-close-o::after, .gg-close-o::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 12px;
    height: 2px;
    background: #fff;
    transform: rotate(45deg);
    border-radius: 5px;
    top: 8px;
    left: 3px;
}

.gg-close-o::after {
    transform: rotate(-45deg)
}

.nav-links .sidebar-logo {
    display: none;
}

.sidebar-logo .logo-name {
    display: none;
}

.main-dropdown-link {
    cursor: pointer;
}

.top-nav-drodown-list {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 120%;
    left: 50%;
    overflow: hidden;
    width: 225px;
    z-index: -1;
    transition: all .7s ease-in-out 0s, visibility 0s linear .3s, z-index 0s linear 10ms;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #ddd;
    transform: translateX(-50%);
}

.main-dropdown-link:hover .top-nav-drodown-list {
    visibility: visible !important;
    top: 160%;
    opacity: 1;
    z-index: 99;
    transition: .5s ease all;
    transition-delay: .3s, .3s, .3s;
  }
    
  .top-nav-drodown-list a{
    display: block;
    color: #0C356A;
    padding: 5px 15px;
    font-size: 14px;
  }

  .top-nav-drodown-list a:hover{
    background-color: #4072EB;
    transition: .5s ease-in-out;
    color: #fff;
  }

  .service-dropdown{
    width: 280px;
    transform: translateX(-50%);
    left: 50%;
  }

  .img-css{
    display: block;
    width: 100%;
  }

.circle-sketch-highlight{
    position: relative;
    padding: 0.3em 0.4em;
}
.circle-sketch-highlight:before{
  content:"";
  z-index:-1;
  left: -0em;
  top: 0.5em;
  border-width:3px;
  border-style:solid;
  border-color:#915FFE;
  position:absolute;
  border-right-color:transparent;
  width:100%;
  height:1em;
  transform:rotate(2deg);
  opacity:0.7;
  border-radius:50%;
  padding:0.1em 0.25em;
}
.circle-sketch-highlight:after{
  content:"";
  z-index:-1;
  left: -0em;
  top: 0.6em;
  padding:0.1em 0.25em;
  border-width:3px;
  border-style:solid;
  border-color:#915FFE;
  border-left-color:transparent;
  border-top-color:transparent;
  position:absolute;
  width:100%;
  height:1em;
  transform:rotate(-1deg);
  opacity:0.7;
  border-radius:50%;
}

/* footer */

.footer-second{
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr 1fr;
    padding: 20px 0;
}

.hr-footer{
    border: none;
    height: 1px;
    background-color: #000;
    width: 100%;
    margin: 10px auto;
}

.footer-links{
    gap: 30px;
    grid-template-columns: 2fr 1fr 1fr 2fr;
}

.footer-links p{
    color: #915FFE;
    font-weight: 400;
    font-size: 24px;
    margin: 10px 0;
}

.footer-links a{
    display: table;
    color: #16395A;
    padding: 0px 0;
    font-size: 16px;
    line-height: 0.9;
    margin: 20px 0;
    cursor: pointer;
}
.footer-links h3{
    display: block;
    color: #16395A;
    padding: 5px 0;
    font-weight: 600;
    margin: 0;
    font-size: 20px;
}

.footer-second a{
    font-size: 16px;
    color: #000;
}

.small-text{
    font-size: 16px !important;
    line-height: 18px;
    color: #000 !important;
    font-weight: 300 !important;
}

.form-control {
    width: 74%;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 12px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control-inner{
    display: block;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #915FFE;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 8px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    font-family: 'Space Grotesk';
    word-wrap: break-word;
}

.email-round{
    background: #915FFE;
    border-radius: 50%;
    position: relative;
    height: 40px;
    width: 40px;
}

.email-round svg{
    position: absolute;
    top: 8px;
    left: 8px;
}

.form-control-inner::placeholder {
  color: #915FFE; /* your color */
}

.color-btn{
    display: flex;
    justify-content: center;
    align-items: center;    
    margin: 0 !important;
}

.color-btn p{
    background: #915FFE;
    font-size: 16px;
    font-weight: 400;
    border: 2px solid #915FFE;
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    color: #fff;
    margin: 20px 0;
}

/* Youtube Player */

.close-youtube {
    float: right;
    position: relative;
    right: 0px;
    cursor: pointer;
    width: 35px;
    height: 29px;
}

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

.close-youtube:before,
.close-youtube:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 25px;
    width: 2px;
    background-color: #fff;
    z-index: 999;
}

.close-youtube:before {
    transform: rotate(45deg);
}

.close-youtube:after {
    transform: rotate(-45deg);
}

.youtube-video-popup {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    background-color: rgb(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    transition: 0.5 ease all;
}

.modal-dialog {
    -webkit-animation-name: fadeDownVideo;
    animation-name: fadeDownVideo;
    webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    transition: 0.5 ease all;
    max-width: 70%;
    width: 60%;
    background: transparent;
    height: 550px;
    position: relative;
    margin: 0 auto;
    top: 20%;
}

.youtube-video-popup iframe {
    transition: 0.5 ease all;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    padding-top: 46px;
}

.youtube-video-popup iframe::before {
    padding-top: 56.25%;
}

.submit-form {
    cursor: pointer;
}   
.submit-form button {
    color: #fff;
    background: none;
    font-size: 18px;
    border: none;
    font-family: 'Poppins';
    cursor: pointer;
}

button#submit_footer_Btn {
    background: #8059f5;
    color: #fff;
    padding: 13px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    margin-top: 0px;
    font-family: 'Space Grotesk';
}

.linked-flex{
    display: flex !important;
    align-items: center !important;
    gap: 5px;
}

@media screen and (max-width: 576px) {
    .modal-dialog {
        width: 90%!important;
        max-width: 100% !important;
        height: 250px !important;
        top: 25% !important;
    }
}
@media screen and (max-width: 360px) {
    .drop .beroe-dropdown{
        overflow: scroll;
        max-height: 380px;
        left: 6rem !important;
    }
}

@-webkit-keyframes fadeDownVideo {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-50px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@keyframes fadeDownVideo {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@-webkit-keyframes fadeUpVideo {
    0% {
        opacity: 1;
        -webkit-transform: translateY();
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(-50px);
    }
}

@keyframes fadeUpVideo {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(-50px);
    }
}

.fadeUpVideo {
    -webkit-animation-name: fadeUpVideo !important;
    animation-name: fadeUpVideo !important;
    webkit-animation-duration: 1s;
    animation-duration: 1s;
}

.d-none{
    display: none;
}

.overflow-hidden{
    overflow: hidden;
}

.container-main{
        width: 1700px;
}

@media(max-width:2000px){
    .container{
        width: 1700px;
    }
    .container-section{
        width: 1700px;
    }
}

@media(max-width:1800px){
    .container{
        width: 1500px;
    }
    .container-section{
        width: 1500px;
    }
    .container-main{
        width: 1500px;
    }
}

@media(max-width:1550px){
    .container{
        width: 1280px;
    }
    .container-section{
        width: 1280px;
    }
    .container-main{
        width: 1280px;
    }

}

@media(max-width:1199px){
    .container{
        width:970px;
    }
    .container-section{
        width: 1100px;
    }
    .container-main{
        width: 970px;
    }
    .section-margin {
        margin: 40px 0;
    }
    .second-menu{
        gap: 20px;
    }
}

@media(max-width:991px){
    .container{
        width:100%;
    }
    .container-section{
        width: 100%;
    }
    .container-main{
        width: 100%;
    }

    .header-container{
        padding: 0 !important;
    }
    .hidden-xs{
        display: none;
    }
    .hidden-lg {
        display: block !important;
    }
    .menu-logo{
        margin: 10px 10px 0px 5px;
    }

    .main-section-top{
        margin-top: 100px;
    }
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        display: block;
        max-width: 100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        line-height: 40px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
        transition: all .5s ease;
        z-index: 1000;
    }

    .nav-links .sidebar-logo {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0px 10px;
        padding: 0px 10px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
        background: #915FFE;
        height: 75px;
    }

    .sidebar-logo .logo-name {
        display: block;
        padding-top: 15px;
    }

    .second-menu{
        display: block;
    }

    .second-navbar{
        padding: 0 10px;
    }

    .second-navbar .second-menu{
        display: block !important;
        background: #fff;
        height: 100%;
    }

    .second-menu-item{
        text-align: left;
        border-bottom: 1px solid #c9cbcf !important;
        margin: 4px 20px 20px 20px;
        padding: 10px 10px;
    }
    
    .second-menu-item a{
        font-size: 18px;
        color: #915FFE;
    }

    .review-book .book-appoint{
        margin: 0 20px !important;
    }

    .second-header{
        margin: 0;
        border-radius: unset;
    }

    .mobile-container{
        padding: 0 !important;
    }

    /* footer */
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-control{
        width: 68%;
    }

    .serv-com span {
        font-size: 16px;
    }
    .gg-chevron-down {
        box-sizing: border-box;
        position: relative;
        display: inline-block;
        transform: scale(var(--ggs, 1));
        width: 20px;
        height: 20px;
        border: 2px solid transparent;
        border-radius: 100px;
    }


    .gg-chevron-down::after {
        content: "";
        display: block;
        box-sizing: border-box;
        position: absolute;
        width: 10px;
        height: 10px;
        border-bottom: 2px solid;
        border-right: 2px solid;
        transform: rotate(45deg);
        left: 10px;
        top: 5px;
    }

    .top-nav-drodown-list{
        visibility: hidden;
        opacity: 0;
        position: relative;
    }
    .js-sub-menu {
        display: block;
        padding-left: 20px;
    }
    .js-sub-menu a{
        display: block;
    }
    .services-chevron {
        transition: transform 0.3s ease;
    }
    
    .hidden {
        display: none; /* Initially hides the submenu */
    }
}

@media(max-width:767px){
    .footer-links {
        grid-template-columns: repeat(1, 1fr);
        gap: 8px;
    }
    .form-control {
        width: 310px;
    }  
    .service-flex{
        grid-template-columns: 1fr;
        height: 220px;
        grid-gap: 0;
    }
    .serv-com svg{
        width: 35px;
        height: 35px;
    }
    .sm-link-border{
        border-right: none;
        border-bottom: 1px solid #fff;
        padding-bottom: 18px;
    }

    .footer-links svg{
        width: auto;
    }

    .footer-links p{
        font-size: 18px;
        margin: 10px 0;
    }

    .footer-links a{
        margin: 10px 0;
    }

    .footer-second{
        grid-template-columns: repeat(2, 1fr)
    }
}
