@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0");
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fjalla+One&family=Geologica:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Playwrite+DE+Grund:wght@100..400&family=Space+Grotesk:wght@300..700&family=Ubuntu+Condensed&display=swap");

* {
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
    /* font-family: "Nunito", sans-serif; */
    /* font-family: "Lato", sans-serif; */
    font-family: "Noto Sans", sans-serif;
}

main {
    margin-top: 70px;
}

:root {
    --color-bg: #ffffff;
    --font-size: 10px;
    --color-darkblue: #b0e0e6;
    --color-light: #66cdaa;
    --font-family: "Noto Sans", sans-serif;
    --font-white: #ffffff;
    --color-black: #000000;
    --maximum-yellow-red: hsl(168, 72%, 51%);
    --french-rose: hsl(248, 80%, 75%);
    --transition: 0.25s ease-in-out;
    --clr-primary: hsl(20, 80%, 60%);
    --clr-primary-hover: hsl(20, 80%, 65%);
    --transition1: 0.5s ease;
    --royal-blue-dark: hsl(231, 61%, 22%);
    --silver-chalice: hsl(0, 0%, 70%);
    --oxford-blue: hsl(231, 100%, 8%);
    --bittersweet: hsl(215, 100%, 69%);
    --davys-gray: hsl(180, 3%, 28%);
    --cool-gray: hsl(240, 13%, 62%);
    --platinum: hsl(0, 0%, 92%);
    --white-2: hsl(0, 0%, 98%);
    --white: hsl(0, 0%, 100%);
    --black: hsl(0, 0%, 0%);
    --rythm: hsl(240, 9%, 53%);

    /**
       * typography
       */

    --ff-poppins: "Poppins", sans-sarif;
    --fs-1: 32px;
    --fs-2: 26px;
    --fs-3: 22px;
    --fs-4: 18px;
    --fs-5: 15px;
    --fs-6: 14px;
    --fw-700: 700;
    --fw-600: 600;
    --fw-500: 500;
    --transition: 0.25s ease-in-out;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg) !important;
    font-size: 62.5%;
}

/* Grid layout */
.main-container {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    /* Header, content, footer */
    grid-template-columns: 1fr;
    /* Single column layout */
    min-height: 100vh;
    /* Ensure full viewport height */
}

.title {
    color: var(--font-white);
    margin: 3rem;
}

.title h1 {
    font-size: 3rem;
}

/* -----------------------form  popup styling ------------------------------- */

.enquiry-popup {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

button:focus {
    outline: none !important;
}

.enquiry-popup-content {
    background-color: hsl(206deg 96.5% 89.79%);
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 60%;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#formHeading {
    text-align: center;
    margin-bottom: 25px;
    color: darkblue;
    text-transform: uppercase;
    font-size: 25px;
}

.close {
    color: #000;
    font-size: 30px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

input[type="submit"] {
    background-color: var(--color-bg);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: var(--color-darkblue);
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 1rem;
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #817171;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 1rem;
}

input[type="file"] {
    display: block;
    margin-bottom: 10px;
    color: red;
}

input[type="submit"] {
    background-color: var(--color-bg);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.enquiry-popup-content p {
    font-size: 0.8rem;
    color: #666;
}

@media screen and (max-width: 650px) {
    .enquiry-popup-content {
        margin: 34% auto;
        width: 73%;
    }
}

/* scroll to top behaviour  */

.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.scroll_to_top_btn {
    position: fixed;
    bottom: 1%;
    background-color: #434343;
    border-radius: 50%;
    padding: 10px;
    right: 2%;
    font-size: 0px;
    z-index: 11;
}

.scroll_to_top_btn:hover {
    background-color: var(--color-darkblue);
}

.scroll_to_top_btn span {
    color: #ffffff;
}

/*----------------------------FAQ SECTION-------------------------------------*/

.faq-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    width: 100%;
    height: auto;
}

.inner-faq-container {
    width: 40%;
    padding: 3rem;
}

.inner-faq-container h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    display: inline-block;
    position: relative;
}

.inner-faq-container h2::before {
    content: "";
    display: block;
    width: 150%;
    height: 3px;
    background-color: #4ebdff;
    position: absolute;
    bottom: -6px;
    left: 0;
}

.inner-faq-container h2::after {
    content: "";
    display: block;
    width: 3rem;
    height: 3rem;
    border-bottom: 3px dotted #4ebdff;
    position: absolute;
    bottom: -6px;
    left: 35px;
    margin-left: 100px;
}

.inner-faq-container p {
    font-weight: 600;
    font-size: 13px;
}

.inner-faq-container a {
    text-decoration: underline;
    color: #4ebdff;
    font-size: 13px;
}

.inner-faq-container a:hover {
    text-decoration: underline;
    color: #4ebdff;
}

.inner-faq-components {
    width: 60%;
}

.faq-card {
    padding: 1rem 2rem;
    margin-bottom: 1rem;
    list-style: none;
    position: relative;
    cursor: pointer;
}

.faq-card::before {
    content: "";
    display: block;
    width: 80%;
    height: 2px;
    background-color: #d3d3d3;
    position: absolute;
    bottom: -6px;
    left: 2rem;
}

.faq-card summary {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
}

.faq-open-icon {
    font-size: 1.5rem;
    position: absolute;
    top: 1rem;
    right: 2.5rem;
    font-weight: bold;
}

details[open] .faq-open-icon {
    top: 1.5rem;
    right: 2rem;
}

details > summary {
    list-style: none;
}

details > summary::-webkit-details-marker {
    display: none;
}

details[open] summary {
    color: #4ebdff;
    font-weight: 600;
}

details[open] .faq-card-spoiler {
    display: inline-block;
    padding-top: 0.5rem;
    color: #000;
    font-size: 0.9rem;
}

.faq-aftertext {
    text-align: center;
    color: #e8e8ea;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .inner-faq-container {
        width: 40%;
        padding: 1.5rem;
    }

    .inner-faq-container h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .inner-faq-container h2::before {
        width: 130%;
    }

    .inner-faq-container h2::after {
        left: 5px;
    }

    .inner-faq-container p {
        font-size: 1rem;
    }

    .faq-card {
        padding: 1rem 1rem;
        margin-bottom: 0rem;
    }

    .faq-card::before {
        width: 70%;
        left: 1rem;
    }

    .faq-card summary {
        font-size: 0.9rem;
        margin-right: 2.5rem;
    }

    .faq-open-icon {
        font-size: 1rem;
    }

    details[open] summary {
        font-size: 0.8rem;
    }

    details[open] .faq-card-spoiler {
        font-size: 0.7rem;
        margin-right: 3rem;
    }

    details[open] .faq-open-icon {
        top: 1rem;
    }
}

@media (max-width: 425px) {
    .faq-container {
        flex-direction: column;
        height: 100vh;
    }

    .inner-faq-container {
        width: 100%;
        padding: 3rem;
        margin-top: -4rem;
    }

    .inner-faq-components {
        width: 100%;
        margin-left: 1rem;
    }
}
