:root {
    --background-color: #121212;
    --text-color: #ffffff;
    --card-background: #1e1e1e;
    --accent-color: #03dac6;
    --shadow-color: rgba(0, 0, 0, 0.5);
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

header {
    padding: 2rem 0;
}

header h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.accident-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: var(--card-background);
    border-radius: 16px;
    padding: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px var(--shadow-color);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.card-icon span {
    font-size: 4rem;
}

.card h3 {
    margin-top: 1rem;
    font-size: 1.5rem;
}

/* Overlay & Modal Styles */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.overlay.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.modal {
    background-color: #252525;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.option-btn {
    background-color: #333;
    color: #fff;
    border: 2px solid transparent;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.option-btn:hover {
    background-color: #444;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

/* Contact Section Styles */
.contact-section {
    padding: 6rem 2rem;
    background-color: #161616;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-container h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.contact-container p {
    color: #bbb;
    margin-bottom: 3rem;
}

.contact-form {
    background-color: var(--card-background);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #eee;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(3, 218, 198, 0.3);
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background-color: var(--accent-color);
    color: #121212;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(3, 218, 198, 0.4);
}

footer {
    padding: 2rem 0;
    font-size: 0.9rem;
    color: #888;
}

@media (max-width: 600px) {
    .accident-types {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}
