* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #f0f4f8, #d9e2ec);
    min-height: 100vh;
    color: #333;
}

header nav {
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 20px;
    font-weight: 500;
    transition: color 0.3s;
}

header nav a:hover {
    color: #ffd700;
}

.btn {
    background: linear-gradient(45deg, #007bff, #00c4ff);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.error { color: #ff4d4d; font-weight: bold; }
.success { color: #28a745; font-weight: bold; }

/* Updated Footer Styles */
footer {
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #ffd700;
}

.footer-brand p {
    font-size: 1rem;
    color: #ddd;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #fff;
    font-size: 1.8rem;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: #ffd700;
    transform: scale(1.2);
}

.footer-legal {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #ddd;
}

.footer-legal a {
    color: #ffd700;
    text-decoration: none;
    margin: 0 10px;
}

.footer-legal a:hover {
    text-decoration: underline;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
}

.popup.active {
    visibility: visible;
    opacity: 1;
}

.popup-content {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: popupFadeIn 0.5s ease-out;
}

.popup-content h3 {
    font-size: 1.8rem;
    color: #1e3c72;
    margin-bottom: 15px;
}

.popup-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
    word-break: break-all;
}

.popup-content p strong {
    color: #2a5298;
}

.popup-content .btn {
    margin: 10px;
    padding: 10px 20px;
    font-size: 1rem;
}

@keyframes popupFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}