@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Academic Theme Colors (Virtual University Green & Slate Blue) */
    --bg-dark-900: #0a0e17;
    --bg-dark-800: #101524;
    --bg-dark-700: #1b2237;
    --bg-light-100: #f8fafc;
    --bg-light-200: #f1f5f9;
    --bg-light-300: #e2e8f0;
    
    --primary: #10b981; /* Academic VU Green */
    --primary-hover: #059669;
    --secondary: #3b82f6; /* Modern Blue */
    --secondary-hover: #2563eb;
    --accent: #f59e0b;
    
    --text-dark: #0f172a;
    --text-muted-dark: #64748b;
    --text-light: #f8fafc;
    --text-muted-light: #94a3b8;
    
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    --primary-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --accent-gradient: linear-gradient(135deg, var(--secondary), #4f46e5);
    --dark-gradient: linear-gradient(180deg, var(--bg-dark-900) 0%, var(--bg-dark-800) 100%);
    --glass-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --card-shadow: 0 10px 30px -10px rgba(10, 14, 23, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 30px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET & CORE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light-100);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--bg-light-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* PUBLIC NAV BAR */
.navbar {
    background: rgba(10, 14, 23, 0.95) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: var(--glass-border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 20px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-link {
    color: var(--text-muted-light) !important;
    font-weight: 600;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light) !important;
    background: rgba(255, 255, 255, 0.05);
}

/* HERO */
.hero-section {
    padding: 100px 0;
    color: var(--text-light);
    background: var(--dark-gradient);
    border-bottom: 3px solid var(--primary);
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 40%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-muted-light);
    margin: 20px 0 30px 0;
}

.custom-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-xl);
    padding: 12px 30px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    transition: var(--transition);
}

.custom-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(16, 185, 129, 0.5);
    color: white;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* SERVICES SECTION */
.services-section {
    padding: 80px 0;
    background: white;
}

.services-heading {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.services-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.services-list {
    margin-top: 24px;
}

.services-list li {
    font-size: 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
}

.services-list li::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
}

.services-image img {
    max-width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* SCROLLING BAR */
/* .video-scroll {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-sm);
    color: var(--primary-hover);
    padding: 12px 20px;
    font-weight: 600;
    overflow: hidden;
    position: relative;
} */

/* CARDS FOR GPA AND CALCULATORS */
.section {
    background: white;
    border: 1px solid var(--bg-light-300);
    border-radius: var(--radius-md);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.alert-info {
    background-color: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.15);
    color: var(--secondary-hover);
    border-radius: var(--radius-sm);
}

/* VIDEOS CONTAINER */
.video-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.video-box iframe {
    width: 260px;
    height: 160px;
    border-radius: var(--radius-sm);
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.video-box iframe:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

/* GRADE CALCULATOR SPECIAL STYLING */
.form-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-control {
    background-color: var(--bg-light-100);
    border: 1px solid var(--bg-light-300);
    border-radius: var(--radius-sm);
    padding: 12px;
    transition: var(--transition);
}

.form-control:focus {
    background-color: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.form-control:disabled {
    background-color: var(--bg-light-200);
    color: var(--text-muted-dark);
    cursor: not-allowed;
}

.card {
    border: 1px solid var(--bg-light-300);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 20px;
}

.card-header {
    background: var(--bg-light-200);
    font-weight: 700;
    border-bottom: 1px solid var(--bg-light-300);
    padding: 16px 20px;
}

.card-body {
    padding: 24px;
}

/* PREMIUM TABLE */
.table {
    margin-bottom: 0;
}

.table thead th {
    background-color: var(--bg-light-200);
    font-weight: 700;
    border-bottom: 2px solid var(--bg-light-300);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 12px;
}

.table tbody td {
    padding: 12px;
    vertical-align: middle;
}

.hidden {
    display: none !important;
}

/* HEADER BLOCK FOR CALCULATORS */
header {
    background: var(--dark-gradient);
    color: white;
    padding: 60px 0;
    text-align: center;
    border-bottom: 3px solid var(--primary);
}

header img {
    width: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

header h1 {
    font-size: 32px;
    font-weight: 800;
    margin-top: 15px;
}

header h5 {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
}

footer.bg-dark {
    background-color: var(--bg-dark-900) !important;
    border-top: var(--glass-border);
    color: var(--text-muted-light);
}

@media (max-width: 767px) {
    .video-boxes .video-box iframe {
        width: 100%;
        height: 200px;
    }
}


/* PREMIUM FOOTER */
.ms-footer {
    background: var(--bg-dark-900) !important;
    border-top: var(--glass-border);
    color: var(--text-muted-light);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 70px 10% 40px 10%;
    gap: 30px;
}

.footer-box {
    flex: 1 1 250px;
}

.footer-box h3 {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.footer-box p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-box ul {
    list-style: none;
    padding: 0;
}

.footer-box ul li {
    margin-bottom: 12px;
}

.footer-box ul li a {
    color: var(--text-muted-light);
    font-size: 14px;
}

.footer-box ul li a:hover {
    color: var(--text-light);
    padding-left: 6px;
}

.footer-bottom {
    background: #04060b;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    color: #4b5563;
}