:root {
    --primary-color: #1e3799;
    --secondary-color: #0c2461;
    --accent-color: #1e3799;
    --text-color: #1f2937;
    --light-bg: #f8fafc;
}

body {
    background-color: var(--light-bg);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    padding-top: 76px;
}

/* Enhanced Navbar Styles */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
}

.navbar-brand img {
    height: 45px;
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(37, 99, 235, 0.1);
}

/* Hero Section */
.hero-section {
    background: white;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

#slider, #mobile-slider {
    position: relative;
    width: 100%;
    z-index: 1;
    border-radius: 0;
    overflow: hidden;
}

.carousel-item {
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.carousel-caption {
    bottom: auto !important;
    left: 50%;
    right: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

.carousel-caption .bg-dark {
    display: inline-block;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .carousel-caption h1 {
        font-size: 3rem;
    }
}



/* Articles Section */
.articles .card {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    max-width: 200px;
    margin: auto;
}

.articles .card:hover {
    transform: translateY(-5px);
}

.articles .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    /* margin-top: 1px; */
}

/* Swiper Styles */
.swiper {
    padding: 20px 0;
    width: 100%;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: auto;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.swiper-pagination {
    margin-top: 10px;
    text-align: center;
    position: relative;
    bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .swiper-slide {
        width: 100% !important;
        margin: 0 !important;
        flex: 0 0 100%;
        visibility: hidden;
    }
    
    .swiper-slide-active {
        visibility: visible;
    }
    
    .swiper {
        padding: 10px;
        overflow: hidden;
        width: 100%;
    }
    
    .articles .card {
        max-width: 100%;
        margin: 0;
        height: 100%;
    }
    
    .swiper-wrapper {
        display: flex;
        align-items: stretch;
    }
}


/* Footer Enhancement */
.footer {
    /* background-color: #1e3799; */
    background-image: url('../resources/Footer\ Update_final.jpg');
    width: 100%;
    margin: 0;
    padding: 0;
}

.footer-column {
    padding: 20px;
    color: white;
}

.footer-column h5 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-links a:hover {
    color: #f0f0f0;
}

.copyright-section {
    background-color: #0c2461;
    padding: 20px 0;
    margin: 0;
}

.copyright-section p {
    margin: 0;
    font-size: 14px;
    color: #a8b2d1;
}

.copyright-section a {
    color: #a8b2d1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright-section a:hover {
    color: white;
}

.row {
    margin: 0;
}

/* Make footer 2 columns on screens smaller than 768px */
@media (max-width: 768px) {
    .footer-column {
        width: 50%;
        float: left;
    }
}

/* Ensure 2 columns on screens smaller than 576px */
@media (max-width: 576px) {
    .footer-column {
        width: 50%;
        float: left;
    }
}

/* Logo Styles */
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 25px;
}

.logo img {
    height: 60px; /* Adjust the size as needed */
    width: auto;
    border-radius: 10px; /* Add curves to the sides */
}

/* Swiper Styles */
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-pagination {
    margin-top: 10px;
    text-align: center;
}






