body {
    background: linear-gradient(135deg, #e0eafc, #cfdef3);
    font-family: Arial, sans-serif;
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.card {
    margin: 20px;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    transition: transform 0.5s ease;
}

/* .card-img-top:hover {
    transform: scale(1.2);
} */

.social-links a {
    margin: 0 10px;
    color: #007bff;
    text-decoration: none;
}

.social-links a:hover {
    color: #0056b3;
}

.social-links i {
    margin-right: 5px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.card-text {
    font-size: 1rem;
    color: #555;
}

footer {
    background-color: #007bff;
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer a {
    color: #ffc107;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .card {
        margin: 10px;
    }
}

/* Navbar Styles */
.navbar {
    margin-left: 10px;
    margin-right: 10px;
    padding-top: 0%;
    font-family: Arial, sans-serif;
    border-radius: 5px;
    background-color: #232f3e;
    color: rgb(18, 18, 18);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .brand-logo {
    height: 40px;
    /* Adjust logo height */
    width: auto;
    /* Maintain aspect ratio */
    margin-right: 10px;
    /* Space between logo and text */
}


.navbar .brand {
    text-decoration: none;
    font-size: 1.5rem;
    color: rgb(5, 5, 5);
    font-weight: bold;
}



.navbar .nav-links {

    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0;
}

.navbar .nav-links a {
    text-decoration: none;
    /* color: rgb(11, 10, 10); */
    color: #fff;
    font-size: 1.05rem;
    transition: color 0.3s ease;
    font-weight: bolder;
}

.navbar .nav-links a:hover {
    color: rgb(6, 221, 34);
    /* Ensure text remains visible */
    font-size: 1.15rem;
}

/* .navbar-nav .nav-link a:hover {
color: #28a745;
font-size: 1.07rem;
} */
.navbar-toggler {
    display: none;
    background-color: #28a745;
    color: white;
    border: none;
    padding: 5px 10px;
    font-size: 1rem;
    cursor: pointer;
}

/* Slider Menu */
.slider {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: #343a40;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

.slider.open {
    display: flex;
    right: 0;
}

.slider .close-btn {
    align-self: flex-end;
    font-size: 1.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

.slider .nav-links {
    flex-direction: column;
    gap: 50px;
    /* Large gap to highlight the hover effect */
    list-style: none;
    animation: fadeIn 0.5s ease-in-out;
}

.slider .nav-links a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    /* Increase font size for better visibility */
    padding: 10px 15px;
    transition: all 0.4s ease;
    /* Smooth hover animation */
    opacity: 0;
    animation: slideIn 0.5s ease forwards;
}

.slider .nav-links a:hover {
    /* background-color: #28a745; */
    font-size: 1.07rem;
    color: rgb(6, 221, 34);
    /* Ensure text remains visible */
    border-radius: 10px;
    /* Smooth rounded corners */
}

/* Keyframes for animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(30px);
        /* More dramatic slide-in effect */
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Staggered animation delays */
.slider .nav-links a:nth-child(1) {
    animation-delay: 0.2s;
}

.slider .nav-links a:nth-child(2) {
    animation-delay: 0.4s;
}

.slider .nav-links a:nth-child(3) {
    animation-delay: 0.6s;
}

.slider .nav-links a:nth-child(4) {
    animation-delay: 0.8s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
    }

    .navbar-toggler {
        display: block;
    }
}

marquee {
    color: #4CAF50;
    font-weight: bolder;
    font-size: 1.5rem;

}

.navbar .brand-logo {
    height: 40px;
    /* Adjust logo height */
    width: auto;
    /* Maintain aspect ratio */
    margin-right: 10px;
    /* Space between logo and text */
}


.text-bar-container {

    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.text-bar {
    display: flex;
    align-items: center;
    /* background-color: #8AE8E4; */
    padding: 10px 20px;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: rgb(11, 10, 10);
}

.text-bar-logo {
    height: 50px;
    /* Adjust height */
    width: auto;
    /* Maintain aspect ratio */
    margin: 0 10px;
    /* Space between the logos and text */
}
