:root {
    --primary-blue: #001f5b;
    --accent-yellow: #ffcc00;
    --text-dark: #333;
    --bg-light: #f8f9fa;
    --green: #25D366;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

body { 
    color: var(--text-dark); 
    background: var(--bg-light); 
    line-height: 1.6; 
}

button:disabled {
    cursor: wait !important;
    opacity: 0.65;
}

button[aria-busy="true"] {
    cursor: wait !important;
}

/* =========================================
   HEADER & NAVIGATION
========================================= */
header { 
    background: var(--primary-blue); 
    color: white; 
    padding: 15px 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.logo-container { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    cursor: pointer; 
}

.header-logo { 
    width: 50px; 
    height: 50px;
    border-radius: 50%; 
    background: white; 
    object-fit: contain;
    padding: 2px;
}

.logo-container h1 { 
    color: var(--accent-yellow); 
    font-size: 20px; 
    letter-spacing: 1px;
}

.logo-container span { 
    font-size: 12px; 
    display: block;
    color: #ddd;
}

nav ul { 
    list-style: none; 
    display: flex; 
    gap: 20px; 
}

nav a { 
    color: white; 
    text-decoration: none; 
    font-weight: 600; 
    transition: 0.3s;
}

nav a:hover,
nav a[aria-current="page"] {
    color: var(--accent-yellow); 
}

/* =========================================
   HERO SECTION
========================================= */
.hero { 
    background: linear-gradient(rgba(0, 31, 91, 0.9), rgba(0, 31, 91, 0.9)), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644') center/cover; 
    color: white; 
    text-align: center; 
    padding: 80px 20px; 
}

.hero h2 { 
    font-size: 40px; 
    color: var(--accent-yellow); 
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
}

.section-title { 
    color: var(--primary-blue); 
    text-align: center; 
    font-size: 30px; 
    margin-bottom: 30px; 
    margin-top: 20px;
}

/* =========================================
   EXAMS GRID
========================================= */
.exams-section {
    padding: 40px 5%;
    background: white;
}

.exam-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); 
    gap: 20px; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.exam-card { 
    background: white; 
    padding: 20px; 
    border-radius: 10px; 
    text-align: center; 
    cursor: pointer; 
    transition: 0.3s; 
    border-bottom: 4px solid var(--accent-yellow); 
    box-shadow: var(--shadow); 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.exam-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.exam-card.result-focus {
    outline: 3px solid var(--accent-yellow);
    outline-offset: 2px;
}

.exam-card img { 
    width: 60px; 
    height: 60px; 
    object-fit: contain; 
    margin-bottom: 10px;
}

.exam-card h3 {
    font-size: 16px; 
    color: var(--primary-blue);
}

/* =========================================
   PACKAGES PAGE
========================================= */
.packages-container { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px; 
    max-width: 1000px; 
    margin: 0 auto; 
}

.package-card { 
    background: white; 
    padding: 30px; 
    border-radius: 10px; 
    text-align: center; 
    box-shadow: var(--shadow); 
    border-top: 5px solid var(--primary-blue);
}

.package-card h3 { 
    color: var(--primary-blue); 
    margin-bottom: 10px; 
}

.price { 
    font-size: 28px; 
    font-weight: bold; 
    color: var(--green); 
    margin: 20px 0; 
}

.btn-buy, .btn-paystack { 
    background: var(--primary-blue); 
    color: white; 
    padding: 12px 20px; 
    border: none; 
    border-radius: 5px; 
    font-weight: bold; 
    cursor: pointer; 
    width: 100%; 
    font-size: 16px; 
    transition: 0.3s; 
}

.btn-buy:hover, .btn-paystack:hover { 
    background: var(--accent-yellow); 
    color: var(--primary-blue); 
}

.btn-back { 
    background: #eee; 
    border: none; 
    color: var(--primary-blue); 
    font-size: 14px; 
    cursor: pointer; 
    margin-bottom: 20px; 
    font-weight: bold; 
    padding: 10px 15px;
    border-radius: 5px;
}

/* =========================================
   VERIFY PIN PAGE
========================================= */
.verify-box {
    background: white; 
    padding: 30px; 
    border-radius: 10px;
    text-align: center;
}

.verify-box h2 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.verify-box input { 
    width: 100%; 
    padding: 15px; 
    font-size: 20px; 
    text-align: center; 
    letter-spacing: 5px; 
    margin-bottom: 15px; 
    border: 2px solid var(--primary-blue); 
    border-radius: 8px; 
}

#content-display { 
    display: none; 
    margin-top: 30px; 
    background: white; 
    padding: 20px; 
    border-radius: 10px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
}

#content-display h3 {
    color: var(--primary-blue); 
    border-bottom: 2px solid var(--accent-yellow); 
    padding-bottom: 10px;
}

#actual-answers { 
    margin-top: 15px; 
    font-family: monospace; 
    font-size: 16px; 
    white-space: pre-wrap; 
    color: #333;
}

/* =========================================
   SERVICES SECTION
========================================= */
.services-section { 
    padding: 60px 5%; 
    background: #fff; 
}

.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.service-card { 
    padding: 30px 20px; 
    background: var(--primary-blue); 
    color: white; 
    border-radius: 10px; 
    text-align: center; 
    box-shadow: var(--shadow);
}

.service-icon { 
    font-size: 35px; 
    color: var(--accent-yellow); 
    margin-bottom: 15px; 
}

.service-card h3 { 
    color: var(--accent-yellow); 
    margin-bottom: 10px; 
}

/* =========================================
   CONTACT SECTION & FORM
========================================= */
.contact-section { 
    background: var(--primary-blue); 
    padding: 60px 5%; 
    color: white; 
}

.text-yellow { 
    color: var(--accent-yellow) !important; 
}

.contact-info { 
    text-align: center; 
    margin-bottom: 30px; 
}

.phone-number { 
    font-size: 24px; 
    font-weight: bold; 
    color: var(--accent-yellow); 
    margin-bottom: 15px; 
}

.social-links { 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
}

.social-btn { 
    padding: 10px 20px; 
    border-radius: 5px; 
    text-decoration: none; 
    color: white; 
    font-weight: bold; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    transition: 0.3s;
}

.social-btn:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.wa-btn { background: #25D366; }
.tg-btn { background: #0088cc; }

.contact-form { 
    max-width: 500px; 
    margin: 0 auto; 
    background: white; 
    padding: 30px; 
    border-radius: 10px; 
    color: var(--text-dark); 
    box-shadow: var(--shadow);
}

.contact-form h3 { 
    margin-bottom: 15px; 
    color: var(--primary-blue); 
}

.contact-form input, 
.contact-form select, 
.contact-form textarea { 
    width: 100%; 
    padding: 12px; 
    margin-bottom: 15px; 
    border: 1px solid #ddd; 
    border-radius: 5px; 
    font-family: inherit; 
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-yellow);
}

.contact-form button { 
    width: 100%; 
    padding: 12px; 
    background: var(--accent-yellow); 
    color: var(--primary-blue); 
    border: none; 
    border-radius: 5px; 
    font-weight: bold; 
    font-size: 16px; 
    cursor: pointer; 
    transition: 0.3s;
}

.contact-form button:hover {
    background: #e6b800;
}

/* =========================================
   MODALS (Checkout & Success)
========================================= */
.modal { 
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.6); 
    z-index: 2000; 
    justify-content: center; 
    align-items: center; 
}

.modal-content { 
    background: white; 
    padding: 30px; 
    border-radius: 10px; 
    width: 90%; 
    max-width: 450px; 
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
}

.modal-content h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.btn-cancel { 
    background: #ccc; 
    color: #333; 
    padding: 10px; 
    border: none; 
    border-radius: 5px; 
    width: 100%; 
    margin-top: 10px; 
    cursor: pointer; 
    font-weight: bold; 
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 768px) {
    header { 
        flex-direction: column; 
        gap: 15px; 
        padding: 15px; 
    }
    nav ul { 
        flex-wrap: wrap; 
        justify-content: center; 
    }
    .hero h2 { 
        font-size: 30px; 
    }
    .exam-grid { 
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); 
    }
}
