/* CSS Document */

/* Images as Background Images */

.octane-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.octane-background img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.octane-content {
    position: relative;
    height: 100%;
}

.octane-position {
    position: relative;
}


/* hero */
#hero {
    /* background: #f9f8f8; */
    position: relative;
    z-index: 500;
}

.background-group {
    position: relative;
}

.background-group:nth-of-type(even) .bg-image {
    transform: scaleY(-1);
}

.hero-flex {
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
}

#hero .wrap {
    max-width: 100%;
    margin: 10px 10px;
}

.hero-left {
    width: 40%;
    padding: 20px 40px;
    background: var(--style-sec);
}

.hero-text {
    max-width: 490px;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-right {
    width: 60%;
    position: relative;
}

.hero-right img {
    max-height: 700px;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.hero-right img:last-of-type {
    position: absolute;
    inset: 0;
    animation: fadeTransition 15s infinite ease-in-out;
}

@keyframes fadeTransition {
    0% {
        opacity: 0;
    }

    45% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    95% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.hero-title {
    font-size: 65px;
    font-weight: 900;
    line-height: 70px;
    color: var(--style-main);
}

.hero-left p {
    font-size: 40px;
    line-height: 45px;
}

.hero-link {
    font-size: 20px;
    color: var(--style-sec);
    background: var(--style-main);
    width: fit-content;
    padding: 10px 30px;
    border-radius: 40px;
    transition: .3s;
}

.hero-link:hover {
    color: var(--style-sec);
    transform: scale(1.1);
}

.hero-gradient {
    position:absolute;
    z-index: 50;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(0,0,0,0) 5%);
}



/* hero services */

#hero-serv {
    padding: 40px 0px;
    position: relative;
}

.hero-serv-flex {
    display: flex;
    gap: 20px;
}

.hero-serv-flex::before, .hero-serv-flex::after {
    content: none;
}

.hero-serv-left {
    width: 40%;
}

.hero-services {
    display: flex;
    gap: 20px;
    height: 100%;
}

.hero-services::before, .hero-services::after {
    content: none;
}

.hero-service {
    box-shadow: var(--shadow);
    background: var(--style-sec);
    padding: 20px;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    width: 33.3%;
}

.hero-service-title {
    color: var(--style-main);
    font-size: 20px;
    line-height: 20px;
    text-align: center;
}

.hero-service:hover {
   transform: scale(1.1);
   background: var(--style-main);
}

.hero-service:hover .hero-service-title {
    color: var(--style-sec);
}

.hero-service:hover img {
    filter: brightness(1000%) saturate(0%)
}

.hero-service img {
    height: 100px;
    width: 100px;
    object-fit: contain;
    margin-bottom: 10px;
}

.hero-serv-right {
    width: 60%;
    box-shadow: var(--shadow);
    background: var(--style-sec);
    padding: 20px;
    border-radius: 40px;
    display: flex;

    align-items: center;
}

.hero-form-title, .hero-service p {
    margin: 0px;
}

.hero-serv-right .gform_footer {
    display: none!important;
}

.hero-form-title {
    font-size: 30px;
    font-weight: bold;
    color: var(--style-main);
    max-width: 350px;
    padding-right: 20px;
}

.hero-serv-right input {
    border-radius: 40px;
}


/* add-services  */

.pad {
    padding: 120px 0px;
}

.jenson-title {
    color: var(--style-main);
    font-size: 40px;
    font-weight: bold;
    text-align: center;
}

#add-services .jenson-title {
    max-width: 400px;
    text-align: left;
}

.serv-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 24px;
    grid-row-gap: 24px;
}

.add-service {
    gap: 20px;
    transition: .5s;
}

.add-service:hover {
    transform: scale(1.05);
}

.add-service, .add-services-link {
    padding: 20px;
    box-shadow: var(--shadow);
    border-radius: 40px;
    display: flex;
    background: var(--style-sec);
}

.add-service img {
    object-fit: cover;
    border-radius: 20px;
}

.add-service:nth-of-type(1) { 
    grid-area: 1 / 1 / 3 / 4;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
}

.add-service:nth-of-type(2) { 
    grid-area: 1 / 4 / 4 / 6; 
    flex-direction: column;
}

.add-service:nth-of-type(3) { 
    grid-area: 1 / 6 / 5 / 8; 
    flex-direction: column;
}

.add-service:nth-of-type(3) img {
    height: 50%;
}

.add-service:nth-of-type(4) { 
    grid-area: 3 / 1 / 5 / 4; 
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
}

.add-services-link { 
    grid-area: 4 / 4 / 5 / 6; 
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-weight: 500;
    color: var(--style-main);
    transition: .5s;
}

.add-services-link:hover {
    background: var(--style-main);
    transform: scale(1.05);
}


.add-service:nth-of-type(1) img, .add-service:nth-of-type(4) img {
    height: 100%;
    object-fit: cover;
    width: 40%;
}

.add-service:nth-of-type(1) .add-service-text, .add-service:nth-of-type(4) .add-service-text {
    width: 60%;
}

.add-service-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.add-service p {
    font-size: 16px;
    line-height: 20px;
    color: var(--style-tri);
}

.add-service-title {
    font-size: 24px;
    color: var(--style-main);
    font-weight: 500;
}

.add-service-text .jenson-link {
    margin-top: auto;
}

.jenson-link {
    background: var(--style-main);
    color: var(--style-sec);
    border-radius: 40px;
    padding: 10px 20px;
    transition: .4s;
    display: block;
    width: fit-content;
}

.jenson-link:hover {
    transform: scale(1.1);
    color: var(--style-sec);
}



/* about */

#about {
    position: relative;
}

.about-flex {
    display: flex;
    gap: 24px;
}

.about-flex::before, .about-flex::after {
    content: none;
}

/* facts */

.about-facts {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-right: -100px;
    z-index: 50;
    padding: 20px;
}

.fact {
    background: var(--style-sec);
    box-shadow: var(--shadow);
    padding: 15px;
    border-radius: 40px;
    width: 200px;
}

.fact img {
    height: 80px;
    width: 100px;
    object-fit: contain;
    margin: auto;
    margin-bottom: 10px;
    display: block;
}

.fact-num {
    font-size: 40px;
    line-height: 40px;
    color: var(--style-main);
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.fact-text {
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    color: var(--style-main);
    margin-bottom: 10px;
}

/* about text */

.about-text {
    box-shadow: var(--shadow);
    background: var(--style-sec);
    border-radius: 40px;
    padding: 20px;
    padding-left: 100px;
    width: 50%;
    position: relative;
}

.about-subtitle {
    font-size: 20px;
    color: var(--style-tri);
    font-weight: 500;
}

.about-text li {
    font-weight: 500;
    display: flex;
    align-items: center;
    font-size: 16px;
    color: var(--style-tri);
}

.about-text ul {
    margin: 20px 0px;   
}

.about-text li::before {
    content: "\f14a";
    font-weight: 300;
    font-family: "Font Awesome 6 Free";
    margin-right: 10px;
    color: var(--style-main);
    font-size: 25px;
}

.about-text p {
    font-size: 18px;
    line-height: 23px;
    margin: 0px;
}



/* about image */
.about-image {
    width: 50%;
    overflow: hidden;
    border-radius: 40px;
    box-shadow: var(--shadow);
    position: relative;
}

.about-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}



/* dentist */

#dentist {
    background: linear-gradient(90deg, rgba(190,199,202,0.9) 0%, rgba(190,199,202,0.3) 100%);
    margin: 0px 20px;
    border-radius: 40px;
}

.dent-flex {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
}

.dent-flex::before, .dent-flex::after {
    content: none;
}

#dentist .jenson-title {
    width: 100%;
    text-align: left;
    margin: 0px;
}

.dent-left {
    width: calc(30% - 15px);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.dent-left img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.dent-right {
    width: calc(70% - 15px);
    background: var(--style-sec);
    /* padding: 20px; */
    flex-direction: row-reverse;
    border-radius: 40px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
}

.dent-bio {
    width: 50%;
    padding: 20px;
}

.dent-bio p:nth-of-type(2) {
    margin: 0px;
}

.dent-right img {
    object-fit: cover;
    width: 50%;
    border-radius: 40px;
}


.dentist-link {
    position: absolute;
    background: var(--style-main);
    color: var(--style-sec);
    width: 150px;
    height: 150px;
    border-radius: 100%;
    border: 15px solid var(--style-sec);
    box-shadow: var(--shadow);

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    left: calc(30% - 5px);
    bottom: -75px;
    transform: scale(1) translatex(-50%);
    transition: .5s;
}

.dentist-link:hover {
    transform: translatex(-50%) scale(1.1);
}


/* reviews */

#reviews {
    position: relative;
}

#reviews .jenson-link {
    margin: auto;
}


/* plan */

#plan {
    background: linear-gradient(-90deg, rgba(190,199,202,0.9) 0%, rgba(190,199,202,0.3) 100%);
    border-radius: 40px;
    position: relative;
    margin: 0px 20px;
    overflow: hidden;
}

.right-bg {
    position: absolute;
    top: 0px;
    right: 0px;
    height: 100%;
}

.right-bg img {
    height: 100%;
}

.plan-text {
    max-width: 700px;
}

#plan .jenson-title {
    text-align: left;
}



/* faq */

.faq-flex {
    display: flex;
    gap: 30px;
    position: relative;
}

.faq-left {
    width: 50%;
}

.faq-right {
    overflow: hidden;
    border-radius: 40px;
    box-shadow: var(--shadow);
    width: 50%;
    position: relative;
}

.faq-right img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}



/* discount */
#discount {
    background: linear-gradient(90deg, rgba(190,199,202,0.9) 0%, rgba(190,199,202,0.3) 100%);
    border-radius: 40px;
    position: relative;
    margin: 0px 20px;
    /* overflow: hidden; */
}

#discount.pad {
    padding: 70px 0px;
}

.left-bg {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    overflow: hidden;
    border-radius: 40px;
}

.left-bg img {
    height: 100%;
}

#discount .plan-text {
    max-width: 700px;
    margin-left: auto;
}

#discount .jenson-title {
    text-align: left;
    margin: 0px;
}

.discount-titles {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: flex-end;
}

.discount {
    background: var(--style-main);
    color: var(--style-sec);
    font-size: 35px;
    line-height: 30px;
    border-radius: 100%;
    padding: 20px;
    font-weight: bold;
    width: 120px;
    height: 120px;
    box-shadow: var(--shadow);

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    transform: rotate(20deg);
}


/* blog */

#blog-section .wrap {
    position: relative;
}

.blog-container {
    display: flex;
    gap: 20px;
}

.blog-container::before, .blog-container::after {
    content: none;
}

.blog-post {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 0 30%;
    border-radius: 40px;
    box-shadow: var(--shadow);
    padding: 15px;
    background: var(--style-sec);
}

.blog-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 40px;
}

.blog-text-flex {
    flex-grow: 1;
    display: flex;
    flex-flow: column nowrap;
}

.blog-post .jenson-link {
    margin-top: auto;
    margin-left: auto;
}

.blog-post-title {
    font-weight:bold;
    color: var(--style-tri);
    font-size: 24px;
}




/* end */

#end {
    position: relative;
}

.end-gradient {
    position: relative;
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.8) 20%);
    padding: 250px 0px;
}

#end .wrap {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.end-title {
    font-size: 64px;
    font-weight: 900;
    color: var(--style-main);
}

.end-link {
    font-size: 24px;
}










@media(max-width: 1550px) {
    .hero-title {
        font-size: 45px;
        line-height: 50px;
        text-align: center;
    }

    .hero-left p {
        font-size: 25px;
        line-height: 30px;
        text-align: center;
    }

    .hero-link {
        margin: 0px auto;
        text-align: center;
    }

    /* hero services */

    .hero-serv-right {
        flex-direction: column;
    }

    .hero-form-title {
        text-align: center;
    }

    /* plan */

    .right-bg {
        width: 50%;
        background: var(--style-main);
        border-radius: 40px;
        overflow: hidden;
        box-shadow: var(--shadow);
    }

    .right-bg img {
        width: 100%;
        object-fit: cover;
    }

    #plan .plan-text {
        max-width: 50%;
        padding-right: 30px;
    }

    /* discount */

    .left-bg {
        width: 50%;
        background: var(--style-main);
        border-radius: 40px;
        overflow: hidden;
        box-shadow: var(--shadow);
    }

    #discount .plan-text {
        width: 50%;
        padding-left: 30px;
    }

    .left-bg img {
        object-fit: cover;
    }

    /* end */

    .end-gradient {
        padding: 200px 0px;
    }
    
}

@media(max-width: 1250px) {
    .serv-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 1fr);
     }

    .add-service:nth-of-type(1) { grid-area: 1 / 1 / 3 / 2; }
    .add-service:nth-of-type(2) { grid-area: 1 / 2 / 3 / 3; }
    .add-service:nth-of-type(3) { grid-area: 3 / 1 / 5 / 2; }
    .add-service:nth-of-type(4) { grid-area: 3 / 2 / 5 / 3; }
    .add-services-link { grid-area: 5 / 1 / 6 / 3; }

    .add-service {
        flex-direction: column!important;
    }

    .add-service img {
        max-height: 200px;
        width: 100%!important;
    }

    .add-service-text {
        width: 100%!important;
    }

    /* about */

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

    .about-facts {
        flex-direction: row;
        justify-content: center;
        margin: 0px;
        padding: 0px;
    }

    .about-text {
        width: 100%;
        padding: 20px;
    }

    .about-image {
        width: 100%;
    }

    .fact {
        flex-grow: 1;
    }

    /* dentist */

    #dentist .jenson-title {
        text-align: center;
    }

    .dent-flex {
        flex-direction: column;
    }

    .dent-left, .dent-right {
        width: 100%;
    }

    .dent-left {
        max-height: 400px;
        aspect-ratio: 1 / 1;
    }

     .dent-left img {
         object-position: 0% 20%;
     }

    .dent-right {
        flex-direction: column-reverse;
        position: relative;
    }

    .dent-right img {
        width: 100%;
    }

    .dent-bio {
        width: 100%;
    }

    .dentist-link {
        left: 50%;
        bottom: initial;
        top: -75px;
    }

    /* blog */

    .blog-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .blog-post {
        flex: 1 0 45%;
        max-width: 500px;
    }
    
}
    
@media(max-width: 1150px) {
    .hero-serv-flex {
        flex-direction: column;
        align-items: center;
    }

    .hero-serv-left, .hero-serv-right {
        width: 100%;
    }
}

@media(max-width: 1024px) {
    .hero-flex {
        flex-direction: column-reverse;
    }

    .hero-left, .hero-right {
        width: 100%;
    }

    .hero-text {
        margin: auto;
    }

    .hero-left {
        padding: 20px;
    }

    .hero-gradient {
        background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(0,0,0,0) 5%);
    }

    .hero-right img {
        max-height: 400px;
    }

    /* add services */
    
    .pad {
        padding: 70px 0px;
    }

    #add-services .jenson-title {
        text-align: center;
        margin: auto;
        margin-bottom: 20px;
    }



    /* faq */

    .faq-flex {
        flex-direction: column;
    }

    .faq-left, .faq-right {
        width: 100%;
    }


    /* end */

    .end-gradient {
        padding: 150px 0px;
    }

    .end-title {
        font-size: 45px;
    }

}

@media(max-width: 768px) {
    .background-group .bg-image {
        display: none;
    }
    
    .hero-right img {
        max-height: 200px;
    }

    .hero-title {
        font-size: 35px;
        line-height: 35px;
    }

    .hero-left p {
        font-size: 20px;
        line-height: 20px;
    }

    /* hero services */

    .pad {
        padding: 40px 0px;
    }

    #reviews.pad {
        padding-top: 60px;
    }

    .hero-service img {
        height: 70px;
        width: 70px;
    }

    .jenson-title {
        font-size: 32px;
        line-height: 32px;
    }

    .add-service-text .jenson-link {
        margin: auto;
    }

    /* about */

    .about-text li {
        text-align: left;
    }

    .about-text p, .dent-right p:nth-of-type(2), .plan-text p, .blog-excerpt {
        font-size: 16px;
    }

    /* plan */

    .plan-text {
        max-width: 100%!important;
        width: 100%!important;
        padding: 0px!important;
    }

    #plan .jenson-title {
        text-align: center;
    }

    .discount-titles {
        justify-content: center;
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    .discount {
        transform: rotate(0deg);
    }
    
    #plan .jenson-link, #discount .jenson-link {
        margin: auto;
    }

    .right-bg, .left-bg {
        position: relative;
        width: 100%;
        height: 300px;
        background: var(--style-main);
        border-radius: 40px;
        overflow: hidden;
        margin-bottom: 20px;
    }

    .right-bg img {
        height: 100%;
        width: auto;
        right: 0px;
        position: absolute;
    }

    .left-bg img {
        height: 100%;
        width: auto;
        left: 0px;
        position: absolute;
    }

    #plan, #discount {
        padding: 0px 0px 20px!important;
    }

    /* blog */

    .blog-post {
        flex: 1 0 100%;
    }

    .blog-post .jenson-link {
        margin: auto;
    }

    .blog-post-title {
        font-size: 20px;
    }

    /* end */

    .end-title {
        font-size: 35px;
    }

    .end-link {
        font-size: 20px;
    }
    
}

@media(max-width: 600px) {
    .serv-grid {
        display: flex;
        flex-wrap: wrap;
    }

    .add-services-link {
        flex-grow: 1;
        font-size: 25px;
    }
}

@media(max-width: 550px) {
    .hero-services {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-service {
        flex-grow: 1;
    }

    /* about  */

    .fact img {
        width: 70px;
        height: 60px;
    }

    .fact-num {
        font-size: 30px;
        line-height: 30px;
    }

    .fact-text {
        font-size: 16px;
    }

    /* denist */

    .dentist-link {
        position: relative;
        order: 1;
        transform: none;
        top: initial;
        left: initial;
        margin: auto;
        margin-bottom: -75px;
    }

    .dentist-link:hover {
        transform: scale(1.1);
    }

    .dent-bio {
        order: 2;
    }

    .dent-right img {
        order: 3;
    }

    .dent-right {
        gap: 0px;
    }

    /* end */

    .end-title {
        font-size: 30px;
    }

}

@media(max-width: 400px) {
    .fact img {
        width: 50px;
        height: 50px;
    }

    .fact-text {
        font-size: 15px;
    }
}