:root {
    --primary-blue: #0A2540;
    --primary-blue-light: #1A3C5E;
    --accent-gold: #D4AF37;
    --accent-gold-dark: #AA8C2C;
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
    --text-dark: #333333;
    --text-muted: #666666;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-blue);
}

/* Glassmorphism Classes */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(10, 37, 64, 0.1);
    padding: 2rem;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(10, 37, 64, 0.15);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 37, 64, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #d4af37, #f1c40f, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

.nav-item:hover, .nav-item.active {
    color: var(--accent-gold);
}

.portal-btn {
    background: var(--accent-gold);
    color: var(--primary-blue) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}

.portal-btn::after {
    display: none;
}

.portal-btn:hover {
    background: var(--white);
    transform: scale(1.05);
}

.mobile-menu {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Sections */
.page-section {
    display: none;
    padding-top: 80px; /* navbar height */
    min-height: 100vh;
    animation: fadeIn 0.5s ease-in-out;
}

.page-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.divider {
    height: 4px;
    width: 60px;
    background: var(--accent-gold);
    margin: 0 auto;
    border-radius: 2px;
}

/* Buttons */
.primary-btn {
    background: var(--accent-gold);
    color: var(--primary-blue);
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.primary-btn:hover {
    background: var(--primary-blue);
    color: var(--accent-gold);
}

.blue-btn {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.blue-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(10, 37, 64, 0.7), rgba(10, 37, 64, 0.7)), url('gallery/IMG-20260429-WA0039.jpg') center top/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -80px;
    transition: background 1s ease-in-out;
}

.hero-content {
    color: var(--white);
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1rem;
    animation: slideDown 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    animation: slideUp 1s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Courses Section */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 0.5rem;
}

.course-card ul {
    list-style-type: none;
}

.course-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
    padding-left: 1.5rem;
}

.course-card li::before {
    content: '•';
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Admissions Section */
.fees-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.fees-table th, .fees-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.fees-table th {
    background: var(--primary-blue);
    color: var(--white);
}

.alert-box {
    border-left: 4px solid var(--primary-blue);
    background: rgba(10, 37, 64, 0.05);
}

.notice-list {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background: var(--primary-blue);
    border-radius: 8px;
    transition: var(--transition);
    cursor: zoom-in;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Login */
.login-container {
    max-width: 500px;
    margin: 0 auto;
}

.login-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(0,0,0,0.1);
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
    margin-bottom: -2px;
}

.login-form {
    display: none;
    animation: fadeIn 0.3s;
}

.login-form.active {
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(10, 37, 64, 0.2);
}

.form-group-row {
    display: flex;
    gap: 1rem;
}

.form-group-row .form-group {
    flex: 1;
}

.radio-group {
    display: flex;
    gap: 2rem;
    padding: 0.5rem 0;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400 !important;
}

.radio-label input {
    width: auto !important;
}

input[type="file"] {
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    border: 1px dashed var(--primary-blue);
}

small {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.student-portal-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
    border: 3px solid var(--accent-gold);
}

/* Portals Layout */
.portal-section {
    display: none;
}
.portal-section.active {
    display: flex;
}

.portal-sidebar {
    width: 250px;
    background: var(--primary-blue);
    color: var(--white);
    min-height: calc(100vh - 80px);
    padding: 2rem 0;
}

.portal-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.portal-brand span {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(to right, #d4af37, #f1c40f, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.portal-nav {
    list-style: none;
}

.portal-nav li {
    padding: 1rem 2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.portal-nav li:hover, .portal-nav li.active {
    background: var(--primary-blue-light);
    border-left: 4px solid var(--accent-gold);
}

.portal-content {
    flex: 1;
    padding: 2rem;
    background: var(--light-bg);
}

.admin-tab-content, .student-tab-content, .classrep-tab-content {
    display: none;
    animation: fadeIn 0.3s;
}

.admin-tab-content.active, .student-tab-content.active, .classrep-tab-content.active {
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
}

.stat-details h4 {
    font-size: 2rem;
    margin: 0;
    color: var(--primary-blue);
}

.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th, .data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.data-table th {
    background: var(--primary-blue-light);
    color: var(--white);
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.small-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }

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

.modal.active {
    display: flex;
}

.modal-content {
    width: 90%;
    max-width: 500px;
    position: relative;
    background: var(--white);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.student-profile-mini {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.student-profile-mini i {
    font-size: 3rem;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-blue);
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }

    .portal-section.active {
        flex-direction: column;
    }
    .portal-sidebar {
        width: 100%;
        min-height: auto;
    }
}
/* Admissions Redesign */
.admissions-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.admission-row {
    display: flex;
    align-items: center;
    gap: 3rem;
}

@media (max-width: 768px) {
    .admission-row, .admission-row.reverse {
        flex-direction: column;
        gap: 2rem;
    }
}

.admission-row.reverse {
    flex-direction: row-reverse;
}

.admission-image-col {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    background: var(--primary-blue); /* Background for contain fit */
}

.admission-row-img {
    width: 100%;
    height: 450px;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.admission-row-img:hover {
    transform: scale(1.05);
}

.admission-content-col {
    flex: 1;
}

@media (max-width: 992px) {
    .admission-row, .admission-row.reverse {
        flex-direction: column;
        gap: 2rem;
    }
    
    .admission-row-img {
        height: 300px;
    }
}

/* Lightbox Styling */
.lightbox-overlay {
    background: rgba(0, 0, 0, 0.95) !important;
    cursor: zoom-out;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Ensure images in rows are clickable */
.admission-row-img, .gallery-item {
    cursor: zoom-in;
}

/* Portal Identity Differentiations */
.portal-bg-student {
    background: linear-gradient(rgba(10, 37, 64, 0.8), rgba(10, 37, 64, 0.8)), url('gallery/IMG-20260429-WA0039.jpg') center top/cover no-repeat;
    transition: background 1.5s ease-in-out;
    min-height: 100vh;
    color: white;
}
.portal-bg-student.active {
    display: flex;
    align-items: center;
}

.portal-login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.portal-info-card h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
}

.portal-info-card p {
    color: rgba(255,255,255,0.9);
}

.portal-preview-img {
    width: 100%;
    border-radius: 20px;
    margin-top: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.portal-bg-admin {
    background: linear-gradient(rgba(10, 37, 64, 0.8), rgba(10, 37, 64, 0.8)), url('gallery/IMG-20260429-WA0054.jpg') center top/cover no-repeat;
    transition: background 1.5s ease-in-out;
    min-height: 100vh;
}
.portal-bg-admin.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-login-card {
    max-width: 450px;
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    color: white;
}

.admin-login-card h2, .admin-login-card p {
    color: white;
}

.admin-icon {
    font-size: 4rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.admin-btn {
    background: var(--accent-gold);
    color: var(--primary-blue);
    border: none;
    padding: 1rem;
    width: 100%;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.admin-btn:hover {
    background: var(--white);
}

@media (max-width: 992px) {
    .portal-login-grid {
        grid-template-columns: 1fr;
    }
}

/* Receipt Styling */
.receipt-paper {
    background: white !important;
    color: #333 !important;
    max-width: 400px !important;
    padding: 2rem !important;
    border-radius: 0 !important;
    font-family: 'Courier New', Courier, monospace;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.receipt-header {
    text-align: center;
    border-bottom: 2px dashed #ccc;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.receipt-logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.receipt-total {
    text-align: center;
    background: #f9f9f9;
    padding: 1rem;
    margin-top: 1.5rem;
    border: 1px solid #eee;
}

.receipt-total h2 {
    color: var(--primary-blue);
    margin-top: 0.5rem;
}

.receipt-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
}

@media print {
    body * { visibility: hidden; }
    #receipt-modal, #receipt-modal * { visibility: visible; }
    #receipt-modal { position: absolute; left: 0; top: 0; width: 100%; }
    .no-print, .close-modal { display: none !important; }
}

/* Logo Styling */
.nav-logo {
    height: 50px;
    width: auto;
    display: block;
}

.sidebar-logo {
    height: 40px;
    width: auto;
    margin-right: 10px;
    border-radius: 5px;
}

.receipt-logo-img {
    height: 60px;
    width: auto;
    margin: 0 auto 10px;
    display: block;
}

.portal-brand {
    display: flex;
    align-items: center;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
    white-space: nowrap;
}

/* Student Slideshow */
.student-slideshow {
    padding: 0 !important;
    overflow: hidden;
    height: 300px;
}

.slideshow-container {
    width: 100%;
    height: 100%;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: fadeInSlide 1s ease-in-out;
}

@keyframes fadeInSlide {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1rem;
    }
}

/* Footer Styling */
.site-footer {
    background: #001f3f;
    color: white;
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 15px;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-gold);
    margin-bottom: 15px;
}

.footer-brand p {
    color: #ccc;
    line-height: 1.6;
}

.footer-links h4, .footer-contact h4 {
    color: var(--secondary-gold);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-gold);
}

.footer-contact p {
    margin-bottom: 15px;
    color: #ccc;
}

.footer-contact i {
    color: var(--secondary-gold);
    margin-right: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo {
        height: 50px;
    }
}

.compose-announcement {
    padding: 2rem !important;
    border-left: 5px solid var(--accent-gold) !important;
}

.compose-announcement textarea {
    width: 100%;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 1rem;
    margin-top: 5px;
    transition: var(--transition);
}

.compose-announcement textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.1);
}

.section-header-mini h2 {
    color: var(--primary-blue);
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.section-header-mini p {
    color: #666;
    font-size: 0.95rem;
}

.section-header-mini h3 {
    font-size: 1.2rem;
    color: #444;
}

/* Welcome Message */
.welcome-container {
    margin-top: -50px;
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 3rem !important;
    border-top: 5px solid var(--accent-gold);
}

.welcome-badge {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--accent-gold);
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.welcome-container h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.welcome-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.welcome-footer {
    font-style: italic;
    color: var(--primary-blue);
    font-weight: 600;
}

@media (max-width: 768px) {
    .welcome-container {
        margin-top: 0;
        padding: 2rem !important;
    }
    .welcome-container h2 {
        font-size: 1.6rem;
    }
}
}

/* Student Curriculum Grid */
.courses-curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.course-category-card {
    padding: 2rem !important;
    border-top: 4px solid var(--primary-blue);
    transition: var(--transition);
}

.course-category-card:hover {
    transform: translateY(-5px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.category-header i {
    font-size: 1.8rem;
    color: var(--accent-gold);
}

.category-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.course-list {
    list-style: none;
}

.course-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #555;
}

.course-list li i {
    color: var(--primary-blue);
    font-size: 0.8rem;
}

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


/* Global Responsive Patches */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    h1 { font-size: 2.2rem !important; }
    h2 { font-size: 1.8rem !important; }
    
    .hero h1 { font-size: 2.5rem !important; }
    
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .data-table th, .data-table td {
        padding: 10px;
        font-size: 0.85rem;
        min-width: 100px;
    }
    
    .portal-nav li {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .student-welcome-section {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 1.5rem;
    }
    
    .portal-brand span {
        font-size: 1.1rem;
    }
}
/* Modern Student Dashboard */
.student-welcome-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light)) !important;
    color: white !important;
    padding: 2.5rem !important;
    border-radius: 20px !important;
    overflow: hidden;
    position: relative;
}

.student-welcome-banner h2 {
    color: white !important;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.student-welcome-banner p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.welcome-status-badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #4cd137;
    border-radius: 50%;
    box-shadow: 0 0 10px #4cd137;
    display: inline-block;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.dashboard-card {
    padding: 1.8rem !important;
    height: 100%;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.card-header i {
    font-size: 1.4rem;
    color: var(--accent-gold);
}

.card-header h3 {
    font-size: 1.3rem;
    margin: 0;
}

.profile-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.detail-item label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.detail-item span {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-blue);
}

.status-items {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(10, 37, 64, 0.03);
    padding: 1rem;
    border-radius: 12px;
}

.status-icon {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.status-info label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.status-info span {
    font-weight: 600;
    color: var(--primary-blue);
}

.slideshow-card {
    grid-column: span 1;
}

.student-slideshow {
    border-radius: 12px;
    overflow: hidden;
    height: 200px;
}

.student-slideshow .slide-img {
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .student-welcome-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        text-align: left;
    }
}
