* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
    font-weight: 400;
    background: linear-gradient(to bottom, #ffffff, #e0f7fa);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://cdn.pixabay.com/photo/2017/08/30/01/05/milky-way-2695569_1280.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: -1;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: 1400px;
    margin: 0 auto;
}

/* === HEADER === */
header {
    padding: 25px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
    margin-bottom: 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header_logo {
    max-height: 60px;
    width: auto;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

header nav ul li a {
    font-size: 18px;
    color: #000000;
    padding: 12px 20px;
    transition: color 0.3s ease;
}

header nav ul li:not(.btn) a:hover {
    border-bottom: 2px solid #e11829;
}

header nav ul li.btn a {
    background-color: #e11829;
    color: white;
    border-radius: 5px;
    padding: 12px 20px;
    transition: background-color 0.3s ease;
}

header nav ul li.btn a:hover {
    background-color: #b71c1c;
}

/* === FAQ SECTION === */
.faq-section {
    padding: 40px 0;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    margin: 20px auto;
}

.faq-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

.faq-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    color: #e11829;
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

/* === FOOTER === */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
    margin-top: 50px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-nav ul li {
    margin: 0 15px;
}

.footer-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer-nav ul li a:hover {
    color: #e30613;
}

.footer-form {
    margin-bottom: 20px;
}

.footer-form input {
    padding: 10px;
    margin: 5px;
    border: none;
    border-radius: 5px;
}

.footer-form button {
    background-color: #e30613;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.footer-form button:hover {
    background-color: #c50511;
}

.footer-copyright {
    font-size: 12px;
    color: #ccc;
}

/* === DROPDOWN MENU === */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 1000;
    min-width: 250px;
    border: 1px solid #e11829;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-menu[style*="display: block"] {
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #e11829;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.dropdown-content p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    width: 20px;
    height: 20px;
}

.dropdown-menu1 {
    display: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 1000;
    min-width: 250px;
    border: 1px solid #e30613;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-menu1[style*="display: block"] {
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content1 h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #e30613;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.dropdown-content1 p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* === MODAL === */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}

.policy-content h3,
.agreement-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    color: #e11829;
    margin-bottom: 10px;
}

.policy-content p,
.agreement-content p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

/* === SCROLL TO TOP BUTTON === */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 80px;
    background-color: #e11829;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.3s ease;
}

#scrollTopBtn::before {
    content: '↑';
    font-size: 24px;
    line-height: 50px;
    text-align: center;
    display: block;
}

#scrollTopBtn:hover {
    background-color: #b71c1c;
}

/* === ACCESSIBILITY TOGGLE BUTTON === */
#accessibility-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ffffff;
    border: 2px solid #e11829;
    border-radius: 50%;
    padding: 12px;
    cursor: pointer;
    z-index: 2000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

#accessibility-toggle:hover {
    transform: scale(1.1);
    background-color: #e11829;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

#accessibility-toggle svg {
    width: 28px;
    height: 28px;
    transition: stroke 0.3s ease;
}

#accessibility-toggle:hover svg {
    stroke: #ffffff;
}

body.high-contrast #accessibility-toggle {
    background-color: #000000 !important;
    border-color: #ffffff !important;
}

body.high-contrast #accessibility-toggle svg {
    stroke: #ffffff !important;
}

body.high-contrast #accessibility-toggle:hover {
    background-color: #ffffff !important;
}

body.high-contrast #accessibility-toggle:hover svg {
    stroke: #000000 !important;
}

/* === HIGH-CONTRAST MODE === */
body.high-contrast {
    background: white !important;
    color: black !important;
}

body.high-contrast::before {
    background-image: none !important;
    opacity: 0 !important;
}

.high-contrast * {
    color: black !important;
    background: white !important;
    border-color: black !important;
    text-shadow: none !important;
    box-shadow: none !important;
    filter: none !important;
}

.high-contrast a,
.high-contrast a:hover,
.high-contrast button,
.high-contrast button:hover,
.high-contrast input,
.high-contrast label,
.high-contrast h1,
.high-contrast h2,
.high-contrast h3,
.high-contrast h4,
.high-contrast p,
.high-contrast li {
    color: black !important;
    background: white !important;
    border-color: black !important;
}

.high-contrast header,
.high-contrast .faq-section,
.high-contrast footer,
.high-contrast .modal-content,
.high-contrast .faq-item,
.high-contrast .dropdown-menu,
.high-contrast .dropdown-menu1 {
    background: white !important;
    background-image: none !important;
    background-color: white !important;
}

.high-contrast img,
.high-contrast svg {
    filter: grayscale(100%) contrast(200%) !important;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1400px) {
    .container {
        width: 90%;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 20px;
    }

    header nav ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .footer-nav ul {
        flex-direction: column;
        margin-bottom: 10px;
    }

    .footer-nav ul li {
        margin: 5px 0;
    }

    #accessibility-toggle {
        bottom: 15px;
        right: 15px;
        padding: 10px;
    }

    #accessibility-toggle svg {
        width: 24px;
        height: 24px;
    }

    #scrollTopBtn {
        bottom: 15px;
        right: 70px;
        width: 40px;
        height: 40px;
    }

    #scrollTopBtn::before {
        font-size: 20px;
        line-height: 40px;
    }
}

@media (max-width: 480px) {
    .faq-section h2 {
        font-size: 1.5rem;
    }

    .faq-item h3 {
        font-size: 1.1rem;
    }

    .faq-item p {
        font-size: 0.9rem;
    }
}