/* --- GLOBAL THEME SYNC --- */
:root {
    --rgpv-blue: #1a508b;
    --rgpv-accent: #38bdf8;
    --rgpv-bg: #f8fafc;
    --text-dark: #1e293b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--rgpv-bg);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* --- IMPORTANT ALERTS POP-UP (Clean & Trusted) --- */
.popup-container {
    display: none; /* Controlled by JS */
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.85); /* Darker backdrop for focus */
    backdrop-filter: blur(4px); /* Modern blur effect */
    align-items: center;
    justify-content: center;
}

.popup-content {
    background-color: #ffffff;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: fadeInScale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.close-button {
    color: #94a3b8;
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.close-button:hover {
    background: #e2e8f0;
    color: #ef4444;
}

.popup-content h2 {
    color: var(--rgpv-blue);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.popup-content h2::before {
    content: '🔔'; /* Icon for trust */
    font-size: 20px;
}

.alert-list {
    max-height: 300px;
    overflow-y: auto;
    text-align: left;
    background: #f8fafc;
    border-radius: 12px;
    padding: 15px;
}

.alert-list a {
    display: block;
    padding: 12px 10px;
    margin-bottom: 8px;
    color: var(--text-dark);
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 15px;
    text-decoration: none;
    transition: 0.2s;
}

.alert-list a:hover {
    border-color: var(--rgpv-accent);
    color: var(--rgpv-blue);
    transform: translateX(5px);
}

/* --- INFO PAGES (ABOUT, CONTACT, PRIVACY) --- */

.info-hero {
    background: linear-gradient(135deg, #0f172a 0%, var(--rgpv-blue) 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.info-hero h1 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    margin-bottom: 15px;
}

.info-hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.info-section {
    padding: 80px 20px;
    background: #ffffff;
}

.info-section:nth-child(even) {
    background: var(--rgpv-bg);
}

.info-container {
    max-width: 850px;
    margin: 0 auto;
}

.info-section h2 {
    font-size: 28px;
    color: var(--rgpv-blue);
    margin-bottom: 25px;
    text-align: center;
}

.info-section p {
    font-size: 17px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Contact List Card */
.contact-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    max-width: 500px;
    margin: 0 auto;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
}

.contact-list li:last-child { border: none; }

/* --- ANIMATIONS --- */
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* --- RESPONSIVE TWEAKS --- */
@media (max-width: 600px) {
    .popup-content { padding: 30px 20px; }
    .info-section { padding: 50px 15px; }
    .contact-card { padding: 20px; }
}