:root {
    --primary-blue: #1a4f8c;
    --secondary-blue: #2a6296;
    --accent-gold: #d4af37;
    --light-bg: #f8f9fa;
    --dark-text: #333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
}

.top-bar {
    background-color: var(--secondary-blue);
    color: white;
    font-size: 0.9rem;
}

.navbar {
    background-color: var(--primary-blue);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* .navbar-brand, .nav-link {
    color: white !important;
} */

.nav-link.active {
    color: var(--accent-gold) !important;
    font-weight: bold;
}

.logo-icon {
    font-size: 2rem;
    color: var(--accent-gold);
}

.motto {
    color: var(--accent-gold);
    font-style: italic;
    font-size: 0.8rem;
}

.hero-section {
    background: linear-gradient(rgba(26, 79, 140, 0.8), rgba(26, 79, 140, 0.8)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.section-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 15px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-gold);
}

.program-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.program-card .card-header {
    background-color: var(--primary-blue);
    color: white;
    font-weight: bold;
    padding: 15px 20px;
}

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

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

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

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    color: white;
}

.bg-light-blue {
    background-color: #e8f0f7;
}

.contact-info {
    background-color: var(--primary-blue);
    color: white;
    padding: 30px;
    border-radius: 10px;
}

.contact-info a {
    color: white;
    text-decoration: none;
}

footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 30px 0;
}

/* Slider Styles */
.carousel-item {
    height: 500px;
}

.carousel-caption {
    background-color: rgba(26, 79, 140, 0.7);
    padding: 20px;
    border-radius: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-blue);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

/* Gallery Styles */
.gallery-img {
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.03);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-item {
        height: 300px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .top-bar .contact-info {
        font-size: 0.8rem;
    }
}

.program-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.card-img-top-container {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .card-img-top {
    transform: scale(1.05);
}

.date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 123, 255, 0.85);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.85rem;
}

.program-meta {
    margin-top: 15px;
}

.bg-light-blue {
    background-color: #f0f8ff;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-weight: 700;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #007bff;
}

.card-img-top-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-img-top-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 123, 255, 0.85);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.85rem;
}

.program-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.bg-light-blue {
    background-color: #f0f8ff;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-weight: 700;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #007bff;
}