

/* Navbar Styling */
.navbar {
    background-color: rgba(43, 112, 228, 0.8); /* Match theme color with 80% opacity */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.navbar-brand img {
    transition: transform 0.3s ease-in-out;
}

.navbar-brand img:hover {
    transform: scale(1.1); /* Slight zoom effect */
}

.nav-link {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s ease-in-out;
}

.nav-link:hover {
    color: #f9c74f; /* Accent color for hover */
    text-shadow: 0 0 10px rgba(249, 199, 79, 0.8);
}

.navbar-toggler {
    border: 1px solid #ffffff;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.nav-item .dropdown-menu {
    background-color: #2b70e4; /* Match navbar background */
    border: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.dropdown-item {
    color: #ffffff;
    transition: background-color 0.3s ease-in-out;
}

.dropdown-item:hover {
    background-color: #f9c74f; /* Highlight color */
    color: #2b70e4;
}

/* On Scroll Effect */
.navbar.scrolled {
    background-color: #1f54b0; /* Darker shade on scroll */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}



/* Ntsu Styling */
.carousel-inner {
    width: 100%; /* Ensure full width */
    height: 100%; /* Set max height to 70% of the viewport height */
    justify-content: center; /* Center the carousel items */
    align-items: center; /* Center the carousel items */
    background-color: transparent !important; /* Remove any background color */
}

.carousel-inner img {
    width: 500px; /* Set a consistent width */
    height: 500px; /* Set a consistent height */
    object-fit: contain; /* Ensure the whole image fits without being cut off */
    margin: auto;
    background-color: transparent !important; /* Remove any unwanted background */
}

.carousel.slide {
    height: auto; /* Let the height adjust automatically based on the content */
    justify-content: center;
    align-items: center;
}


/* General Styles */
body {
    background: linear-gradient(180deg, #1f1f1f 0%, #2b70e4 50%, #e4e4e4 100%);
    font-family: 'Arial', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}

.outer-container {
    scroll-behavior: smooth;
}

/* Hero Section */
section {
    padding: 5rem 0;
}

section .bg-primary {
    background-color: #2b70e4;
}

section .bg-light {
    background-color: #f4f4f4;
}

section h1 {
    color: #2b70e4;
}

section h1 .text-primary {
    color: #1e5bbf;
}

section a.btn-primary {
    background-color: #2b70e4;
    border: none;
    color: white;
    padding: 0.8rem 2rem;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

section a.btn-primary:hover {
    background-color: #1e5bbf;
    color: white;
}

/* Icon Section */
i.bi, i.fas {
    color: #2b70e4;
}

section h4 {
    color: #1f1f1f;
}

section p {
    color: #555;
}

/* About Us Section */
.text-white {
    color: white !important;
}

section.py-4 {
    background-color: #2b70e4;
}

section.py-4 h2 {
    color: #fff;
    font-weight: bold;
}

section.py-4 p {
    color: #e4e4e4;
}

section img {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Principal Section */
section img.rounded-circle {
    border: 5px solid #2b70e4;
}

section .bi-quote {
    color: #2b70e4;
}

section h5 {
    color: #333;
}

section .text-muted {
    color: #D3D3D3 !important;
}

/* News Section */
section h2 {
    color: #2b70e4;
}

section .text-primary {
    color: #2b70e4 !important;
}

section img {
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Footer Section */
footer {
    background-color: #1f1f1f;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

footer a {
    color: #2b70e4;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.sponsor-carousel img {
    height: 120px; /* or any fixed height you want */
    object-fit: contain; /* preserves aspect ratio, avoids distortion */
    width: 100%;
    display: block;
    margin: auto;
}

/* Sponsors Section */
.sponsor-logo {
    max-width: 180px;
    height: auto;
    padding: 15px;
    transition: all 0.3s ease;
}

.sponsor-logo:hover {
    transform: scale(1.05);
}

.swiper {
    padding: 30px 0;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Media query for smaller devices */
@media (max-width: 768px) {
    .carousel-inner img {
        width: 22rem; /* Adjust width for smaller screens */
        height: 24rem; /* Adjust height for smaller screens */

    }

    /* Center the carousel items on smaller devices */
    .carousel-inner {
        flex-direction: column; /* Stack items vertically */
        justify-content: center; /* Center vertically */
        align-items: center; /* Center horizontally */
    }
}
/* Add at the BOTTOM of your CSS file */
.swiper-slide {
    transition: transform 0.3s ease !important;
}

.swiper-slide:not(.swiper-slide-active) {
    opacity: 0.7;
    transform: scale(0.95);
}

.swiper-slide.swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}
