.carousel {
    margin-top: -16px;
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 80px;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0;
    transition: all 0.3s ease;
    width: 100%;
    background: #0d6efd !important;
}

.navbar-brand {
    padding: 15px 0;
}

.navbar-nav .nav-item {
    position: relative;
    margin: 0 2px;
}

.navbar-nav .nav-link {
    padding: 25px 15px !important;
    font-weight: 500;
    color: #333 !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #4CAF50;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #4CAF50 !important;
}

@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 12px 15px !important;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
}

/* Animation for navbar on scroll */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007bff !important;
}

/* Carousel Styles */
.carousel-item {
    height: calc(100vh - 140px); /* Reduced from 160px */
    min-height: 500px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.7);
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 10px;
    bottom: 20%;
    max-width: 600px;
    margin: 0 auto;
}

.carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-caption p {
    font-size: 1.2rem;
    color: #fff;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

/* Info Section Styles */
.info .card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.info .card:hover {
    transform: translateY(-5px);
}

.info .card-title {
    color: #007bff;
    margin-bottom: 1rem;
}

.info .card-title i {
    margin-right: 0.5rem;
}

/* Footer Styles */
footer {
    background: linear-gradient(to right, #1a1a1a, #333);
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

social-icons a:hover {
    color: #007bff;
}

/* Add these styles for the footer */
.footer-section {
    background: linear-gradient(to right, #1a237e, #283593);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-top {
    background: rgba(0, 0, 0, 0.1);
}

.footer-logo {
    max-height: 120px;
    max-width: 150px;
}

.footer-section h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 50px;
    background: #4CAF50;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    padding: 7px 0;
    display: flex;
    align-items: center;
}

.footer-links ul i {
    font-size: 12px;
    margin-right: 10px;
    color: #4CAF50;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: start;
}

.footer-contact i {
    margin-right: 10px;
    color: #4CAF50;
    font-size: 16px;
    margin-top: 4px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #4CAF50;
    transform: translateY(-3px);
}

.footer-newsletter input {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 4px;
    width: 100%;
    color: #fff;
    margin-bottom: 15px;
}

.footer-newsletter button {
    background: #4CAF50;
    border: none;
    padding: 8px 25px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.footer-newsletter button:hover {
    background: #45a049;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #4CAF50;
}

/* Add these header styles to your existing CSS */
.top-bar {
    background: linear-gradient(to right, #1a237e, #283593);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    width: 100%;
    margin-left: 0px !important;
}
.top-contact-info{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    background: #1a237e;

    

}

.top-contact-info span {
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
}

.top-contact-info i {
    margin-right: 8px;
    color: #4CAF50;
}

.top-contact-info a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 5px 10px;
}

.top-contact-info a:hover {
    color: #4CAF50;
}

.top-social-links a {
    color: rgba(255, 255, 255, 0.9);
    margin-left: 15px;
    transition: all 0.3s ease;
}

.top-social-links a:hover {
    color: #4CAF50;
    transform: translateY(-2px);
}

/* Add these styles for the enhanced header */

.logo-section {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo-brand {
    display: inline-block;
    padding-left: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item i {
    font-size: 2rem;
    color: #0056b3;
}

.info-content h6 {
    margin: 0;
    font-weight: 600;
    color: #333;
}

.info-content p {
    margin: 0;
    color: #666;
}

.navbar {
    padding: 0;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    color: white !important;
    padding: 1rem 1.5rem !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    background: rgba(255,255,255,0.1);
}

.dropdown-menu {
    border: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 0;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0056b3;
}

@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
    }
    
    .dropdown-menu {
        background: rgba(255,255,255,0.1);
        border: none;
        box-shadow: none;
    }
    
    .dropdown-item {
        color: white;
    }
    
    .dropdown-item:hover {
        background: rgba(255,255,255,0.2);
        color: white;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }

    .carousel-caption {
        bottom: 10%;
        padding: 1rem;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .footer-section h4 {
        margin-top: 20px;
    }
    
    .footer-newsletter input {
        margin-bottom: 10px;
    }
    
    .footer-bottom {
        text-align: center;
    }
}

/* Info Cards Enhancement */
.card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-title {
    color: #0056b3;
    font-weight: 600;
}

.card i {
    margin-right: 10px;
    color: #0056b3;
}

/* Statistics Section */
.statistics {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.stat-item {
    padding: 2rem;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0056b3;
    margin: 1rem 0;
}

/* News Section */
.news-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.date-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #0056b3;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 600;
}

.news-content {
    padding: 1.5rem;
    background: white;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in;
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Add these carousel styles */
.hero {
    margin-top: 140px; /* Reduced from 160px */
    position: relative;
    background: #000;
}

.carousel-item {
    height: calc(100vh - 140px); /* Reduced from 160px */
    min-height: 500px; /* Minimum height on smaller screens */
    background: #000;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.8;
    transition: transform 1.2s ease-in-out;
}

.carousel-item.active img {
    transform: scale(1.05);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        rgba(0,0,0,0.2),
        rgba(0,0,0,0.4) 40%,
        rgba(0,0,0,0.6)
    );
}

.carousel-caption {
    position: absolute;
    bottom: 50%;
    transform: translateY(50%);
    left: 0;
    right: 0;
    max-width: 800px;
    margin: auto;
    padding: 2rem;
    background: rgba(0,0,0,0.4);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.carousel-caption h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1.5rem;
}

.carousel-caption p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    margin-bottom: 2rem;
}

.carousel-caption .btn {
    font-size: 1.1rem;
    padding: 0.75rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.carousel-caption .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.carousel-indicators {
    bottom: 40px;
}

.carousel-indicators button {
    width: 30px;
    height: 6px;
    border-radius: 3px;
    background-color: rgba(255,255,255,0.5);
    border: none;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #fff;
    width: 40px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .carousel-caption h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero {
        margin-top: 120px;
    }
    
    .carousel-item {
        height: calc(100vh - 120px);
    }
    
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption p {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 100px;
    }
    
    .carousel-item {
        height: calc(100vh - 100px);
        min-height: 350px;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1.1rem;
    }
    
    .carousel-caption .btn {
        font-size: 1rem;
        padding: 0.5rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .carousel-caption h1 {
        font-size: 1.75rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
}

/* Add sticky navbar styles */
.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    width: 100%;
}

/* For mobile responsiveness */
@media (max-width: 991.98px) {
    .hero {
        margin-top: 100px; /* Even smaller margin on mobile */
    }
    
    .carousel-item {
        height: calc(100vh - 100px);
        min-height: 400px;
    }
}

/* Add these mega menu styles */
.mega-menu {
    padding: 2rem 1rem;
    border: none;
    border-radius: 0;
    border-top: 2px solid #0d6efd;
    background: linear-gradient(to right, #ffffff, #f8f9fa);
    width: 100vw;
    left: 0;
    right: 0;
    padding: 2rem 30px;
}

.mega-menu h5 {
    color: #0d6efd;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.mega-menu .list-group-item {
    border: none;
    background: transparent;
    padding: 0.5rem 0;
    color: #495057;
    transition: all 0.3s ease;
}

.mega-menu .list-group-item:hover {
    background: transparent;
    color: #0d6efd;
    padding-left: 0.5rem;
}

.mega-menu .list-group-item i {
    width: 24px;
    color: #6c757d;
    transition: color 0.3s ease;
}

.mega-menu .list-group-item:hover i {
    color: #0d6efd;
}

.mega-menu .bg-light {
    background: rgba(13, 110, 253, 0.05) !important;
}

@media (max-width: 991.98px) {
    .mega-menu {
        padding: 1rem;
    }
    
    .mega-menu .col-lg-4:not(:last-child) {
        margin-bottom: 2rem;
    }
}

/* Add these accreditation logos styles */
.accreditation-logos img {
    transition: transform 0.3s ease;
    filter: grayscale(30%);
}

.accreditation-logos img:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
}

@media (max-width: 991.98px) {
    .accreditation-logos {
        text-align: center !important;
        margin-top: 1rem;
    }
    
    .accreditation-logos img {
        height: 40px !important;
        margin: 0.5rem;
    }
}

/* Add these styles for recruiting partners section */
.recruiting-partners {
    background: linear-gradient(to right, #f8f9fa, #ffffff);
}

.recruiting-partners .section-title h2 {
    color: #0d6efd;
    font-weight: 600;
    margin-bottom: 1rem;
}

.partner-logo {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.partner-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 768px) {
    .partner-logo {
        height: 100px;
        padding: 1rem;
    }
    
    .partner-logo img {
        max-height: 50px;
    }
}

/* Add these styles for partner slider */
.partner-slider {
    width: 100%;
    height: 150px;
    position: relative;
    overflow: hidden;
    background: white;
    margin: 2rem 0;
}

.slider-track {
    display: flex;
    width: calc(250px * 40); /* 20 logos * 2 for loop * 250px width */
    animation: scroll 40s linear infinite;
}

.partner-logo {
    width: 250px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    cursor: pointer;
}

.partner-logo img {
    max-width: 80%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.partner-overlay {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    background: rgba(13, 110, 253, 0.9);
    color: white;
    padding: 8px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
}

.partner-logo:hover .partner-overlay {
    bottom: 0;
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 20)); /* Move back by width of first set */
    }
}

/* Pause animation on hover */
.partner-slider:hover .slider-track {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .partner-slider {
        height: 120px;
    }
    
    .partner-logo {
        width: 200px;
        height: 120px;
    }
    
    .slider-track {
        width: calc(200px * 40);
    }
    
    @keyframes scroll {
        100% {
            transform: translateX(calc(-200px * 20));
        }
    }
}

/* Courses Section Styles */
.course-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.course-icon {
    width: 70px;
    height: 70px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.course-icon i {
    font-size: 2rem;
    color: #0d6efd;
}

.course-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.course-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    flex-grow: 1;
}

.course-features li {
    margin-bottom: 0.5rem;
    color: #6c757d;
}

.course-features li i {
    margin-right: 0.5rem;
    color: #0d6efd;
}

.title-divider {
    width: 80px;
    height: 4px;
    background: #0d6efd;
    margin: 1.5rem auto;
}

@media (max-width: 768px) {
    .course-card {
        padding: 1.5rem;
    }
    
    .course-icon {
        width: 60px;
        height: 60px;
    }
    
    .course-icon i {
        font-size: 1.5rem;
    }
}

/* Modern Academic Programs Section Styles */
.academic-programs {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.section-header {
    position: relative;
    z-index: 1;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    margin: 1.5rem auto;
    border-radius: 2px;
}

.program-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.program-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 20px;
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-card:hover::after {
    opacity: 1;
}

.program-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(13,110,253,0.1) 0%, rgba(13,110,253,0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.program-icon i {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #0d6efd, #6610f2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.program-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(13,110,253,0.1);
    color: #0d6efd;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.program-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #212529;
}

.program-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature {
    font-size: 0.875rem;
    color: #6c757d;
}

.feature i {
    color: #0d6efd;
    margin-right: 0.5rem;
}

.program-card .btn {
    margin-top: 1.5rem;
    border-radius: 30px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.program-card .btn:hover {
    background: #0d6efd;
    color: white;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .program-card {
        padding: 1.5rem;
    }

    .program-icon {
        width: 60px;
        height: 60px;
    }

    .program-icon i {
        font-size: 2rem;
    }

    .program-features {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Hero Carousel Styles */
.hero-carousel {
    margin-top: 100px; /* Adjust based on your header height */
    width: 100%;
    height: calc(100vh - 185px); /* Full viewport height minus header */
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* This will maintain aspect ratio */
    background-color: #f8f9fa; /* Light background for image padding */
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    padding: 0 20px;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        margin-top: 160px;
        height: calc(100vh - 160px);
    }
}

/* If there's still a gap, make sure the header's height matches this calculation */
.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

/* Ensure no margins or padding are causing gaps */
section {
    margin: 0;
    padding: 0;
}

/* Navbar styles */
.navbar-nav {
    gap: 0.5rem;
}

@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-item {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }
}

/* Ensure dropdown menus are properly aligned */
.navbar .dropdown-menu {
    margin-top: 0;
}

/* Adjust font size for longer menu items */
.navbar .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
}

/* Container adjustments */
.top-bar .container,
.logo-section .container,
.navbar .container {
    max-width: 100%;
    padding-left: 30px;
    padding-right: 30px;
}

@media (max-width: 991.98px) {
    .top-bar .container,
    .logo-section .container,
    .navbar .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar-collapse {
        background: #0d6efd;
    }
}

.top-contact-info .quick-links {
    margin-left: 15px;
}

.top-contact-info .quick-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0 5px;
    transition: color 0.3s ease;
}

.top-contact-info .quick-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .top-contact-info {
        font-size: 0.8rem;
    }
    
    .top-contact-info .quick-links {
        display: block;
        margin-top: 5px;
        margin-left: 15px;
    }
}

.top-contact-info .quick-links {
    margin-left: 15px;
}

.top-contact-info .quick-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0 5px;
    transition: color 0.3s ease;
}

/* Marquee styles */
.top-contact-info marquee {
    font-size: 0.9rem;
    padding: 2px 0;
    margin-bottom: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Emoji spacing */
.top-contact-info marquee span {
    margin: 0 10px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .top-contact-info marquee {
        font-size: 0.8rem;
    }
}

/* Add these styles for the marquee */
.small-marquee {
    font-size: 0.85rem;
    padding: 2px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #fff;
    width: 80%;
    margin: 5px auto;
    line-height: 1.2;
}

.top-contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Add hover pause effect */
.small-marquee:hover {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .small-marquee {
        width: 100%;
        font-size: 0.8rem;
    }
}