/* Modern and Vibrant Style */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #1e1e2f;
    color: #e4e4e4;
    padding: 20px;
    line-height: 1.6;
}

a {
    color: #ffcc00;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #ff5733;
}

h1, h2, h3 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

p {
    margin-bottom: 15px;
}

/* Header Styling */
header {
    background: #ff5733;
    padding: 50px;
    text-align: center;
    border-radius: 12px;
    color: white;
    box-shadow: 0 4px 10px rgba(255, 87, 51, 0.2);
}

header h1 {
    font-size: 2.8em;
}

header p {
    font-size: 1.2em;
    opacity: 0.85;
}

/* Section Styling */
section {
    background: #29293d;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(255, 204, 0, 0.15);
    margin-bottom: 25px;
    border-left: 6px solid #ffcc00;
}

section:nth-child(even) {
    border-left-color: #ff5733;
}

section h2 {
    font-size: 1.9em;
}

/* Footer Styling */
footer {
    background: #ff5733;
    color: white;
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(255, 87, 51, 0.2);
    margin-top: 30px;
}

footer a {
    color: #ffcc00;
    margin: 0 12px;
    transition: color 0.3s ease-in-out;
}

footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 30, 47, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal {
    background: #29293d;
    padding: 30px;
    width: 90%;
    max-width: 420px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(255, 204, 0, 0.2);
}

.modal h2 {
    color: #ffcc00;
    margin-bottom: 20px;
}

.modal button {
    background: #ff5733;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.modal button:hover {
    background: #ffcc00;
}

@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    header, footer {
        padding: 35px;
    }
    section {
        padding: 20px;
    }
}