

body {
    margin: 0;
    position: relative;
    color: #5f4b8b;
    font-family: 'Inter', sans-serif;
}


.page_hero {
    min-height: 100vh;
    background: url("/images/bg1.webp") center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.page_hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 130px;
    background: linear-gradient(to bottom, transparent, #f7f5fb);

}

.navigation_container {
    display: Grid;
    grid-template-columns: 1fr 1fr;
    background-color: white;
    border-radius: 5px;
    padding: 1px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.burger {
    display: none;
    background: none;
    border: none;
    background-color: none;
    font-size: 2rem;
    color: #5f4b8b;
    cursor: pointer;
}


.logo {
    display: flex;
    align-items: center;

}

.logo img{
    max-height: 50px;
    max-width: 300px;
}


.navigation_container h3 {
    display: flex;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: #5f4b8b;
    padding: 0;
    margin: 0;
}

.navigation_button {
    display: flex;
    align-items: center;
    justify-content:space-evenly;
    box-sizing: border-box;
    
}

.navigation_button a {
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    color: #5f4b8b;
}

.navigation_button a:nth-child(6) {
    color: white;
}

.navigation_button a:hover {
    transform: scale(1.05);
}

.cta {
    display: inline-block;
    background-color: #5f4b8b;
    max-width: fit-content;
    color: whitesmoke;
    border-radius: 20px;
    padding: 5px 10px;
    font-weight: 400;
    text-decoration: none;
}

.page_hero .cta {
    animation: fadeup 1s ease forwards;
    animation-delay: 0.9s;
}


.page_hero .cta:hover {
    background-color: white;
    color: black;

}

.cta:hover {
    transform: scale(1.05);
}



.hero_container h1,
.hero_container p,
.social_icons a,
.page_hero .cta{
    opacity: 0;
    transform: translateY(20px);
}

.hero_container{
    display: grid;
    grid-template-rows: 1fr;
    margin-left: 20px;
}

.hero_container h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 4.2rem;
    letter-spacing: 1px;
    color: #5f4b8b;
    margin: 0;
    animation: fadeup 1s ease forwards;
    animation-delay: 0.2s;
}

.italic {
    font-family: 'Great Vibes', cursive;
    font-style: normal;
    font-size: 1.2em;
    margin: 0;
}


.hero_container p{
    display: flex;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    animation: fadeup 1s ease forwards;
    animation-delay: 0.6s;
    
}

.social_icons {
    display: flex;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 10px;
    
}

.social_icons a:nth-child(1) {
    animation: faderight 1s ease forwards;
    animation-delay: 1.6s;
}

.social_icons a:nth-child(2) {
    animation: faderight 1s ease forwards;
    animation-delay: 1.8s;
}

.social_icons a:nth-child(3) {
    animation: faderight 1s ease forwards;
    animation-delay: 2s;
}


.social_icons img {
    width: 50px;
    height: 50px;


}

.social_icons img:hover {
    transform: scale(1.05);
}

#about{
    min-height: 100svh;
    background: url("/images/bg2.webp") center/cover no-repeat;
    position: relative;
    padding: 80px 100px;
}


.hidden {
    opacity: 0;
    transform: translatey(30px);
    transition: all 0.8s ease;
}

.slow {
    transition-delay: 0.5s;
}

.slower {
    transition-delay: 0.8s;
}


.left {
    transform: translatex(-100px);
}

.left2 {
    transform: translateX(-100px);
}


.right {
    transform: translateX(100px);
}

.right2 { 
    transform: translateX(100px);
}

.show {
    opacity: 1;
    transform: translateY(0);
}


#about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background:linear-gradient(to bottom,#f7f5fb, transparent);
}

#about::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, transparent, #f7f5fb);
}

#about h2{
    display: flex;
    padding-top: 60px;
    justify-content: center;
    margin: 0;
    font-weight: 400;
    font-size: 2.5rem;
    letter-spacing: 1px;
    color: #5f4b8b;
    margin: 0;
}

.about_container h3{
    display: flex;
    justify-content: center;
}

.about_cards {
    display: grid;
    grid-template-columns: repeat(4,1fr); 
    padding-top: 80px;
    
}



.about_card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    position: relative;
}

.about_card img{
    padding-left: 15px;
    width: 180px;
    height: 180px;
    display: block;
}

.card_text {
    position: absolute;
    text-align: center;
    top: 60%;

}

.about_card:nth-child(3) .card_text {
    padding-left: 40px;
}


.about_card:nth-child(4) .card_text {
    padding-left: 60px;
}

.card_text:nth-child(3) .p {
    padding-left: 100px;
}

.about_card:nth-child(1) img {
    padding-top: 40px;
}

.about_card:nth-child(3) img {
    padding-left: 30px;
    padding-top: 10px;
}

.about_card:nth-child(2) img {
    padding-top: 10px;
}

.about_card:nth-child(4) img {
    padding-top: 18px;
    padding-left: 60px;
}


.about_begin {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding-top: 80px;
}

.about_begin h3 {
    padding-bottom: 30px;
}

.about_begin a {
    cursor: pointer;
    text-decoration: none;
    color: #5f4b8b;
}

.about_cta {
    display: flex;
    background-color: #2bb3a3;
    max-width: fit-content;
    color: whitesmoke;
    border-radius: 20px;
    padding: 5px 10px;
    font-size: larger;
    font-weight: 400;
    text-decoration: none;
    
}

.about_cta2 {
    text-decoration: none;
    padding-top: 20px;
}

.about_cta:hover{
    transform: scale(1.02);
    
}

.about_cta a:hover {
    color: white;
}

#Treatments {
    min-height: 100svh;
}

.Treatments_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 40px;
    justify-items: center;
} 

.treatments_intro h1 {
    text-align: center;
    font-size: 2rem;
}

.treatments_intro h2 {
    text-align: center;
    font-size: 1rem;
}

.treatment_card {
    background-color: white;
    padding: 10px 30px 40px;
    box-shadow: 0 10px 20px rgba(95,75,139, 0.5);
    width: 75%;
    border-radius: 10px;
    border-top: 3px solid rgba(95,75,139, 0.25);

}

.treatment_card:nth-child(9) {
    width: 75%;
}


.treatment_card span {
    font-size: 1.2rem;
}

.treatment_card h2 {
    font-size: 1.5rem;
}

.price_row {
    display: flex;
    justify-content: space-between;
}






#reviews {
    min-height: 100svh;
    margin: 0;
    padding: 60px 20px;
    background: #f7f5fb;
    text-align: center;
    position: relative;
}

#reviews::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30%;
    height: 90px;
    background: linear-gradient(to bottom, transparent, #f7f5fb);

}

.review_title h2 {

    padding-top: 0px;
    padding-bottom: 20px;
    justify-content: center;
    margin: 0;
    font-weight: 400;
    font-size: 2.5rem;
    letter-spacing: 1px;
    color: #5f4b8b;
    margin: 0;
}


.sophie_img {
    padding-top: 0px;
}

.sophie_img img {
    align-items: center;
    margin: 0;
    padding-left: 0px;
    max-height: 200px;
    max-width: 200px;
}

.sophie_img h3 {
    margin: 0;
}
.sophie_img p {
    margin: 0;
}


.review_card {
    position: relative;
    width: 800px;
    height: 150px;
    margin: 50px auto;
    background: white;
    padding: 40px 80px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    display: none;
}

.review_card.active {
    display: block;
}

.review_card p {
    text-align: left;

}

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



.review_card::before {
    content: "“";
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 80px;
    color: rgba(95, 75, 139, 0.12);
    line-height: 1;
    font-family: "Cormorant Garamond", Georgia, serif;
}




.review_card::after {
    content: "”";
    position: absolute;
    font-size: 80px;
    bottom: -20px;
    right: 20px;
    line-height: 1;
    font-family: "Cormorant Garamond", Georgia, serif;
    color: rgba(95, 75, 139, 0.12);
}


.review_cards::after {
    content: "”";
    position: absolute;
    font-size: 600px;
    bottom: -490px;
    right: 20px;
    
    font-family: "Cormorant Garamond", Georgia, serif;
    color: rgba(95, 75, 139, 0.12);
}


.review_cards::before {
    content: "“";
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 600px;
    line-height: 1;
    color: rgba(95, 75, 139, 0.10);
    font-family: "Cormorant Garamond", Georgia, serif;

}

.carousel_btn {
    border: none;
    background:#5f4b8b;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
}

.carousel_btn:hover {
    transform: scale(1.05);
}


@keyframes fadeup {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes faderight {
    from {
        opacity: 0;
        transform: translateX(-20px)
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#contact {
    min-height: 50svh;
    position: relative;
    padding: 0px 80px 30px;
    background: url("/images/bg2.webp") center/cover no-repeat;

}

#contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background:linear-gradient(to bottom,#f7f5fb, transparent);

}

.contact_container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.contact_card {  
    margin-top: 12px; 
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 500px;
    color: #5f4b8b;
    padding: 40px 60px;
    border-radius: 30px;
    font-size: larger;
    gap: 20px;
}

.input_group input,
.input_group textarea {
    padding: 11px 16px;
    border-radius: 10px;
    border: 1px solid rgba(95, 75, 139, 0.25);
    background: rgba(95, 75, 139, 0.06);
    font-size: 14px;
    text-align: left;
 
}

.input_group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact_card button {
    margin-top: 10px;
    padding: 14px;
    border-radius: 30px;
    border: none;
    background: #5f4b8b;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.contact_card button:hover{
    background: #4a3a6e;
}

.contact_container h1 {
    display: none;
    grid-column: 1 / -1;
    text-align: center;
}

.contact_header {
    padding-left: 80px;
    padding-top: 80px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    line-height: 1.6;
    text-align: center;
}

.contact_header h2{
    
    max-height: fit-content;
    color: #5f4b8b;
    display: flex;
    justify-content: center;
    margin: 0;
    font-weight: 400;
    font-size: 2.5rem;
    letter-spacing: 1px;
}

.contact_header h3 {
    max-height: fit-content;
    color: #5f4b8b;
    display: flex;
    justify-content: center;
    margin: 0;
    font-weight: 200;
    font-size: 2rem;
    letter-spacing: 1px;
}

.contact_header p {
    text-align: center;
    
}


button .sendbtn {
    display: flex;
    justify-self: center;
}


.footer {
    background: #5f4b8b;
    color: white;
    text-align: center;
    padding: 10px 20px 10px;
    margin: 0;
}

.footer_top h3 {
    margin: 0;
    font-weight: 500;
    letter-spacing: 1px;
}

.footer_top p {
    margin: 10px 0 10px;
    opacity: 0.8;
}

.footer_icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer_icons img:hover {
    transform: scale(1.05);
}

.footer_icons a:nth-child(1) img {
    width: 50px;
    height: 50px;
}

.footer_icons a:nth-child(2) img {
    width: 50px;
    height: 50px;
}

.footer_icons a:nth-child(3) img {
    width: 60px;
    height: 55px;
}

.footer_links {
    display: flex;
    justify-content: center;
    gap: 20px;
    
}

.footer_links :hover {
    color: #4a3a6e;
}

.footer_links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding-bottom: 10px;
}

.footer_bottom p {
    font-size: 12px;
    opacity: 0.7;
    margin: 0;
}



@media (max-width: 768px) {
    .navigation_button {
        display: none;
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 52px;
        right: 0;
        width: 250px;
        height: auto;
        background: white;
        gap: 20px;
        padding: 15px 70px 25px;

        transform: translatex(100%);
        transition: transform 0.3s ease;
    }

    .Treatments_container {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .treatment_card:nth-child(9) {
        grid-column: 1/-1;
        justify-self: center;
        width: 40%;

    }

    .navigation_button.active {
        width: 100%;
        transform: translatex(0);
    }

    .navigation_button.active .cta {
        text-align: center;
    }

    .burger {
        display: block;
    }

    .burger.active {
        font-size: 0;
    }

    .burger.active::before {
        content: "X";
        font-size: 1.5rem;
    }

    .about_cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
       
    }

    .about_card:nth-child(2) p {
    padding-left: 40px;
    }

    .about_card:nth-child(2) img {
    padding-bottom: 0px;
    padding-left: 65px;
    }

     .about_card:nth-child(1) p {
    padding-left: 20px;
    }

    .about_card:nth-child(1) img {
    padding-left:40px;
    }

    .review_card {
        width: min(800px, 100%);
        width: 90%;
        padding: 25px 20px;
    }

    .review_cards {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 100px;
    }


    .review_cards::after {
        font-size: 300px;
        bottom: -150px;
    }

    .review_cards::before {
        font-size: 300px;
        top: 160px;
    }

  
    .review_card::before {
        top: -5px;
    }


    #reviews {
        padding-bottom: 0;
        min-height: auto;
    }


    .carousel {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .carousel_btn {
        margin-top: 20px;
    }


    .contact_container {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 20px;
        
        
    }

    .contact_container h1 {
        display: none;
        align-items: center;
        padding-bottom: 0;
        font-size: 2rem;
        margin: 0;
        font-family: 'Great Vibes', cursive;
        font-style: italic;
        margin: 0;
      
    }

    .contact_container h2 {
        align-self: center;
    }

    .contact_card {
        width: 100%;
        max-width: 420px;
        margin: 20px auto 0;
        padding: 25px 20px;
        box-sizing: border-box;


    }

    .contact_header {
        padding: 10px 0 0;
        max-width: 420px;
        gap: 12px;
    }


}

@media (max-width: 430px) {

    html,
    body {
        overflow-x: hidden;
    }

    .burger {
        display:block;
        align-self: center;
        margin-right: 15px;
    }
    .navigation_button {
        width: 100%;
        padding: 15px 0px 25px;
        right: 0;
    }

    .Treatments_container {
        display: grid;
        grid-template-columns: 1fr;
    }

    .treatment_card:nth-child(9) {
    width: 75%;
}

    .hero_container h1 {
        font-size: 2.6rem;
        align-items: flex-start;
        
    }

    .hero_container {
        transform: translateY(-30px);
    }
    .hero_container p {
        display: none;
    }

    .hero_container .cta {
        margin-top: 20px;
    }

    #about {
        text-align: center;
        padding: 0 0;
        min-height: auto;

    }

     #about .about_begin_text {
        transform: translatey(-80px);
     }

     .about_cta {
        transform: translateY(-80px);
     }

     .about_cta:hover {
        transform: translateY(-80px) scale(1.02);
    }

    #about .about_begin P {
        transform: translateY(-80px);
    }


    #about .about_begin_text h2 {
        font-size: 1.5rem;
    }

    #about .about_begin_text h3 {
        font-size: 0.8rem;
        text-align: center;
    }

    .about_cards {
        display: grid;
        grid-template-columns: 1fr;
        padding: 0;
    }

    .about_cta2 {
    text-decoration: none;
    transform: translatey(-80px);
    }


    .about_card:nth-child(2) p {
        padding-left: 95px;
    }

    .about_card:nth-child(2) img {
        padding-bottom: 0px;
        padding-left: 110px;
    }

     .about_card:nth-child(1) p {
        padding-left: 100px;
    }

    .about_card:nth-child(1) img {
        padding-left:110px;
    }

    .about_card:nth-child(3) img {
        padding-left: 105px;
    }

    .about_card:nth-child(3) .card_text {
    padding-left: 120px;
    }

    .about_card:nth-child(4) img {
        padding-left:100px;
    }

    .about_card:nth-child(4) .card_text {
        padding-left:100px;
    }

    #reviews {
        min-height: auto;
        padding: 25px;
    }

    .review_card::before {
        left: 5px;
        top: -10px;

    }

    .review_card::after {
        bottom: -40px;

    }

    .review_cards::before {
        top: 220px;

    }

    .review_cards::after {
        bottom: -140px;

    }

    .review_cards {
        padding-bottom: 30px;
    }

    #reviews .review_card{
        padding: 10px ;
        padding-right: 10px;
        padding-bottom: 35px;
    }

    #reviews .review_card p {
        font-size: 0.8rem;
        text-align: center;
    }

    #reviews .review_card span {
        font-size: 0.8rem;
    }
    
    .review_card .stars {
        transform: translateY(-10px);
    }
    
    .sophie_img {
        padding-bottom: 60px;
    }

      .contact_card {
        width: 100%;
        max-width: 320px;
        margin: 20px auto 0;
        padding: 20px;
        box-sizing: border-box;
    }

    .input_group {
        display: flex;
        flex-direction: column;
        align-items: center;   /* centres label + input */
        gap: 8px;
        width: 100%;
    }

    .input_group label {
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .input_group input,
    .input_group textarea {
        width: 150%;
        max-width: 300px;
        box-sizing: border-box;
    }

    .contact_header p {
        font-size: 1rem;
    }

    .contact_container {
        min-height: auto;
    }

    .logo h3 {
        font-size: 0.9rem;
    }
}
  

