/* =============================================
   QUICK ACCESS PORTAL SECTION
   Paste this in your existing style.css
   ============================================= */

/* Main Section Container */
.quick-access-portal {
    padding: 30px 0 35px 0;
    background: linear-gradient(135deg, #f5f7ff 0%, #f0f4ff 50%, #faf3ff 100%);
    position: relative;
    overflow: hidden;
}

/* Animated background particles */
.quick-access-portal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 40%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% 70%, rgba(255, 93, 36, 0.04) 0%, transparent 50%),
                      radial-gradient(circle at 40% 90%, rgba(255, 59, 111, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Floating animated shapes */
.quick-access-portal::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    top: -80px;
    right: -60px;
    animation: floatShape 15s ease-in-out infinite;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, 15px) rotate(5deg); }
}

/* Container */
.quick-access-portal .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Header Styles */
.portal-header {
    text-align: center;
    margin-bottom: 30px;
}

.portal-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff5d24, #ff3b6f);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 14px;
    border-radius: 40px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(255, 93, 36, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.portal-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 6px 0;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.portal-header p {
    font-size: 0.9rem;
    color: #5a6e8a;
    margin: 0;
}

/* Single Row Layout */
.portal-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: center;
    overflow-x: auto;
    padding: 8px 0 15px 0;
}

/* Portal Card Styles */
.portal-card {
    flex: 1;
    min-width: 160px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 18px 12px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.03);
}

/* Card Glow Effect */
.card-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.portal-card:hover .card-glow {
    left: 100%;
}

/* Individual Card Backgrounds on Hover */
.admissions-card:hover {
    background: linear-gradient(135deg, #fff5f0, #ffffff);
    border-color: #ff6b6b;
    box-shadow: 0 12px 28px rgba(255, 107, 107, 0.15);
}

.notifications-card:hover {
    background: linear-gradient(135deg, #f0fff4, #ffffff);
    border-color: #44bd32;
    box-shadow: 0 12px 28px rgba(68, 189, 50, 0.12);
}

.downloads-card:hover {
    background: linear-gradient(135deg, #f3f0ff, #ffffff);
    border-color: #6c5ce7;
    box-shadow: 0 12px 28px rgba(108, 92, 231, 0.12);
}

.syllabus-card:hover {
    background: linear-gradient(135deg, #fff0f5, #ffffff);
    border-color: #e84393;
    box-shadow: 0 12px 28px rgba(232, 67, 147, 0.12);
}

.faculty-card:hover {
    background: linear-gradient(135deg, #f0f8ff, #ffffff);
    border-color: #0984e3;
    box-shadow: 0 12px 28px rgba(9, 132, 227, 0.12);
}

.support-card:hover {
    background: linear-gradient(135deg, #f0fffe, #ffffff);
    border-color: #00b894;
    box-shadow: 0 12px 28px rgba(0, 184, 148, 0.12);
}

/* Hover Transform */
.portal-card:hover {
    transform: translateY(-5px);
}

/* Icon Styles */
.portal-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.portal-icon svg {
    width: 30px;
    height: 30px;
    color: white;
    transition: transform 0.3s ease;
}

/* Individual Icon Gradients & Shadows */
.admissions-icon {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    box-shadow: 0 6px 15px rgba(255, 107, 107, 0.25);
}

.notifications-icon {
    background: linear-gradient(135deg, #4ecdc4, #44bd32);
    box-shadow: 0 6px 15px rgba(68, 189, 50, 0.25);
}

.downloads-icon {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    box-shadow: 0 6px 15px rgba(108, 92, 231, 0.25);
}

.syllabus-icon {
    background: linear-gradient(135deg, #fd79a8, #e84393);
    box-shadow: 0 6px 15px rgba(232, 67, 147, 0.25);
}

.faculty-icon {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    box-shadow: 0 6px 15px rgba(9, 132, 227, 0.25);
}

.support-icon {
    background: linear-gradient(135deg, #00cec9, #00b894);
    box-shadow: 0 6px 15px rgba(0, 184, 148, 0.25);
}

/* Hover Icon Effects */
.portal-card:hover .portal-icon {
    transform: scale(1.05) rotate(2deg);
}

/* Card Info */
.portal-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    transition: all 0.3s ease;
}

.admissions-card:hover .portal-info h3 { color: #ff6b6b; }
.notifications-card:hover .portal-info h3 { color: #44bd32; }
.downloads-card:hover .portal-info h3 { color: #6c5ce7; }
.syllabus-card:hover .portal-info h3 { color: #e84393; }
.faculty-card:hover .portal-info h3 { color: #0984e3; }
.support-card:hover .portal-info h3 { color: #00b894; }

.portal-sub {
    font-size: 0.7rem;
    color: #8a9bb5;
    font-weight: 500;
}

/* Scrollbar Styling */
.portal-row::-webkit-scrollbar {
    height: 4px;
}

.portal-row::-webkit-scrollbar-track {
    background: #e8edf5;
    border-radius: 10px;
}

.portal-row::-webkit-scrollbar-thumb {
    background: linear-gradient(95deg, #ff5d24, #ff3b6f);
    border-radius: 10px;
}

.portal-row::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(95deg, #e64a10, #e62e5c);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .portal-card {
        min-width: 150px;
        padding: 16px 10px 14px;
    }
    
    .portal-icon {
        width: 55px;
        height: 55px;
    }
    
    .portal-icon svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 992px) {
    .quick-access-portal {
        padding: 25px 0 30px 0;
    }
    
    .portal-header {
        margin-bottom: 25px;
    }
    
    .portal-header h2 {
        font-size: 1.6rem;
    }
    
    .portal-row {
        gap: 15px;
    }
    
    .portal-card {
        min-width: 140px;
        padding: 14px 8px 12px;
    }
    
    .portal-icon {
        width: 50px;
        height: 50px;
    }
    
    .portal-icon svg {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 768px) {
    .quick-access-portal {
        padding: 20px 0 25px 0;
    }
    
    .portal-header h2 {
        font-size: 1.4rem;
    }
    
    .portal-badge {
        font-size: 0.7rem;
        padding: 3px 12px;
    }
    
    .portal-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 12px;
    }
    
    .portal-card {
        min-width: 130px;
        flex: 0 0 auto;
    }
}

@media (max-width: 480px) {
    .quick-access-portal {
        padding: 15px 0 20px 0;
    }
    
    .portal-header {
        margin-bottom: 20px;
    }
    
    .portal-header h2 {
        font-size: 1.2rem;
    }
    
    .portal-header p {
        font-size: 0.8rem;
    }
    
    .portal-card {
        min-width: 120px;
        padding: 12px 6px 10px;
    }
    
    .portal-icon {
        width: 45px;
        height: 45px;
        border-radius: 14px;
    }
    
    .portal-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .portal-info h3 {
        font-size: 0.8rem;
    }
    
    .portal-sub {
        font-size: 0.6rem;
    }
}

