/* =============================================
   BOSVE Website — Plain CSS Stylesheet
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  color: #1f2937;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

::selection { background-color: #FFD700; color: #004085; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #004085; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #003570; }

img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }
ul { list-style: none; }

/* --- Utility --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-medium { font-weight: 500; }
.font-light { font-weight: 300; }
.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }
.tracking-wide { letter-spacing: 0.05em; }
.tracking-wider { letter-spacing: 0.1em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.inline-block { display: inline-block; }
.block { display: block; }
.hidden { display: none; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-between { align-items: space-between; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.inset-0 { inset: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.whitespace-nowrap { white-space: nowrap; }
.cursor-pointer { cursor: pointer; }
.opacity-0 { opacity: 0; }
.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.2s, background-color 0.2s, border-color 0.2s; }
.transition-transform { transition: transform 0.3s ease; }
.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded { border-radius: 0.25rem; }
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-dashed { border-style: dashed; }
.resize-none { resize: none; }
.outline-none { outline: none; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }

/* --- Sizes --- */
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-full { width: 100%; }
.min-w-0 { min-width: 0; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.h-half { height: 2px; }
.h-1 { height: 0.25rem; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.min-h-80vh { min-height: 80vh; }
.min-h-screen { min-height: 100vh; }

/* --- Margins & Padding --- */
.m-0 { margin: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }
.mr-1 { margin-right: 0.25rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-0\.5 { padding-top: 0.125rem; }
.pl-10 { padding-left: 2.5rem; }
.pr-6 { padding-right: 1.5rem; }
.pr-12 { padding-right: 3rem; }
.pb-4 { padding-bottom: 1rem; }

/* --- Text Sizes --- */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }

/* --- Colors --- */
.bg-white { background-color: #ffffff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-white { color: #ffffff; }

/* BOSVE primary colors */
.bg-bosve { background-color: #004085; }
.bg-bosve-dark { background-color: #003570; }
.bg-bosve-darker { background-color: #002752; }
.bg-bosve-darkest { background-color: #001f3f; }
.text-bosve { color: #004085; }
.text-gold { color: #FFD700; }
.border-bosve { border-color: #004085; }
.border-gold { border-color: #FFD700; }

.bg-gold { background-color: #FFD700; }
.text-green-600 { color: #16a34a; }
.text-green-700 { color: #15803d; }
.bg-green-100 { background-color: #dcfce7; }
.bg-green-50 { background-color: #f0fdf4; }
.bg-green-600 { background-color: #16a34a; }
.bg-green-700 { background-color: #15803d; }
.text-red-600 { color: #dc2626; }
.bg-red-100 { background-color: #fee2e2; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-blue-100 { background-color: #dbeafe; }
.text-blue-100 { color: #dbeafe; }
.text-blue-200 { color: #bfdbfe; }
.text-blue-300 { color: #93c5fd; }

/* --- Shadows --- */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow { box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }

/* --- Gradients --- */
.gradient-hero { background: linear-gradient(to bottom right, #004085, #003570, #001f3f); }
.gradient-vm { background: linear-gradient(to bottom right, #004085, #003570, #001f3f); }
.gradient-prog-1 { background: linear-gradient(to right, #004085, #003570); }
.gradient-prog-2 { background: linear-gradient(to right, #003570, #001f3f); }
.gradient-prog-3 { background: linear-gradient(to right, #1a5276, #004085); }
.gradient-academic { background: linear-gradient(to right, #004085, #003570); }
.gradient-blue-gradient { background: linear-gradient(to right, #eff6ff, rgba(219,233,254,0.5)); }

/* --- Grid --- */
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }
.grid-auto-2 { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.grid-auto-3 { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-auto-4 { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* --- Backdrop --- */
.backdrop-blur-sm { backdrop-filter: blur(4px); }

/* --- Page sections --- */
.page-section { display: none; }
.page-section.active { display: block; }

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
  50% { box-shadow: 0 0 30px 10px rgba(255, 215, 0, 0.2); }
}

.animate-fadeInUp { animation: fadeInUp 0.8s ease-out forwards; }
.animate-slideDown { animation: slideDown 0.3s ease-out forwards; }
.animate-float { animation: float 12s ease-in-out infinite; }
.animate-pulse-gold { animation: pulseGold 3s ease-in-out infinite; }

/* --- Header --- */
.header { display: flex; align-items: center; padding: 1rem 1.5rem; background: #fff; border-bottom: 2px solid #e5e7eb; box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.header-logo { display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.3s; }
.header-logo:hover { transform: scale(1.05); }
.header-title { flex: 1; text-align: center; }
.header-title h1 { color: #004085; font-size: 1.5rem; font-weight: 800; letter-spacing: 0.05em; cursor: pointer; }
.header-title p { color: #6b7280; font-size: 0.75rem; margin-top: 0.25rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* --- Navbar --- */
.navbar { background: #004085; position: sticky; top: 0; z-index: 50; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.navbar-inner { max-width: 80rem; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-items { display: flex; align-items: center; justify-content: center; flex: 1; flex-wrap: wrap; }
.nav-item { padding: 1rem; color: #fff; font-size: 0.875rem; font-weight: 700; transition: background 0.2s, color 0.2s; position: relative; background: none; border: none; cursor: pointer; }
.nav-item:hover { background: #002752; color: #FFD700; }
.nav-item::after { content: ''; position: absolute; width: 0; height: 3px; bottom: 5px; left: 50%; background: #FFD700; transition: width 0.3s, transform 0.3s; transform: translateX(-50%); border-radius: 9999px; }
.nav-item:hover::after { width: 70%; }

.nav-dropdown { position: relative; }
.nav-dropdown-content { display: none; position: absolute; top: 100%; left: 0; background: #004085; min-width: 220px; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); border-radius: 0 0 0.5rem 0.5rem; overflow: hidden; z-index: 50; }
.nav-dropdown:hover .nav-dropdown-content { display: block; animation: slideDown 0.3s ease-out; }
.nav-dropdown-content button { display: block; width: 100%; text-align: left; padding: 0.75rem 1.25rem; color: #fff; font-size: 0.875rem; transition: background 0.2s, color 0.2s, padding-left 0.2s; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,0.1); }
.nav-dropdown-content button:last-child { border-bottom: none; }
.nav-dropdown-content button:hover { background: #002752; color: #FFD700; padding-left: 1.75rem; }

.hamburger { display: none; color: #fff; padding: 1rem; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: all 0.3s; }
.hamburger span + span { margin-top: 6px; }
.mobile-menu { display: none; background: #003570; padding-bottom: 1rem; }
.mobile-menu.open { display: block; }
.mobile-menu button { display: block; width: 100%; text-align: left; padding: 0.75rem 1.5rem; color: #fff; font-weight: 700; background: none; border: none; cursor: pointer; }
.mobile-menu button:hover { background: #002752; }
.mobile-submenu { padding-left: 2.5rem; }
.mobile-submenu button { color: rgba(255,255,255,0.8); font-size: 0.875rem; font-weight: 400; }
.mobile-submenu button:hover { color: #FFD700; background: #002752; }

/* --- Buttons --- */
.btn-gold { display: inline-flex; align-items: center; gap: 0.5rem; background: #FFD700; color: #004085; font-weight: 700; padding: 1rem 2rem; border-radius: 0.75rem; font-size: 1.125rem; transition: all 0.3s; border: none; cursor: pointer; }
.btn-gold:hover { background: #facc15; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); transform: translateY(-4px); }
.btn-outline-white { display: inline-flex; align-items: center; gap: 0.5rem; border: 2px solid #fff; color: #fff; font-weight: 700; padding: 1rem 2rem; border-radius: 0.75rem; font-size: 1.125rem; transition: all 0.3s; background: none; cursor: pointer; }
.btn-outline-white:hover { background: #fff; color: #004085; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); transform: translateY(-4px); }
.btn-bosve { display: inline-flex; align-items: center; gap: 0.5rem; background: #004085; color: #fff; font-weight: 700; padding: 0.75rem 2rem; border-radius: 0.75rem; transition: all 0.3s; border: none; cursor: pointer; }
.btn-bosve:hover { background: #003570; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.btn-outline-bosve { display: inline-flex; align-items: center; gap: 0.5rem; border: 2px solid #004085; color: #004085; font-weight: 700; padding: 0.75rem 2rem; border-radius: 0.75rem; transition: all 0.3s; background: none; cursor: pointer; }
.btn-outline-bosve:hover { background: #004085; color: #fff; }
.btn-green { display: inline-flex; align-items: center; gap: 0.5rem; background: #16a34a; color: #fff; font-weight: 700; padding: 0.75rem 2rem; border-radius: 0.75rem; transition: all 0.3s; border: none; cursor: pointer; }
.btn-green:hover { background: #15803d; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-full { width: 100%; justify-content: center; }

/* --- Form elements --- */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 700; color: #374151; margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border-radius: 0.75rem; border: 1px solid #e5e7eb;
  transition: all 0.3s; outline: none; font-size: 1rem;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: #004085; box-shadow: 0 0 0 3px rgba(0,64,133,0.1);
}
.form-group textarea { resize: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-checkbox { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: #4b5563; }
.form-checkbox input { border-radius: 0.25rem; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 3rem; }
.password-toggle { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); color: #9ca3af; background: none; border: none; cursor: pointer; }
.password-toggle:hover { color: #004085; }

/* --- Cards --- */
.card { background: #fff; border-radius: 1rem; border: 1px solid #f3f4f6; overflow: hidden; transition: all 0.3s; }
.card:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); transform: translateY(-4px); }
.card-body { padding: 1.75rem; }
.card-header { padding: 2rem; color: #fff; position: relative; overflow: hidden; }

/* --- Badge --- */
.badge { display: inline-block; padding: 0.5rem 1rem; border-radius: 9999px; font-weight: 700; font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase; }
.badge-bosve { background: rgba(0,64,133,0.1); color: #004085; }
.badge-gold-bg { background: #FFD700; color: #004085; }
.badge-green { background: #dcfce7; color: #15803d; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.75rem; }

/* --- Divider --- */
.divider { width: 6rem; height: 4px; background: #FFD700; margin: 0 auto; border-radius: 9999px; }

/* --- Stat cards --- */
.stat-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(4px); border-radius: 0.75rem; padding: 1.25rem; text-align: center; transition: all 0.3s; }
.stat-card:hover { background: rgba(255,255,255,0.2); transform: translateY(-4px); }
.stat-number { font-size: 1.875rem; font-weight: 800; color: #FFD700; }
.stat-label { font-size: 0.875rem; color: #bfdbfe; margin-top: 0.25rem; }

/* --- Feature card (About) --- */
.feature-card { background: #fff; border: 1px solid #f3f4f6; border-radius: 1rem; padding: 1.75rem; transition: all 0.3s; }
.feature-card:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); border-color: rgba(0,64,133,0.2); transform: translateY(-4px); }
.feature-icon { width: 3.5rem; height: 3.5rem; background: #004085; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.feature-card:hover .feature-icon { transform: scale(1.1); }
.feature-icon svg { width: 1.75rem; height: 1.75rem; color: #FFD700; }

/* --- Pillar card --- */
.pillar-card { background: #fff; border-radius: 0.75rem; padding: 1.25rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); border: 1px solid #f3f4f6; display: flex; align-items: flex-start; gap: 1rem; transition: all 0.3s; }
.pillar-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); transform: translateY(-2px); }
.pillar-icon { width: 3rem; height: 3rem; background: rgba(0,64,133,0.1); border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.3s; }
.pillar-card:hover .pillar-icon { background: #004085; }
.pillar-icon svg { width: 1.5rem; height: 1.5rem; color: #004085; transition: color 0.3s; }
.pillar-card:hover .pillar-icon svg { color: #FFD700; }

/* --- Vision/Mission card --- */
.vm-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(4px); border-radius: 1rem; padding: 2rem; border: 1px solid rgba(255,255,255,0.1); transition: all 0.3s; }
.vm-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-4px); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.vm-icon { width: 4rem; height: 4rem; background: #FFD700; border-radius: 1rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.vm-icon svg { width: 2rem; height: 2rem; color: #004085; }

/* --- Programme card --- */
.prog-card { background: #fff; border-radius: 1rem; overflow: hidden; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); border: 1px solid #f3f4f6; transition: all 0.3s; }
.prog-card:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); transform: translateY(-8px); }
.prog-card-header { padding: 2rem; color: #fff; position: relative; overflow: hidden; }
.prog-card-header .circle-decor { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.05); }
.prog-card-header .circle-1 { width: 8rem; height: 8rem; top: -4rem; right: -4rem; }
.prog-card-header .circle-2 { width: 6rem; height: 6rem; bottom: -3rem; left: -3rem; }
.prog-card-icon { width: 4rem; height: 4rem; background: #FFD700; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); margin-bottom: 1rem; position: relative; z-index: 1; transition: transform 0.3s; }
.prog-card:hover .prog-card-icon { transform: scale(1.1); }
.prog-card-icon svg { width: 2rem; height: 2rem; color: #004085; }
.prog-card-body { padding: 1.75rem; }

/* --- Login card --- */
.login-card { background: #fff; border-radius: 1rem; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); overflow: hidden; }
.login-header { padding: 2rem; text-align: center; color: #fff; }
.login-header-icon { width: 4rem; height: 4rem; background: #FFD700; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.login-header-icon svg { width: 2rem; height: 2rem; color: #004085; }
.login-header h2 { font-size: 1.5rem; font-weight: 800; }
.login-header p { color: #bfdbfe; font-size: 0.875rem; margin-top: 0.25rem; }
.login-body { padding: 2rem; }

/* Login-only interactions, based on the supplied portal's fade, lift, and blue/gold hover treatment. */
.login-page.active { animation: login-page-enter 0.5s ease-out both; }
.login-page.active .login-back { animation: login-item-enter 0.45s ease-out both; }
.login-page.active .login-card { animation: login-card-enter 0.55s 0.08s ease-out both; }
.login-page .login-header-icon { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.login-page .login-card:hover .login-header-icon { transform: scale(1.05); box-shadow: 0 12px 20px rgba(0, 64, 133, 0.26); }
.login-page .form-group input { transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.login-page .form-group input:focus { border-color: #004085; box-shadow: 0 0 0 3px rgba(0, 64, 133, 0.12); }
.login-page .btn-bosve, .login-page .login-submit { transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease; }
.login-page .btn-bosve:hover, .login-page .login-submit:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 64, 133, 0.3); }
.login-page .btn-bosve:active, .login-page .login-submit:active { transform: translateY(0); }
.login-page .password-toggle { transition: color 0.2s ease, transform 0.2s ease; }
.login-page .password-toggle:hover { color: #004085; transform: scale(1.08); }

@keyframes login-page-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes login-item-enter { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }
@keyframes login-card-enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .login-page.active, .login-page.active .login-back, .login-page.active .login-card { animation: none; }
  .login-page .btn-bosve:hover, .login-page .login-submit:hover, .login-page .login-card:hover .login-header-icon, .login-page .password-toggle:hover { transform: none; }
}

/* Post-login EduPortal workspace — kept separate from the public BOSVE site. */
body.edu-dashboard-open .header, body.edu-dashboard-open .navbar { display: none; }
body.edu-dashboard-open #page-login-portal { padding: 0 !important; min-height: 100vh !important; background: #020817 !important; }
body.edu-dashboard-open #loginPortalRoot { max-width: none !important; padding: 0 !important; }
.edu-dashboard { min-height: 100vh; display: grid; grid-template-columns: 324px minmax(0, 1fr); background: #020817; color: #f8fafc; font-family: inherit; }
.edu-sidebar { background: rgba(2, 6, 23, .98); border-right: 1px solid #1e293b; padding: 24px 20px; display: flex; flex-direction: column; gap: 22px; }
.edu-brand, .edu-user { display: flex; align-items: center; gap: 14px; }
.edu-brand > span { width: 70px; height: 70px; border-radius: 22px; background: linear-gradient(135deg, #1d71d8, #1261bd); display: grid; place-items: center; font-size: 34px; }
.edu-brand small { display: block; color: #9cbbe4; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.edu-brand h2 { font-size: 23px; margin: 1px 0 0; }
.edu-user { border: 1px solid #26334a; border-radius: 20px; padding: 14px; background: #0f172a; }
.edu-user > b { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, #10b981, #14b8a6); display: grid; place-items: center; font-size: 21px; }
.edu-user strong, .edu-user small { display: block; }.edu-user small { color: #9cbbe4; margin-top: 2px; }
.edu-sidebar nav { display: grid; gap: 9px; }.edu-sidebar nav button { color: #dbeafe; border: 0; background: transparent; text-align: left; border-radius: 15px; padding: 16px; font-weight: 700; font-size: 17px; transition: .2s ease; }
.edu-sidebar nav button span { margin-right: 11px; }.edu-sidebar nav button:hover, .edu-sidebar nav button.active { background: #0c2050; color: #fff; transform: translateX(4px); }
.edu-logout, .edu-home { width: 100%; padding: 16px; border-radius: 16px; border: 1px solid #26334a; background: transparent; font-size: 17px; }.edu-logout { margin-top: auto; color: #fca5a5; }.edu-home { color: #9cbbe4; }.edu-logout:hover { background: rgba(239,68,68,.1); }.edu-home:hover { background: rgba(255,255,255,.05); color: #fff; }
.edu-content { padding: 34px 30px; overflow: auto; }.edu-hero { margin-bottom: 24px; }.edu-hero h1 { font-size: 38px; line-height: 1.15; margin: 0 0 10px; }.edu-hero p { color: #9cbbe4; font-size: 20px; }
.edu-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 25px; }.edu-stats article, .edu-card { background: #0f172a; border: 1px solid #26334a; border-radius: 30px; padding: 28px; }.edu-stats article { min-height: 160px; }.edu-stats h3, .edu-card h2 { color: #a9c5ed; font-size: 17px; margin: 0 0 28px; }.edu-stats strong { font-size: 36px; color: #fff; }.edu-status { font-size: 22px !important; text-transform: capitalize; color: #6ee7b7 !important; }
.edu-card { margin-bottom: 22px; transition: transform .3s ease, box-shadow .3s ease; }.edu-card:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0,0,0,.25); }.edu-card h2 { color: #b8cff0; margin-bottom: 18px; }
.edu-table-wrap { overflow-x: auto; }.edu-table { width: 100%; border-collapse: separate; border-spacing: 0; color: #fff; font-size: 16px; border: 1px solid #26334a; border-radius: 20px; overflow: hidden; }.edu-table th, .edu-table td { padding: 19px 20px; text-align: left; border-bottom: 1px solid #26334a; }.edu-table th { color: #a9c5ed; font-weight: 800; }.edu-table tbody tr:last-child td { border-bottom: 0; }.edu-table tbody tr:hover { background: rgba(37,99,235,.08); }.edu-profile { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }.edu-profile p { border-radius: 15px; background: #111c31; padding: 16px; }.edu-profile span { color: #9cbbe4; display: block; font-size: 13px; margin-bottom: 5px; }
@media (max-width: 850px) { .edu-dashboard { grid-template-columns: 1fr; }.edu-sidebar { border-right: 0; }.edu-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }.edu-logout { margin-top: 0; }.edu-stats, .edu-profile { grid-template-columns: 1fr; }.edu-content { padding: 25px 18px; }.edu-hero h1 { font-size: 30px; } }

/* --- Back button --- */
.back-btn { display: flex; align-items: center; gap: 0.5rem; color: #004085; font-weight: 700; transition: color 0.2s; margin-bottom: 2rem; background: none; border: none; cursor: pointer; font-size: 1rem; }
.back-btn:hover { color: #FFD700; }

/* --- Progress steps --- */
.steps { display: flex; align-items: center; justify-content: center; margin-bottom: 2.5rem; }
.step { display: flex; flex-direction: column; align-items: center; }
.step-circle { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.875rem; transition: all 0.3s; }
.step-circle.active { background: #004085; color: #FFD700; transform: scale(1.1); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.step-circle.done { background: #16a34a; color: #fff; }
.step-circle.pending { background: #e5e7eb; color: #6b7280; }
.step-label { font-size: 0.75rem; font-weight: 500; margin-top: 0.5rem; }
.step-label.active { color: #004085; }
.step-label.pending { color: #9ca3af; }
.step-line { width: 4rem; height: 2px; margin: 0 0.5rem; transition: background 0.5s; }
.step-line.done { background: #16a34a; }
.step-line.pending { background: #e5e7eb; }

/* --- Tabs --- */
.tabs { display: flex; gap: 0.5rem; margin-bottom: 2rem; background: #fff; padding: 0.5rem; border-radius: 1rem; box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); border: 1px solid #f3f4f6; flex-wrap: wrap; }
.tab-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.25rem; border-radius: 0.75rem; font-weight: 700; font-size: 0.875rem; transition: all 0.3s; background: none; border: none; cursor: pointer; color: #6b7280; min-width: 0; }
.tab-btn:hover { background: #f3f4f6; }
.tab-btn.active { background: #004085; color: #FFD700; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.tab-btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeInUp 0.5s ease-out; }

/* --- Tables --- */
.table-wrap { overflow-x: auto; }
table { width: 100%; font-size: 0.875rem; border-collapse: collapse; }
th, td { padding: 0.75rem 1rem; text-align: left; }
th { font-weight: 700; }
.table-header { background: #004085; color: #fff; }
.table-header th:first-child { border-radius: 0.5rem 0 0 0; }
.table-header th:last-child { border-radius: 0 0.5rem 0 0; }
.table-stripe-even { background: #f9fafb; }
.table-footer { background: #004085; color: #fff; }

/* --- ID Card --- */
.id-card { 
  background: linear-gradient(to bottom right, #004085, #001f3f); 
  border-radius: 1.25rem; 
  padding: 2.25rem 2rem; 
  color: #fff; 
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15); 
  border: 2px solid #FFD700;
  min-height: 31rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.id-card-info { background: rgba(255,255,255,0.08); border-radius: 0.75rem; padding: 1.25rem; font-size: 0.9rem; border: 1px solid rgba(255,255,255,0.15); }
.id-card-row { display: flex; justify-content: space-between; margin-bottom: 0.75rem; }
.id-card-row:last-child { margin-bottom: 0; }
.id-card-label { color: #bfdbfe; font-weight: 500; }
.id-card-value { font-weight: 700; color: #ffffff; }

/* --- Material item --- */
.material-item { display: flex; align-items: center; justify-content: space-between; padding: 1rem; background: #f9fafb; border-radius: 0.75rem; transition: all 0.2s; border: 1px solid #f3f4f6; }
.material-item:hover { background: #eff6ff; }
.material-icon { width: 2.5rem; height: 2.5rem; background: #fee2e2; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; }
.material-icon svg { width: 1.25rem; height: 1.25rem; color: #dc2626; }

/* --- Subject toggle buttons --- */
.subject-btn { padding: 0.75rem; border-radius: 0.75rem; border: 2px solid #e5e7eb; font-size: 0.875rem; font-weight: 500; transition: all 0.2s; background: none; cursor: pointer; color: #4b5563; }
.subject-btn:hover { border-color: #d1d5db; }
.subject-btn.selected { border-color: #FFD700; background: rgba(255,215,0,0.1); color: #004085; }

/* --- Programme selector --- */
.prog-select-btn { padding: 1rem; border-radius: 0.75rem; border: 2px solid #e5e7eb; text-align: left; transition: all 0.3s; background: none; cursor: pointer; width: 100%; }
.prog-select-btn.selected { border-color: #004085; background: rgba(0,64,133,0.05); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.prog-select-btn:hover { border-color: rgba(0,64,133,0.3); }

/* --- Academic Structure card --- */
.acad-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(4px); border-radius: 0.75rem; padding: 1.5rem; transition: all 0.3s; border: 1px solid rgba(255,255,255,0.1); }
.acad-card:hover { background: rgba(255,255,255,0.2); transform: translateY(-4px); }

/* --- Footer --- */
.footer { background: #001f3f; color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; max-width: 80rem; margin: 0 auto; padding: 4rem 1.5rem; }
.footer-brand-icon { width: 3rem; height: 3rem; background: #FFD700; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.footer-brand-icon svg { width: 1.5rem; height: 1.5rem; color: #004085; }
.footer-section h4 { font-weight: 700; color: #FFD700; margin-bottom: 1.25rem; font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-section li { margin-bottom: 0.75rem; }
.footer-section a { color: rgba(191,219,254,0.7); font-size: 0.875rem; transition: color 0.2s; display: flex; align-items: center; gap: 0.5rem; }
.footer-section a:hover { color: #FFD700; }
.footer-section p { color: rgba(191,219,254,0.7); font-size: 0.875rem; line-height: 1.625; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.footer-contact svg { width: 1rem; height: 1rem; color: #FFD700; flex-shrink: 0; margin-top: 0.125rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom-inner { max-width: 80rem; margin: 0 auto; padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { color: rgba(191,219,254,0.5); font-size: 0.875rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(191,219,254,0.5); font-size: 0.875rem; transition: color 0.2s; }
.footer-bottom-links a:hover { color: #FFD700; }

/* --- Upload area --- */
.upload-area { border: 2px dashed #d1d5db; border-radius: 0.75rem; padding: 1.5rem; text-align: center; transition: border-color 0.3s; position: relative; cursor: pointer; }
.upload-area:hover { border-color: #004085; }
.upload-area input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-area svg { width: 2rem; height: 2rem; color: #9ca3af; margin: 0 auto 0.5rem; }
.upload-area p { font-size: 0.875rem; color: #6b7280; }

/* --- Info banner --- */
.info-banner { background: #eff6ff; border-radius: 0.75rem; padding: 1rem; }
.info-banner p { font-size: 0.875rem; color: #4b5563; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .nav-items { display: none; }
  .hamburger { display: block; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  [style*="grid-template-columns: repeat(3, 1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }
  [style*="grid-template-columns: repeat(4, 1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
  .header { flex-wrap: wrap; gap: 0.5rem; }
  .header-title h1 { font-size: 1.125rem; }
  .form-row { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-auto-2, .grid-auto-3, .grid-auto-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  
  /* Robust mobile header adaptation */
  .header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem 1rem;
  }
  .header-logo img {
    width: 60px;
    height: 60px;
  }
  .header-title {
    margin: 0;
  }
  .header-title h1 {
    font-size: 1.125rem;
    line-height: 1.3;
  }
  .header-title p {
    font-size: 0.65rem;
  }

  /* Robust grids scaling */
  .responsive-grid-4,
  .responsive-grid-3,
  .responsive-grid-2,
  .responsive-grid-3-2 {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

@media (max-width: 640px) {
  .step-label { display: none; }
  .tab-btn span.tab-label { display: none; }
}

/* --- Responsive Grid Utility Classes --- */
.responsive-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.responsive-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.responsive-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.responsive-grid-3-2 {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2rem;
}

@media (max-width: 1024px) {
  .responsive-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .responsive-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* SVG icon sizing inside containers — only target direct SVG children */
.feature-icon > svg, .vm-icon > svg, .pillar-icon > svg, .prog-card-icon > svg, .login-header-icon > svg, .material-icon > svg, .footer-brand-icon > svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Document Download Options Buttons */
.doc-opt-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.doc-opt-btn:hover {
  border-color: #004085;
  background: #f0f7ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,64,133,0.1);
}
.doc-opt-btn.active {
  border-color: #004085;
  background: #ebf5ff;
  box-shadow: 0 0 0 2px rgba(0,64,133,0.2);
}
.doc-opt-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: #004085;
  color: #FFD700;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.doc-opt-icon > svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: #FFD700;
}
.doc-opt-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.doc-opt-text strong {
  font-size: 0.95rem;
  color: #004085;
}
.doc-opt-text span {
  font-size: 0.75rem;
  color: #6b7280;
}

