/* ============================================================
   MAIN STYLES - assets/css/style.css
   COMPLETE OVERHAUL - No Gold, Dark Red Accent, Dark Gray Footer
   ============================================================ */

:root {
    --primary-dark: #0a1628;
    --primary-mid: #1a2a4a;
    --primary-accent: #8b1a1a;
    --primary-accent-light: #a82a2a;
    --primary-accent-dark: #5c1010;
    --primary-accent-hover: #7a1616;
    --text-light: #f0f4f8;
    --text-dark: #1a1a2e;
    --card-shadow: 0 8px 32px rgba(0,0,0,0.12);
    --transition-speed: 0.3s;
    --footer-bg: #2d2d2d;
    --footer-dark: #1a1a1a;
    --footer-text: rgba(255,255,255,0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8f9fa;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ============================================================
   HEADER STYLES - White Background, Red Accent
   ============================================================ */
.university-header {
    background: #ffffff;
    padding: 0;
    border-bottom: 4px solid var(--primary-accent);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    position: relative;
    z-index: 1030;
    overflow: visible;
}

.university-header .container {
    padding-top: 0;
    padding-bottom: 0;
    overflow: visible !important;
}

.uni-emblem {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    padding: 0.05rem 0;
}

.uni-emblem .logo-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.uni-emblem .logo-wrapper img {
    height: 110px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: all 0.3s;
}

.uni-emblem .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: left;
}

.uni-name {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 3.8rem;
    color: #0a1628;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.uni-name span {
    color: var(--primary-accent);
}

.uni-tagline {
    font-weight: 500;
    font-size: 1.3rem;
    color: #4a5568;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-top: 0.05rem;
}

.uni-motto {
    font-style: italic;
    font-size: 1.1rem;
    color: #6c757d;
    border-left: 3px solid var(--primary-accent);
    padding-left: 0.6rem;
    margin-top: 0.1rem;
    font-weight: 300;
}

/* ============================================================
   HEADER ACTIONS
   ============================================================ */
.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.1rem 0;
    position: relative;
    z-index: 1031;
}

.header-actions .auth-buttons {
    display: flex;
    gap: 0.4rem;
}

.header-actions .btn-login {
    background: transparent;
    border: 2px solid var(--primary-accent);
    color: #0a1628;
    border-radius: 30px;
    padding: 0.2rem 1rem;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    line-height: 1.5;
}

.header-actions .btn-login:hover {
    background: var(--primary-accent);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(139,26,26,0.3);
}

.header-actions .btn-register {
    background: var(--primary-accent);
    border: none;
    color: white;
    border-radius: 30px;
    padding: 0.2rem 1rem;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    line-height: 1.5;
}

.header-actions .btn-register:hover {
    background: var(--primary-accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(139,26,26,0.25);
}

/* ============================================================
   USER DROPDOWN
   ============================================================ */
.header-actions .dropdown {
    position: relative;
    z-index: 1032;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: none;
    padding: 0.1rem 0.5rem;
    border-radius: 30px;
    transition: all 0.3s;
    color: #0a1628;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    cursor: pointer;
}

.user-dropdown-toggle:hover {
    background: rgba(139,26,26,0.08);
}

.user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.user-dropdown-toggle .user-name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.8rem;
}

.header-actions .dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    padding: 0.5rem 0;
    margin-top: 0.4rem;
    min-width: 200px;
    background: white;
    z-index: 1035;
    position: absolute;
    right: 0;
    left: auto;
}

.header-actions .dropdown-menu.show {
    display: block;
}

.header-actions .dropdown-item {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    color: #0a1628;
    transition: all 0.2s;
}

.header-actions .dropdown-item:hover {
    background: rgba(139,26,26,0.08);
    color: var(--primary-accent);
}

.header-actions .dropdown-item i {
    width: 1.2rem;
    color: var(--primary-accent);
    margin-right: 0.5rem;
    text-align: center;
}

/* ============================================================
   SEARCH ROW
   ============================================================ */
.header-search-row {
    background: #f8f9fa;
    padding: 0.15rem 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 0;
    position: relative;
    z-index: 999;
    overflow: visible !important;
}

.header-search-row .search-form {
    display: flex;
    width: 100%;
    gap: 0.4rem;
}

.header-search-row .search-form input {
    flex: 1;
    border-radius: 30px;
    padding: 0.35rem 1.2rem;
    border: 2px solid #e0e0e0;
    background: white;
    font-size: 0.85rem;
    transition: all 0.3s;
    width: 100%;
    height: 38px;
}

.header-search-row .search-form input:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 4px rgba(139,26,26,0.12);
    outline: none;
}

.header-search-row .search-form input::placeholder {
    color: #adb5bd;
    font-size: 0.8rem;
}

.header-search-row .search-form button {
    background: var(--primary-accent);
    border: none;
    border-radius: 30px;
    padding: 0.35rem 1.5rem;
    color: white;
    font-weight: 700;
    transition: all 0.3s;
    white-space: nowrap;
    font-size: 0.85rem;
    flex-shrink: 0;
    height: 38px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.header-search-row .search-form button:hover {
    background: var(--primary-accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(139,26,26,0.3);
}

.header-search-row .search-form button i {
    font-size: 0.85rem;
}

/* ============================================================
   NAVIGATION - WHITE BACKGROUND, RED ACCENT
   ============================================================ */
.main-nav {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-bottom: 2px solid var(--primary-accent);
    position: sticky;
    top: 0;
    z-index: 9998;
    overflow: visible !important;
}

.main-nav .container {
    overflow: visible !important;
}

.main-nav .navbar {
    padding: 0.2rem 0;
    overflow: visible !important;
}

.main-nav .collapse {
    overflow: visible !important;
}

.main-nav .navbar-nav {
    gap: 0.2rem;
    flex-wrap: wrap;
    overflow: visible !important;
}

.main-nav .nav-link {
    color: #0a1628;
    font-weight: 700;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    position: relative;
    text-transform: uppercase;
}

.main-nav .nav-link:hover {
    background: rgba(139,26,26,0.08);
    color: var(--primary-accent);
    transform: translateY(-2px);
}

.main-nav .nav-link.active {
    background: var(--primary-accent);
    color: white;
    box-shadow: 0 4px 15px rgba(139,26,26,0.25);
}

.main-nav .nav-link i {
    margin-right: 0.5rem;
    color: var(--primary-accent);
    width: 1.2rem;
    text-align: center;
    font-size: 0.85rem;
}

.main-nav .nav-link.active i {
    color: white;
}

.main-nav .nav-link .badge {
    background: var(--primary-accent);
    color: white;
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    margin-left: 0.3rem;
}

/* ============================================================
   MEGA MENU
   ============================================================ */
.main-nav .dropdown-mega {
    position: static !important;
}

.main-nav .dropdown-mega .dropdown-menu {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem 2rem;
    border: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    margin-top: 0 !important;
    background: white;
    border-top: 4px solid var(--primary-accent);
    left: 0;
    right: 0;
    display: none;
    z-index: 9999 !important;
    top: 100%;
    position: absolute;
}

.main-nav .dropdown-mega:hover .dropdown-menu {
    display: block !important;
}

.main-nav .dropdown-mega .dropdown-menu:hover {
    display: block !important;
}

.main-nav .dropdown-mega .dropdown-menu .mega-column {
    padding: 0 0.5rem;
}

.main-nav .dropdown-mega .dropdown-menu .mega-column h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-accent);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-nav .dropdown-mega .dropdown-menu .mega-column .mega-item {
    display: block;
    padding: 0.4rem 0.6rem;
    color: #495057;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s;
    border-radius: 6px;
    font-weight: 500;
}

.main-nav .dropdown-mega .dropdown-menu .mega-column .mega-item:hover {
    background: rgba(139,26,26,0.08);
    color: var(--primary-accent);
    padding-left: 1rem;
}

.main-nav .dropdown-mega .dropdown-menu .mega-column .mega-item i {
    color: var(--primary-accent);
    width: 1.2rem;
    margin-right: 0.5rem;
    text-align: center;
    font-size: 0.8rem;
}

.main-nav .dropdown-mega .dropdown-menu .mega-all-link {
    display: block;
    padding: 0.6rem 1rem;
    margin-top: 0.5rem;
    background: var(--primary-accent);
    color: white;
    text-align: center;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    text-decoration: none;
}

.main-nav .dropdown-mega .dropdown-menu .mega-all-link:hover {
    background: var(--primary-accent-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139,26,26,0.3);
}

/* ============================================================
   REGULAR DROPDOWN
   ============================================================ */
.main-nav .dropdown-menu {
    border: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    padding: 0.5rem 0;
    min-width: 220px;
    margin-top: 0 !important;
    background: white;
    border-top: 3px solid var(--primary-accent);
    z-index: 9998 !important;
}

.main-nav .dropdown:hover .dropdown-menu {
    display: block !important;
}

.main-nav .dropdown .dropdown-menu:hover {
    display: block !important;
}

.main-nav .dropdown-item {
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: #0a1628;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.main-nav .dropdown-item:hover {
    background: rgba(139,26,26,0.08);
    color: var(--primary-accent);
}

.main-nav .dropdown-item i {
    margin-right: 0.8rem;
    color: var(--primary-accent);
    width: 1.2rem;
    text-align: center;
}

.main-nav .dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: middle;
    color: #0a1628;
}

.main-nav .dropdown-toggle:hover::after {
    color: var(--primary-accent);
}

/* ============================================================
   STATIC PAGES DIVIDER
   ============================================================ */
.static-nav-divider {
    width: 2px;
    height: 30px;
    background: rgba(0,0,0,0.1);
    margin: 0 0.6rem;
    border-radius: 2px;
}

.static-nav-item .nav-link {
    font-weight: 600;
    color: #0a1628;
}

.static-nav-item .nav-link i {
    color: var(--primary-accent);
}

.static-nav-item .nav-link:hover {
    background: rgba(139,26,26,0.08);
}

/* ============================================================
   NAVBAR TOGGLER
   ============================================================ */
.main-nav .navbar-toggler {
    border: 2px solid var(--primary-accent);
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.main-nav .navbar-toggler:hover {
    background: rgba(139,26,26,0.1);
}

.main-nav .navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(139,26,26,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================================
   HERO SECTION - White Left, Red Right
   ============================================================ */
.hero-section {
    background: #ffffff;
    color: #0a1628;
    padding: 3rem 0 2.5rem;
    position: relative;
    overflow: hidden;
    min-height: 480px;
}

.hero-section .hero-left {
    padding-right: 2rem;
}

.hero-section .hero-right {
    background: var(--primary-accent);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section .hero-right::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-section h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #0a1628;
}

.hero-section h1 span {
    color: var(--primary-accent);
}

.hero-section .lead {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    line-height: 1.7;
    color: #4a5568;
}

.hero-badge {
    display: inline-block;
    background: rgba(139,26,26,0.1);
    border: 1px solid var(--primary-accent);
    color: var(--primary-accent);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-accent);
    font-family: 'Playfair Display', serif;
}

.hero-stats .stat-label {
    font-size: 0.8rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #4a5568;
}

.btn-hero {
    background: var(--primary-accent);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 0.8rem 2.5rem;
    font-weight: 700;
    transition: all 0.3s;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
}

.btn-hero:hover {
    background: var(--primary-accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139,26,26,0.3);
    color: white;
}

.btn-hero-outline {
    background: transparent;
    color: var(--primary-accent);
    border: 2px solid var(--primary-accent);
    border-radius: 30px;
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-hero-outline:hover {
    background: var(--primary-accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139,26,26,0.15);
}

/* ============================================================
   FLIPBOOK - Red Theme
   ============================================================ */
.flipbook-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
}

.flipbook-container {
    background: transparent;
    padding: 10px;
    border-radius: 16px;
    position: relative;
}

.page-flip-element {
    background: transparent !important;
    box-shadow: none !important;
}

.page-flip-element .st-page-flip {
    border-radius: 12px;
    box-shadow: 0 12px 50px rgba(0,0,0,0.4) !important;
}

/* Flipbook Pages */
.flipbook-page-content {
    width: 100%;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(145deg, #f8f4ec, #f0ebe3);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.flipbook-page-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(139,26,26,0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.flipbook-page-content .flipbook-icon {
    font-size: 3.5rem;
    color: var(--primary-accent);
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(139,26,26,0.15);
    position: relative;
    z-index: 1;
}

.flipbook-page-content h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.flipbook-page-content p {
    font-size: 0.95rem;
    color: #495057;
    line-height: 1.7;
    max-width: 280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.flipbook-page-content .flipbook-page-number {
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    font-size: 0.7rem;
    color: #adb5bd;
    font-weight: 600;
    letter-spacing: 1px;
}

.flipbook-page-content .flipbook-decoration {
    position: absolute;
    bottom: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5rem;
    color: rgba(139,26,26,0.1);
    letter-spacing: 4px;
}

/* Flipbook Cover */
.flipbook-cover-content {
    width: 100%;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(145deg, var(--primary-accent), var(--primary-accent-dark));
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.flipbook-cover-content::before {
    content: '';
    position: absolute;
    top: 8%;
    left: 8%;
    right: 8%;
    bottom: 8%;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
}

.flipbook-cover-content .cover-icon {
    font-size: 4rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.8rem;
    text-shadow: 0 0 40px rgba(255,255,255,0.2);
    position: relative;
    z-index: 1;
}

.flipbook-cover-content .cover-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: white;
    position: relative;
    z-index: 1;
}

.flipbook-cover-content .cover-title span {
    color: rgba(255,255,255,0.7);
}

.flipbook-cover-content .cover-line {
    width: 50px;
    height: 2px;
    background: rgba(255,255,255,0.5);
    margin: 0.8rem auto;
    position: relative;
    z-index: 1;
}

.flipbook-cover-content .cover-subtitle {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.flipbook-cover-content .cover-decoration {
    position: absolute;
    bottom: 1.2rem;
    font-size: 0.6rem;
    color: rgba(255,255,255,0.1);
    letter-spacing: 6px;
    z-index: 1;
}

/* Flipbook Controls */
.flipbook-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
    padding: 0.5rem;
}

.flipbook-controls .btn-control {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 1rem;
}

.flipbook-controls .btn-control:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.4);
    transform: scale(1.1);
}

.flipbook-controls .btn-control:active {
    transform: scale(0.95);
}

.flipbook-controls .btn-control i {
    font-size: 1.1rem;
}

.flipbook-controls .page-indicator {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
    letter-spacing: 0.5px;
}

.flipbook-controls .page-indicator span {
    color: rgba(255,255,255,0.9);
}

.flipbook-progress {
    width: 100%;
    max-width: 380px;
    height: 3px;
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.flipbook-progress .progress-bar {
    height: 100%;
    background: rgba(255,255,255,0.8);
    border-radius: 3px;
    transition: width 0.5s ease;
    width: 0%;
}

/* ============================================================
   SECTION TITLES - Red Accent
   ============================================================ */
.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.section-title span {
    color: var(--primary-accent);
}

.section-subtitle {
    color: #6c757d;
    font-size: 1rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--primary-accent);
    margin: 1rem 0 2rem;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
    padding: 4rem 0;
    background: white;
}

.about-section .about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.about-section .about-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.about-section .about-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2d3a4a;
}

.about-section .about-text strong {
    color: var(--primary-accent);
}

/* ============================================================
   KEYWORDS - Red Accent
   ============================================================ */
.keywords-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

.keyword-tag {
    display: inline-block;
    background: white;
    padding: 0.6rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    color: var(--primary-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    margin: 0.4rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.keyword-tag:hover {
    border-color: var(--primary-accent);
    color: var(--primary-accent);
    transform: translateY(-2px);
}

.keyword-tag i {
    color: var(--primary-accent);
    margin-right: 0.5rem;
}

/* ============================================================
   PUBLICATIONS - Red Accent
   ============================================================ */
.publications-section {
    padding: 4rem 0;
    background: white;
}

.pub-card-cesri {
    background: white;
    border: none;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s;
    height: 100%;
    border-left: 4px solid var(--primary-accent);
    padding: 1.5rem;
}

.pub-card-cesri:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.pub-card-cesri .pub-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.pub-card-cesri .pub-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.pub-card-cesri .pub-title a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.pub-card-cesri .pub-title a:hover {
    color: var(--primary-accent);
}

.pub-card-cesri .pub-excerpt {
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.pub-card-cesri .pub-meta {
    font-size: 0.8rem;
    color: #6c757d;
}

.pub-card-cesri .pub-meta i {
    color: var(--primary-accent);
    margin-right: 0.3rem;
}

.pub-card-cesri .btn-read {
    color: var(--primary-accent);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.pub-card-cesri .btn-read:hover {
    color: var(--primary-accent-dark);
    padding-left: 0.5rem;
}

/* ============================================================
   PAJSRI SECTION - Dark Background, Red Accent
   ============================================================ */
.pajsri-section {
    padding: 3rem 0;
    background: var(--primary-dark);
    color: white;
}

.pajsri-section h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2rem;
}

.pajsri-section h2 span {
    color: var(--primary-accent);
}

.pajsri-section .btn-accent {
    background: var(--primary-accent);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 0.8rem 2.5rem;
    font-weight: 700;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.pajsri-section .btn-accent:hover {
    background: var(--primary-accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139,26,26,0.3);
    color: white;
}

/* ============================================================
   FOOTER - DARK GRAY
   ============================================================ */
.university-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 2.5rem 0 1.5rem;
    border-top: 4px solid var(--primary-accent);
    margin-top: auto;
}

.university-footer h5 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

.university-footer a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.university-footer a:hover {
    color: var(--primary-accent);
}

.footer-divider {
    border-color: rgba(255,255,255,0.08);
    margin: 1.5rem 0;
}

.university-footer .badge {
    background: var(--primary-accent);
    color: white;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-custom {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb-custom .breadcrumb-item a {
    color: var(--primary-mid);
    text-decoration: none;
}

.breadcrumb-custom .breadcrumb-item a:hover {
    color: var(--primary-accent);
}

.breadcrumb-custom .breadcrumb-item.active {
    color: #6c757d;
}

/* ============================================================
   PAGINATION - Red Accent
   ============================================================ */
.pagination .page-link {
    color: var(--primary-dark);
    border: 1px solid #dee2e6;
    padding: 0.5rem 1rem;
}

.pagination .page-link:hover {
    background: rgba(139,26,26,0.08);
    border-color: var(--primary-accent);
}

.pagination .page-item.active .page-link {
    background: var(--primary-accent);
    border-color: var(--primary-accent);
    color: white;
}

/* ============================================================
   BUTTONS - Red Accent
   ============================================================ */
.btn-accent {
    background: var(--primary-accent);
    color: white;
    border: none;
    transition: all var(--transition-speed);
}

.btn-accent:hover {
    background: var(--primary-accent-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-accent {
    border: 2px solid var(--primary-accent);
    color: var(--primary-accent);
    background: transparent;
}

.btn-outline-accent:hover {
    background: var(--primary-accent);
    color: white;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    .uni-emblem .logo-wrapper img {
        height: 120px;
    }
    .uni-name {
        font-size: 1.4rem;
    }
    .uni-tagline {
        font-size: 0.6rem;
        letter-spacing: 2px;
    }
    .uni-motto {
        font-size: 0.65rem;
    }
    .header-actions .btn-login,
    .header-actions .btn-register {
        padding: 0.15rem 0.7rem;
        font-size: 0.7rem;
    }
    .header-search-row .search-form input {
        font-size: 0.8rem;
        padding: 0.3rem 1rem;
        height: 34px;
    }
    .header-search-row .search-form button {
        font-size: 0.8rem;
        padding: 0.3rem 1.2rem;
        height: 34px;
    }
    .header-actions .dropdown-menu {
        min-width: 180px;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    .about-section .about-image img {
        height: 250px;
    }
    .flipbook-page-content h4 {
        font-size: 1.2rem;
    }
    .flipbook-page-content p {
        font-size: 0.85rem;
    }
    .flipbook-page-content .flipbook-icon {
        font-size: 3rem;
    }
}

@media (max-width: 767.98px) {
    .uni-emblem {
        gap: 0.6rem;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0.05rem 0;
    }
    
    .uni-emblem .logo-wrapper img {
        height: 80px;
    }
    
    .uni-name {
        font-size: 1.2rem;
    }
    
    .uni-tagline {
        font-size: 0.5rem;
        letter-spacing: 1.5px;
    }
    
    .uni-motto {
        font-size: 0.55rem;
        padding-left: 0.4rem;
        border-left-width: 2px;
    }
    
    .uni-emblem .brand-text {
        text-align: center;
    }
    
    .header-actions {
        justify-content: center !important;
        padding: 0.1rem 0;
    }
    
    .header-actions .btn-login,
    .header-actions .btn-register {
        padding: 0.15rem 0.6rem;
        font-size: 0.65rem;
    }
    
    .user-avatar {
        width: 26px;
        height: 26px;
        font-size: 0.65rem;
    }
    
    .user-dropdown-toggle .user-name {
        max-width: 50px;
        font-size: 0.7rem;
    }
    
    .header-search-row {
        padding: 0.1rem 0;
    }
    
    .header-search-row .search-form {
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    
    .header-search-row .search-form input {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
        height: 32px;
    }
    
    .header-search-row .search-form button {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
        height: 32px;
        width: 100%;
        justify-content: center;
    }
    .header-actions .dropdown-menu {
        min-width: 160px;
        right: -20px;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section .lead {
        font-size: 1rem;
    }
    .hero-stats .stat-number {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .pub-card-cesri {
        padding: 1.2rem;
    }
    .pajsri-section h2 {
        font-size: 1.5rem;
    }
    .flipbook-wrapper {
        margin-top: 1.5rem;
    }
    .flipbook-controls .btn-control {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
    .flipbook-progress {
        max-width: 280px;
    }
    .hero-section .hero-right {
        min-height: 350px;
        margin-top: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .uni-emblem .logo-wrapper img {
        height: 60px;
    }
    
    .uni-name {
        font-size: 1rem;
    }
    
    .uni-tagline {
        font-size: 0.4rem;
        letter-spacing: 1px;
    }
    
    .uni-motto {
        font-size: 0.5rem;
        padding-left: 0.3rem;
    }
    
    .header-actions {
        gap: 0.2rem;
    }
    
    .header-actions .btn-login,
    .header-actions .btn-register {
        font-size: 0.6rem;
        padding: 0.1rem 0.5rem;
    }
    
    .user-dropdown-toggle {
        padding: 0.1rem 0.3rem;
        font-size: 0.65rem;
    }
    
    .user-avatar {
        width: 22px;
        height: 22px;
        font-size: 0.6rem;
    }
    
    .header-search-row .search-form input {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
        height: 28px;
    }
    
    .header-search-row .search-form button {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
        height: 28px;
    }
    .header-actions .dropdown-menu {
        min-width: 140px;
        right: -10px;
    }
    
    .hero-section h1 {
        font-size: 1.6rem;
    }
    .hero-badge {
        font-size: 0.7rem;
        padding: 0.3rem 1rem;
    }
    .btn-hero, .btn-hero-outline {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    .hero-stats {
        gap: 1rem;
    }
    .hero-stats .stat-number {
        font-size: 1.4rem;
    }
    .flipbook-page-content {
        padding: 1.2rem;
    }
    .flipbook-page-content h4 {
        font-size: 1rem;
    }
    .flipbook-page-content p {
        font-size: 0.75rem;
    }
    .flipbook-page-content .flipbook-icon {
        font-size: 2.2rem;
    }
    .flipbook-controls .btn-control {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }
    .flipbook-controls .page-indicator {
        font-size: 0.75rem;
        min-width: 50px;
    }
    .flipbook-progress {
        max-width: 200px;
    }
    .hero-section .hero-right {
        min-height: 280px;
        padding: 1.5rem;
    }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-accent {
    color: var(--primary-accent);
}

.bg-accent {
    background: var(--primary-accent);
    color: white;
}

.bg-accent-dark {
    background: var(--primary-accent-dark);
    color: white;
}

.border-accent {
    border-color: var(--primary-accent);
}

.shadow-hover {
    transition: all var(--transition-speed);
}

.shadow-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* ============================================================
   STATUS BADGES
   ============================================================ */
.status-badge.published { background: #d4edda; color: #155724; }
.status-badge.draft { background: #fff3cd; color: #856404; }
.status-badge.pending { background: #cce5ff; color: #004085; }
.status-badge.archived { background: #e2e3e5; color: #383d41; }
.status-badge.active { background: #d4edda; color: #155724; }
.status-badge.inactive { background: #f8d7da; color: #721c24; }
.status-badge.suspended { background: #fff3cd; color: #856404; }