/* Importing fonts from Google */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
/* Custom CSS for University Website */

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.title {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

section {
    padding: 80px 0;
}

/* Top Bar Styles */
.top-bar {
    background-color: green;
    color: #fff;
    padding: 5px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.top-bar-menu li {
    margin-left: 15px;
}

.top-bar-menu li a {
    color: #fff;
    text-decoration: none;
}

.top-bar-menu li a:hover {
    text-decoration: underline;
}

/* Social Icons in Top Bar */
.top-bar .social-icons {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.top-bar .social-icons li {
    margin-left: 10px;
}

.top-bar .social-icons li a {
    color: #fff;
    font-size: 14px;
    transition: color 0.3s ease;
}

.top-bar .social-icons li a:hover {
    color: #1da1f2; /* Twitter blue as example */
}


@media (max-width: 576px) {
    .top-bar {
        font-size: 12px;
    }
    .navbar-brand {
        align-items: center;
    }
}


/* Navbar Styles */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}



/* Carousel Styles */
.carousel-item {
    height: 80vh;
    min-height: 500px;
    background: no-repeat center center scroll;
    background-size: cover;
}

.carousel-item img {
    object-fit: cover;
    height: 80vh;
    min-height: 500px;
}

.carousel-caption {
    bottom: 25%;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.carousel-caption h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.0rem;
    margin-bottom: 1.5rem;
}

/* News and Events Section */
.news-item, .event-item {
    transition: all 0.3s ease;
}

.news-item:hover, .event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}
.fixed-news-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 5px;
}

.blog-meta {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.date-part {
    text-align: center;
    min-width: 70px;
}

.date-part .month {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
}

.date-part .date {
    font-size: 1.8rem;
    font-weight: 700;
}

/* Study With Us Section */
.card {
    border: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.icon-wrapper {
    height: 60px;
    width: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.1);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Academics Section */
.faculty-card .card-img-top {
    height: 160px;
}

/* Campus Life Section */
.campus-card .card-img-top {
    height: 220px;
}

/* Podcasts Section */
.podcast-card {
    background-color: #fff;
}

/* Testimonials Section */
.testimonial-card {
    background-color: #fff;
}

.testimonial-quote {
    opacity: 0.5;
}

/* Partners Section */
.partner-logo {
    opacity: 0.7;
    transition: all 0.3s ease;
    max-height: 80px;
}

.partner-logo:hover {
    opacity: 1;
}

/* Contact Section */
.contact-info-card {
    background-color: #fff;
}

.contact-info-card i {
    opacity: 0.8;
}

/* Footer Section */
footer {
    background-color: #212529;
}

.social-icons a {
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #0d6efd !important;
}

/* Dropdown menu style */
.dropdown-menu {
    border-radius: 8px;
    padding: 0.5rem 0;
    
}

.dropdown-item {
    padding: 0.5rem 1rem;
    font-weight: 500;
    color:white;
}

.dropdown-item:hover {
    background-color: rgba(13, 110, 253, 0.1);
}

/* Ensure dropdown works well on hover for large screens */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

footer.bg-primary {
    background-color: #0d6efd !important; /* Bootstrap primary blue */
    color: #fff;
}

footer h3 {
    font-weight: 600;
}

footer ul {
    padding-left: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #ffc107; /* Bootstrap warning/yellow */
}

.social-icons a {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #fff;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ffc107;
}

.copyright-section {
    font-size: 0.9rem;
    color: #e9ecef;
}

@media (max-width: 767px) {
    .social-icons a {
        margin-right: 10px;
        font-size: 1.3rem;
    }
}


@media (max-width: 1524px) {
   .navbar-nav .nav-link {
    font-size: 12px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
}
/* Media Queries */
@media (max-width: 992px) {
    .carousel-item {
        height: 60vh;
    }
    
    .carousel-caption {
        bottom: 20%;
    }
    
    .carousel-caption h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
      .navbar-brand img {
        height: 40px;
    }
  
    section {
        padding: 60px 0;
    }
    
    .carousel-item {
        height: 50vh;
    }
    
    .carousel-caption {
        bottom: 15%;
    }
    
    .carousel-caption h2 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 40vh;
    }
    
    .carousel-caption {
        bottom: 10%;
        padding: 15px;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption .btn {
        font-size: 0.9rem;
    }
}






.footer-links {
    text-align: center; 
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-links i {
    width: 20px;
    text-align: center;
}



