* {
    box-sizing: border-box;
}

header {
    align-items: center;
    justify-content: space-between;
    color: white;
    padding: 10px;
    background-color: black;
}

.contactheader {
    align-items: center;
    justify-content: space-between;
    color: rgb(255, 255, 255);
    padding: 10px;
    background-color: rgb(0, 0, 0);
}

.FAQheader {
    position: relative;
    background: none;

    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    padding: 10px;

    z-index: 2;
}

html, body {
    font-family:'Cormorant Garamond', serif;
    background-color: black;
    margin: 0;
    padding: 0;
    width: 100%;
}

footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    bottom: 0;
}
.contactfooter {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 10px 0;
    width: 100%;
    bottom: 0;
}

.FAQfooter {
    position: relative;
    background: none;

    color: rgb(0, 0, 0);
    text-align: center;
    padding: 10px 0;
    width: 100%;
    bottom: 0;

    z-index: 1;
}

fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

fieldset div {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

h1, h2 {
    font-family: fantasy;
    text-align: center;
}

h2 {
    color: white;

    margin-top: 10px;
    margin-bottom: 1px;
}

hr {
    width: 10%;
    margin: auto;
}

button {
    padding: 12px;
    border: none;
    border-radius: 10px;

    background: rgba(0, 0, 0, 0.6);
    color: white;

    cursor: pointer;
}

hr {
    width: 10%;
    margin: auto;
}

/* Styles the Internal navigation bar */
nav ul {
    list-style-type: none;
    padding: 30px;
    margin: 0;
    display: flex;
    justify-content: center;
}
nav ul li {
    position: relative;
    margin: 0;
}

/* vertical lines */
nav ul li::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 1px;
    background-color: white;
    right: 0;
    top: 0;
    z-index: 2;
}

nav ul li:first-child::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 1px;
    background-color: white;
    left: 0;
    top: 0;
    z-index: 2;
}

/* Button Style */
nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    padding: 10px 100px;
    border: none;
    border-radius: 5px;
    background-color: transparent;
    position: relative;
    z-index: 2;
    transition: background-color 0.3s;
    min-width: 150px; /* Set a minimum width for buttons */
    white-space: nowrap; /* Prevent text from wrapping */
    overflow: hidden;
    text-overflow: ellipsis;
}
nav ul li a:hover {
    background-color: white;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: black;
}

/* Image Style */
#Background {
    width: 100%;
    min-height: 100vh;
    position: relative;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transition: background-image 1s ease-in-out;
}
/* Gradient overlay */
#Background::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0) 50%,
            rgba(0, 0, 0, 1) 100%
    );

    pointer-events: none;
}

#AboutBack {
    width: 100%;
    min-height: 100vh;
    position: relative;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


#ContactBack {
    width: 100%;
    min-height: 100vh;
    position: relative;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Gradient overlay */
#ContactBack::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(91, 206, 250, 1) 30%,
            rgba(245, 169, 184, 1) 70%,
            rgba(255, 255, 255, 1) 100%
    );

    pointer-events: none;
}

#FAQBack {
    width: 100%;
    min-height: 100vh;
    position: relative;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Gradient overlay */
#FAQBack::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
            to bottom,
            #750787 15%,
            #004dff 30%,
            #008026 45%,
            #ffed00 60%,
            #ff8c00 75%,
            #e40303 90%
    );

    pointer-events: none;
}

#PricesBack {
    width: 100%;
    min-height: 100vh;
    position: relative;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Gradient overlay */
#PricesBack::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0) 50%,
            rgba(0, 0, 0, 1) 100%
    );

    pointer-events: none;
}


#ContactForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.Hamburger {
    display: none;
    position: relative;
    z-index: 10000;
}
.Bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

.Content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 250px;
    padding-bottom: 250px;
    gap: 110px;
}

.Home {
    position: relative;
    z-index: 2;

    flex-direction: column;
}

.Card {
    /* Padding outside the card */
    width: 50%;

    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);

    /* Padding inside the card */
    text-align: center;
    padding-block: 50px;
    padding-inline: 30px;

    border-radius: 20px;

    /* Style of the card */
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: white;

    z-index: 1;
}

.FAQCard {
    background: rgba(0, 0, 0, 0.6);
}

.AboutContent {
    max-width: 1200px;
    margin: 0 auto;

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

    position: relative;

    padding-top: 200px;
}

.AboutContent img {
    width: 550px;
    height: 750px;
    object-fit: contain;

    border-radius: 25px;
}

.AboutCard {
    overflow: hidden;

    background: linear-gradient(
            to bottom,
            #6bc7ec 0%,
            #6bc7ec 20%,

            #e8a6b6 20%,
            #e8a6b6 41%,

            #ffffff 41%,
            #ffffff 62%,

            #e8a6b6 62%,
            #e8a6b6 83%,

            #6bc7ec 83%,
            #6bc7ec 100%
    );

    width: 650px;
    min-height: 500px;

    border-radius: 30px;

    padding: 60px;
    margin-left: 50px;
    position: relative;
    z-index: 2;

    text-align: center;

    box-sizing: border-box;
}

.AboutCard h2 {
    font-size: 3rem;
    margin-bottom: 40px;
}

.AboutCard p {
    line-height: 1.8;
}

.Name {
    display: flex;
    gap: 20px;
}
.Name .Input {
    flex: 1;
}
.Input {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.Input label {
    margin-bottom: 8px;
    color: white;
}
.Input input,
.Input textarea {
    padding: 12px;
    border-radius: 10px;
    border: none;

    background: rgba(255, 255, 255, 0.1);
    color: white;

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.Input textarea {
    resize: vertical;
}

.Prices {
    display: flex;
    flex-direction: column;
    gap: 14px;

    margin-bottom: 70px;
}
.Price {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    justify-content: space-between;
    align-items: center;

    padding: 18px 24px;

    border-radius: 16px;

    background: rgba(255,255,255,.03);
}
.Time {
    font-weight: 500;
}
.Cost {
    color: #d8b36a;

    font-weight: 600;
}

.FAQItem {
    padding: 30px 0;

    border-bottom:
            1px solid rgba(255,255,255,.08);
}
.FAQItem:last-child{
    border-bottom:none;
}
.FAQItem h3{
    font-family: 'Playfair Display', serif;

    font-size: 1.5rem;

    margin-bottom: 18px;

    color: #ffffff;
}
.FAQItem p {
    line-height: 1.9;

    color: #d7d7d7;

    font-size: 1.05rem;
}

.LeftText {
    text-align: left;
}

.Buttons {
    display: flex;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.Buttons a {
    display: inline-block;

    padding: 15px 30px;

    background: rgba(255, 255, 255, 0.5);
    color: black;

    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;

    border-radius: 50px;

    transition: all 0.3s ease;
}

.Buttons a:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.Buttons a:active {
    transform: translateY(0);
}

/* Collapse the internal navigation into a hamburger menu on mobile devices */
@media only screen and (max-width: 1500px) {
    header {
        display: flex;
    }

    .NavLinks {
        position: fixed;
        inset: 0; /* full screen */

        flex-direction: column;
        justify-content: center;
        align-items: center;

        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);

        width: 100%;
        height: 100vh;

        left: -100%;
        transition: 0.3s ease-in-out;

        z-index: 9999;
    }

    .NavLinks.active {
        left: 0;
    }

    .NavLinks li {
        margin: 2rem 0;
    }

    .NavLinks li a {
        font-size: 24px;
        color: white;
    }

    .Hamburger {
        display: block;
        cursor: pointer;
    }

    .Hamburger.active .Bar:nth-child(2) {
        opacity: 0;
    }
    .Hamburger.active .Bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .Hamburger.active .Bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    nav ul {
        padding: 0;
        margin: 0;
    }

    /* disable the Vertical lines */
    nav ul li::after {
        display: none;
    }

    nav ul li:first-child::before {
        display: none;
    }
}

@media only screen and (max-width: 1250px) {
    .AboutContent {
        flex-direction: column-reverse;
        padding-top: 100px;
    }

    .AboutCard {
        width: 80%;
        margin-left: 0;
        margin-bottom: 30px;
        padding: 40px;
    }

    .AboutContent img {
        width: 80%;
        height: auto;
    }

    .Content {
        padding-top: 100px;
        padding-bottom: 100px;
        gap: 30px;
    }

    .Card {
        width: 100%;
        border-radius: 0;
        padding-inline: 20px;
    }
}

/* Adjust the form layout at low resolutions */
@media only screen and (max-width: 850px) {
    #Background {
        background-size: auto;
        background-position: top center;
    }

    #Background::after {
        background: none !important;
        display: none !important;
    }

    .FAQCard {
        background: rgba(0, 0, 0, 0.2);
    }

    .AboutCard {
        width: 100%;
    }

    .AboutContent img {
        width: 100%;
    }

    .Name {
        display: block;
    }

    .Name .Input {
        margin-bottom: 15px;
    }

    .Name .Input:last-child {
        margin-bottom: 0;
    }
}