:root{
    --page-bg-color: #e7e7e9;
    --page-main-color: #000000;
    --page-highlight-color: #f3c95f;
    --sections-bg-color: #b6cab5;
    --box-element-bg-color: #ffffff66;
    --card-bg-color: #c1dbe4;
    --header-txt-color: #000000;
    --bs-heading-color: var(--header-txt-color);
    font-size: 10px;
    width: 100%;
}

.card{
    --bs-success-rgb: 8, 67, 16;
    --bs-card-title-color: var(--header-txt-color);
}

body{
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background-color: var(--page-bg-color);
    color: var(--header-txt-color);
    font-family: Inter,sans-serif;
    font-size: 2.4rem;
    overflow-x: hidden;
    font-weight: 300;
}

body.noScroll {
    overflow: hidden;
}

b,span, p{
    font-weight: 300;
}

i{
    font-weight: 100;
}
p{
    font-size: 1.5rem;
}

h1{
    font-size: 1.5rem;
    text-align: center;
}


#home h2{
    font-size: 5rem;
}

#home p{
    font-size: 1.8rem;
    padding: 0 4vw;
}

#home{
    background-image: url("../Images/main_photo_wide.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100rem;
    border-radius: 10%;
}

.bg_image{
    position: relative;
    top: 20%;
    margin: 0 auto;
    max-height: 500px;
    background: var(--box-element-bg-color);
    border-radius: 6rem;
    padding: 2.2vw 4.4vw;
    backdrop-filter: blur(0.3rem);
    aspect-ratio: 2 / 1;
    display: flex
;
    justify-content: center;
    align-items: center;
}
.textWrapper{
    position: absolute;
    text-align: center;
}
figure{
    width: 300px;
}
.contentWrapper{
    position: relative;
    display: flex;
    gap: 10rem;
    align-content: stretch;
    align-items: center;
    justify-content: center;
}
.contentWrapper figure{
    position: relative;
    height: 30rem;

}

section img{
    height: 30rem;
    border-radius: 20%;
}
section{
    position: relative;
    height: 60vh;
    /* padding: 5rem; */
}
#sectionOurMethod{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 100vh;
}
#sectionOurMethod :first-child{
    grid-column: 2/span 2;
}
#sectionOurMethod :nth-child(2){
    grid-column: 2/span 1;
    grid-row: 2;
    gap: 0;
 
}

section#sectionOurMethod img
{
    position: absolute;
}

.ourMethod, .problems, .whyb7{
    display: inline-block;
    padding: 3rem 2rem;
    font-weight: 100;
    width: 60rem;
    font-size: 4rem;
}
.efficient{
    background-color: var( --box-element-bg-color);
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    width: 110px;
    padding: 10px;
    height: 110px;
    position: absolute;
    left: 27rem;
    top: 2rem;
    filter: drop-shadow(0px 0px 100px black);
    backdrop-filter: blur(1rem);
}

section#programs  {
    margin-bottom: 520px;
    width: 100vw;
    background: var(--sections-bg-color);
    height: fit-content;
    margin-bottom: 0;
    padding: 1rem;
}

section#problems{
    height: auto;
    display: flex;
    flex-wrap: wrap;
    max-width: 2000px;
    margin: 0 auto;
    justify-items: center;
    justify-content: space-evenly;
    gap: 10px;
}


.cardProblemsWrapper{
    width: 30rem;
    height: 30rem;
    min-width: 15rem;
    min-height: 15rem;
}

.cardProblems {
    position: relative;
    width: 30rem;
    height: 30rem;
    min-width: 15rem;
    min-height: 15rem;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    transition-timing-function: linear;
    background:var(--card-bg-color);
}

.cardProblems.opened{
    top: 20% !important;
    left: 20% !important;
    width: 60%;
    height: 60%;
    z-index: 1000;
    border:#ffffff 2px solid;
    transform: rotateY(180deg);
}

.cardProblems.posFixed {
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s, transform 0.6s;
    position: fixed;
}

.cardProblems .cardFace,
.cardProblems .cardBack {
    position: absolute;
    align-items: center;
    justify-content: center;
    border-radius: 20%;
    display: flex;
    /* transition: opacity 0.3s; */
}

.cardProblems .cardFace{
    height: 30rem;
    width: 30rem;
    opacity: 1;
}
.cardProblems .cardBack {
    width: 100%;
    height: 100%;
    transform: rotateY(-180deg);
    opacity: 0;
    padding: 0 60px;
}

.cardProblems.opened .cardFace{
   opacity: 0;
}
.cardProblems.opened .cardBack{
    opacity: 1;

}
img.arrow{
    position: absolute;
    width: 40px;
    height: 40px;
    right: 20px;
    bottom: 20px;
}


section#aboutUs{
    height: auto;
}
section#testimonials{
    height: fit-content;
    background-color: var(--sections-bg-color);
    padding: 0;;
}
.carousel-inner {
    height: fit-content;
    padding: 2rem 0px;
}
.carousel-content{
    height: fit-content;
    text-align: center;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--sections-bg-color);
    padding:0 10%;
    min-height: 340px;
}

#testimonials h5+ p{
    height: fit-content;
    color: var(--header-txt-color);
    font-style: italic;
    font-size: 2.5rem;
}

.pricing{
    display: flex;
    border-radius: 30px;
    border: none;
    background-color: #ffffff;
    margin: 6rem auto;
    width: 50vw;
    height: 6rem;
    text-align: left;
    padding: 1rem 3rem;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.pricing:hover{
    border: 1px solid var(--card-bg-color);
}
#pricingPlans{
    display: none;
}
#pricingPlans.opened{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    align-content: flex-start;
    height: fit-content;
    background: var(--sections-bg-color);
}
.bgwave.reversed {
    transform: rotate(180deg);
    margin-top: -.1rem;
}

#pricingPlans .card{
    width: 15vw;
    height: 600px;
    min-width: 330px;
    max-width: 400px;
    display: flex;
    justify-content: space-between;
    border: 1px solid var(--card-bg-color);
}

.card-body {
    flex: none;
}
.card-title{
    font-size: 2.4rem;
}
.list-group-flush>.list-group-item {
    border:none
}
.card .card-body p.card-text {
    font-size: 1.8rem;
}
.dani img.card-img-top,
.teo img.card-img-top{
    bottom: 85%;
}

ul.list-group.list-group-flush {
    list-style: none !important;
    padding-left: 2rem;
    font-size: 1.7rem;
    font-style: italic;
    border: none;
        text-align: left;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
ul.list-group.list-group-flush > li.list-group-item {
    position: relative;
    display: list-item !important;
    padding-left: 2em;
}
ul.list-group.list-group-flush > li.list-group-item::before {
    content: "✔";
    color: var(--sections-bg-color);
    position: absolute;
    left: 10px;
    font-size: 1.2em;
    line-height: 1;
}
.card .card-body p.card-text{
    padding: 1rem 0;
}
.card-body p.card-text.duration,
h5{
    font-weight: bold;
    font-size: 1.6rem;
}
.bgwave{
    width: 100%;
    height: 150px;
    margin-bottom: -.1rem;
}
.col{
    width: 27rem;
    margin-top: 13vh;
    min-height: 800px;
}
.row{
    justify-content: center;
}
 #pricingPlans .card{
    border-radius: 50px;
    position: relative;
    text-align: center;
    align-items: center;
    font-weight: 400;
    border: none;
}
#aboutUs .card{
    border-radius: 50px;
    position: relative;
    text-align: center;
    align-items: center;
    font-weight: 400;
    border: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

img.card-img-top{
    border-radius: 50%;
    max-width: 150px;
    max-height: 150px;
    position: absolute;
    bottom: 90%;
}
.card-text{
    font-weight: 300;
}
.card-body p.card-text{
    font-weight: 300;
    font-size: 1.5rem;
    padding: 7rem 1rem;
}
.card.alex{
    background-color: var(--card-bg-color);
}
.card.teo{
    background-color: var(--sections-bg-color);
}
.card-footer{
    background-color: transparent;
    border: none;
}
.card-footer p{
    font-weight: 400;
}
img.contactUs{
    height: 60rem;width: 80rem;
}
.meeting{
    position: absolute;
    padding: 30px;
}
.meeting.back {
    display: none;
}
.contactUsButton{
    position: absolute;
    bottom: 25vh;
    background-color: white;
    height: 4rem;
    width: 15rem;
    text-align: center;
    cursor: pointer;
}

section#contactUs{
    background-color: var(--sections-bg-color);
    height: 100vh;
    margin-top: -.1rem;
}

.contactCard{
    margin: 0 auto;
    width: 70rem;
    height: 70rem;
    cursor: pointer;
    position: relative;
    transition: all 0.6s ease-in-out;
    transform-style: preserve-3d;
}
.contactCard.opened{
    transform: rotateY(180deg);
}
.contactCard h2{
    font-size: 2rem;
    font-weight: bold;
}

#contactUs .cardFace,
#contactUs .cardBack{
    opacity: 1;
    display: flex;
    position: absolute;
    height: 70rem;
    width: 70rem;
    border-radius: 20%;
    justify-content: center;
    flex-direction: column;
    align-content: center;
    align-items: center;
    transition: opacity 0.6s ease-in-out;
    backface-visibility: hidden;
}
#contactUs .cardFace{
    background-image: url("../Images/contact_us_photo.jpg");
    background-size: cover;
}
#contactUs .contactCard .cardBack {
    height: 70rem;
    width: 70rem;
    display: flex;
    flex-direction: column;
    background: var(--box-element-bg-color);
    color: #000000;
    backdrop-filter: blur(0.3rem);
    transform: rotateY(180deg);
}
#contactUs img.arrow{
    right: 15%;
    bottom: 3%;
    width: 7%;
    height: 7%;
}

#contactUs .cardBack img.arrow {
    right: auto;
    left: 15%;
    transform: rotateY(180deg);
}
#contactUs .cardBack p {
    padding: 1rem 3rem;
    font-size: 2rem;
    font-weight: bold;
}
#contactUs .cardBack p br {
    display: none;
}

footer{
    border-top: 1px solid var(--box-element-bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--page-bg-color);
    font-weight: bold;
}
footer img{
    width: 100px;
}

@media screen and (max-aspect-ratio: 1/1) {
    #contactUs {
        padding-top: 45vw;
    }
    #contactUs .contactCard,
    #contactUs .contactCard .cardFace,
    #contactUs .contactCard .cardBack {
        width: 90vw;
        height: 90vw;
    }
}

@media screen and (max-width: 1100px) {
    #home{
        background-position: 0 0;
    }
}

@media screen and (max-width: 991px) {
    section {
        height: 90vh;
    }
    #sectionOurMethod{
        height: auto;
        display: block;
        padding-top: 5rem;
    }
    #sectionOurMethod :first-child{
        flex-wrap: wrap;
        gap: 0;
    }
    .contentWrapper:nth-child(2){
        flex-direction: column-reverse;
        flex-wrap: nowrap;
    }
    figure{
        width: 30rem;
        height: 30rem;
    }
    #sectionOurMethod .contentWrapper{
        gap: 0;
    }
    .ourMethod, .problems, .whyb7{
        text-align: center;
        width: auto;
    }
    .efficient {
        left: 22rem;
    }
    #programs .contentWrapper{
        flex-direction: column;
        gap: 0;
    }
    .pricing{
        min-width: 250px;
        margin: auto;
    }
    .carousel-content{
        padding:0 5rem;
    }
    footer{
        flex-direction: column;
    }
}
@media screen and (max-width: 680px) {
    .bg_image{
        width: 100%;
        height: 100%;
        max-height: 400px;
    }
    #home{
        max-height: 600px;
        border-radius: 5%;
    }


    #home h1{
        font-size: 1.2rem;
    }

    #home h2{
        font-size: 4rem;
    }
    #home p{
        font-size: 1.5rem;
        padding: 0 2vw;
    }
    .cardProblems.opened{
        top: 3% !important;
        left: 5% !important;
        width: 90%;
        height: 94%;
    }
    .cardProblems .cardBack{
        padding: 0 20px;
        font-size: 2rem;
    }
}
@media screen and (max-width: 700px) {
    img.contactUs {
        height: 50rem;
        width: 50rem;
    }
}

@media screen and (max-width: 450px) {
    #contactUs .cardBack p {
        width: 100%;
        padding: 0 0 0 5rem;
    }
    #contactUs .cardBack p br {
        display: block;
    }
    .cardProblems .cardBack{
        padding: 0 10px;
        font-size: 1.7rem;
    }
}

@media screen and (min-width: 681px) {

    #home h1{
        font-size: 2rem;
    }

    #home h2{
        font-size: 6rem;
    }
    #home p{
        font-size:2rem;
    }
}

