
:root {
    --primary-color: #cb0c0c;
    --primary-dark: #952624;
    --primary-light: #ff4444;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 4px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 3px 9px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Sidebar Styles */
.sidebar {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 0;
    min-height: 100vh;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 160px;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 35px 30px;
    position: relative;
    overflow: hidden;
}

.sidebar-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.sidebar-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--bg-white);
    margin: 0;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.2) 100%);
    margin-top: 12px;
    border-radius: 2px;
    position: relative;
    z-index: 1;
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-nav .nav {
    padding: 0;
}

.sidebar-nav .nav-item {
    margin-bottom: 4px;
}

.sidebar-nav .nav-link {
    color: var(--text-medium);
    padding: 16px 30px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    border-left: 3px solid transparent;
    position: relative;
}

.sidebar-nav .nav-link i:first-child {
    font-size: 18px;
    color: var(--text-light);
    transition: var(--transition);
}

.sidebar-nav .nav-link span {
    flex: 1;
}

.sidebar-nav .nav-link .arrow {
    font-size: 14px;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
    background: linear-gradient(90deg, rgba(203, 12, 12, 0.05) 0%, transparent 100%);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 35px;
}

.sidebar-nav .nav-link:hover i:first-child,
.sidebar-nav .nav-link.active i:first-child {
    color: var(--primary-color);
    transform: scale(1.1);
}

.sidebar-nav .nav-link:hover .arrow,
.sidebar-nav .nav-link.active .arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 20px;
    margin-top: auto;
}

.contact-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.contact-card h3 {
    color: var(--bg-white);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    margin-bottom: 20px;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-white);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: var(--primary-dark);
}

/* Content Area */
.content-area {
    background-color: var(--bg-light);
    padding: 0;
    min-height: 100vh;
}

.content-wrapper {
    padding: 50px 60px;
    max-width: 1400px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-white) 0%, #f8f9fa 100%);
    padding: 50px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(203, 12, 12, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(203, 12, 12, 0.3);
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 400;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Content Cards */
.content-card {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 16px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    gap: 25px;
    transition: var(--transition);
}

.content-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: rgba(203, 12, 12, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, rgba(203, 12, 12, 0.1) 0%, rgba(149, 38, 36, 0.05) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary-color);
}

.card-content {
    flex: 1;
}

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

.content-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-medium);
    margin: 0;
}

/* Highlight Card */
.highlight-card {
    background: linear-gradient(135deg, #fff8f8 0%, #fff 100%);
    border: 2px solid rgba(203, 12, 12, 0.15);
}

.highlight-card .card-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(203, 12, 12, 0.3);
}

/* Stats Section */
.stats-section {
    margin: 40px 0;
}

.stat-card {
    background: linear-gradient(135deg, var(--bg-white) 0%, #f8f9fa 100%);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

.stat-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--bg-white);
    box-shadow: 0 8px 20px rgba(203, 12, 12, 0.3);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Department Cards */
.department-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    height: 100%;
    transition: var(--transition);
}

.department-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.department-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
}

.department-header i {
    font-size: 32px;
    color: var(--primary-color);
}

.department-header h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.dept-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    margin-top: 15px;
    font-size: 14px;
    transition: var(--transition);
}

.dept-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* Responsive Design */

/* Tablet View */
@media (max-width: 991px) {
    .sidebar {
        min-height: auto;
        position: relative;
        height: auto;
    }
    
    .sidebar-header {
        padding: 25px 20px;
    }
    
    .sidebar-title {
        font-size: 24px;
    }
    
    .sidebar-nav .nav-link {
        padding: 14px 20px;
    }
    
    .sidebar-footer {
        display: none;
    }
    
    .content-wrapper {
        padding: 35px 30px;
    }
    
    .hero-section {
        padding: 35px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .content-card {
        padding: 25px;
        gap: 20px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 22px;
    }
    
    .department-card {
        padding: 30px;
        margin-bottom: 20px;
    }
}

/* Mobile View */
@media (max-width: 767px) {
    .sidebar-header {
        padding: 20px 15px;
    }
    
    .sidebar-title {
        font-size: 22px;
    }
    
    .sidebar-nav .nav-link {
        padding: 12px 15px;
        font-size: 13px;
        gap: 10px;
    }
    
    .sidebar-nav .nav-link i:first-child {
        font-size: 16px;
    }
    
    .content-wrapper {
        padding: 25px 20px;
    }
    
    .hero-section {
        padding: 25px;
        border-radius: 16px;
        margin-bottom: 30px;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
    }
    
    .content-card {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    .content-text {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .stat-card {
        padding: 25px 15px;
        margin-bottom: 15px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .department-card {
        padding: 25px;
    }
    
    .department-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .department-header i {
        font-size: 28px;
    }
    
    .department-header h3 {
        font-size: 18px;
    }
}

/* Small Mobile View */
@media (max-width: 576px) {
    .hero-title {
        font-size: 22px;
    }
    
    .hero-subtitle {
        font-size: 13px;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .content-text {
        font-size: 13px;
    }
    
    .stat-number {
        font-size: 32px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

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

.sidebar::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

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