/* Modern Professional Theme 2025 */
:root {
    --primary: #2C5282;
    --secondary: #4A5568;
    --accent: #3182CE;
    --success: #38A169;
    --background: #F7FAFC;
    --text: #2D3748;
    --text-muted: #718096;
    --border: #E2E8F0;
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-glass.navbar-scrolled {
    background: rgba(44, 82, 130, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-glass .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-glass .nav-link:hover {
    color: #fff;
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 82, 130, 0.95), rgba(49, 130, 206, 0.9));
    z-index: 1;
}

.text-gradient {
    background: linear-gradient(135deg, #63B3ED, #4FD1C5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Organization Structure */
.org-chart {
    position: relative;
    padding: 2rem 0;
}

.org-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background: #fff;
}

.org-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.org-card .card-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.main-card {
    max-width: 300px;
    margin: 0 auto;
    background: var(--primary);
    color: #fff;
}

.main-card .card-title {
    color: #fff;
}

.department-members {
    font-size: 0.9rem;
}

.department-members ul {
    margin-top: 0.5rem;
}

.department-members li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

/* Event Cards */
.event-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.event-image {
    position: relative;
    overflow: hidden;
}

.event-image img {
    transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: #fff;
    padding: 0.5rem;
    border-radius: 8px;
    text-align: center;
    min-width: 60px;
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.event-info {
    display: flex;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.event-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: #2B6CB0;
    border-color: #2B6CB0;
    transform: translateY(-2px);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* Section Styles */
.section-padding {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--background) !important;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #2B6CB0;
    transform: translateY(-3px);
    color: #fff;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .navbar-glass {
        background: var(--primary);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .org-chart-container {
        padding: 0 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .event-card {
        margin-bottom: 2rem;
    }
}