﻿:root {
    /* Brand Colors */
    --color-primary: #1a5490; /* steel blue */
    --color-primary-light: #2c75bb; /* sky blue */
    --color-secondary: #9A0A29; /* dark crimson */
    --color-secondary-light: #c82333; /* bright red */
    --color-secondary-hover: #d4074a; /* vivid crimson hover */
    /* Neutral Colors */
    --color-surface: #ffffff; /* white */
    --color-light: #f8f9fa; /* light gray */
    --color-gray: #495057; /* dark gray */
    --color-dark: #2d3748; /* charcoal */
    --color-muted: #718096; /* muted slate */
    --color-border: #e9ecef; /* pale gray */
    /* Text Colors */
    --color-text-heading: #4a5568; /* slate gray */
    --color-text-on-dark-soft: rgba(255, 255, 255, 0.95); /* white (95% opacity) */
    /* Utility / Status */
    --color-warning-bg: #fff3cd; /* soft yellow */
    --color-warning-border: #ffc107; /* amber */
    --color-warning-text: #856404; /* dark gold */
    /* Layout */
    --page-header-bg: #4a5568; /* slate gray */
    /* Gradients */
    --gradient-primary: linear-gradient( 135deg, #1a5490 0%, /* steel blue */
    #2c75bb 100% /* sky blue */
    );
    --gradient-secondary: linear-gradient( 135deg, #9A0A29 0%, /* dark crimson */
    #c82333 100% /* bright red */
    );
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1); /* soft shadow */
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15); /* medium shadow */
    --shadow-lg: 0 6px 20px rgba(0, 0, 0, 0.25); /* strong shadow */
    /* Radius */
    --radius-sm: 5px; /* small radius */
    --radius-md: 8px; /* medium radius */
}

#container {
    margin: 0 !important;
}

.page-header {
    background: var(--page-header-bg);
    color: var(--color-surface);
    padding: 20px 0;
}

    .page-header h1 {
        font-size: 36px;
        font-weight: 700;
        color: var(--color-surface);
    }

.breadcrumb {
    background-color: var(--color-light);
    padding: 15px 0;
}

    .breadcrumb span.breadcrumb-items {
        color: var(--color-dark);
        font-weight: 500;
    }

    .breadcrumb a {
        color: var(--color-gray);
        text-decoration: none;
        font-size: 14px;
    }

        .breadcrumb a:hover {
            color: var(--color-secondary);
            text-decoration: underline;
        }

    .breadcrumb span {
        color: var(--color-muted);
        margin: 0 8px;
    }

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px auto;
}

.content-box {
    background-color: var(--color-surface);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

    .content-box h2 {
        color: var(--color-dark);
        font-size: 28px;
        margin-bottom: 25px;
        font-weight: 700;
    }

    .content-box h3 {
        color: var(--color-dark);
        font-size: 22px;
        margin-bottom: 15px;
        font-weight: 700;
    }

    .content-box p {
        color: var(--color-gray);
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 15px;
    }

.eligibility-notice {
    background-color: var(--color-warning-bg);
    border-left: 4px solid var(--color-warning-border);
    padding: 25px;
    border-radius: var(--radius-sm);
    margin-bottom: 25px;
}

    .eligibility-notice strong {
        color: var(--color-warning-text);
        display: block;
        font-size: 18px;
        margin-bottom: 10px;
    }

    .eligibility-notice p {
        color: var(--color-warning-text);
        margin-bottom: 0;
    }

.btn-primary {
    display: inline-block;
    background: var(--gradient-secondary);
    color: var(--color-surface);
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
}

    .btn-primary:hover {
        background-color: var(--color-secondary-hover);
        transform: translateY(-2px);
    }

.knowledge-base-section {
    background-color: var(--color-text-heading);
    color: var(--color-surface);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

    .knowledge-base-section h2 {
        color: var(--color-surface);
        margin-bottom: 15px;
        font-size: 28px;
    }

    .knowledge-base-section p {
        color: var(--color-text-on-dark-soft);
        font-size: 17px;
        margin-bottom: 30px;
        line-height: 1.6;
    }

.support-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    display: inline-block;
    background-color: white;
    color: var(--color-text-heading);
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
}

    .btn-white:hover {
        background-color: var(--color-light);
        transform: translateY(-2px);
    }

.chat-support {
    display: none;
}

.portal-section {
    margin-top: 50px;
    margin-bottom: 50px;
}

.portal-boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.portal-box {
    background-color: var(--color-surface);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 2px solid var(--color-border);
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

    .portal-box:hover {
        border-color: var(--color-secondary);
        box-shadow: var(--shadow-md);
        transform: translateY(-3px);
    }

    .portal-box img {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

        .portal-box img.ncsa-logo {
            width: auto;
            height: 60px;
        }

    .portal-box h3 {
        font-size: 22px;
        margin-bottom: 12px;
        color: var(--color-dark);
    }

    .portal-box p {
        font-size: 15px;
        color: var(--color-muted);
        margin-bottom: 25px;
        min-height: 45px;
    }

    .portal-box .btn-primary {
        padding: 12px 30px;
        font-size: 16px;
    }


@media (max-width: 1200px) {
    .portal-boxes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .portal-boxes {
        grid-template-columns: 1fr;
    }

    .header .container {
        flex-direction: column;
        gap: 20px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .content-box {
        padding: 30px 20px;
    }
}
