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

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4; /* Creamy white background */
    color: #f4f4f4; /* Creamy white text color */
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Arial Black", sans-serif;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

/* Header */
header {
    background-color: transparent;
    padding: 20px 0;
    text-align: center; /* Center the content */
}

nav ul {
    list-style: none;
    display: inline-block; /* Display inline */
}

nav ul li {
    display: inline; /* Display inline */
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #f4f4f4;
}

/* Dropdown menu styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: transparent;
    min-width: 160px;
    box-shadow: none;
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown.active .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: rgb(226, 216, 216);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #222;
}

/* FAQ Section */
body {
    font-family: 'Times New Roman', Times, serif;
    background: #222;
    color: #f4f4f4;
}

section {
    min-height: 100vh;
    width: 95%; /* Increased width for better use of screen space */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title {
    font-size: 6rem; /* Larger font size for better visibility */
    margin-bottom: 4rem; /* Increased margin for better spacing */
}

.faq {
    width: 100%; /* Full width for better use of screen space */
    margin-top: 3rem; /* Increased margin for better spacing */
    padding: 2rem; /* Increased padding for better touch targets */
    border-bottom: 2px solid rgb(88, 13, 13);
    cursor: pointer;
}

.question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question h4 {
    font-size: 3rem; /* Larger font size for better readability */
    text-align: center;
}

.answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1.4s ease;
    text-align: center;
}

.answer p {
    padding-top: 2rem; /* Increased padding for better spacing */
    line-height: 1.8; /* Increased line height for readability */
    font-size: 1.6rem; /* Larger font size for better readability */
    text-align: center;
}

.faq.active .answer {
    max-height: 500px; /* Increased max-height for expanded content */
    animation: fade 1s ease-in-out;
}

.faq.active svg {
    transform: rotate(180deg);
}

svg {
    transition: transform 0.5s ease-in;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

@media (max-width: 767px) {
    /* Phone-specific styles */
    body {
        font-family: 'Times New Roman', Times, serif;
        background: #222;
        font-size: 20px; /* Larger font size for better visibility */
    }

    section {
        width: 95%; /* Increased width for better use of screen space */
    }

    .title {
        font-size: 6rem; /* Larger font size for better visibility */
        margin-bottom: 4rem; /* Increased margin for better spacing */
    }

    .faq {
        width: 100%; /* Full width for better use of screen space */
        margin-top: 3rem; /* Increased margin for better spacing */
        padding: 2rem; /* Increased padding for better touch targets */
    }

    .question h4 {
        font-size: 3rem; /* Larger font size for better readability */
    }

    .answer p {
        font-size: 1.6rem; /* Larger font size for better readability */
    }
}
