:root {
    --font-size-base: 1rem;
    --font-size-md: clamp(1.25rem, 0.61vw + 1.1rem, 1.58rem);
    --font-size-lg: clamp(1.57rem, 1vw+ 1.31rem, 2.11rem);
    --font-size-xl: clamp(2.44rem, 2.38vw + 1.85rem, 3.75rem);



    --background-color: #F8F9FA;
    --background2-color: #D4DFE8;
    --primary-color: #219BDA;
    --Secondary-color: #162129;
    --third-color: #ffb120;
    --accent-color:#fff;
    --text-color:#212529;
    --second-text-color:#817d7d;
}

html {
    overflow-x: hidden !important;
     overflow-y: auto; 
}



body {
    margin: 0;
    padding: 0;
    color:var(--text-color);
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--background-color);
    overflow-x: hidden !important;
    overflow-y: auto; 

    
}


a {
    text-decoration: none;
    color: var(--text-color);
}


/* header and nav*/

.header {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}


.header-logo {
    color:var(--primary-color);
    position: relative;
    cursor: pointer;
    margin-left:2em
}

.header-logo::before {
    content:"";
    display: inline-block;
    position: absolute;
    top: -9px;
    left:-51px;
    height:50px;
    width: 50px;
    background-image: url('../Images/floss.png');
    background-size: 50px 50px;
    background-repeat: no-repeat;

}

.header-logo::after{
    content:"The Best Dentist In South Africa";
    font-size: 12px;
    display: inline-block;
    position: absolute;
    top: 36px;
    left:0px;
    height:20px;
    width: 202px;
}

@media (max-width: 480px){

.header {
    height: clamp(60px, 5dvh, 80px)
}

.header-logo {
    font-size: 22px;
    z-index: 99;
    
}

.header-logo::before {
    content:"";
    display: inline-block;
    position: absolute;
    top: -13px;
    left:-43px;
    height:40px;
    width: 40px;
    background-image: url('../Images/floss.png');
    background-size: 40px 40px;
    background-repeat: no-repeat;
    z-index: 99;

}

.header-logo::after{
    content:" ";
}
}



@media (min-width:481px) and (max-width: 1024px){

.header {
    height: clamp(60px, 5dvh, 80px);
    justify-content: space-between;
}


.header-logo {
    font-size: 22px;
    z-index: 99;
    
}

.header-logo::before {
    content:"";
    display: inline-block;
    position: absolute;
    top: -13px;
    left:-43px;
    height:40px;
    width: 40px;
    background-image: url('../Images/floss.png');
    background-size: 40px 40px;
    background-repeat: no-repeat;
    z-index: 99;

}

.header-logo::after{
    content:" ";
}

}


.nav-bar{
    width: 55vw;
}

.nav-bar-ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    height: 7vh;
    margin-top: 5vh;
}

.nav-bar-li  {
    list-style: none;
    font-size: var(--font-size-base);
    position:relative;
    font-weight: 600;
    color: var(--second-text-color);
    
}

.nav-bar-li:hover {
    cursor: pointer;
    color:var(--third-color)
}

.nav-bar-li:hover::after{
    content: '';
    position:absolute;
    height:2px;
    width: 88px;
    top: 20px;
    left:-10px;
    background-color: var(--third-color);

}

 .nav-bar-mobile {
    display: none;
 }

 .hamburger-bar {
    display: none;
 }


 .nav-bar-mobile.is-active{
        left: -100vw;
    }


@media (max-width: 480px){
    .nav-bar,
    .nav-bar-ul,
    .nav-bar-li {
        display: none;
    }

}

@media (min-width:481px) and (max-width: 1024px){
    .nav-bar,
    .nav-bar-ul,
    .nav-bar-li {
        display: none;
    }

    .a-nav2 {
    margin-left: 30px;
    
    }

    .hamburger-bar {
        margin-right: 30px;
    }

}




.button {
    height: 49px;
    width: 148px;
    padding: 4px 5px;
    text-transform: capitalize;
    margin-top: 3vh;
    background-color: var(--primary-color);
    border: none;
    border-radius: 5px;
    font-size: var(--font-size-lg);
    transition: transform 0.3s ease;
    color: var(--accent-color);
}

.button:hover {
    cursor: pointer;
    background-color: var(--third-color);
    color: var(--accent-color);
    transform: scale(1.1);
    
}

@media (max-width: 480px){

 .nav-button {
        display: none;
    }


.hamburger-bar {
    display: block;
    cursor: pointer;
    height: 35px;
    width: 35px;
    appearance: none;
    background: none;
    outline:none;
    border:none;
    z-index: 99;
}


/* watch https://www.youtube.com/watch?v=OFKBep95lb4&list=WL&index=1 if confused on how you made the mobile-nav */

.hamburger-bar .bar-nav, .hamburger-bar::after, .hamburger-bar::before {
    content: "";
    display: block;
    width:100%;
    height: 5px;
    background-color: var(--primary-color);
    margin: 6px 0px;
    transition: 0.4s;
   
}

.hamburger-bar.is-active::before {
    transform:rotate(-45deg) translate(-8px, 6px);
}

.hamburger-bar.is-active .bar-nav {
    opacity: 0;
}

.hamburger-bar.is-active::after {
    transform: rotate(45deg) translate(-9px, -8px);
}


.nav-bar-mobile {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        min-height: 100svh;
        z-index: 98;
        background-color: var(--background-color);
        padding-top: 120px;
        transition: 0.4s;

}

.nav-bar-mobile a {
        display: block;
        width: 100%;
        max-width: 200px;
        margin: 0 auto 16px;
        text-align: center;
        padding: 12px 16px;
        background-color: var(--third-color);
        list-style: none;
        color: var(--text-color);
        font-weight: 600;
        border-radius: 5px;
    }

}

@media (min-width:481px) and (max-width: 1024px){
 .nav-button {
        display: none;
    }


.hamburger-bar {
    display: block;
    cursor: pointer;
    height: 35px;
    width: 35px;
    appearance: none;
    background: none;
    outline:none;
    border:none;
    z-index: 99;
}


/* watch https://www.youtube.com/watch?v=OFKBep95lb4&list=WL&index=1 if confused on how you made the mobile-nav */

.hamburger-bar .bar-nav, .hamburger-bar::after, .hamburger-bar::before {
    content: "";
    display: block;
    width:100%;
    height: 5px;
    background-color: var(--primary-color);
    margin: 6px 0px;
    transition: 0.4s;
   
}

.hamburger-bar.is-active::before {
    transform:rotate(-45deg) translate(-8px, 6px);
}

.hamburger-bar.is-active .bar-nav {
    opacity: 0;
}

.hamburger-bar.is-active::after {
    transform: rotate(45deg) translate(-9px, -8px);
}


.nav-bar-mobile {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        min-height: 100svh;
        z-index: 98;
        background-color: var(--background-color);
        padding-top: 120px;
        transition: 0.4s;

}

.nav-bar-mobile a {
        display: block;
        width: 100%;
        max-width: 200px;
        margin: 0 auto 16px;
        text-align: center;
        padding: 12px 16px;
        background-color: var(--third-color);
        list-style: none;
        color: var(--text-color);
        font-weight: 600;
        border-radius: 5px;
    }
}

@media (min-width:768px) and (max-width:1024px){

}

/* hero-section the index page*/

.hero {
    height: 95vh;
    max-height: 780px;
    width: 100vw;
   /* background-color: chartreuse;
    border:solid red;*/
    display: flex;
    flex-direction: row;
    background: 
    linear-gradient(to left, rgba(255, 255, 255, 0) 20%, var(--background-color) 100%),
    url('../Images/pexels-cottonbro-6502549-optimized.webp') bottom/cover no-repeat;
    
}

@media(max-width: 480px){
    .hero{
        height: clamp(600px, 80dvh,  1200px)
    }
}

.hero-1 {
    height: 100%;
    width: 55%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.container-div {
    height: 27rem;
    width: 37em;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.top-rated-p {
    font-size: var(--font-size-base);
    color: var(--primary-color);
    font-weight: 700;
    position:relative
}

.top-rated-p::before{
    content:'';
    position: absolute;
    height: 2px;
    width: 13px;
    background-color: var(--primary-color);
    top: 9px;
    left: -20px;

}

.wwd-h {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--Secondary-color);
}

.wp {
  margin-top: -10px;

}

.wp-p {
    font-weight: 700;
    color: var(--Secondary-color);
}

.hero-2 {
    height: 100%;
    width:45%;
}

@media (max-width: 480px){
  
.hero-1 {
    width: 100dvw;
}
.container-div {
    margin: 0 0 1dvh 35px;
}
.hero-2 {
        display: none;
    }
.button-div {
    margin-top: 92px;
    width: 58vw;
    height: 12vh;
    
}

.button {
    width: 11rem;
    max-height: 54px;
}

}

.hero-2 img {
    height: inherit;
}

@media (min-width:481px) and (max-width: 767px){
    .hero-1 {
    width: 100dvw;
    }
    .container-div {
        margin: 0 0 1dvh 35px;
    }
    .hero-2 {
            display: none;
        }
    .button-div {
        margin-top: 92px;
        width: 58vw;
        height: 12vh;
	
        
    }

    .button {
        width: 11rem;
        max-height: 54px;
    }
}

@media (min-width:768px) and (max-width: 1024px){
   .top-rated-p,
   .wwd-h,
   .wp-p,
   .button-div {
    margin-left: 40px;
   }
   
    .hero-2 img {
        width: inherit;
        margin-left: 150px;
    }
}

@media (min-width:1025px) and (max-width:1280px){
    .hero-1{
        margin-left:30px;
    }
}


/*section 1 */




.section1 {
    width: 100vw;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    background-color: var(--primary-color);
    column-gap: 40px;
}

.section1-div1{
    padding: 15px;
    width: 250px;
    flex-grow: 1;
    
}

.section1-h2 h2 {
    font-size: var(--font-size-base);
    color: var(--accent-color);
    margin-left: 30px;
}

.h21, .h22, .h23, .h24 {
    position: relative;
}

.h21::before {
    content: '';
    display: inline-block;
    position: absolute;
    height:25px;
    width: 25px;
    background-image: url('/Images/dental-implant.png');
    background-size: 25px 25px;
    background-repeat: no-repeat;

}

.h22::before {
    content: '';
    display: inline-block;
    position: absolute;
    height:25px;
    width: 25px;
    left: -2px;
    background-image: url('/Images/simle-face.png');
    background-size: 25px 25px;
    background-repeat: no-repeat;

}

.h23::before {
    content: '';
    display: inline-block;
    position: absolute;
    height:25px;
    width: 25px;
    left: -2px;
    background-image: url('/Images/businessman.png');
    background-size: 25px 25px;
    background-repeat: no-repeat;

}
.h24::before {
    content: '';
    display: inline-block;
    position: absolute;
    height:25px;
    width: 25px;
    left: -2px;
    background-image: url('/Images/clock.png');
    background-size: 25px 25px;
    background-repeat: no-repeat;

}

.section1-p p {
    color: var(--accent-color);
    margin-left: 30px;
}


/* section2*/

.section2 {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section2-container {
    width: 95vw;
    margin-left: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
  /*  background-color: chartreuse;*/

}

.section2-div1 {
  /*  background-color: blueviolet; */
    height: 50vh;
    max-height: 417px;
    margin-top: 80px;
    display: flex;
    flex-direction: row;
   
}

.section2-div1-1 {
 /*   background-color: blue;*/
    height: 30vh;
    width: 30em;
}

.our-service-p {
     /*background-color: green;*/
    display: inline-block;
    position: relative;
}

.our-service-p::before {
    content: '';
    position: absolute;
    height: 2px;
    display:block;
    width: 13px;
    background-color: var(--primary-color);
    top: 24px;
    left: -20px;
}

.our-service-p p {
    font-size: var(--font-size-base);
    color: var(--primary-color);
    font-weight: 700;

}

.our-service-h2 {
  /* background-color: black;*/
   height: 20vh;
}


.services-h2 {
    font-weight: 800;
    font-size: clamp(1.5rem, 0.61vw + 1.9rem, 2.5rem);
    color: var(--Secondary-color);
   
}

.services-h2-span {
   position: relative;
}

.services-h2-span::after{
    content:' ';
    position: absolute;
    height: 10px;
    width: 10px;
    background-color: var(--primary-color);
    top: 23px;
    right: -13px;
}



.section2-div1-2 {
    /*background-color: aqua;*/ 
    height:30vh;
    width: 30em;
    margin-left: 250px;
    margin-top: 50px;

}

.section2-div1-2-h1 {
    font-weight: 600;
    position: relative;
}

.section2-div1-2-h1::before{
    content: '';
    position: absolute;
    background-image: url('../Images/pexels-thirdman-5327656.jpg');
    background-repeat: no-repeat;
    height: 100px;
    width: 100px;
    background-size: 100px 100px;
    border-radius: 50%;
    top: -10px;
    left: -120px;
    
}

.section2-div1-grid1 {
    width: 80em;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 0 auto
}

.div1-grid1 {
    height: 36vh;
    max-height: 312px;
    width: 250px;
    background-color: var(--accent-color);
    flex-grow: 1;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 5px 5px 15.5px #16212907,
                -5px -7px 15.5px #16212907;
}

.div1-grid1 p {
    color: var(--second-text-color)
}

.div1-grid1 img {
    height: 70px;
    width: 70px;
}

.div1-grid1-img {
    height: 20px;
    width: 20px;
    background-color: #f1f5f6;
    border-radius: 50%;
}

@media(max-width:480px){
    .section2-container {
        height: unset;
        display: flex;
        flex-wrap: wrap;
    }

    .section2-div1 {
        flex-wrap: wrap;
        height: 411px;
    }

    .section2-div1-1 {
        height: unset;
        width: unset;
    }

    .our-service-h2 {
        height: unset;
    }

    .services-h2 {
        font-size: clamp(2.25em, 1.61vw + 2em, 2em);
        max-width: calc(300px + 5vw);
        /*background-color: violet;*/
    }
    .services-h2::after {
        top: 103px;
        right: 114px;
    }

    .section2-div1-2 {
        height: 152px;
        width: 52svw;
        margin-left: 94px;
        
    }

    .section2-div1-2-h1 {
        font-size: var(--font-size-lg);
    }

    .section2-div1-2-h1::before {
        height:78px;
        width: 80px;
        top: -10px;
        left: -93px
    }

    .section2-div1-grid1 {
        height: fit-content;
        width:  80%;
        margin-top: 62px;
    }

    .div1-grid1 {
        height: 230px;
    }

    .div1-grid1 img, h2, p {
        padding: 0 7px 0 7px;
    }

    .div1-grid1 img {
        height: 57px;
        width: 57px;
    }
}

@media (min-width:481px) and (max-width: 767px){
    .section2-container {
        height: unset;
        display: flex;
        flex-wrap: wrap;
    }

    .section2-div1 {
        flex-wrap: wrap;
        height: 411px;
    }

    .section2-div1-1 {
        height: unset;
        width: min(94vw, 509px);
    }

    .our-service-h2 {
        height: unset;
    }

    .services-h2 {
        font-size: clamp(2.25em, 1.61vw + 2em, 2em);
        /*background-color: violet;*/
    }
    .services-h2::after {
        top: 103px;
        right: 114px;
    }

    .section2-div1-2 {
        height: 152px;
        width: 52svw;
        margin-left: 94px;
        
    }

    .section2-div1-2-h1 {
        font-size: calc(0.61vw + 1rem);
        margin-left: 8px;
    }

    .section2-div1-2-h1::before {
        height:78px;
        width: 80px;
        top: -10px;
        left: -93px
    }

    .section2-div1-grid1 {
        height: fit-content;
        width:  80%;
        margin-top: 62px;
    }

    .div1-grid1 {
        height: 230px;
    }

    .div1-grid1 img, h2, p {
        padding: 0 7px 0 7px;
    }

    .div1-grid1 img {
        height: 57px;
        width: 57px;
    }
}

@media(min-width:768px) and (max-width:1024px){

    .section2-div1 {
        width:95vw;
    }
    
    .section2-div1-1 {
        width: unset;
    }

    .section2-div1-2-h1 {
        font-size: clamp(1.2rem, 3vw, 1.7rem);
    }

    .section2-div1-grid1 {
        width: unset;
    }
}


@media (min-width:1025px) and (max-width:1280px){
    .section2-div1{
        height: unset;
    }

    .section2-div1-1{
        width:unset;
        margin-left: 30px;
    }

    .section2-div1-grid1 {
        width: unset;
    }
}


/* Section3*/

.section3 {
    width: 100vw;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
   
}


.div-cta {
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.para-cta {
    color: var(--Secondary-color);
    font-size: var(--font-size-md);
    font-weight: 501;
}

.a-cta {
    color: #ffb120;
    text-decoration: underline;
}


@media (max-width: 480px) {
    .section3 {
        margin-top: 30px;
    }

    .div-cta {
        max-width: 357px;
    }

    .para-cta {
        margin: 0 auto;
        text-align: justify;
    }
}

@media (min-width:481px) and (max-width: 767px){
    .section3 {
        margin-top: 30px;
    }
    .div-cta{
        width: 66%
    }
}

/* section4 */

.section4-container {
    margin-top: 70px;
    display: flex;
    flex-direction: row;
    background-color: var(--background2-color);
    justify-content: center;
}

.section4-wrapper {
    height: 715px;
   /* max-height:700px */;
}

.section4-wrapper img {
    height: 727px;
    /*max-height:700px*/ ;
    max-width:800px; 
}

.section4-wrapper2 {
    width: 50vw;
  /*  background-color: chartreuse;*/
}

@media(max-width: 480px){
    .section4-container {
        flex-direction: column;
        margin-top: 27px;
    }

    .section4-wrapper {
        height: unset;
        max-height: unset;
    }

    .section4-wrapper img {
        height:258px;
        max-height:unset;
        width:100vw
    }

    .section4-wrapper2 {
        width: unset;
    }

  
    
}

@media (min-width:481px) and (max-width: 767px){
    .section4-container {
        flex-direction: column;
        margin-top: 27px;
    }

    .section4-wrapper {
        height: unset;
        max-height: unset;
    }

    .section4-wrapper img {
        height:min(300px, 26vh);
        max-height:unset;
        width:100vw
    }

    .section4-wrapper2 {
        width: unset;
    }
}

@media (min-width:768px) and (max-width: 1024px){
    .section4-container {
        flex-direction: row;
        margin-top: 27px;
    }

    .section4-wrapper {
        height: clamp(863px, 25vh, 900px);
    }

    .section4-wrapper img {
        height:861px;
        width:62vw
    }

    .section4-wrapper2 {
        width: unset;
    }
}

@media (min-width:1025px) and (max-width:1280px){
    .section4-wrapper img {
        max-width: 513px
    }
}



.about-us {
    display: inline-block;
    position: relative;
    margin-top: 50px;
  /*  background-color: coral; */
}

.about-us p {
    font-size: var(--font-size-base);
    color: var(--primary-color);
    font-weight: 700;
    margin-left: 30px;
}

.about-us::before {
    content: '';
    position: absolute;
    height: 2px;
    width: 13px;
    background-color: var(--primary-color);
    top: 24px;
    left: 9px;
}

.section4-wrapper3 {
    margin-left: 20px;
    display: block;
  /*  background-color: gold; */
}

.section4-wrapper3 h3 {
    font-size: clamp(1.1rem, 4vw, 2.5rem);
}

.section4-wrapper3-span {
    position: relative;
}

.section4-wrapper3-span::after {
    content: '';
    position: absolute;
    height: 10px;
    width: 10px;
    background-color: var(--primary-color);
    top: 90px;
    left: 280px;
}

@media (max-width:480px){
    .section4-wrapper3-span::after {
        top:19px;
        left:98px;
    }

}

@media (min-width:481px) and (max-width: 767px){
     .section4-wrapper3-span::after {
        top:19px;
        left:98px;
    }
}


@media (min-width:768px) and (max-width: 1024px){
    .section4-wrapper3 {
        width: max(348px, 5vw);
    }


    .section4-wrapper3-span::after {
        top:55%;
        left:105%;
    }

    .section4-wrapper4 {
        width: min(645px, 40vw);
    }
}


.section4-wrapper4 {
    margin-left: 20px;
}

.section4-wrapper4 p {
    font-weight: 800;
    font-size: var(--font-size-lg);
    color: var(--second-text-color);
}

@media (min-width:768px) and (max-width: 1024px){
    .section4-wrapper3 {
        width: max(424px, 3vw);
    }

    .section4-wrapper3 h3 {
        width: min(341px, 39vw);
    }

    .section4-wrapper4 p {
        width: min(645px, 40vw);
    }

    .section4-wrapper5 {
        width: min(365px, 43vw);
        max-width: unset;
    }
}

.section4-wrapper5 {
    margin-left: 20px;
    max-width: 500px;
}

.section4-wrapper5 p {
    line-height: 26.5px;
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--second-text-color);
}

.section4-wrapper6 {
    margin-left: 30px;
    height: 110px;
    width: 500px;
   /*background-color: red;*/
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    column-gap: 35px;
}


.list1,
.list2,
.list3,
.list4,
.list5,
.list6 {
    position: relative;
}

.list1::before {
    content: '';
    position: absolute;
    display: inline-block;
    height: 20px;
    width: 20px;
    background-image: url('../Images/circle-cross.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    top: 16px;
    left: -20px;
}
.list2::before {
    content: '';
    position: absolute;
    display: inline-block;
    height: 20px;
    width: 20px;
    background-image: url('../Images/circle-cross.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    top: 16px;
    left: -20px;
}
.list3::before {
    content: '';
    position: absolute;
    display: inline-block;
    height: 20px;
    width: 20px;
    background-image: url('../Images/circle-cross.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    top: 16px;
    left: -20px;
}
.list4::before {
    content: '';
    position: absolute;
    display: inline-block;
    height: 20px;
    width: 20px;
    background-image: url('../Images/circle-cross.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    top: 16px;
    left: -20px;
}
.list5::before {
    content: '';
    position: absolute;
    display: inline-block;
    height: 20px;
    width: 20px;
    background-image: url('../Images/circle-cross.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    top: 16px;
    left: -20px;
}
.list6::before {
    content: '';
    position: absolute;
    display: inline-block;
    height: 20px;
    width: 20px;
    background-image: url('../Images/circle-cross.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    top: 16px;
    left: -20px;
}

@media (max-width: 480px){
    .section4-wrapper6 {
        height: unset;
        width: unset;
    }
    
}


.section4-wrapper7 {
    margin-left: 30px;
}

.section4-wrapper7 p {
    color: var(--second-text-color);
    font-weight: 600;
}


.section4-wrapper8 {
    margin-left: 30px;
    margin-bottom: 30px;
}

@media (min-width:481px) and (max-width: 767px){
    
    .section4-wrapper6 {
        width:unset
    }
    
    .section4-wrapper7 {
        margin-top: 47px;
    }
}

@media (min-width:768px) and (max-width: 1024px){
    .s4button {
        margin-top: unset ;
    }
}

@media (min-width:768px) and (max-width: 1024px){
    .section4-wrapper3 {
        width: max(424px, 3vw);
    }

    .section4-wrapper4 p {
        width: min(645px, 40vw);
    }

    .section4-wrapper5 {
        width: min(365px, 43vw);
        max-width: unset;
    }

    .section4-wrapper6 {
        height:unset;
        width:unset
    }

    .section4-wrapper7 {
        width: min(365px, 43vw);
    }
}



/* section 5 */
.section5 {
    width: 100vw;
}

.section5-container {
    width: 95vw;
    margin-left: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
}

@media (max-width: 480px){
    .section5-container {
        margin-top: 29px;
    }
}

.special-offer {
    display: inline;
    position: relative;
}

.special-offer::before {
    content: '';
    position: absolute;
    height: 2px;
    width: 13px;
    background-color: var(--primary-color);
    top: 24px;
    left: -18px;
}

.special-offer p {
    font-size: var(--font-size-base);
    color: var(--primary-color);
    font-weight: 700;
    display: flex;
    justify-content: center;

}

.special-offer-h {
    height: 100px;
    width: fit-content;
}

.special-offer-h h2{
    font-size: clamp(1.55rem, 1.95rem, 2.5rem);
}

.special-offer-span {
    position: relative
}

.special-offer-span::after {
    content:'';
    height: 10px;
    width: 10px;
    background-color: var(--primary-color);
    position:absolute;
    top:18px;
    left: 99px; 
}


.advantage {
    height: fit-content;
    
}

.advantage p {
    font-size: clamp(1.2rem, 1.45rem, 1.7rem);
    color:var(--second-text-color);
    font-weight: 600;
}

.section5-wrapper {
    height: 550px;
    width: 90vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
    column-gap: 30px;
    margin-top:30px ;
    
}



.section5-wrapper1 {
    width: 700px;
}

.wrappers1-img {
   max-width: 390px;
   height: 218px;
}

.wrappers1-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
   
}


.wrappers1-h3 h3 {
    font-size: var(--font-size-md);
    font-weight: 700;
}

.wrappers1-p p {
    color: var(--second-text-color);
    font-size: var(--font-size-lg);
    font-weight: 600;

}

.wrapper1-p2 p {
    margin-left: 5px;
    color: var(--second-text-color);
    font-size: var(--font-size-base);
}

.wrappers1-button {
    margin-left: 3px;
}

.section5-button {
   color: var(--accent-color);
   height: 45px;
   width: 127px;
   background-color: var(--third-color);
   border-radius: 20px; 
}

.section5-button:hover {
    background-color: var(--primary-color)
}


.extra-offers {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.wrappers2-h2 {
    margin-top: 50px;
    margin-left: 30px;
    position: relative;
}

.wrappers2-h2 h2 {
    font-size: clamp(1.5rem, 0.9vw + 2.5rem, 2rem);
    color: var(--accent-color);
}

.wrappers2-h2::before {
    content: '';
    position: absolute;
    height: 3px;
    width: 73px;
    top:46px;
    left: 0px;
    border-radius: 2px;
    background-color: rgb(0, 183, 255);
}

.wrappers2-p1 {
    width: 286px;
    margin-top: 40px;
    margin-left: 30px;
}

.wrappers2-p1 p {
    color: rgb(214, 212, 212);
    font-weight: 500;
    font-size: clamp(1.2rem, 0.11vw + 1rem, 1.6rem);
    line-height: 20px;
} 

.wrappers2-p2 {
    margin-left: 47px;
    position: relative;

}

.wrappers2-p2::before {
    content: '';
    position: absolute;
    height: 13px;
    width: 13px;
    top: 0px;
    left: -18px;
    background-color: aqua;
    border-radius: 50%;
}

.wrappers2-p2 p {
    color: var(--accent-color);
    font-weight: 600;
}

@media (max-width: 480px){
    .section5-wrapper {
        height: unset;
        width:100vw;
        flex-direction: column;
    }

    .section5-wrapper1{
        max-width: 90vw;
    }

    .wrappers1-img img {
        max-width: 83vw;
    }

   
    .wrappers2-p1 {
        width: 16em;
    }

    .wrappers2-p2 p {
        font-weight: unset;
    }

    .section5-button {
        margin-bottom: 3vh;
        font-size: var(--font-size-base);
    }
}

@media (min-width:481px) and (max-width: 767px){
   
    .section5-container {
        margin: 100px auto;
    }
   .advantage {
    margin: 0 auto;
   }

   .advantage p {
    text-align: center;
   }
    .section5-wrapper {
        flex-direction: column;
        align-items: center;
        height: unset;
    }

    .section5-wrapper1 {
        width: min(500px, 90vw);
        margin-bottom: 50px;
        padding: 20px 0;
    }
}

/* section 6*/

.section6 {
    width: 100vw;
    height: 70vh;
    margin-top: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
}


@media (max-width:480px){
    .section6{
        height: unset;
        margin-top: 97px;
    }

}

@media (min-width:481px) and (max-width: 767px){
    .section6{
        height:unset;
        margin-top: unset;
        padding: 48px 0;
    }
}



@media (min-width: 768px) and (max-width: 1024px){
    .section6{
        height:unset;
        margin-top: 240px;
        padding: 48px 0;
    }
}


.section6-wrapper {
    display: flex;
    flex-direction: column;
    height: 400px;
    width: 100%;
    justify-content: center;
    align-items: center;
}


@media (max-width: 480px){
     .section6-wrapper {
        width: 80%;
        height: 100%;
        margin-top: 48px;
    }
}

.section6-wrapper-img {
    height: 50px;
    width: 50px;
    margin-bottom: 20px;
}

.section6-wrapper-h h2 {
    font-size: clamp(1.5rem, 1vw + 3rem, 2.5rem);
    color: var(--accent-color);
}

.section6-wrapper-p1 p {
    font-size: clamp(1rem, 0.75vw + 1.1rem, 1.5em);
    color: var(--accent-color);
}

.section6-wrapper-p1 a {
    font-size: clamp(1rem, 0.75vw + 1.1rem, 1.5em);
    color: var(--accent-color);
    text-decoration: underline;
}

.section6-wrapper-p2 p {
    font-size: 1rem;
    color: var(--accent-color);
}

@media (max-width: 480px) {
    .section6-wrapper-h h2,
    .section6-wrapper-p1 p,
    .section6-wrapper-p2 p {
        text-align: center;
    } 
   
}

@media (min-width:481px) and (max-width:767px){
    .section6-wrapper-h {
        width: min(400px, 98%);
        text-align: center;
    }
    
    .section6-wrapper-p1{
        width: min(397px, 96%);
    }
}

.section6-wrapper-button {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin-top: 17px;
    width: 390px;
    height: 290px;

}


@media (max-width:480px){
    .section6-wrapper-button {
        flex-direction: column;
        justify-content: unset;
        height: 139px
    }
    .section6-wrapper-button1 {
        margin-bottom: 20px;
    }
}

.section6-wrapper-button1 button {
    height: 50px;
    width: 149px;
    border-radius: 20px;
    background-color: var(--third-color);
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 500;
    border: none;
    padding: 0 21px 0 21px;
}

.section6-wrapper-button2 button {
    height: 50px;
    width: 149px;
    border-radius: 20px;
    color: var(--accent-color);
    background-color: transparent;
    font-size: 1.1rem;
    font-weight: 500;
    border: solid #fff;
    padding: 0 21px 0 21px;
}

.section6-button {
    transition: transform 0.3s ease ;
    cursor: pointer;
}

.section6-button:hover {
    transform: scale(1.1)
}



/* section7 */

.section7 {
    width: 100vw;   
}

.section7-container {
    width:100%;
    height:clamp(745px, 120vh, 800px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section7-wrapper1-p1{
    position: relative;
}

.section7-wrapper1-p1::before {
    content: ' ';
    position:absolute;
    height: 2px;
    width: 13px;
    background-color: var(--primary-color);
    top: 99px;
    left: -24px;

}


.section7-wrapper1-p1 p {
    color: var(--primary-color);
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-top: 90px;
}


.section7-wrapper1-p2-span{
    position: relative;
}

.section7-wrapper1-p2-span::after {
    content: ' ';
    position:absolute;
    height: 10px;
    width: 10px;
    background-color: var(--primary-color);
    top: 67%;
    left: 100%;
    transform: translate(50%, -50%);
}

.section7-wrapper1-p2 p {
    font-size: clamp(1.1rem, 1vw + 1.5rem, 2.5rem);
    font-weight: 600;
}

.section7-wrapper1-p3 p {
    font-weight: 600;
    color: var(--second-text-color);
}

@media (max-width: 480px){
    .section7-wrapper1-p1 p,
    .section7-wrapper1-p2 p,
    .section7-wrapper1-p3 p
    {
        text-align: center;
    }
}

.section7-wrapper2 {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    column-gap: 50px;
}

.s7wrapper2-div1 {
    width: 550px;
}

.s7wrapper2-div1-img img {
    height: 300px;
    width: 100%;
    object-fit: fill;
}

.s7wrapper2-div1-p {
    color: var(--second-text-color);
    font-weight: 600;
}

@media(max-width: 480px){

    .section7 {
        margin-bottom: 47px;
    }
    .section7-container{
        height: unset;
    }
    .section7-wrapper2 {
        width: unset;
        height: unset;
        flex-direction: column;
    }

    .s7wrapper2-div1{
        width: 84vw;
    }

    .s7wrapper2-div1-img img {
        max-height:276px ;
        width: 94%;
    }
}


@media (min-width:481px) and (max-width:1024px){
    .section7 {
        margin-bottom: 70px;
    }
    .section7-container {
        height: unset;
        max-height: unset;
    }
    
    .s7wrapper2-div1{
        padding: 0 10px;
    }
}



/* section8*/

.section8 {
    width: 100vw;
    height: 115vh;
    max-height: 707px;
    background-color: var(--Secondary-color);
}

.section8-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    
}

.section8-wrapper1 {
    width: 30vw;
    height: 549px;
    margin-left: 70px;
    margin-top:70px
}

.s8-wrapper1-div1-p1 p {
  color:var(--primary-color);
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-left: 30px;
  position:relative;  
}

.s8-wrapper1-div1-p1 P::before{
    content:'';
    position: absolute;
    height: 3px;
    width: 16px;
    top: 8px;
    left: -27px;
    background-color: var(--primary-color);
}

.s8-wrapper1-div1-p2 p {
    font-size: clamp(1.1rem, 0.91vw + 1.85rem, 2.7rem);
    font-weight: 600;
    color: var(--accent-color);
}


.s8-wrapper1-div1-p2-span {
    position: relative;
}

.s8-wrapper1-div1-p2-span::after {
    content: '';
    position:absolute;
    height: 10px;
    width: 10px;
    background-color: var(--primary-color);
    top: 25px;
    left: 80px;

}


.s8-wrapper1-div1-p3 p {
    color: var(--second-text-color);
    font-size: clamp(1.1rem, 1.3rem + 0.61vw, 1.7rem);
    font-weight: 600;
}



.s8-list1 p {
    color: var(--second-text-color);
    font-weight: 500;
}

.s8-list1 {
    position: relative;
    margin-left: 30px;
}

.s8-list1::before {
    content: '';
    position: absolute;
    display: inline-block;
    height: 20px;
    width: 20px;
    background-image: url('../Images/circle-cross.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    top: -1px;
    left: -27px;
}

.s8-button {
    margin-top: 50px;
    margin-left: 15px;
}

.s8-button button {
    height: 50px;
    width: 169px;
    border-radius: 20px;
    background-color: var(--third-color);
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 500;
    border: none;
    padding: 0 21px 0 21px;
    transition: transform 0.3s ease ;
    cursor: pointer;
}

.s8-button button:hover {
    transform: scale(1.1)
}

@media(max-width: 480px) {
    
    .section8 {
        height:clamp(412px, 210dvh, 1300px);
        max-height: unset;
    }
    
    .section8-container {
        flex-direction: column;
    }
    
    .section8-wrapper1 {
        width:unset;
        height:unset;
        margin-left: 10px
    }

    .s8-wrapper1-div1-p2-span::after {
        top: 22px;
        left: 65px;
    }

    .s8-button {
        margin-bottom: 81px;
    }
}

@media(min-width:481px) and (max-width:767px){
    .section8 {
        height:clamp(412px, 210dvh, 1178px);
        max-height: unset;
    }
    
    .section8-container {
        flex-direction: column;
    }
    
    .section8-wrapper1 {
        width:unset;
        height:unset;
        margin-left: 47px
    }

    .s8-wrapper1-div1-p2-span::after {
        top: 22px;
        left: 65px;
    }

    .s8-button {
        margin-bottom: 81px;
    }
}




.section8-wrapper2 {
    width: 56vw;
    height: 549px;
    margin: 70px 0 0 70px;
    position: relative;
}

.section8-wrapper2-div1 {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    column-gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}



.section8-wrapper2-div1::-webkit-scrollbar {
    display: none;
}

.card {
    height: 450px;
    display: inline-block;
    min-width: 300px;
    scroll-snap-align: start;
    border-radius: 5px;
    background-color: var(--accent-color);
    flex: 0 0 50%
}


.card-img{
    height: 100px;
    width: 100px;
    margin: 30px auto;
}

.card-img img {
    height: 100%;
    width: 100%;
    border-radius: 50%;
}


.card-h2 {
    height: fit-content;
    width: fit-content;
    margin: 0 auto;
    font-size: clamp(1rem, 0.5vw + 1.1rem, 1.2rem);
    color: var(--Secondary-color);
}


.card-p {
    height: fit-content;
    width: fit-content;
    margin: 20px auto;
    font-size: 1.5em;
    color: var(--primary-color);
    font-weight: 600;
}


.card-em {
    margin: 0 auto;
    display:block;
    width: 75%;
    padding: 5px;
    line-height: 24.5px;
}


.slide-button {
    border-radius: 50%;
    background-color: rgba(128, 128, 128, 0.507);
    cursor: pointer;
}

.slide-button:hover {
    background-color: rgba(255, 249, 249, 0.788);
}

.slide-button svg {
    color: var(--Secondary-color)
}



.slide-right {
   position: absolute;
   top: 217px;
   right: 0px;
   transform: translate(50%, 50%);

}


.slide-left {
   position: absolute;
   top: 217px;
   left: -26px;
   transform: translate(50%, 50%);
}

@media (max-width:480px){
    .section8-wrapper2 {
        width:unset;
        margin: -33px 0 10px 10px;
    }

    .slide-right {
        right:10px;
    }

    .section8-wrapper2-div1 {
        width: 84%;
        height: fit-content;
        margin-left: 22px;
        margin-top: 55px;

    } 

    .card {
        height: unset;
        min-width: 100%;
        padding-bottom: 30px;
    }
}

@media (min-width:481px) and (max-width:767px){
    .section8-wrapper2 {
        width:unset;
        margin: -33px 0 10px 10px;
    }

    .slide-right {
        right:10px;
    }

    .section8-wrapper2-div1 {
        width: 84%;
        height: fit-content;
        margin-left: 22px;
        margin-top: 55px;

    } 

    .card {
        height: unset;
        min-width: 100%;
        padding-bottom: 30px;
    }
}

@media(min-width: 768px) and (max-width: 1024px){
    .section8-wrapper1{
        width: 500px;
        height:626px;
        margin-left: 20px;
    }

    .section8-wrapper2 {
        margin-left: 24px;
    }

    .section8-wrapper2-div1 {
        width:85%;
        margin-left: 30px;
    }

    .card {
        min-width:345px;
    }

    .slide-right {
        top: 212px;
        right:15px;
    }
}


.section9 {
    height: 110vh;
    max-height:800px;
    width: 100vw;
    background-image:linear-gradient(to left, rgb(239, 242, 243) 50%, rgba(239, 242, 243, 0.301) 100%), url('/Images/dental-prac.webp');
    background-position: center, center;
    background-size: cover, cover;
    background-repeat: no-repeat;
}

.section9-wrapper1 {
    height: 100vh;
    padding: 20px;
}

.section9-wrapper1-form {
    height: 500px;
    width: 700px;
    margin-left: 600px;
    background-color: var(--accent-color);
    box-shadow: 5px 5px 15.5px #16212907,
                -5px -7px 15.5px #16212907;
    border-radius: 8px;
    
    padding-bottom: 20px;
    padding-top: 20px;
}

.section9-wrapper1-p1 {
   display: flex;
   justify-content: center;
}

.section9-wrapper1-p1-r{
    color:var(--primary-color);
    font-weight: 550;
    position: relative;
    display: inline;
    
}

.section9-wrapper1-p1-r::before {
    content: '';
    height: 3px;
    width: 15px;
    background-color: var(--primary-color);
    position: absolute;
    top:40%;
    left:-19%;
}

.section9-wrapper1-h2 {
    text-align: center;
}

.section9-wrapper1-h2 h2 {
    font-size: clamp(1.7rem, 1vw + 2.9rem , 2.5rem);
}

.section9-wrapper1-p2 p {
    font-weight: 550;
    font-size: clamp(0.9rem, 0.6vw + 1rem, 1.1rem);
    color: var(--second-text-color);
    text-align: center;
}

.section9-wrapper1-container-input {
    margin: 50px auto 0 auto;
    width: 600px;
}

.section9-wrapper1-form-input {
   margin-bottom: 10px;
}

.section9-wrapper1-form-input input {
    width: 500px;
    border-radius: 20px;
    border: none;
    padding: 12px;
    height: 30px;
    font-size: clamp(1rem, 1.2rem, 1.3rem);
    background-color: var(--background2-color);
   
}

.section9-wrapper1-form-button {
    margin-top: 30px;
}

/* Modal Overlay */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

/* Modal Box */
.modal-content {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease;
}

/* Buttons */
.modal-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: space-evenly;
}

.modal-buttons button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

#yesBtn {
  background-color: #007bff;
  color: white;
}

#noBtn {
  background-color: #e0e0e0;
  color: #333;
}

#yesBtn:hover {
  background-color: #0056b3;
}

#noBtn:hover {
  background-color: #ccc;
}

/* Fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}



@media(max-width: 480px){
    .section9 {
        height: unset;
    }

    .section9-wrapper1{
        height:unset;
        padding: 20px 0 20px 0
    }
    .section9-wrapper1-form {
        width: 84%;
        padding: 40px 0 68px 0;
        margin: 30px auto 0 auto
    }

    .section9-wrapper1-p1 {
        margin-top: 30px;
    }

    .section9-wrapper1-p1::before {
        left:21%
    }

    .section9-wrapper1-h2 {
        margin-top: 77px;
    }

    .section9-wrapper1-h2 h2 {
        font-size: clamp(1.2rem, 1vw + 1.5rem , 2rem);
    }

    .section9-wrapper1-p2 p {
        font-size: clamp(0.5rem, 0.5vw + 1rem, 1rem);
        margin: 0 auto;

    }

    .section9-wrapper1-container-input {
        width: 76%;
    }

    .section9-wrapper1-form-input {
        margin-bottom: 10px;
    }

    .section9-wrapper1-form-input input {
        width: 100%;
        height: auto;
    }
    .section9-wrapper1-form-button button {
        width:100%;
        height:inherit;
        margin-top: unset;
        padding:20px;
    }
}


@media (min-width:481px) and (max-width:767px) {
    .section9 {
        height: unset;
    }

    .section9-wrapper1{
        height:unset;
        padding: 20px 0 20px 0
    }
    .section9-wrapper1-form {
        width: 84%;
        padding: 40px 0 68px 0;
        margin: 30px auto 0 auto
    }

    .section9-wrapper1-p1 {
        margin-top: 30px;
    }


    .section9-wrapper1-h2 {
        margin-top: 77px;
    }

    .section9-wrapper1-h2 h2 {
        font-size: clamp(1.2rem, 1vw + 1.5rem , 2rem);
    }

    .section9-wrapper1-p2 p {
        font-size: clamp(0.5rem, 0.5vw + 1rem, 1rem);
        margin: 0 auto;

    }

    .section9-wrapper1-container-input {
        width: 76%;
    }

    .section9-wrapper1-form-input {
        margin-bottom: 10px;
    }

    .section9-wrapper1-form-input input {
        width: 100%;
        height: auto;
    }

     .section9-wrapper1-form-button {
        margin-top: 66px;
     }

    .section9-wrapper1-form-button button {
        width:100%;
        height:inherit;
        margin-top: unset;
        padding:20px;
    }
}


@media (min-width:768px) and (max-width:1024px){
   .section9 {
    max-height: 659px
   }
   
    .section9-wrapper1-form {
        margin:0 auto;
    }

}

@media(min-width: 1025px) and (max-width: 1365px){
 .section9 {
    max-height: 759px
   }

    .section9-wrapper1-form {
        margin:0 auto;
    }
}


/* The ABOUT PAGE */

.about-section1 {
    background-color: var(--primary-color);
    height: 35vh;
    max-height: 245px;
    width: 100vw;
    margin-top: 50px;
    padding-top: 20px
}


.about-header {
    width: 100%;
    margin-top: 50px
}

.about-heading {
    color: var(--accent-color);
    font-size:clamp(28px, 4vw + 1rem, 52px);
    text-align: center;
}


.breadcrumb-nav > ul {
    height: inherit;
    width: inherit;
    display: flex;
    flex-direction: row;
    list-style: none;
    align-items: center;
    justify-content: center;
    padding-left: unset;
}

.breadcrumb-nav ul li {
    color: var(--accent-color);
    font-weight: 600;
}

.partofbread {
    color: var(--accent-color);
}

@media (max-width: 767px){
   .about-section1 {
        height: unset;
        margin-top: unset;
        padding-top: unset;
   }
}


@media (min-width:768px) and (max-width:1024px){
    .about-section1 {
        height:unset;
        margin-top: unset;
        padding-top: 4px;
        padding-bottom: 10px;
    }
}


/* about section2*/

.about-section2 {
    height: 168vh;
    max-height: 1116px;
    width: 100vw;
  /*background-color: purple;*/ 
    margin-top: 130px;
    margin-bottom: 130px;
}

.about-container1 {
    height: inherit;
    width: inherit;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-height: inherit;

}

.about-wrapper1 {
    height: 138vh;
    width: 45vw;
   /* background-color: chartreuse;*/
    margin-left: 39px;
    max-height: 1076px;
}

.wrapper1-about{
    margin-left: 23px;
}

.wrapper1-about-p1{
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
}

.wrapper1-about-p1::before {
    content: ' ';
    height: 3px;
    width: 16px;
    position: absolute;
    background-color: var(--primary-color);
    top: 36%;
    left: -4%;
}

.wrapper1-about-h1 {
    font-size: clamp(2rem, 1.5rem + 1vw, 2.5rem);
}

.about-h1-span {
    position: relative;
}

.about-h1-span::after {
    content: '';
    height: 10px;
    width: 10px;
    position: absolute;
    background-color: var(--primary-color);
    top: 48%;
    left: 108%;
}

.about-wrapper2 {
    height: 152vh;
    width: 45vw;
  /*  background-color: chocolate;*/
    margin-right: 30px;
    max-height: 1076px;
}


.wrapper1-about1-p2 {
    font-size: var(--font-size-lg);
    font-weight: 600;
}


.wrapper1-about1-p3 {
    height: fit-content;
    width: 100%;
}

.wrapper1-about1-p3{
    font-size: var(--font-size-lg);
    font-weight: 500;
    text-align: justify;
    line-height: 25px;
}

.about1-img {
    width: 100%;
   /* background-color: peru;*/
}

.about1-img1 img {
    height: 100%;
    width: 100%;
    border-radius: 7px;
    max-height: 778px;
}

.wrapper1-about1-p4 {
    height: fit-content;
    width: 100%;
}

.wrapper1-about1-p4 p {
    font-size: var(--font-size-lg);
    font-weight: 500;
    text-align: justify;
    line-height: 25px;
}

.about2-img {
    width: 100%;
    margin-top: 5px;
}

.about2-img img {
    width: 100%;
    border-radius: 7px;
    max-height: 706px;
}

.about-list {
    list-style: none;
    line-height: 40px;
}

.about-list-span {
    position: relative;
}

.about-list-span::before {
    content: '';
    display: inline-block;
    position: absolute;
    height:4px;
    width: 14px;
    background-color: var(--primary-color);
    top: 47%;
    left: -37px
}


@media (max-width:767px){
    .about-section2 { 
        height:auto;
        min-height:220vh; 
        margin-top: 59px;
        max-height: unset;
        margin-bottom: 31px;
    }

    .about-container1 {
        flex-direction: column;
    }

    .about-wrapper1 {
        width: 81vw;
        height: unset;
    }

    .about-wrapper2 {
        width: 81vw;
        margin-left: 30px;
        height: unset
    }

    .about2-img {
        width:92%;
        margin-left: 12px;
    }

}

@media (min-width:768px) and (max-width:1024px){
    .about-section2 {
        height:100vh;
        max-height: 1052px;
        margin-bottom: 25px;

    }

    .about-container1 {
        gap: 45px
    }

    .about-wrapper1, .about-wrapper2{
        height: unset;
    }

    .wrapper1-about-p1::before {
        left: -7%
    }
}

/*about-section3*/

.about-section3 {
    width: 100vw;
    height: auto;
    background-color: var(--background2-color);
    display: flex;
    align-items: center;
    flex-direction: column;
}

.certificate-container1 {
    height: calc(7vh + 200px);
    max-width: 1500px;
    display:flex;
    flex-direction: row;
    padding-top: 1px;
    margin-top: 30px;
}


.certificate-wrapper1 {
    width: 50%;
    height: 100%;
    margin-left: 70px;
    margin-top: 90px;
}


.certificate-p1 {
    position: relative;
    color: var(--primary-color);
    font-weight: 600;
}

.certificate-p1::before {
    content: ' ';
    height: 3px;
    width: 16px;
    position: absolute;
    background-color: var(--primary-color);
    top: 36%;
    left: -4%;
}

.certificate-h1 {
    font-size: clamp(1.5rem, 1vw + 1.9rem, 2.5rem);
}

.certificate-h1-span{
    position: relative;
}

.certificate-h1-span::after{
    content: '';
    height: 10px;
    width: 10px;
    position: absolute;
    background-color: var(--primary-color);
    top: 60%;
    left: 104%;
}

.certificate-wrapper2 {
    width: 42%;
    height: 100%;
    margin-left: 10px;
    margin-right: 20px;
    margin-top: 120px;
}

.certificate-p2 {
    font-size: clamp(1rem, 0.75vw + 0.6rem, 1.5rem);
    font-weight: 550;
    line-height: 30px;
    color: var(--second-text-color)
}


.certificate-container2 {
    width: 100vw;
    max-width: 1500px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: 55px;
    margin-right: 55px;
    gap:30px ;
}


.certificate-award {
    height: 150px;
    width: 200px;
}

.award-img img {
    height: 50px;
    width: 50px;
    margin: 0 auto;
}

@media (max-width:480px){
    .certificate-container1 {
        height: unset;
        padding-top:unset;
        margin-top: unset;
        flex-wrap: wrap;
    }

    .certificate-wrapper1 {
        width: 71vw;
        margin-top: 50px;
        margin-left: 15vw;
        margin-right: 15vw;
    }

    .certificate-p1::before {
        top: 39%;
        left: -6%;
    }

    .certificate-wrapper2 {
        width: 71vw;
        margin-right: 15vw;
        margin-top: unset;
        margin-left: 15vw;
    }

    .certificate-p2 {
        text-align: inherit;
    }

    .certificate-container2 {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-left: unset;
    }

    .certificate-award {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

@media (min-width:481px) and (max-width:767px){
     .certificate-container1 {
        height: unset;
        padding-top:unset;
        margin-top: unset;
        flex-wrap: wrap;
    }

    .certificate-wrapper1 {
        width: unset;
    }

    .certificate-p1::before {
        top: 39%;
        left: -6%;
    }

    .certificate-wrapper2 {
        width: unset;
        margin-right: unset;
        margin-top: unset;
        margin-left: 50px;
        margin-bottom: 27px;
    }

}

@media (min-width:768px) and (max-width:1024px){
    .certificate-p1::before {
    left: -7%
    }
}


/*  about-section4*/

.about-section4 {
    height: 129vh;
    max-height: 900px;
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.about-section4-img {
    height: clamp(150px, 129vh, 900px);
    width: clamp(110px, 50vw, 600px);
}

.about-section4-img img {
    height: inherit;
    width: inherit;
}

.about-section4-container {
    height: clamp(150px, 55vw, 692px);
    width: clamp(110px, 54vw, 600px);
    margin-top: clamp(20px, 8vw, 100px);
    margin-left: 30px;
}



.a-section4-p1 {
    position: relative;
    color: var(--primary-color);
    font-weight: 600;
    margin-left: 30px;
}

.a-section4-p1::before {
    content: ' ';
    height: 3px;
    width: 16px;
    position: absolute;
    background-color: var(--primary-color);
    top: 36%;
    left: -4%;
}

.a-section4-h1 {
    font-size: clamp(1.5rem, 1vw + 1.9rem, 2.5rem);
}


.a-section4-p2 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    text-align: justify;
    line-height: 25px;
}

.a-section4-p3 {
    font-size: var(--font-size-lg);
    font-weight: 500;
    text-align: justify;
    line-height: 25px;
}


.a-section4-list {
    list-style: none;
    line-height: 40px;
    position: relative;
}


.a-section4-list::before {
    content: '';
    position: absolute;
    display: inline-block;
    height: 20px;
    width: 20px;
    background-image: url('../Images/circle-cross.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    top: 9px;
    left: -24px;
}

@media(max-width:1024px){
    .about-section4{
        flex-direction: column;
        height:auto;
        max-height: unset;
        margin-bottom: 30px;
    }

    .about-section4-img {
        width: 100vw;
        height: 50vh;
    }

    .about-section4-img img {
        object-fit: cover;
        object-position: center;
    }

    .about-section4-container {
        height:unset;
        width: unset;
        margin-top:unset;
        margin-left: 1vw;
        margin-right: 1vw;
        padding-left: 1vw;
        padding-right: 1vw;
    }
}

/* about-section5*/

.about-section5{
    height: 155vh;
    max-height: 900px;
    width: 100vw;
    display: flex;
    flex-direction: column;
    background-color: var(--background2-color);
}

.about-section5-container1 {
    width: 100vw;
    height: 35vh;
    display: flex;
    flex-direction: row;
    margin: 90px 60px 0 65px;
}


.a-section5-wrapper1 {
    width: 45vw;
}

.a-section5-wrapper2 {
    width: 45vw;
}

.a-dentist-p1 {
    position: relative;
    color: var(--primary-color);
    font-weight: 600;
    margin-left: 25px;
}

.a-dentist-p1::before {
    content: ' ';
    height: 3px;
    width: 13px;
    position: absolute;
    background-color: var(--primary-color);
    top: 37%;
    left: -3%;
}

.a-skills-p {
    font-size: clamp(1rem, 0.75vw + 0.6rem, 1.5rem);
    font-weight: 550;
    line-height: 20px;
    color: var(--second-text-color)
}

.about-section5-container2 {
    width: 89vw;
    height: 90vh;
    display: flex;
    flex-direction: row;
    margin: 0 70px 0 65px;
}

.a-dentist-portfolio {
    height: max(468px, 16vh);
    width: 32vw;
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 7px;
    background-color: var(--accent-color);
    box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.075), -1px -1px 15px rgba(0, 0, 0, 0.075);

}

.a-dentist-img {
    margin-top: 30px;
}

.a-dentist-img img {
    height:110px;
    width: 110px;
    border-radius: 50%;
}

.a-dentist-h2{
    text-align: center;
}

.a-dentist-p2 p {
    color:var(--third-color);
    font-weight: 600;

}

.a-dentist-em {
    padding: 0 10px;
    width: 70%;
    text-align: center;
}

.a-dentist-em em {
    color: var(--second-text-color);
}




@media(max-width: 899px){
    .about-section5 {
        height:auto;
        min-height: 100vh;
        padding-bottom: 50px;
        max-height: unset;
    }

    .about-section5-container1{
        max-height:55vh;
        height:auto;
        flex-direction: column;
        margin: unset;
        justify-content: center;
        margin-left: 30px;
    }

    .a-section5-wrapper1 {
        width:unset;
        
    }

    .a-dentist-p1 {
        margin-left: unset;
    }

    .a-section5-wrapper2 {
        width:unset;
        max-width: 80vw;
    }

    .about-section5-container2 {
        height: inherit;
        flex-direction: column;
        flex: 1 1 300px;
        align-items: center;
        margin: unset;
    }

    .a-dentist-portfolio {
        width:64vw;
        max-width: 600px;
        height: unset;
        margin-right: unset;
    }

    .a-dentist-h2 {
        text-align: center;
    }

    .a-dentist-button {
        padding-bottom: 20px;
    }

    
}

@media(min-width:900px) and (max-width:1024px){
    .about-section5{
        height:unset;
        padding-bottom: 10vw;
    }

    .about-section5-container1{
        height:unset
    }

    .about-section5-container2 {
        height: unset;
        gap: 20px
    }

    .a-dentist-portfolio {
        margin-right: unset;
        margin-left: unset;
        padding: 0 7px
    }

    .a-dentist-h2{
        text-align: center;
    }

    .a-button-r {
        /* for the dr rebecca the button was too low so unset margin */

        margin-top: 1vh;
    }
}

@media (min-width:1025px) and (max-width: 1365px){

.a-button-r {
        /* for the dr rebecca the button was too low so unset margin */

        margin-top: 1vh;
    }
}

/*section6 solution section*/

.solution-section {
    height: 150px;
    width: 100vw;
    background-color: var(--primary-color);

}

.sol-container {
    margin: 0 auto;
    width: 95%;
    height: inherit;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}


.sol-h1 h1 {
    font-size: clamp(1.5rem, 1vw + 1.9rem, 2.5rem);
    color: var(--accent-color);
}


.sol-p1 p {
    font-size: clamp(1rem, 0.75vw + 0.6rem, 1.5rem);
    color: var(--accent-color);
    margin-left: -15px;
}

.sol-p1 span {
    font-weight: 600;
    text-decoration: underline;
}

.button-solution {
    background-color: unset;
    border:  solid wheat;
}

.button-solution:hover{
    background-color: wheat;
    color: var(--Secondary-color);
}


@media(max-width:767px){
    .solution-section {
        height: 328px;
    }

    .sol-container{
        flex-direction: column;
        justify-content: unset;
    }
}

@media (min-width:768px) and (max-width:1024px){
    .button-solution {
        margin-top: unset;
    }
}


/* Services section */

.services-section1 {
    width: 100vw;
   
}

.s1-container1{
    width: 85%;
    margin-top: min(2vh, 65px);
    margin-left: auto;
    margin-right: auto;
   
  
}

.s1-img {
    width: 100%;
    max-width:1500px ;
    margin-top: 30px;
  
}

.s1-img img{
    width: 100%;
    max-width: 1500px;
    border-radius: 5px;
}


.s1-p1 {
    line-height: 30px;
    color: var(--second-text-color);
    font-weight: 500;
    
}


.s1-container2{
    width: 85%;
    margin-top: min(15vh, 110px);
    margin-left: auto;
    margin-right: auto;
  
}


.s1-wrapper1 {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    
}

.s1-wrapper1-list {
    display: inline-block;
    width: 50%;
    min-width: 300px;
}


.s1-wrapper1-list ul {
    line-height: 30px;
}

ul .s1-wrapper1-li::marker {
    color:var(--primary-color)
}

.s1-wrapper1-li {
    color: var(--second-text-color)
}


/* PRICING SECTION */




.p1-container2{
    width: 85%;
    margin-top: min(15vh, 110px);
    margin-left: auto;
    margin-right: auto;
}


.p1-wrapper1 {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    
}

.p1-wrapper1-list {
    display: inline-block;
    width: 50%;
    min-width: 300px;
}


.p1-wrapper1-list ul {
    line-height: 50px;
    list-style: none;
}


.p1-wrapper1-li {
    color: var(--second-text-color)
}

.p1-span {
    color: var(--third-color);
    font-weight: 600;
}


/* Review/ Testimonial section */


.r1-container1{
    width: 85%;
    margin-top: min(15vh, 110px);
    margin-left: auto;
    margin-right: auto;
}


.r1-wrapper1 {
    height: 40vh;
    max-height: 251px;
    width: 70vw;
    display: flex;
    flex-direction: row;
    border-radius: 7px;
    margin: 20px 0;
    background-color: var(--accent-color);
    box-shadow:1px 1px 15px rgba(0, 0, 0, 0.075), -1px -1px 15px rgba(0, 0, 0, 0.075);
}


.r1-wrapper1-img {
    height: 100%;
    width: 30vw;
    max-height: 700px;
    max-width: 600px;
    border-radius: 7px;
    background-color: chocolate;

}


.r1-wrapper1-img img {
    height: inherit;
    width: inherit;
    max-width: 600px;
    object-fit:cover ;
    border-radius: 7px;
    
}


.r1-wrapper1-content{
    padding: 20px
}

.r1-content-p p {
    font-size: 1.2em, 1.5vw + 1em, 2em;
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 1000px){
    .r1-wrapper1 {
        height:unset;
        flex-direction: column;
        max-width: 600px;
        max-height: unset;
        margin: 0 auto 20px auto;
    }
}

@media (max-width:700px){

    .r1-wrapper1-img {
        margin: 20px auto;
        height: 10em;
        width: 10em;
        border-radius: 50%;
    }
    .r1-wrapper1-img img {
        height: inherit;
        width: inherit;
        border-radius: 50%;
    }

    .r1-content-h h1 {
        text-align: center;
    }

     .r1-content-p p {
        text-align: center;
    }

     .r1-content-em em {
        text-align: center;
    }
}



@media(min-width:701px) and (max-width:1000px){
     .r1-wrapper1-img {
        margin: 5px auto;
        height: 20em;
        width: 20em;
        border-radius: 50%;
    }
    .r1-wrapper1-img img {
        height: inherit;
        width: inherit;
        border-radius: 50%;
    }

     .r1-content-h h1 {
        text-align: center;
    }

     .r1-content-p p {
        text-align: center;
    }

     .r1-content-em em {
        text-align: center;
    }
}


/* Contact Page */


.section-contact {
    height: 230vh;
    max-height: 1908px;
    display: flex;
    flex-direction: column;
}



.contact-container {
    width: 85%;
    margin-top: min(15vh, 110px);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
}

.cc2 {
    justify-content: space-between;
    flex-wrap: wrap;
}

.booking-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 100%;
    height: 100%;
}

.form-h2 {
     text-align: center;
      margin-bottom: 20px;
      color: #333;
}

 label {
      display: block;
      margin-top: 15px;
      font-weight: bold;
}
input, select, textarea {
      width: 100%;
      padding: 10px;
      margin-top: 5px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 15px;
}

.location-map {
    height: 100%;
    width:  70%;
}

.location-map iframe {
    height: inherit;
    width: 100%;
    border: none;
    border-radius: 7px;
}

.address, 
.email,
.call-us {
    margin-left: 30px;
    position: relative;
} 

.address::before {
    content: '';
    position: absolute;
    display: inline-block;
    height: 20px;
    width: 20px;
    background-image: url('../Images/address.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    top: -1px;
    left: -27px;

}

.email::before {
    content: '';
    position: absolute;
    display: inline-block;
    height: 20px;
    width: 20px;
    background-image: url('../Images/email.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    top: -1px;
    left: -27px;

}

.call-us::before {
    content: '';
    position: absolute;
    display: inline-block;
    height: 20px;
    width: 20px;
    background-image: url('../Images/telephone.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    top: -1px;
    left: -27px;

}

@media (max-width: 1079px){
    .section-contact {
        height: fit-content; 
    }

    .cc2{
        height: fit-content;
    }
    .location-map {
        width: 100%;
    }
}


/* Privacy section */

.privacy-container {
    width: 90vw;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Terms & Conditions */

.terms-container {
    width: 90vw;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Thank-you-page*/

.thank-you-page-container{
    height: 60vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.typ-h, .typ-p {
    text-align: center;
}

/* Footer section remember t put the privacy policy, T&C's POPIA PAIA and thank you page above the footer above*/

footer {
    background-color: var(--Secondary-color);
    width: 100vw;
    height: 100vh;
    min-height: 300px;
    max-height: 1124px;
    padding-top:1px;
}

.footer-container {
    width: 90%;
    height: 74%;
    margin: 50px auto;
}

.footer-wrapper1 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    column-gap: 20px;
}

.footer-logo{
    margin-left: 20px;
}

.footer-logo-h{
    color:var(--accent-color);
    position: relative;
    display: inline;
}


.footer-logo-h::before {
    content:"";
    display: inline-block;
    position: absolute;
    top: 10px;
    left:-65px;
    height:50px;
    width: 50px;
    background-image: url('../Images/floss.png');
    background-size: 50px 50px;
    background-repeat: no-repeat;
}


.footer-p {
    margin-left: 20px;
}


.footer-p1 {
    line-height: 25px;
    color: var(--second-text-color)
}


.footer-nav {
    height: 100%;
    width: 200px;

}

.footer-h{
    color:var(--accent-color)
}

.footer-li-nav ul {
    margin-left: -29px;
}


.footer-li-nav li {
    list-style: none;
    line-height: 30px;
   
}

.footer-li-nav a {
     color: var(--second-text-color);
}


.footer-git-h2 h2 {
    color: var(--accent-color)
}


.footer-address,
.f-email,
.footer-call-us {
    margin-left: 20px;
}


.footer-loca {
    color:var(--second-text-color);
    position:relative;
    display: inline;
}

.footer-loca::before {
    content: '';
    position: absolute;
    display: inline-block;
    height: 20px;
    width: 20px;
    background-image: url('../Images/address.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    top: -1px;
    left: -27px; 
    filter: brightness(0) invert(1);

}

.footer-address p {
    color:var(--second-text-color);
} 

.footer-email {
    color: var(--second-text-color);
    position:relative;
    display: inline;
}

.footer-email::before {
    content: '';
    position: absolute;
    display: inline-block;
    height: 20px;
    width: 20px;
    background-image: url('../Images/email.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    top: -1px;
    left: -27px;
    filter: brightness(0) invert(1);
}

.f-email p {
    color:var(--second-text-color)
}

.footer-address-call {
    color: var(--second-text-color);
    position: relative;
    display: inline;
}

.footer-address-call::before{
    content: '';
    position: absolute;
    display: inline-block;
    height: 20px;
    width: 20px;
    background-image: url('../Images/telephone.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    top: -1px;
    left: -27px;
    filter: brightness(0) invert(1);

} 

.footer-call-us p {
    color: var(--second-text-color);
}

.footer-wrapper2 {
    margin-top:30px
}

.footer-wrapper2 p {
    color: var(--second-text-color);
    text-align: center;
}


@media (max-width: 480px){


footer{
    height: 198vh;
    min-height: 300px;
    max-height: 1124px;
    padding-bottom: 10px;
}

.footer-container {
    height: unset;
}    


.footer-wrapper1 {
    flex-direction: column;
    align-items: center;
}

.footer-nav {
    width: 96%;
}

.footer-logo {
    margin-left: unset;
    text-align: center;
}


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

.footer-logo-h::before {
    top: -2px;
    left:-49px;
    background-size: 46px 42px;
}


.footer-li-nav li {
    text-align: center;
}

.footer-git-h2{
    text-align: center;
}

.footer-address,
.f-email,
.footer-call-us {
    margin-left: unset;
    text-align: center;
}



.footer-loca::before {
    left: -20px;
}

}

@media (min-width:481px) and (max-width:1024px){
 footer{
    height: 198vh;
    min-height: 300px;
    max-height: 1124px;
    padding-bottom: 10px;
}

.footer-container {
    height: unset;
}    


.footer-wrapper1 {
    flex-direction: column;
    align-items: center;
}

.footer-nav {
    width: 96%;
}

.footer-logo {
    margin-left: unset;
    text-align: center;
}

.footer-p {
    text-align: center;
    margin-left: unset;
}


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

.footer-logo-h::before {
    top: -2px;
    left:-49px;
    background-size: 46px 42px;
}


.footer-li-nav li {
    text-align: center;
}

.footer-git-h2{
    text-align: center;
}

.footer-address,
.f-email,
.footer-call-us {
    margin-left: unset;
    text-align: center;
}



.footer-loca::before {
    left: -20px;
}
    
}


@media(min-width: 1025px) and (max-width: 1365px){
footer{
    height: 81vh;
    min-height: 300px;
    max-height: 650px;
    padding-bottom: 10px;
}

.footer-container {
    height: unset;
}    

}

 

















