/* Universal styles */

* {
    padding: 0;
    margin: 0;
    box-sizing: content-box;
}

html {
    font-family: Montserrat, Arial;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: black;
}

a:hover {
    cursor: pointer;
    color: blue;
}




/* header styles */

header {

    width: 65vw;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;


}

/* Style the hamburger menu */
.icon {
    background: rgb(126, 126, 126);
    display: none;


}

.nav-list {
    display: flex;
    justify-content: space-around;
}


.logo {
    width: 15%;
    height: auto;
    min-width: 150px;
}


.nav-list li {
    display: inline;
    list-style-type: none;
    padding: 0.8rem;
    font-size: 1rem;
}

/* The dropdown container */
.dropdown {
    /* overflow: hidden; */
    display: inline;

}

/* Dropdown button */
.dropdown .dropbtn {
    font-size: 1rem;
    border: none;
    outline: none;
    color: black;
    padding: 0;
    background-color: inherit;
    font-family: inherit;

    /* Important for vertical align on mobile phones */
    margin: 0;
    /* Important for vertical align on mobile phones */

}

/* Add a red background color to navbar links on hover */
.navbar a:hover,
.dropdown:hover .dropbtn {
    color: blue;
    cursor: pointer;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    color: black;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    float: none;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
    background-color: gray;
    color: white;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}


.mobile-nav-list {
    display: none;
}

/* Mobile Styles */
@media only screen and (max-width: 567px) {
    header {
        width: 80vw;

        display: flex;
        flex-direction: column;
        justify-content: end;

    }

    nav {
        margin-left: 1rem;

    }


    .logo {
        min-width: 250px;

    }

    .dropdown .dropbtn {
        font-size: 0.5rem;
    }

    .icon {
        background: white;
        display: inline;
        font-size: 1.5rem;
        padding: 0.5rem;
        color: rgb(126, 126, 126);
        position: relative;
        right: 4px;


    }



    .icon:hover {
        color: rgb(126, 126, 126);
    }

    .nav-list {
        display: none;
    }

    .mobile-nav-list {
        width: 100vw;
        margin: 0 auto;
    }


    .mobile-nav-list a {
        display: block;
        width: 100vw;
        padding: 10px;
        line-height: 2;
        color: white;
        background-color: rgb(126, 126, 126);
        border-bottom: 1px solid white;
    }

    .mobile-nav-list a:hover {
        background-color: black;

    }


}

@media only screen and (min-width: 567px) and (max-width: 629px) {
    #desk-nav li {
        padding: 0.1rem;
        font-size: 0.7rem;
    }
}

/* Tablet Styles */

@media only screen and (min-width: 780px) and (max-width: 1100px) {
    header {
        width: 80vw;
    }

    nav {
        margin-left: 1rem;
    }

    .nav-list li {
        padding: 0.3rem;
        font-size: 1rem;
        margin-left: 10px;
    }

    .mobile-nav-list {
        display: none;
        color: white;
    }

    .logo {
        min-width: 150px;
    }

    .dropdown .dropbtn {
        font-size: 1rem;
    }
}

@media only screen and (min-width:451px) and (max-width: 780px) {
    .nav-list li {
        padding: 0.2rem;
        font-size: 0.8rem;
        margin-left: 10px;
    }

    .mobile-nav-list {
        display: none;
    }

    header {
        width: 80vw;
    }

    .dropdown .dropbtn {
        font-size: 0.8rem;
    }
}




/* main styles */

main {
    width: 100vw;

}

.section-container {
    width: 100vw;
    height: 65vh;
    background-color: black;
    margin: 0 auto;
    position: relative;
    z-index: 2;



}

.intro {

    width: 100vw;
    background: url("../media/liverpoolv4.png");
    /* opacity: 0.5; */
    background-repeat: no-repeat;
    background-size: cover;
    height: 65vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;




}

.intro-design {

    width: 100vw;
    background: url("../media/Drawing1_opaqueV3.png");
    background-repeat: no-repeat;
    background-size: cover;
    height: 65vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;


}

.intro-surveys {

    width: 100vw;
    background: url("../media/main_opaquev2.png");
    background-repeat: no-repeat;
    background-size: cover;
    height: 65vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;



}

.section-container-contact {
    width: 100vw;
    height: 30vh;
    background-color: black;
    margin: 0 auto;



}

.intro-container-contact {

    width: 100vw;
    height: 30vh;
    background: url("../media/main_opaque.png");
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;


}

.intro-container-contact h1 {
    color: white;
    font-size: 3rem;

}

.intro-container-contact a:hover {
    color: blue;
}




.text-container {
    width: 66vw;
    margin: 0 auto;

}

.main-text {
    width: 66vw;
    margin: 0 auto;
    position: relative;
    top: -50vh;


}

.intro h1,
.intro-design h1,
.intro-surveys h1 {
    color: white;
    font-size: 3rem;
    text-align: center;

}

.intro p,
.intro-design p,
.intro-surveys p {
    color: white;
    font-size: 1.5rem;
    text-align: center;
}

.main-button {
    padding: 1rem;
    border-radius: 10px;
    margin-top: 5rem;
    text-align: center;
    border: none;
    font-family: Montserrat, Arial;
}

.main-button:hover {
    background-color: gray;
    color: white;
    cursor: pointer;
}


.map-container .design-list {
    list-style-type: none;
}

.map-container {
    margin: 0 auto;
    width: 66vw;
    display: flex;
    justify-content:space-evenly;
    align-items: center;
    color: rgba(44, 44, 44, 0.753);

}

.map {
    border-radius: 20px;
    margin-left: 18px;
}

.design-list li {
    color: rgba(44, 44, 44, 0.753);
}


#where {
    margin-top: -3rem;
}

/* Mobile Styles */
@media only screen and (max-height: 380px) {
    .main-button {
        margin-top: 2rem;
    }
}

@media only screen and (max-width: 450px) {

    .section-container,
    .intro,
    .intro-design,
    .intro-surveys {
        width: 100vw;
        height: 90vh;
    }


    .map,
    .mobile-nomap {
        display: none;
    }

    .map-container .design-list {
        list-style-type: disc;
    }

    .map-container {
        margin: 0 auto;
        width: 88vw;
        display: flex;
        justify-content: space-evenly;
        align-items: center;


    }


    /* mobile image for design page */
    .intro-design {
        background: url("../media/mobile_design2v2.png");

    }

    .intro {
        background: url("../media/liverpool_more_opaque_mobile.png");
    }

    #title {
        font-size: 1.8rem;
        text-align: center;
    }

    #intro-p {
        font-size: 1rem;
        text-align: center;
    }

    .main-button {
        padding: 0.8rem;
        font-size: 0.7rem;
        position: relative;
        left: 8px;

    }

    .text-container {
        width: 90vw;
        margin: 0 auto;

    }

    .main-text {
        width: 90vw;
        margin: 0 auto;
        position: relative;
        top: -50vh;


    }

    #reviews h1 {
        text-align: left;
    }

}

/* Tablet Styles */

@media only screen and (min-width: 781px) and (max-width: 936px) {


    #title {
        font-size: 2rem;
        text-align: center;
    }

    #intro-p {
        font-size: 1rem;
        text-align: center;
    }

    .main-button {
        padding: 0.7rem;

    }

    .text-container {
        width: 80vw;

    }

    .map,
    .mobile-nomap {
        display: none;
    }

    .map-container .design-list {
        list-style-type: disc;
    }

    .map-container {
        margin: 0 auto;
        width: 90vw;
        display: flex;
        justify-content: space-evenly;
        /* align-items: center; */

    }


}

/*Small Tablet Styles */

@media only screen and (min-width:451px) and (max-width: 936px) {

    .section-container,
    .intro,
    .intro-design,
    .intro-surveys {
        width: 100vw;
        height: 75vh;
    }

    #title {
        font-size: 2rem;
        text-align: center;
    }

    #intro-p {
        font-size: 1rem;
        text-align: center;
    }

    .main-button {
        padding: 0.7rem;

    }

    .map,
    .mobile-nomap {
        display: none;
    }

    .map-container .design-list {
        list-style-type: disc;
    }

    .map-container {
        margin: 0 auto;
        width: 90vw;
        display: flex;
        justify-content: space-evenly;
        /* align-items: center; */

    }

}

@media only screen and (min-width: 936px) and (max-width: 1200px) {

    .map,
    .mobile-nomap {
        display: none;
    }

    .map-container .design-list {
        list-style-type: disc;
    }

    .map-container {
        margin: 0 auto;
        width: 66vw;
        display: flex;
        justify-content: space-evenly;
        /* align-items: center; */

    }
}

@media only screen and (min-width: 1200px) {
    .map {
        width: 50vw;
    }
}


.who {
    width: 66vw;
    margin: 4rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: space-between; */
}

.who p {
    line-height: 2;
}



.design-list {

    margin: 0 0 20px 20px;

}


.design-list li {
    margin-bottom: 15px;
    font-weight: bold;

}

.img {
    width: 60%;
    height: auto;
}

.about-container {
    width: 66vw;
    margin-bottom: 20px;

}

.about-container h2 {
    text-align: center;
    color: rgb(44, 44, 44);
}

.img-container {
    display: flex;
    justify-content: center;
    width: 66vw;
}

.form {
    margin: 25px auto 20px; /* Simplified margin property */
    width: 50vw;
    max-width: 600px; /* Added max-width for better responsiveness */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: Montserrat, Arial, sans-serif; /* Added sans-serif for fallback */
    background-color: rgb(231, 229, 229);
    border-radius: 20px;
    padding: 20px; /* Added padding for better spacing */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.form-submit {
    width: 100%; /* Full width for consistency */
    flex-grow: 1; /* Allow it to grow and occupy available space */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0; /* Removed margin for better centering */
    text-align: center;
}

.fcf-form-class {
    width: 75%; /* Maintain the width */
    height: auto; /* Set height to auto to accommodate content without scroll */
}

.fcf-form-control {
    width: 100%;
    padding: 10px; /* Consistent padding */
    margin-top: 20px;
    border-radius: 5px;
    border: 1px solid #ccc; /* Added border for better visibility */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle inner shadow */
    font-family: inherit; /* Use inherited font-family */
}

#fcf-button {
    width: 100%;
    border-radius: 10px;
    margin-top: 20px;
    padding: 10px;
    font-family: inherit; /* Inherit font-family */
    background-color: var(--background-color, gray); /* Added a fallback color */
    color: white;
    border: none; /* Removed default border */
    cursor: pointer; /* Ensure pointer on hover */
    transition: background-color 0.3s, transform 0.1s; /* Smooth transition effects */
}

#fcf-button:hover {
    background-color: #555; /* Darker color for hover effect */
}

#fcf-button:active {
    transform: translateY(2px); /* Use transform for a smoother effect */
}

.form h2 {
    margin-top: 15px;
    font-size: 1.5rem; /* Set a suitable font size */
    color: var(--primary-color, black); /* Added fallback color */
}

.section-container-contact i {
    font-size: 2rem;
    color: white;
}

.phone,
.email {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 10vw;
}

.phone a,
.email a {
    color: white;
}

.top-contact {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.phone {
    margin-bottom: 20px;
}

.title {
    margin-right: -20px;
}

#reviews {
    margin-top: -3rem;
    width: 70vw;
    margin: 0 auto;
}



/* Mobile Styles */
@media only screen and (max-width: 450px) {
    .who {
        display: flex;
        flex-direction: column;
        width: 80vw;
        margin-bottom: 2rem;

    }

    .img {
        width: 80vw;
        height: auto;
    }

    .about-container {
        width: 80vw;

    }

    .two {
        display: none;
    }

    .img {
        margin-top: 3rem;
    }

    #reviews {
        width: 65vw;
        margin: 0 auto;
    }

    .about-container h2 {
        text-align: left;
    }

    .section-container-contact i {
        font-size: 1.5rem;
        color: white;
    }

    .section-container-contact h1 {
        font-size: 1.5rem;
        color: white;
    }

    .section-container-contact,
    .intro-container-contact {
        height: 30vh;
    }

    .top-contact {
        flex-direction: column;
        margin-right: -15px;

    }


    .phone {
        margin-bottom: 15px;

    }

    .form {
        width: 80vw;
    }

    .fcf-form-class {
        width: 66vw;
        height: 380px;
    }

    .fcf-form-control {
        width: 100%;
        padding: 8px 0 10px 0;
        margin-top: 20px;
        border-radius: 5px;
        text-align: left;
        font-family: Montserrat, Arial;
    }

    #fcf-button {

        width: 100%;
        border-radius: 10px;
        margin-top: 20px;
        padding: 10px 0 10px 0;
        font-family: Montserrat, Arial;

    }

    .form-submit {
        width: 80vw;
        height: 55vh;

    }
}

/* Tablet Styles */
@media only screen and (min-width: 912px) and (max-width: 1100px) {
    .who {
        display: flex;
        flex-direction: column;
        width: 80vw;
        margin-bottom: 2rem;

    }

    .img {
        width: 80vw;
        height: auto;
    }

    .about-container {
        width: 80vw;

    }

    .two {
        display: none;
    }

    .img {
        margin-top: 3rem;
    }

    .section-container-contact i,
    .section-container-contact h1 {
        font-size: 2rem;
        color: white;
    }

    .section-container-contact p {
        font-size: 1rem;
    }

    .section-container-contact,
    .intro-container-contact {
        height: 30vh;
    }

    .top-contact {
        flex-direction: column;
        margin-right: -20px;
    }

    .phone {
        margin-bottom: 15px;
    }

    .form {
        width: 90vw;
    }

    .fcf-form-class {
        width: 66vw;
        height: 380px;
    }

    .fcf-form-control {
        width: 100%;
        padding: 8px 0 10px 0;
        margin-top: 20px;
        border-radius: 5px;
        text-align: left;
        font-family: Montserrat, Arial;
    }

    #fcf-button {

        width: 100%;
        border-radius: 10px;
        margin-top: 20px;
        padding: 10px 0 10px 0;
        font-family: Montserrat, Arial;

    }

    .form-submit {
        width: 80vw;
        height: 67vh;

    }
}



/* Small Tablet Styles */
@media only screen and (min-width: 451px) and (max-width: 912px) {
    .who {
        display: flex;
        flex-direction: column;
        width: 80vw;
        margin-bottom: 2rem;

    }

    .img {
        width: 80vw;
        height: auto;
    }

    .about-container {
        width: 80vw;

    }

    .two {
        display: none;
    }

    .img {
        margin-top: 3rem;
    }

    .section-container-contact i,
    .section-container-contact h1 {
        font-size: 2rem;
        color: white;
    }

    .section-container-contact p {
        font-size: 1rem;
    }

    .section-container-contact,
    .intro-container-contact {
        height: 30vh;
    }

    .top-contact {
        flex-direction: column;
        margin-right: -20px;
    }

    .phone {
        margin-bottom: 15px;
    }

    .form {
        width: 90vw;
    }

    .fcf-form-class {
        width: 66vw;
        height: 380px;
    }

    .fcf-form-control {
        width: 100%;
        padding: 8px 0 10px 0;
        margin-top: 20px;
        border-radius: 5px;
        text-align: left;
        font-family: Montserrat, Arial;
    }

    #fcf-button {

        width: 100%;
        border-radius: 10px;
        margin-top: 20px;
        padding: 10px 0 10px 0;
        font-family: Montserrat, Arial;

    }
}

/* Height less than 610px */

@media only screen and (max-height: 610px) {

    .section-container-contact,
    .intro-container-contact {
        height: 60vh;
    }

    #reviews {
        width: 70vw;
        margin: 0 auto;
    }
}

@media only screen and (min-width: 1100px) and (max-height: 800px) {
    .fcf-form-class {
        width: 75%;
        height: 55vh;
    }

}

/* Footer Styles */

footer {
    width: 100%;
    background-color: rgb(126, 126, 126);
    height: 18vh; /* Consider replacing with min-height for responsiveness */
    color: white;
    display: flex; /* Added flex for better alignment */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    padding: 20px 0; /* Added padding for better spacing */
}

footer a {
    color: white;
    transition: color 0.3s; /* Smooth transition for hover effect */
}

.f-container {
    width: 66vw;
    max-width: 1200px; /* Added max-width for larger screens */
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Changed to space-between for balanced spacing */
    align-items: center;
}

.socials {
    display: flex;
    justify-content: center;
    width: 100%; /* Full width for better alignment */
    margin-top: 10px; /* Slight margin for separation */
}

.socials a {
    padding: 10px; /* Added padding for a larger clickable area */
    font-size: 30px; /* Increased font size for clarity */
    width: 30px;
    height: 30px; /* Set explicit height for consistent sizing */
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2); /* Subtle background on icons */
    display: flex; /* Use flex to center icons */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    transition: background-color 0.3s; /* Smooth background transition */
}

.socials a:hover {
    color: blue;
    background-color: rgba(255, 255, 255, 0.3); /* Brighten background on hover */
}

/* .footer-contact {
    padding: 7px 0 7px 0;
} */

/* Mobile Styles */
@media only screen and (max-width: 450px) {
    .f-container {
        width: 80%;

    }

    footer {
        height: 25vh;
    }

    .socials a {
        margin-left: 0.5rem;
    }
}

@media only screen and (min-width: 451px) and (max-width: 1100px) {
    footer {
        height: 25vh;
    }
}

@media only screen and (max-height: 550px) {
    footer {
        height: 200px;
    }
}

/* Preloader Styles */
#preloader {
    position: fixed; /* Stay in place */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(126, 126, 126); /* Background color */
    display: flex;
    justify-content: center; /* Center the loader */
    align-items: center; /* Center the loader */
    z-index: 9999; /* Ensure it’s above all other content */
}

.loader {
    border: 8px solid rgba(255, 255, 255, 0.1); /* Light border */
    border-top: 8px solid white; /* Top border color */
    border-radius: 50%; /* Circular shape */
    width: 50px; /* Width of the loader */
    height: 50px; /* Height of the loader */
    animation: spin 1s linear infinite; /* Spinning animation */
}

/* Spin animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}