/* Global Reset */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
}

#faq {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    color: #2c3e50;
}

#faq h2 {
    font-size: 2rem;
    color: #003366;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5rem;
}

#faq h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #0056b3;
}

#faq ul {
    list-style-type: none;
    padding-left: 0;
}

#faq li {
    margin-bottom: 1.5rem;
    background: #f9f9f9;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    font-size: 1rem;
}

#faq li strong {
    color: #000;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 6px;
}



/* Main container for map + sidebar */
#main {
    display: flex;
    height: 100vh;
}

/* Map styles */
#map {
    width: 50%;
    height: 100%;
}

/* Sidebar */
#sidebar {
    width: 50%;
    padding: 20px;
    background: #f4f4f4;
    overflow-y: auto;
    border-left: 1px solid #ddd;
}

#sidebar h2 {
    margin-top: 0;
}

/* Search input */
#search-input {
    width: 100%;
    padding: 10px;
    margin: 10px 0 20px;
    border-radius: 20px;
    border: 1px solid #ccc;
    font-size: 14px;
}

#search-input:focus {
    outline: none;
    border-color: #0056b3;
}

/* Location Options */
.option {
    padding: 16px;
    margin-bottom: 16px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: background 0.3s, transform 0.2s;
}

.option:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Modal Styling */
.modal {
    display: none;
    position: absolute;
    top: 10%;
    left: 75%;
    transform: translateX(-50%);
    background: white;
    padding: 20px;
    border: 1px solid #333;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    width: 50%;
    height: 85%;
    overflow-y: auto;
    z-index: 1000;
    border-radius: 12px;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Close button */
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.tab-link {
    background: #f4f4f4;
    padding: 10px;
    border: none;
    cursor: pointer;
    flex: 1;
    text-align: center;
    font-size: 14px;
}

.tab-link.active {
    background: #ddd;
    font-weight: bold;
}

.tab-content {
    display: none;
    padding: 15px;
}

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

/* FAQ & Support */
#faq,
#support,
#about-author {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

#faq h2,
#support h2,
#about-author h2 {
    font-size: 1.8em;
    margin-bottom: 0.5em;
    color: #003366;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.3em;
}


#faq ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

#support img {
    margin-top: 10px;
}

#about-author p {
    font-size: 1rem;
    line-height: 1.6;
    color: #2c3e50;
}

#contact {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

#contact h2 {
    font-size: 1.8em;
    margin-bottom: 0.5em;
    color: #003366;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.3em;
}

#contact-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    line-height: 1.6;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
}

#contact-form button {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #003366;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

#contact-form button:hover {
    background-color: #0056b3;
}

#form-status {
    font-size: 0.95rem;
    color: #333;
}


/* Responsive Design */
@media (max-width: 768px) {
    #main {
        flex-direction: column;
        height: auto;
    }

    #map {
        width: 100%;
        height: 50vh;
    }

    #sidebar {
        width: 100%;
        height: auto;
    }

    .modal {
        left: 50%;
        width: 80%;
        height: auto;
        top: 20px;
        transform: translateX(-50%);
    }

    .tabs {
        flex-wrap: wrap;
    }

    .tab-link {
        flex: 50%;
        font-size: 13px;
    }
}