body {
    font-family: 'Poppins', sans-serif;
    padding-top: 80px; /* For fixed navbar */
    background-color: #f8f9fa;
}

/* Navbar Styles */
.navbar {
    transition: background-color 0.3s;
}

.navbar.bg-primary {
    background-color: #021446 !important;
}

/* Logo Styles */
.navbar-brand img {
    height: 40px;
    width: auto;
}

footer img {
    height: 50px;
    width: auto;
}

/* Banner Styles */
.banner {
    height: 70vh;
    color: white;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.8);
}

.banner-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

.text-shadow {
    text-shadow: 0 3px 6px rgba(0,0,0,0.4);
}

.opacity-90 {
    opacity: 0.9;
}

/* Card Styles */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 20px;
    padding: 30px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
    padding: 30px;
}

/* Button Styles */
.btn {
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: #021446;
    border-color: #021446;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #218838;
    border-color: #218838;
}

.btn-outline-primary {
    border-color: #021446;
    color: #021446;
}

.btn-outline-primary:hover {
    background-color: #021446;
    color: white;
}

.btn-outline-secondary {
    border-color: #ddd;
    color: #2c3e50;
    font-weight: bold;
}

.btn-outline-secondary:hover {
    background-color: #021446;
    color: white;
    border-color: #021446;
}

/* Footer Styles */
footer a {
    transition: color 0.3s;
}

footer a:hover {
    color: #218838 !important;
}

/* General Utility Styles */
.z-1 {
    z-index: 1;
}

.page-header {
    padding: 80px 0 60px;
    border-radius: 0 0 20px 20px;
}

.section {
    margin: 40px 0;
}

.glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
}

.zoom-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zoom-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Contact Page Specific Styles */
.form-control:focus, .form-select:focus {
    border-color: #021446;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

/* Achievements Page Specific Styles */
.stat-card:hover {
    transform: translateY(-5px);
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 50px auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #021446;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: #021446;
    border: 4px solid white;
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
}

/* Members Page Specific Styles */
.member-card:hover {
    transform: translateY(-5px);
}

/* Mission Page Specific Styles */
.aim-item {
    display: flex;
    margin-bottom: 40px;
    align-items: flex-start;
}

.aim-number {
    background: linear-gradient(135deg, #5c76e8 0%, #7549a1 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-right: 30px;
}

.impact-card:hover {
    transform: translateY(-5px);
}

/* About Page Specific Styles */
.about-text h2:first-child {
    margin-top: 0;
}

/* Home Page Specific Styles */
.hero-banner {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

/* Responsive Adjustments */
@media (max-width: 968px) {
    .row.g-5 {
        flex-direction: column;
    }

    .row.row-cols-md-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .row.g-3 .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .row.row-cols-md-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item.left::after, .timeline-item.right::after {
        left: 21px;
    }

    .timeline-item.right {
        left: 0;
    }

    .row.row-cols-md-2 {
        grid-template-columns: 1fr;
    }

    .d-flex.flex-md-row {
        flex-direction: column !important;
    }

    .d-flex.flex-md-row .btn {
        width: 200px;
        margin: 10px auto;
    }

    .aim-item {
        flex-direction: column;
    }

    .aim-number {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .row.row-cols-lg-4 {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .hero-banner h1 {
        font-size: 2.5rem;
    }

    .hero-banner .fs-3 {
        font-size: 1.2rem !important;
    }
}
.bg-primary{
    color: #021446 !important;
}