/* FIRST SECTION */
.support-hero {
    display: flex;
    flex-direction: column;
    justify-content: end;
    width: auto;
    height: 100vh;
    position: relative;
    background-color: black;
}

.support-text {
    display: flex;
    flex-direction: column;
    justify-content: end;
    text-align: center;
    padding: 8rem 2rem;
    filter: drop-shadow(0 0 4px black);
    gap: 2rem;
    z-index: 5;
    span {
        font-style: italic;
    }
}

.hero-img {
    position: absolute;
    width: 100%;
    outline: 2px dotted white;
    mask-image: linear-gradient(to bottom,
    rgba(0,0,0,1) 35%,
    rgba(0,0,0,0)); 
    z-index: 1;
    video {
        object-fit: cover;
        height: 100vh;
        width: 100%;
    }
    img{
        object-fit: cover;
        height: 100vh;
        width: 100vw;
    }
}

/* SECOND SECTION */
.faq-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 2rem;
    text-align: center;
    h3 {
        color: black;
    }
}
.faq-subtext {
    span {
        font-style: italic;
    }
}
.faq-section {
    display: grid;
    grid-template-columns: 200px 2px 1fr;
    align-items: center;
    max-width: 1320px;
    width: 100%;
    margin-top: 4rem;
    line-height: 1.2;
    gap: 2rem;
    h4 {
        font-weight: 600;
        color: var(--orange);
    }
}

.line {
    background-color: gray;
    outline: 1px solid gray;
    height: 100%;
}

.queries {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%;
    gap: 2rem;
    summary {
        font-size: 25px;
        transition: color 0.2s ease-in-out;
    }
    summary:hover {
        color: var(--orange);
    }
    details[open] > summary:first-of-type {
        font-weight: bold;
        color: var(--orange);
    }
    summary::marker {
        color: var(--orange);
    }
}

.answers {
    ul{
        margin: 0;
    }
    li {
        font-size: 20px;
    }
}

.contactus-wrapper {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 2rem 1rem;
    background-color: var(--blue);
    gap: 1rem;
    p {
        color: white;
    }
    span {
        font-weight: bold;
    }
    .btn2 {
        font-size: 25px;
        font-weight: bold;
        text-decoration: none;
        color: white;
        background-color: var(--orange);
        padding: 0.5rem 4rem;
        border-radius: 100px;
        transition: all 0.2s ease-in-out;
    }    
    .btn2:hover {
        color: var(--orange);
        background-color: white;
    }
}

/* THIRD SECTION */
.featured-articles {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 1rem;
    background-color: var(--gray);
    gap: 2rem;
    h3 {
        color: black;
    }
}

.article-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.article {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
    gap: 2rem;
    background-color: white;
    border-radius: 20px;
    max-width: 430px;
    flex: 1;
    p {
        font-weight: bold;
        margin: 0;
    }
    img {
        
        width: clamp(90px, 80vw, 400px);
    }
    a {
        font-size: 20px;
        font-weight: 600;
        text-decoration: none;
        color: var(--orange);
        outline: 1px solid var(--orange);
        border-radius: 100px;
        padding: 0 2rem;
        transition: all 0.2s ease-in-out;
    }
    a:hover {
        color: white;
        background-color: var(--orange);
    }
}

/* FORTH SECTION */
.subscribe-wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 4rem 2rem;
    background-color: var(--blue);
}

.subscribe-text {
    text-align: center;
    color: white;
    span {
        font-weight: bold;
    }
}

.subscribe {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.form-control {
    font-size: 20px;
    background: white;
    border: none;
    padding: 0.8rem 1rem;
    width: 100%;
    color: #1E1E1E;
    box-sizing: border-box;
    field-sizing: content;
  }
  .form-control:focus {
    color: black;
  }

.submit-btn {
    font-size: 25px;
    color: var(--orange);
    background-color: white;
    padding: 0.5rem 2rem;
    width: 100%;
    border-radius: 100px;
    border: none;
    transition: all 0.2s ease-in-out;
}

.submit-btn:hover {
    color:white;
    background-color: var(--orange);
}

@media (max-width: 940px) {
    .faq-section {
        grid-template-columns: 100px 1px 1fr;
        margin-top: 2rem;
        gap: 1rem;
    }
    .queries {
        summary {
            font-size: 20px;
        }
    }
    .answers {
        li {
            font-size: 18px;
        }
    }
    .contactus-wrapper {
        .btn2 {
            font-size: 18px;
        }
    }
    .submit-btn {
        font-size: 20px;
        padding: 0.5rem 1rem;
        max-width: 300px;
    }
    .form-control {
        font-size: 18px;
        padding: 0.5rem 1rem;
    }
    .form-control {
        font-size: 18px;
        max-width: 300px;
    }
    .subscribe-wrap {
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 1rem;
    }
    .subscribe-text {
        margin: 0;
    }
    .subscribe {
        gap: 1rem;
        align-items: center;
    }
}

@media (max-width: 546px) {
    .support-hero {
        justify-content: center;
    }
    .faq-wrapper {
        padding: 2rem 1rem;
    }
    .line {
        display: none;
    }
    .faq-section {
        display: flex;
        flex-direction: column;
        margin: 2rem 0;
        h4 {
            color: white;
            font-weight: bold;
            background-color: var(--orange);
            width: 100%;
            padding: 0.5rem 0; 
        }
    }
    .queries {
        gap: 1rem;
        summary {
            font-size: 18px;
        }
    }
    .answers {
        li {
            font-size: 16px;
        }
    }
    .contactus-wrapper {
        gap: 0;
        padding: 1rem;
        .btn2 {
            font-size: 16px;
        }
    }
    .featured-articles {
        padding: 2rem 1rem;
        gap: 1rem;
    }
    .article {
        padding: 1rem;
        gap: 1rem;
        border-radius: 10px;
        flex: 1;
    }
    .article-row {
        gap: 1rem;
    }
    .submit-btn {
        font-size: 18px;
        padding: 0.5rem 1rem;
    }
    .subscribe-text {br {display: none;}}
    .form-control {
        font-size: 16px;
    }
}