/*====== Google Font ======*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans&family=Poppins:wght@700&display=swap');

/*====== CSS Variables ======*/
:root {
    /* Colors */
    --first-color: rgb(232, 46, 30);
    --first-color-alt: rgb(232, 46, 15);

    --body-color: #FFFFFF;
    --container-color: #f2f2f2;
    --title-color: #1B1A18;
    --text-color: #686764;
    --text-muted: #C1C1C1;

    /* Fonts & Typography */
    --body-font: "DM Sans", sans-serif;
    --title-font: "Poppins", sans-serif;
    --biggest-font-size: 1.8rem;
    --h1-font-size: 2rem;
    --h2-font-size: 1.2rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;
    --smallest-font-size: .6rem;

    /* Font Weights */
    --font-semi-bold: 700;
    --font-medium: 400;

    /* Paddings & Margins */
    --button-padding: .7rem 1.5rem;

    /* Transitions */
    --transition: .3s ease;
    --transitionLength: 0.4s;
    --transitionTiming: ease;
    /* Z Indexes */
    --z-tooltip: 10;
    --z-fixed: 100;
}

/* For Dark Theme */
@media (prefers-color-scheme: dark) {
    :root {
        /* Colors */
        --body-color: #1C1C1E;
        --container-color: #2C2C2E;
        --title-color: #FFFFFF;
        --text-color: #EBEBF5;
    }
}

/* For Larger Screens */
@media (min-width: 1024px) {
    :root {
        --biggest-font-size: 3.5rem;
        --h1-font-size: 2.5rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

/*====== Base ======*/
*,
::before,
::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

* {
    font: inherit;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--body-color);
    color: var(--text-color);
    font-family: var(--body-font);
    font-weight: var(--font-medium);
    font-size: var(--normal-font-size);
    transition: background-color var(--transition);
}

h1,
h2,
h3 {
    color: var(--title-color);
    font-family: var(--title-font);
    font-weight: var(--font-semi-bold);
}

h1 {
    font-size: var(--h1-font-size);
}

h2 {
    font-size: var(--h2-font-size);
}

h3 {
    font-size: var(--h3-font-size);
}

a {
    text-decoration: none;
    color: inherit;
}

img,
svg {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* Reusable Classes */
.grid {
    display: grid;
    gap: 1.5rem;
}

.flex {
    display: flex;
    gap: 1.5rem;
}

/* FAQ */
.faq__container {
    padding: 1.5rem;
    max-width: 767px;
    margin-inline: auto;

    /* border: 1px solid red; */
}

.faq__head {
    display: grid;
    gap: 1rem;
    place-items: center;
}

.logo {
    max-width: 4rem;
}

.faq__questions {
    padding: 1rem;
    /* border: 1px solid red; */
}

.faq {
    background-color: var(--container-color);
    border-radius: 1.5rem;
    padding: 1.5rem;
    position: relative;
}

.faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-arrow {
    font-size: 1.25rem;
    transition: transform .3s;
}

.faq:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-container {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease-out;
}

.dropdown-content {
    background: none;
    overflow: hidden;
    transition: margin .3s;
}

.faq:hover>.dropdown-container {
    grid-template-rows: 1fr;
}
.faq:hover .dropdown-content {
    margin-top: 1rem;
}