@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&family=Righteous&display=swap");
* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    font-family: "Baloo Bhai 2", cursive;
}

.container {
    /* border: 1px solid red; */
    max-width: 100%;
    width: auto;
    background-image: url("images/temp-min.png");
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
}

.navbar {
    display: flex;
    padding: 9px 9px;
}

.logo {
    max-width: 173px;
    width: auto;
    margin-top: 5px;
    position: relative;
    left: 31px;
}

.menu ul {
    display: flex;
    margin-top: 31px;
}

.menu ul li {
    list-style: none;
    margin: 0px 4px;
    list-style: none;
    margin: 7px 14px;
    font-size: 18px;
}

.menu ul li a {
    text-decoration: none;
    color: white;
    padding-bottom: 6px;
    position: relative;
}

.menu ul li a:hover {
    color: rgb(158, 157, 157);
}

.menu ul li:first-child {
    margin-left: 187px;
}

.menu ul li:nth-child(1) a {
    color: gainsboro;
    font-weight: bold;
}

.about_btn {
    width: 131px;
    height: 37px;
    border: 1px solid transparent;
    border-radius: 26px;
    font-size: 17px;
    margin-top: -13px;
    color: whi;
    color: white;
    background-image: linear-gradient(360deg, #bd3984, #df3167);
    margin-left: 5vw;
    box-shadow: 0px 2px 6px 2px #474444;
}

.about_btn:hover {
    cursor: pointer;
}


/* mobile */

.below_nav {
    display: none;
}


/* 
image area
*/

.mainText {
    padding: 10px;
    color: white;
    padding: 0px 139px;
    margin-top: 15vh;
}

.mainText h3 {
    display: block;
    transition: all 0.4s ease-in-out;
    font-size: 33px;
    opacity: 0;
    animation: welcome 0.7s 1s forwards;
}

.dentalS {
    font-size: 46px;
    margin: 0px 25px;
    font-style: italic;
    display: block;
    font-family: Winter Glisten;
    opacity: 0;
    animation: hamza 1s 1.5s forwards;
}

.dentlcolor {
    font-family: Winter Glisten;
    color: #f53541;
    text-shadow: 4px 0px 9px #f8efef;
    margin-right: 18px;
    opacity: 0;
    animation: hamza 1s 1.5s forwards;
}

.mainText p {
    text-align: justify;
    font-style: italic;
    color: #f1eded;
    position: relative;
    padding: 0px 77px;
    left: -13px;
    width: 39vw;
    text-shadow: 1px 1px 2px #515050;
    font-size: 18px;
    opacity: 0;
    animation: panimation 1s 2.5s forwards;
}


/* Buttons */

.btn {
    width: 150px;
    height: 35px;
    margin-left: 59px;
    border-radius: 20px;
    background-image: linear-gradient(360deg, #bd3984, #df3167);
    border: 1px solid transparent;
    color: white;
    font-size: 14px;
    cursor: pointer;
    animation: panimation 1s 2.5s forwards;
    margin-top: 19px;
    opacity: 0;
}

.btn2 {
    background: none;
    border: 1px solid white;
    margin-left: 10px;
    opacity: 0;
}


/* .svg {
position: absolute;
left: 0;
bottom: 0;
right: 0;
top: 468px;
} */

.custom-shape-divider-bottom-1644676051 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1644676051 svg {
    position: relative;
    display: block;
    width: calc(100% + 3.3px);
    height: 117px;
    transform: rotateY(180deg);
    top: -3px;
}

.custom-shape-divider-bottom-1644676051 .shape-fill {
    fill: #ffffff;
}


/* animation */

@keyframes welcome {
    to {
        opacity: 1;
        transform: translateX(40px);
    }
}

@keyframes hamza {
    to {
        opacity: 1;
        transform: translateX(40px);
    }
}

@keyframes panimation {
    to {
        opacity: 1;
        transform: translateY(-20px);
    }
}


/* card container */

.cardContainer {
    /* border: 1px solid black; */
    margin-top: 0px 24px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 49px 23px;
}

.cardContainer h1 {
    position: relative;
    width: 9vw;
    margin: auto;
    text-shadow: 0px 3px 4px grey;
}

.hrline {
    position: relative;
    top: -25px;
    width: 10vw;
    /* border-radius: 39px; */
    margin: auto;
    background: #efc244;
}

.captionpara {
    position: relative;
    top: -15px;
    font-style: italic;
    width: 20vw;
    margin: auto;
    color: #735111;
}

.box {
    width: 23vw;
    margin: 1px 22px;
    /* height: 42vh; */
    border-radius: 10px;
    box-shadow: 1px 4px 7px 3px #aaa6a6;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 37px 6px;
}

.box img {
    width: 8vw;
}

.card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.box p {
    width: 15vw;
    text-align: justify;
    color: #524e4e;
}

.cardbtn {
    animation: none;
    opacity: 1;
    margin-left: 0;
}

footer {
    height: 46vh;
    margin-top: 24px;
    background: linear-gradient( 183deg, rgba(40, 113, 158, 1) 24%, rgba(40, 142, 180, 1) 52%, rgba(40, 188, 217, 1) 68%);
    background-size: 1522px 714px;
    background-blend-mode: multiply;
    position: relative;
    display: flex;
    flex-direction: column;
    color: white;
    overflow: hidden;
}

.ft_above_sec {
    display: flex;
    justify-content: center;
    height: 26vh;
    margin-top: 101px;
    z-index: +1;
}

.ft_logo {
    width: 5vw;
    display: block;
    margin: 18px auto;
}

.ft_box2 {
    width: 42vw;
    padding: 25px 53px;
    overflow: hidden;
}

.ft_box3 {
    padding-left: 23px;
    padding-top: 32px;
}

.ft_box2 p {
    text-align: justify;
    color: #d5d5d5;
    font-style: italic;
    word-spacing: 1px;
}

.support {
    color: rgb(255, 255, 255);
    font-size: 19px;
    font-weight: bold;
}

.link:hover {
    color: gray;
    cursor: pointer;
}

.ft_box3 a {
    text-decoration: none;
}

.ft_box3 p {
    color: white;
}

.ft_hr_line {
    width: 48vw;
    margin: auto;
}

.copyright {
    width: 15vw;
    margin: auto;
    margin-top: 6px;
}

.custom-shape-divider-top-1644681683 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-1644681683 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 107px;
}

.custom-shape-divider-top-1644681683 .shape-fill {
    fill: #ffffff;
}


/* Mobile media query */

@media screen and (max-width: 626px) {
    body {
        overflow-x: hidden;
    }
    .container {
        /* border: 1px solid red; */
        max-width: 100%;
        width: auto;
        background-image: url(images/mobile_bg.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: 50% 38%;
    }
    .navbar {
        display: flex;
        padding: 9px 79px;
        flex-flow: column;
    }
    .logo {
        max-width: 47vw;
        width: auto;
        margin: -2px -20px;
        margin: auto;
        margin-bottom: 4px;
    }
    .menu ul li {
        list-style: none;
        margin: 0px 4px;
        list-style: none;
        margin: 0px 6px;
        font-size: 16px;
    }
    .mb_secondary {
        display: none;
    }
    .menu ul li:nth-child(1) a {
        color: #606060;
        font-weight: bold;
    }
    .menu ul li:first-child {
        margin: 0;
    }
    .menu ul li a {
        color: black;
    }
    .about_btn,
    .about_btnli {
        display: none;
    }
    .menu ul {
        display: flex;
        margin-top: 0px;
        margin-left: -77px;
        /* border: 1px solid rebeccapurple; */
        width: 98vw;
        align-items: center;
        justify-content: center;
    }
    .mainText h3 {
        font-size: 22px;
        font-family: "Great Vibes", cursive;
        font-weight: bolder;
        margin-bottom: 16px;
        /* margin-top: 16px; */
    }
    .mainText {
        padding: 0;
        margin-top: 30%;
    }
    .mainText p {
        display: none;
    }
    .custom-shape-divider-bottom-1644676051 svg {
        display: none;
    }
    .dentalS {
        /* font-size: 27px;
   */
        font-size: 183%;
        margin: 0px 0px;
        font-family: "Great Vibes", cursive;
        font-weight: bolder;
    }
    .dentlcolor {
        margin-right: 4px;
        font-family: "Great Vibes", cursive;
        font-weight: bolder;
    }
    .btn2 {
        display: none;
    }
    .btn {
        width: 102px;
        height: 31px;
        /* margin-left: 59px; */
        border-radius: 20px;
        background-image: linear-gradient(360deg, #bd3984, #df3167);
        border: 1px solid transparent;
        color: white;
        font-size: 14px;
        cursor: pointer;
        /* animation: panimation 1s 2.5s forwards; */
        /* margin: 115px 30px;
    margin: 31% 12%;
     */
        /* margin: 31% 12%; */
        margin: 45% 16%;
        /* opacity: 0; */
        box-sizing: 1px 1px 2px gray;
        box-shadow: 1px 1px 13px 1px #fdf3f3;
    }
    .mob_menu {
        display: block;
        /* width: 0vw; */
        /* background: transparent; */
        margin: auto;
        width: 57vw;
        margin-top: 22px;
        border: 1px solid transparent;
        background: url();
    }
    .below_nav {
        display: block;
        width: 43vw;
        margin: auto;
        /* border-radius: 20px; */
        background-color: #286695;
        box-shadow: 1px 1px 5px #a7a7a7;
    }
    /* service */
    .cardContainer {
        /* border: 1px solid black; */
        margin-top: 0px 24px;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        margin: -75px 23px;
    }
    .cardContainer h1 {
        position: relative;
        width: 35vw;
        margin: auto;
        text-shadow: 0px 3px 4px grey;
        font-size: 1.8em;
    }
    .hrline {
        position: relative;
        top: -25px;
        width: 28vw;
        /* border-radius: 39px; */
        margin: auto;
        background: #efc244;
    }
    .captionpara {
        position: relative;
        top: -15px;
        font-style: italic;
        width: 70vw;
        margin: auto;
        color: #735111;
        text-align: justify;
        font-size: 0.9em;
    }
    .card {
        display: flex;
        align-items: center;
        justify-content: center;
        display: flex;
        flex-direction: column;
    }
    .box {
        width: 78vw;
        margin: 11px 22px;
        /*  */
        /* height: 42vh; */
        border-radius: 10px;
        box-shadow: 1px 4px 7px 3px #aaa6a6;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 37px 6px;
    }
    .box img {
        width: 30vw;
    }
    .box p {
        width: 59vw;
        text-align: justify;
        color: #5a5757;
    }
    .cardbtn {
        margin: 0;
        position: relative;
        top: 13px;
    }
    footer {
        height: 100%;
        margin-top: 32%;
        background: linear-gradient( 183deg, rgba(40, 113, 158, 1) 24%, rgba(40, 142, 180, 1) 52%, rgba(40, 188, 217, 1) 68%);
        background-size: 1522px 714px;
        background-blend-mode: multiply;
        position: relative;
        display: flex;
        flex-direction: column;
        color: white;
    }
    .ft_above_sec {
        display: flex;
        justify-content: center;
        height: 26vh;
        margin-top: 101px;
        z-index: +1;
        flex-direction: column;
    }
    .ft_box2 p {
        text-align: justify;
        color: #d5d5d5;
        font-style: italic;
        word-spacing: 1px;
        font-size: 12px;
        width: 80vw;
    }
    .ft_box2 {
        width: auto;
        padding: 25px 53px;
        overflow: visible;
        padding: 0;
        margin: auto;
        margin-top: 129px;
    }
    .custom-shape-divider-top-1644681683 svg {
        position: relative;
        display: block;
        width: calc(185% + 1.3px);
        height: 86px;
    }
    .ft_below_sec {
        width: 100vw;
        margin-top: 142px;
    }
    .copyright {
        width: 70vw;
        margin: auto;
        font-size: 15px;
        margin-top: 6px;
    }
    .ft_box3 {
        margin: 1px 34px;
        padding: 0;
    }
}