:root {
    --primary-blue: #4a90c2;
    --secondary-blue: #357abd;
}

body {
    background: #f8f9fa;
    min-height: 100vh;
}

.main-container {
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Header Styles */
.header {
    color: #2c3e50;
    padding: 2rem 0;
    border-bottom: 3px solid #217dbb;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header h1 {
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.header p {
    margin-bottom: 0;
    color: #6c757d;
}

.logo {
    max-height: 80px;
    width: auto;
    border-radius: 10px;
}

/* Navigation Styles */
.navbar {
    background-color: #217dbb !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.navbar-toggler {
    border-color: white;
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 400px);
}

/* Hero Carousel */
.hero-carousel {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.hero-slide {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    text-align: center;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="40" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="60" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="4" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-slide h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero-slide p {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.carousel-img-fix {
    height: 500px;         /* Sets the fixed height */
    object-fit: cover;     /* Crops image to fit the box without distortion */
    object-position: center; /* Centers the image within the box */
}

/* Section Headers */
.section-header {
    color: #217dbb;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Event Cards */
.event-card {
    background: white;
    border-radius: 8px;
    border-left: 4px solid #217dbb;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
}

.event-title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.event-date {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.event-links a {
    color: #217dbb;
    text-decoration: none;
    margin-right: 1rem;
    font-size: 0.9rem;
}

.event-links a:hover {
    text-decoration: underline;
}

/* Sidebar Styles */
.sidebar {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.sidebar-section {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar h5 {
    color: #217dbb;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.announcement-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #495057;
}

.bulletin-link {
    display: block;
    color: #217dbb;
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.bulletin-link:hover {
    text-decoration: underline;
    color: #2980b9;
}

.bulletin-link i {
    margin-right: 0.5rem;
}

.no-jobs {
    color: #6c757d;
    font-style: italic;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    margin-top: auto;
}

.social-links a {
    color: white;
    text-decoration: none;
    margin: 0 0.5rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #217dbb;
    transform: scale(1.1);
}

/* Header layout for logo positioning */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-text {
    flex: 1;
}

.header-logo {
    margin-left: 2rem;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, #007bff, #0056b3);
}

.topic-card {
    border-left: 4px solid #007bff;
    background: #f8f9fa;
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.category-badge {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
}

/* Responsive header */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .header-logo {
        margin-left: 0;
        margin-top: 1rem;
    }
}
