* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;

}

html {
    scroll-behavior: smooth;
}

.headings {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    margin-bottom: 20px;
}

.headings h2 {
    font-size: 40px;
    font-weight: 600;
    color: #000;
    text-align: center;
    letter-spacing: 2px;
}


/* Header & Navbar */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
}

ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 20px;
}

a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
}

.menu {
    display: none;
    cursor: pointer;
}

.menu-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(206, 206, 206, 0.5);
    padding: 20px;
    transition: left 0.3s ease;
    z-index: 1000;
}

.menu-drawer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-drawer ul li {
    padding: 15px;
}

.menu-drawer ul li a {
    text-decoration: none;
    color: #333;
    display: block;
}

.menu-drawer.open {
    left: 0;
}

.close {
    position: absolute;
    top: 16px;
    right: 12px;
    font-size: 35px;
}

.terms {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.terms a {
    color: #035B8D;
    ;
}

/* Hero Section */
.hero {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.my-image {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-image:
        linear-gradient(to top, rgba(46, 46, 46, 0.5) 50%, rgba(46, 46, 46, 0.5) 50%),
        url("/images/frequently_asked_questions.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 70vh;
    width: 100%;
    margin: 10px;
    border-radius: 23px;
    overflow: hidden;
}

.headings {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.overlay-text {

    color: rgb(235, 238, 244);
    font-size: 42px;
    font-weight: bold;
}

/* About the Department */
.department-box {
    padding: 10px 15px;
    text-align: center;
    margin: 0 auto;

}

.department-box h1 {
    margin: 0;
    font-size: 2rem;
    color: #333;
    padding: 10px 15px;
}

.department-box p {
    font-size: 16px;
    color: #131212;
}

/* FAQ Section */
.faq-section {
    padding: 60px 20px;
}

.faq-wrapper {
    max-width: 1010px;
    margin: auto;
    text-align: center;
}

.faq-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.faq-wrapper p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 30px;
}

.container .buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: #045b8e;
    border: none;
    color: white;
    margin: 5px;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#provider {
    padding: 1rem 7rem;
}

#user {
    padding: 1rem 8rem;
}

.tab-btn:hover,
.tab-btn.active {
    background-color: #f5b102;
}

.provider-faq,
.user-faq {
    display: none;
}

.provider-faq.active,
.user-faq.active {
    display: block;
}

.provider-accordion,
.user-accordion {
    color: #045b8e;
    cursor: pointer;
    padding: 18px 20px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1rem;
    transition: background-color 0.2s ease;
    position: relative;
    font-weight: bold;
}

.provider-accordion:hover,
.user-accordion:hover,
.provider-accordion.active,
.user-accordion.active {
    background-color: #f5b102;


}

.provider-accordion::after,
.user-accordion::after {
    content: '\276E';
    font-size: 16px;
    position: absolute;
    right: 20px;
    color: #045b8e;
    transition: transform 0.3s ease;
    transform: rotate(268deg);
}

.provider-accordion.active::after,
.user-accordion.active::after {
    content: '\276F';
}

.provider-panel,
.user-panel {
    padding: 0 20px;
    background-color: #fafafa;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.provider-panel p,
.user-panel p {
    padding: 15px 0;
    color: #555;
}

/* Total Information */
.total-info {
    display: flex;
    justify-content: space-between;
    background-color: #F5F7FA;
    padding: 20px 40px;
}

.total-info-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 20px 40px;
    gap: 8px;
}

.total-info-left h2 {
    font-size: 30px;
}

.total-info-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 40px;
    gap: 20px;
}

.theme-text {
    color: #035B8D;
}

.total-info-right1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.total-info-right1-top {
    display: flex;
    align-items: center;
    gap: 20px;

}

.total-info-right1-top .icon {
    font-size: 30px;
    font-weight: 900;
    color: #035B8D;
}

.total-info-right1-top .data {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

.total-info-right1-top .label {
    font-size: 11px;
    font-weight: 400;
}

/* about-content */

.about-cont {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.about-cont-text {
    text-align: justify;
    line-height: 1.6;
    font-size: 1rem;
    color: #333;
}

.about-cont-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 8px;
    padding-left: 20px;
}

.about-cont-list li {
    list-style: disc;
    margin-left: 16px;
    line-height: 1.5;
    color: #444;
}

/* Footer */
.footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #F9F9F9;
    padding: 20px 40px;
    gap: 2rem;
}

.footer-logo img {
    width: 80%;
}

.footer1 {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
    padding: 20px 40px;
}

.foot1-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 20px;
}

.foot1-left,
.footer-content {
    width: 65%;
}

.foot1-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.footer2 {
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
    padding: 20px 40px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.app-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.store {
    width: 11rem;
    display: flex;
    align-items: center;
    flex-direction: row;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px 18px;
    box-shadow: 0 0 10px rgba(95, 95, 95, 0.1);
    gap: 15px;
}

.store-label {
    font-size: 12px;
}


/* Responsive */
@media screen and (max-width: 1024px) {
    .overlay-text {
        font-size: 32px;
    }
}

@media screen and (max-width: 768px) {
    #provider {
        padding: 1rem 2rem;
    }

    #user {
        padding: 1rem 3.3rem;
    }

    .overlay-text {
        font-size: 29px;
    }

    .total-info {
        flex-direction: column;
        align-items: start;
    }

    .footer {
        padding: 10px 20px;
    }

    .footer1 {
        flex-direction: column;
        padding: 10px 20px;
    }

    .footer2 {
        padding: 10px 20px;
    }

    .foot1-left,
    .footer-content {
        width: 100%;
    }

    .foot1-right {
        justify-content: start;
        align-items: start;
    }

}


@media screen and (max-width: 640px) {
    header {
        padding: 10px 10px;
    }

    .logo img {
        width: 70%;
    }

    .mob-logo img {
        width: 40%;
    }

    ul {
        display: none;
    }

    .menu-drawer .mob-ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: -4rem;
        gap: 20px;
    }

    .menu {
        display: block;
        font-size: 24px;
        cursor: pointer;
    }

    .menu-drawer {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    .hero {
        height: auto;
        padding: 1rem 0;
    }

    .overlay-text {
        font-size: 21px;
        margin: 0;
        min-width: 180%;
        word-wrap: break-word;
        text-align: center;

    }

    .container .buttons {

        flex-wrap: nowrap;
    }

    .tab-btn {

        font-size: 0.7rem;

    }

    #provider {
        padding: 0.5rem 0.7rem;
    }

    #user {
        padding: 0.9rem 2rem;
    }

    .app-links {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .working .contents {
        width: 90%;
    }

    .total-info {
        padding: 10px 20px;
    }

    .data h2 {
        font-size: 15px;
    }

    .total-info-right1 {
        gap: 0.7rem;
    }

    .total-info-right1-top {
        gap: 10px;

    }

    .total-info-right1-top .icon {
        font-size: 25px;
        font-weight: 500;
    }

    .footer2 {
        flex-direction: column;
    }


}


/* FAQ Card Container */
.provider-accordion-faqs,
.user-accordion-faqs {
    background: #ffffff;
    /* border-radius: 10px; */
    margin-bottom: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

/*On Hover*/
.provider-accordion-faqs:hover,
.user-accordion-faqs:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Answer Panel */
.provider-panel,
.user-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    height: 60px;
    font-size: 14px;
    /* smaller font */
    line-height: 1.4;
    background-color: #ffffff;
}

/* Question Button */
button.provider-accordion,
button.user-accordion {
    background-color: #cfcfcf;
    border: none;
    padding: 20px;
    text-align: left;
    width: 100%;
    cursor: pointer;
    outline: none;
}

/* Active State */
button.active {
    background-color: #cccccc;
}