body {
    font-family: "Poppins", sans-serif;
    color: #333;
}
.navbar-nav .nav-link {
    margin-right: 1rem;
}
.navbar-brand img {
    max-height: 70px;
}
.hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    min-height: 200px; /* Adjust the height as needed */
    max-height: 300px; /* Adjust the height as needed */
}
/* Hero Section */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    /* background: linear-gradient(135deg, #4a90e2, #007bff, #00d2ff, #4a90e2); */
    background: linear-gradient(135deg, #0A662E, #4CAF50, #88D498, #2E8B57);


    

    background-size: 400% 400%;
    animation: gradientAnimationHero 15s ease infinite;
    z-index: -1; /* Ensure the gradient stays behind the content */
}

/* Heading Styling */
.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Paragraph Styling */
.hero-section p {
    font-size: 1.25rem;
    margin: 0;
}

/* Gradient Animation Keyframes */
@keyframes gradientAnimationHero {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
/* About Section */
.about-section img {
    border-radius: 10px;
}

/* Features Cards */
.feature-card {
    box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
    border: none;
    transition: transform 0.3s;
    background: #fff;
    border-radius: 10px;
    height: 220px;
}
.feature-card:hover {
    transform: translateY(-5px);
}
.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Campus Life */
.campus-life {
    background: #f8f9fa;
    padding: 80px 0;
}
.campus-life h2 {
    margin-bottom: 50px;
}
.campus-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.07);
    transition: transform 0.3s;
    background: #fff;
}
.campus-card:hover {
    transform: scale(1.02);
}
.campus-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Testimonials */
.testimonials {
    background: #3f51b5;
    color: #fff;
    padding: 80px 0;
}
.testimonials h2 {
    margin-bottom: 50px;
}
.testimonial-item {
    text-align: center;
}
.testimonial-item img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-bottom: 15px;
}

/* Newsletter Section */
.newsletter-section {
    background: #11074d;
    color: #fff;
    padding: 2rem 0;
}

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, #26c6da 0%, #26a69a 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    padding: 2rem 0;
}
footer a {
    color: #ccc;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

.carousel-caption {
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    color: #000;
    width: auto; /* Adjust width to fit content */
    max-width: 400px; /* Maximum width */
    text-align: center;
    margin: 0 auto;
    border-radius: 15px;
    padding: 15px; /* Add padding */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow */
}
.carousel-img {
    width: 100%;
    height: auto; /* Maintains aspect ratio */
    object-fit: cover; /* Ensures the image fills the container */
    max-height: 80vh; /* Optional: Limits the height for uniform appearance */
}

/* Responsive Adjustments */
@media (min-width: 992px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    .hero-section p {
        font-size: 1.25rem;
    }
}


/* General Navbar Styles */
#top-menu {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.navbar {
    padding: 10px 15px;
}

.navbar-brand {
    font-weight: bold;
    color: #3352A3 !important;
}

.navbar-brand span {
    font-size: 18px;
}

/* Mobile Toggle Button */
.navbar-toggler {
    border: none;
}

/* Navbar Links */
.navbar-nav .nav-link {
    color: #555;
    font-weight: bold;
    padding: 10px 12px;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link:focus {
    color: #3352A3;
    background-color: #f9f9f9;
    border-radius: 4px;
}

/* Dropdown Menu */
.navbar-nav .dropdown-menu {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar-nav .dropdown-item {
    color: #555;
    font-size: 14px;
    padding: 10px 20px;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.navbar-nav .dropdown-item:hover, 
.navbar-nav .dropdown-item:focus {
    color: #fff;
    background-color: #007bff;
}

/* Button Styles */
.btn-primary {
    background-color: #3352A3;
    border: none;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.btn-primary:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 6px rgba(0, 123, 255, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #top-menu {
        font-size: 12px;
    }

    .navbar-brand span {
        font-size: 16px;
    }

    .btn-primary {
        padding: 6px 12px;
        font-size: 12px;
    }
}


.filter-buttons .btn { margin: 0 5px; border-radius: 30px; font-weight: 600; }
.notice-card { transition: transform 0.3s, box-shadow 0.3s; border-radius: 10px; border: none; box-shadow: 0px 4px 15px rgba(0,0,0,0.07); }
.notice-card:hover { transform: translateY(-5px); box-shadow: 0px 8px 20px rgba(0,0,0,0.1); }



/* Container for the notice hero section */
.notice-hero {
    position: relative;
    overflow: hidden;
    min-height: 150px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

/* Animated Gradient Background */
.notice-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(135deg, #4a90e2, #007bff, #00d2ff, #4a90e2);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    z-index: -1; /* Ensure the gradient stays behind the content */
}

/* Glass Overlay Effect */
.notice-hero .glass-overlay {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent */
    border-radius: 10px;
    backdrop-filter: blur(10px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle border */
    padding: 2rem;
    max-width: 800px; /* Optional: Limit the width */
    width: 90%; /* Responsive width */
    box-sizing: border-box;
    color: #fff; /* Ensure text is visible */
    position: relative; /* To position any pseudo-elements if needed */
}

/* Heading Styling */
.notice-hero .glass-overlay h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Paragraph Styling */
.notice-hero .glass-overlay p {
    font-size: 1.1rem;
    margin: 0;
}

/* Gradient Animation Keyframes */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .notice-hero .glass-overlay h1 {
        font-size: 2rem;
    }
    .notice-hero .glass-overlay p {
        font-size: 1rem;
    }
    .hero-section h1 {
        font-size: 1.75rem;
    }

    .hero-section p.lead {
        font-size: 1rem;
    }

    .carousel-caption h5 {
        font-size: 1.25rem;
    }

    .carousel-caption p {
        font-size: 0.875rem;
    }
    .carousel-img {
        height: 250px; /* Fixed height for mobile */
    }
}


.rounded-lg{
    border-radius: 25px;
}

.text-primary{
    color: #3352A3!important;
}


.testimonials {
    background: linear-gradient(135deg, #0A662E, #4CAF50, rgb(110, 216, 137), #2E8B57);
    background-size: 400% 400%; /* For smooth animation */
    animation: gradientAnimationHero 15s ease infinite;
    color: #fff;
}

/* Keyframes for Gradient Animation */
@keyframes gradientAnimationHero {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}



.testimonials h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.testimonial-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
    border-radius: 15px;
    backdrop-filter: blur(5px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(5px);
    padding: 2rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.testimonial-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid #fff;
}

.testimonial-item h5 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1rem;
}

.testimonial-item p {
    font-size: 1.1rem;
    margin-top: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.testimonials > .carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1); /* Makes arrows visible on dark backgrounds */
}
