/* Global Styles */
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header */
header {
    background: #0a192f;
    color: white;
    position: relative;
    padding: 20px 0;
}

header nav {
    background: linear-gradient(45deg, #0a192f, #1f2a3b);
}

header .navbar-nav .nav-link {
    color: #00ffcc !important;
    font-weight: bold;
    text-transform: none;
    letter-spacing: 1px;
    font-size: 16px;
}

header .navbar-nav .nav-link:hover {
    color: #b3ff00 !important;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

header .navbar {
    position: absolute;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.bg-primary {
    --bs-bg-opacity: 2;
    background-color: rgb(80 121 217) !important;
}

.logo {
    float: left;
    font-size: 24px;
    font-weight: bold;
}

.carousel-item img {
    max-height: 500px;
    object-fit: cover;
}

.logo-img {
    height: 50px;
    vertical-align: middle;
}

nav {
    display: flex;
    justify-content: flex-end;
    padding: 10px 0;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline;
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

header::after {
    content: "";
    display: table;
    clear: both;
}

/* Hero Section */
.hero {
    background: #e0f7fa;
    padding: 60px 0;
    text-align: center;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background: #00796b;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

/* Features Section */
.features {
    background: #f4f4f4;
    padding: 40px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.feature {
    flex: 1 1 30%;
    margin: 15px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature h3 {
    margin-top: 0;
}

/* Footer */
footer {
    background: #0a192f;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer a {
    transition: transform 0.3s ease, color 0.3s ease;
}

footer a:hover {
    transform: translateY(-5px);
    color: #007bff;
}

footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

footer p {
    text-align: center;
}

footer .social-icons a {
    color: inherit;
    font-size: 24px;
    transition: color 0.3s, transform 0.3s;
}

footer .social-icons a:hover {
    color: #00ffcc;
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links li {
        display: block;
        margin: 10px 0;
    }

    nav {
        float: none;
        text-align: center;
    }

    .logo {
        float: none;
        text-align: center;
        display: block;
        margin-bottom: 10px;
    }

    .features {
        flex-direction: column;
        align-items: center;
    }

    .feature {
        width: 80%;
    }
}

/* Upcoming Events Section */
.events-section {
    background: #f9f9f9;
    padding: 50px 0;
}

.events-section .card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.events-section .card:hover {
    transform: translateY(-5px);
}

.events-section .card-img-top {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
}

.events-section .card-body {
    padding: 20px;
    text-align: left; /* Left-align all content */
}

.events-section .card-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 12px;
}

.events-section .card-body p {
    font-size: 1rem;
    margin-bottom: 6px; /* Slightly tighter spacing */
}

.events-section .card-body i {
    color: #5079d9; /* Primary theme color */
    margin-right: 8px;
    font-size: 1.1rem;
    vertical-align: middle;
}

.events-section .btn {
    background-color: #00796b;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
}

.events-section .btn:hover {
    background-color: #004d40;
}
