html {
    scroll-behavior: smooth;
}

body {
    box-sizing: border-box;
    font-family: "Poppins";
    scroll-behavior: smooth;
    margin: 0;
    background-color: #fcfcfc;
}

a {
    text-decoration: none;
}

ol,
ul,
menu {
    list-style: none;
}

:root {
    /* transition */
    --transition-1: 0.15s ease;
    --transition-2: 0.35s ease;
    --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
    --cubic-out: cubic-bezier(0.33, 0.85, 0.56, 1.02);
}

/* ------------------
CONTACT DESIGN
----------------- */

#contactus {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px 64px;
    margin-top: 100px;
}

#contactus h2 {
    font-size: 24px;
    /* margin: 0; */
}

#contactus dt {
    font-weight: 600;
}

#details-list {
    display: flex;
    flex-direction: column;
    gap: 36px;
    justify-content: space-between;
    width: 100%;
}

#details-list__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: right;
}

#co1-grid {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#co1-container {
    width: 100%;
}


/* ------------------
FAQs DESIGN
----------------- */

#faqs {
    padding: 80px 64px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

#faqs h2 {
    margin: 0;
}

.accordion__item {
    margin: 15px 0;
    border-bottom: 1px solid #e7ecf1;
    padding-bottom: 10px;
    height: fit-content;
}

.accordion__item h2 {
    margin-bottom: 0;
}

.accordion__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "poppins";
    width: 100%;
    text-align: left;
    font-weight: 600;
    border: none;
    background: transparent;
    color: black;
    padding: 0;
    /* font-size: 0.875rem; */
    font-size: 16px;
    margin-bottom: 1rem;
    cursor: pointer;
}

.accordion__question::after {
    content: "";
    display: inline-block;
    font-weight: 600;
    font-size: 16px;
    /* width: 0.625rem; */
    /* height: 0.5rem; */
    width: 20px;
    height: 20px;
    background-image: url(CaretDown.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    transition: transform 300ms ease-in-out;
}

.accordion__question.open {
    font-weight: 600;
    color: #C31315;
}

.accordion__question.open::after {
    transform: rotate(180deg);
}

.accordion__content {
    /* font-size: 0.75rem; */
    font-size: 15px;
    color: #555;
    width: 90%;
    height: fit-content;
    transition: height 300ms ease;
    /* line-height: 1.4; */
    /* padding: 20px; */
    /* padding: 1rem; */
}

.accordion__content.open {
    display: block;
    padding-bottom: 10px;
    transition: height 300ms ease;
}

.accordion__collapse {
    /* display: none; */
    height: 0;
    overflow: hidden;
    transition: height 300ms ease;
}

.accordion__collapse.collapse {
    display: none;
    transition: height 300ms ease;
}

.accordion__collapse.collapsing {
    height: 0;
    overflow: hidden;
    transition: height 300ms ease;
}

.accordion__collapse.open {
    display: block;
    transition: height 300ms ease;
    height: auto;
    overflow: visible;
}



/* ------------------
RESPONSIVE STYLES
----------------- */

/* Tablet & Small Screens */
@media (max-width: 1024px) {
    #contactus {
        flex-direction: column;
        text-align: center;
        padding: 20px 32px;
        gap: 30px;
    }

    #details-list {
        align-items: center;
        text-align: center;
    }

    #details-list__item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    #co1-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    #faqs {
        padding: 60px 24px;
    }

    /* .accordion__question {
        font-size: 15px;
    }

    .accordion__question::after {
        width: 18px;
        height: 18px;
    } */
}

/* Mobile Devices */
@media (max-width: 768px) {
    #contactus {
        padding: 20px 16px;
        margin-top: 60px;
    }

    #contactus h2 {
        font-size: 20px;
        margin-top: 60px;
    }

    #details-list {
        width: 100%;
        gap: 24px;
    }

    #details-list__item {
        justify-content: center;
    }

    #co1-grid {
        gap: 20px;
    }

    #faqs {
        padding: 50px 24px;
    }

    /* .accordion__item {
        margin: 10px 0;
    }

    .accordion__question {
        font-size: 14px;
    }

    .accordion__question::after {
        width: 16px;
        height: 16px;
    }

    .accordion__content {
        width: 100%;
    } */
}

@media (min-width: 600px) {
    iframe {
        width: 600px;
        height: 300px;
    }
}

@media (max-width: 600px) {
    iframe {
        width: 100%;
        height: 300px;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .contact iframe {
        width: 300px;
        height: 300px;
    }

    #contactus {
        text-align: center;
        margin-top: 40px;
        padding: 16px;
    }

    #contactus h2 {
        font-size: 18px;
    }

    #details-list {
        gap: 16px;
    }

    #details-list__item {
        flex-direction: column;
        text-align: center;
    }

    #co1-grid {
        flex-direction: column;
    }

    #faqs {
        padding: 60px 24px;
    }
}

@media (min-width: 56em) {
    .accordion__item {
        margin: 25px 0px;
        padding: 0px 0px 10px 0px;
    }

    /* .accordion .accordion__item h2 {
        padding: 10px 0;
    } */

    img.accordion__icon {
        margin: 0 10px;
    }

    .accordion__question {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0.8rem;
        margin-right: 10px;
        /* font-size: 1.0625rem; */
        /* font-weight: 400; */
    }

    /* .accordion__question:hover {
        color: var(--Soft-red);
    } */

    .accordion__question::after {
        margin: 0 20px;
    }
}


@media (min-width: 1440px) {

    .container,
    #contactus,
    #faqs,
    .product-details,
    .products,
    .services-section,
    .hero,
    .footer-content,
    .copyright,
    .filter-section {
        padding-left: 120px;
        padding-right: 120px;
    }
}