/* ==========================================================================
   SSS-INSPIRED ENTERPRISE PORTAL INTERFACE WITH ANIMATED BACKGROUND
   ========================================================================== */

:root {
    --sss-blue: #0038a8;
    --sss-dark-blue: #022b7a;
    --sss-accent-orange: #ff9900;
    --sss-gradient: linear-gradient(135deg, #022b7a 0%, #0038a8 50%, #0a46b5 100%);
    --card-shadow: 0 10px 30px rgba(2, 43, 122, 0.1);
    --hover-shadow: 0 15px 35px rgba(2, 43, 122, 0.2);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #022b7a;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* HIGHLY STYLISH ANIMATED BACKGROUND ENGINE */
.animated-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background: var(--sss-gradient);
    overflow: hidden;
}

.bg-bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24% 76% 35% 65% / 49% 45% 55% 51%;
    animation: float-bubble 25s infinite linear;
    bottom: -150px;
}

.bg-bubble:nth-child(1) { width: 300px; height: 300px; left: 10%; animation-duration: 20s; }
.bg-bubble:nth-child(2) { width: 450px; height: 450px; left: 55%; animation-delay: 3s; animation-duration: 28s; }
.bg-bubble:nth-child(3) { width: 200px; height: 200px; left: 80%; animation-delay: 7s; }
.bg-bubble:nth-child(4) { width: 350px; height: 350px; left: 30%; animation-delay: 12s; animation-duration: 22s; }

@keyframes float-bubble {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; border-radius: 24% 76% 35% 65% / 49% 45% 55% 51%; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-120vh) rotate(360deg); opacity: 0; border-radius: 76% 24% 65% 35% / 45% 49% 51% 55%; }
}

/* MASTER FRAMEWORK LAYOUT */
.portal-container {
    position: relative;
    z-index: 5;
    width: 95%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* LEFT SIDE BRANDING BLOCK */
.brand-section {
    background: #ffffff;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-right: 1px solid #eef2f5;
    position: relative;
}

.brand-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--sss-accent-orange);
}

.corporate-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.05));
}

.brand-section h1 {
    font-size: 32px;
    color: var(--sss-dark-blue);
    margin: 0 0 15px 0;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-bottom: 3px solid var(--sss-blue);
    padding-bottom: 8px;
    display: inline-block;
}

.brand-section p {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* RIGHT SIDE GATEWAY ACCESS WRAPPER */
.gateway-wrapper {
    background: #fafbfc;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gateway-instruction {
    text-align: center;
    margin-bottom: 35px;
}

.gateway-instruction h2 {
    font-size: 22px;
    color: var(--sss-dark-blue);
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gateway-instruction p {
    font-size: 13px;
    color: #718096;
    margin: 0;
    font-weight: bold;
}

/* DYNAMIC CHOICE CARDS SELECTION GRID */
.portal-choices-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.portal-choice-card {
    background: #ffffff;
    border: 1px solid var(--sss-border);
    border-left: 6px solid var(--sss-blue);
    border-radius: 6px;
    padding: 22px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--card-shadow);
}

.portal-choice-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
    border-color: var(--sss-blue);
    background-color: #f7fafc;
}

/* Specific Style Variations for 201 File Card */
.portal-choice-card.file-card {
    border-left-color: var(--sss-accent-orange);
}

.portal-choice-card.file-card:hover {
    border-color: var(--sss-accent-orange);
}

.card-content-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--sss-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.portal-choice-card:hover .card-title {
    color: var(--sss-dark-blue);
}

.portal-choice-card.file-card:hover .card-title {
    color: #e68a00;
}

.card-description {
    font-size: 12px;
    color: #718096;
    line-height: 1.4;
}

/* GLOWING STYLISH CALL TO ACTION ACTION UTILITY BUTTONS */
.card-action-arrow {
    width: 36px;
    height: 36px;
    background: #edf2f7;
    color: var(--sss-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
}

.portal-choice-card:hover .card-action-arrow {
    background: var(--sss-blue);
    color: #ffffff;
    transform: translateX(5px);
}

.portal-choice-card.file-card .card-action-arrow {
    color: var(--sss-accent-orange);
}

.portal-choice-card.file-card:hover .card-action-arrow {
    background: var(--sss-accent-orange);
    color: #ffffff;
}

.portal-footer-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 30px 0 20px 0;
}

.btn-portal-home {
    background: #ffffff;
    color: #4a5568;
    border: 1px solid #cbd5e0;
    width: 100%;
    padding: 12px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.btn-portal-home:hover {
    background: #edf2f7;
    color: var(--sss-dark-blue);
    border-color: #a0aec0;
}

/* RESPONSIVE LAYOUT MATRIX FOR TABLETS AND MOBILE OUTSETS */
@media (max-width: 768px) {
    .portal-container {
        grid-template-columns: 1fr;
    }
    .brand-section {
        padding: 35px 25px;
    }
    .gateway-wrapper {
        padding: 35px 25px;
    }
}
