


body {
    font-family: 'Poppins', sans-serif;
    
   
    margin: 0; /* Reset body margin */
    padding: 0; /* Reset body padding */
}
.slant {
    position: relative;
    height: 20px; /* Adjust height for the slant effect */
    background-color: transparent; /* The background color of the slant */
    z-index: 1;
}

.slant::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #5194c7 50%, transparent 50%); /* Slant line */
    z-index: -1; /* Place the slant behind the navbar */
}

/* Navbar Styling */
.top-bar1, .top-bar2 {
    z-index: 10;
}

.navbar {
    position: relative;
    z-index: 10;
}

/* Custom Styling for Top Bars */
.top-bar1 {
    background-color: #f1f1f1; /* Light background for Top Bar 1 */
}

.top-bar2 {
    background-color: #007bff; /* Primary color for Top Bar 2 */
}

.navbar-nav .nav-link {
    color: white !important;
}

/* Logo Section Styling */
.logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.college-logo-section {
    width: 50%; /* College logo takes 40% */
}

.college-logo {
    max-width: 120%;
    height: auto;
}

.small-logo-section {
    width: 30%; /* Small logos take 30% */
    display: flex;
    justify-content: space-between;
}

.small-logo {
    max-width: 75px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.small-logo:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
    }
    .college-logo-section, .small-logo-section {
        width: 100%;
        margin-bottom: 20px;
    }
}
/* If you have a container element */
.container-fluid {
    padding-left: 0;
    padding-right: 0;
}
/* Top Navigation Bar 1 (Secondary Nav) */
.top-bar1 {
    background: linear-gradient(90deg, #0056b3, #0073e6);
    width: 100%; /* Ensure full width */
}

.top-bar1 .navbar {
    margin: 0;
    padding: 0;
    width: 100%;
}

.top-bar1 .navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.top-bar1 .navbar-nav .nav-item {
    margin: 0;
    padding: 0;
}

.top-bar1 .navbar-nav .nav-link {
    padding: 12px 15px;
    display: inline-block;
    color: #ffffff;
    font-weight: 600;
    transition: color 0.3s ease;
}

.top-bar1 .navbar-nav .nav-link:hover {
    color: #ffcc00;
}

.top-bar1 .dropdown-menu {
    background: #0056b3;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.top-bar1 .dropdown-item {
    color: #ffffff;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.top-bar1 .dropdown-item:hover {
    background: #ffcc00;
    color: #003366;
}

/* Top Navigation Bar 2 (Top Social/Info Nav) */
.top-bar2 {
    background: linear-gradient(90deg, #0056b3, #0073e6);
    width: 100%; /* Ensure full width */
}

.top-bar2 .navbar {
    margin: 0;
    padding: 0;
    width: 100%;
}

.top-bar2 .navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.top-bar2 .navbar-nav .nav-item {
    margin: 0;
    padding: 0;
}

.top-bar2 .navbar-nav .nav-link {
    padding: 12px 15px;
    display: inline-block;
    color: #ffffff;
    font-weight: 600;
    transition: color 0.3s ease;
}

.top-bar2 .navbar-nav .nav-link:hover {
    color: #ffcc00;
}

.top-bar2 .dropdown-menu {
    background: #0056b3;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.top-bar1 .dropdown-item {
    color: #ffffff;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.top-bar2 .dropdown-item:hover {
    background: #ffcc00;
    color: #003366;
}

.top-bar {
    background: #002244;
    text-align: center;
    padding: 20px 0;
    color: #ffffff;
    width: 100%; /*full width*/
}

/* Rest of your styles remain the same */
/* Logo Section */
  

.logo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.small-logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}


.college-logo-section {
    flex: 50%;
    text-align: center;
}

.college-logo {
    width: 850px; /* Adjust college logo size */
    height: auto;
}

@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .small-logo-section {
        justify-content: center;
        flex-wrap: wrap;
    }

    .small-logo {
        width: 60px;
    }

    .college-logo {
        width: 200px;
    }
}

/* Optional: Adjust the layout for smaller screens */
@media (max-width: 768px) {
    .logo-container {
        flex-direction: column; /* Stack logos vertically on small screens */
        gap: 10px; /* Reduced gap between sections on mobile */
    }

    .college-logo-section, .small-logo-section {
        flex: 100%; /* Make sections full width on mobile */
    }

    .college-logo {
        max-width: 200px; /* Adjust main logo size on mobile */
    }

    .small-logo {
        max-width: 50px; /* Smaller logos on mobile */
    }
}

/* ... (rest of your styles) ... */

/* Footer */

.container-fluid.mt-3 {
    margin-top: 1.5rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.news-events, .col-md-6 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-events {
    justify-content: space-between;
}

.card {
    background-color: #e6f0ff;
    border-radius: 10px;
}

.card-header {
    background: linear-gradient(to right, #0056b3, #0073e6);
    padding: 15px;
    border-radius: 10px 10px 0 0;
}

.card-body {
    padding: 20px;
}

.card-header .header-title {
    margin: 0;
    font-size: 1.5rem;
    color: #6772da;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.salient-features li {
    padding: 15px 0;
    border-bottom: 1px solid #cce0ff;
}

.salient-features li:last-child {
    border-bottom: none;
}

.feature-heading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.feature-heading {
    font-weight: 600;
    margin-left: 10px;
    margin-bottom: 0;
    text-align: center;
    color: #191970; /* Navy blue for heading text */
}

.feature-content {
    margin-bottom: 0;
    text-align: center;
    color: #333;
}

.sub-list {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 0;
}

.feature-item {
    background-color: #f0f8ff;
    padding: 15px;
    border-radius: 5px;
    margin: 5px 0;
    text-align: center;
}

.feature-item i {
    margin: 0 10px 0 0;
}

.text-primary {
    color: #007bff !important;
}

.text-success {
    color: #28a745 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-info {
    color: #17a2b8 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-secondary {
    color: #6c757d !important;
}

#carouselExample {
    border-radius: 10px;
    overflow: hidden;
}

.carousel-item img {
    height: 400px;
    object-fit: cover;
    width: 100%;
}

.carousel-control-prev,
.carousel-control-next {
    filter: invert(80%); /* Slightly less intense invert */
}


#calendar {
    background-color: #f0f8ff; /* Lighter blue for calendar */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
.stats-section {
    
    padding: 40px 0;
}

/* Stat Box Styling */
.stat-box {
    position: relative;
    background-color:#babdd7;
    padding: 30px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.stat-box:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Stat Icon Styling */
.stat-box i {
    transition: transform 0.3s ease;
}

.stat-box:hover i {
    transform: rotate(360deg); /* Rotate icons on hover */
}

/* Stat Number Styling */
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    color: #007bff; /* Blue color for numbers */
}

/* Animating the stat numbers */
@keyframes counter {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Apply animation to the numbers */
.stat-number {
    animation: counter 1s ease-out forwards;
    font-size: 2rem;
    font-weight: bold;
    display: inline-block;
}

/* Apply color to different stats */
.stat-box:nth-child(1) .stat-number { color: #28a745; } /* Green */
.stat-box:nth-child(2) .stat-number { color: #007bff; } /* Blue */
.stat-box:nth-child(3) .stat-number { color: #28a745; } /* Yellow */
.stat-box:nth-child(4) .stat-number { color: #dc3545; } /* Red */
.video-embed {
    background-color: #f0f8ff; /* Light Blue */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.video-embed iframe {
    border-radius: 8px;
}
  .links-section {
         background: linear-gradient(135deg, #3a7bd5, #3a7bd5);  /* Blue gradient */
        color: white;
        padding: 40px 0;
    }
    .section-title {
        font-size: 22px;
        font-weight: bold;
        text-transform: uppercase;
        margin-bottom: 10px;
        text-align: center;
        color: #ffd700; /* Gold color for heading */
    }
    .links-list {
        list-style-type: none;
        padding-left: 0;
    }
    .links-list li {
        margin-bottom: 8px;
    }
    .links-list a {
        color: #fff;
        text-decoration: none;
        font-size: 14px;
        transition: color 0.3s ease-in-out;
    }
    .links-list a:hover {
        color: #ffd700; /* Gold color on hover */
        text-decoration: underline;
    }
   
    
     .testimonials-section {
       /* Blue gradient */
       color:white;
        padding: 50px 0;
    }

    .section-title {
      background: #0056b3; 
        font-size: 20px;
        font-weight: bold;
        text-transform: uppercase;
        color: #ffd700; /* Gold color for heading */
    }

    .testimonial-card {
        background-color: #ffffff;
        color: #333;
        text-align: center;
        border-radius: 15px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
        padding: 25px;
    }

    .testimonial-card:hover {
        transform: translateY(-10px); /* Elevate the card on hover */
    }

    .testimonial-text {
        font-size: 18px;
        font-style: italic;
        margin-bottom: 20px;
    }

    .testimonial-author {
        font-size: 20px;
        font-weight: bold;
        color: #333;
    }

    .testimonial-position {
        font-size: 16px;
        color: #777;
    }

    .testimonial-phone {
        font-size: 16px;
        color: #0056b3; /* Blue color for phone number */
        font-weight: bold;
        margin-top: 10px;
    }

    /* Phone Number Styling - Rounded Format */
    .testimonial-phone strong {
        color: #ffd700; /* Gold color for 'Phone' label */
    }

    /* Image Styling */
    .testimonial-photo {
        width: 120px; /* Adjust the size of the photo */
        height: 120px; /* Keep it square */
        object-fit: cover; /* Ensure the photo doesn't stretch */
        border-radius: 50%; /* Make the image circular */
        border: 4px solid #0d6efd; /* Blue border around the image */
        margin-bottom: 20px;
    }
    .gallery-section {
    background-color: #f9f9f9; /* Light background color for the gallery */
    padding-top: 30px;
    padding-bottom: 30px;
}

/* Styling for the section header */
.gallery-section h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 30px;
}

/* Scrollable container for gallery */
.gallery-wrapper {
    max-height: 400px; /* Set max height for the gallery */
    overflow-y: scroll; /* Enables vertical scrolling when content exceeds max height */
    padding: 15px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Image styling for gallery */
.gallery-item img {
    transition: transform 0.3s ease-in-out;
    max-width: 100%;
    height: auto;
}

/* Hover effect for images */
.gallery-item img:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow on hover */
}

/* Grid layout for gallery items */
.gallery-wrapper .gallery-item {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Optional: Customize scrollbar */
.gallery-wrapper::-webkit-scrollbar {
    width: 8px; /* Set width of the scrollbar */
}

.gallery-wrapper::-webkit-scrollbar-thumb {
    background-color: #007bff; /* Set color for the scrollbar thumb */
    border-radius: 4px;
}

.gallery-wrapper::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Set color for the scrollbar track */
}
/* Facilities Section Styling */
.facilities-section {
    background-color: #f9f9f9;
    padding-top: 30px;
    padding-bottom: 30px;
}

/* Section Header Styling */
.facilities-section h2 {
background:#3e70c8;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 30px;
}

/* Card Styling */
.card {
    height: 500px;
    width: 100%;
}

.card-img-top {
    height: 300px;
    object-fit: cover;
}


.card-body {
    padding: 20px;
}



/* Modal Image Styling */
.modal-body img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.features-section .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features-section .card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.features-section .card-img-top {
    height: 250px;
    object-fit: cover;
}
.features-section .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features-section .card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.features-section .card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.features-section .card-title {
    font-size: 24px;  /* Increased font size for the card titles */
    font-weight: bold;
    margin-top: 10px;
}

.features-section .card-body i {
    font-size: 50px;  /* Increased icon size */
    margin-bottom: 20px;
}

.features-section .card-body {
    text-align: center;
}
   .contact-card {
        width: 150px;
        padding: 15px;
    }

    .icon-circle {
        width: 70px;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-size: 26px;
        margin: auto;
    }
    .stat-box {
        transition: 0.3s ease-in-out;
    }

    .stat-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .stat-image {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 50%;
    }

    .course-info {
        font-size: 14px;
        font-weight: 500;
    }

    .stat-number {
        font-size: 40px;
        font-weight: bold;
    }
      .scholarship-marquee {
  background:#186CC7;
        color: white;
        padding: 8px;
        border-radius: 8px;
        font-weight: bold;
        font-size: 16px;
           
        text-align: center;
    }

    marquee {
        font-size: 16px;
        font-weight: bold;
        color: #fff;
    }
     .card {
        border: none;
        border-radius: 10px;
        transition: transform 0.3s ease-in-out;
    }

    .card:hover {
        transform: scale(1.05);
    }
    
 .date-box {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, #5ee7df, #b490ca);
        border-radius: 5px;
        font-size: 14px;
        font-weight: bold;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .month {
        font-size: 12px;
        font-weight: bold;
        text-transform: uppercase;
    }
    .day {
        font-size: 18px;
        font-weight: bold;
    }
    .event-text {
        font-size: 14px;
        font-weight: bold;
        color: #333;
    }
 .stats-section {
    /* Light Gray Background */
    padding: 30px 0;
    border: 3px solid #1E3A8A; /* Blue Border */
    border-radius: 8px;
}

/* Stat Box */
.stat-box {
    border: 2px solid #1E3A8A; /* Blue Border */
    border-radius: 8px;
    background: white;
    transition: transform 0.3s ease-in-out;
}

.stat-box:hover {
    transform: scale(1.05);
}

.stat-box h5 {
    color: #1E3A8A; /* Blue Theme */
}

.stat-number {
    font-weight: bold;
}

/* Info Container */
.info-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding: 20px;
    border: 3px solid #1E3A8A; /* Blue Border */
    border-radius: 8px;
    background: #eef2ff; /* Soft Blue Background */
}

/* Info Cards */
.info-card {
    width: 280px;
    background: white;
    border: 2px solid #1E3A8A; /* Blue Border */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 10px;
    transition: transform 0.3s ease-in-out;
}

.info-card:hover {
    transform: scale(1.05);
}

/* Info Card Images */
.info-card img {
    width: 100%;
    height: auto;
    border-bottom: 2px solid #1E3A8A; /* Blue Border Below Image */
}

/* Info Card Heading */
.info-content h5 {
    color: #1E3A8A; /* Blue Theme */
    font-weight: bold;
}

/* Read More Button */
.read-more {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: #fff;
    background: #1E3A8A;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}

.read-more:hover {
    background: #153071;
}

.gallery-header {
    background: linear-gradient(135deg, #1E3A8A, #3B5998); /* Deep Blue Gradient */
    padding: 20px 10px; /* Reduced padding */
    text-align: center;
    border-radius: 10px; /* Slightly smaller border radius */
    margin: 10px 15px; /* Reduced margin */
}

.text-center1 {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    border-bottom: 3px solid #fcd34d; /* Slightly thinner gold underline */
    display: inline-block;
    padding-bottom: 6px;
}


/* Gallery Container */
.gallery-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin: 40px auto;
    padding: 30px 40px;
    max-width: 1600px;
    background: linear-gradient(to right, #f8fafc, #e0e7ff); /* Blue-white soft bg */
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* Individual Card */
.gallery-card {
    width: 380px;
    height: auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 2px solid #1E3A8A;
    transition: transform 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-6px);
}

/* Card Headings */
.gallery-subheading {
    font-size: 22px;
    font-weight: 600;
    color: #1E3A8A;
    text-align: center;
    margin-bottom: 15px;
}

/* Image and Video Areas */
.swiper {
    width: 100%;
    height: 250px;
}

.swiper-slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.gallery-content iframe {
    width: 100%;
    height: 230px;
    border-radius: 8px;
    border: none;
}

/* Read More Link */
.read-more {
    margin-top: 12px;
    text-align: right;
    font-weight: 600;
    color: #f59e0b; /* Amber/Gold */
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}
  @media (max-width: 1024px) {
        .gallery-container {
            flex-direction: column;
            align-items: center;
        }
        .gallery-card {
            width: 90%;
        }
    }
  .stats-section {
        background: #e2eaf0;
        padding: 50px 0;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .stat-box {
        width: 150px;
        height: 150px;
        background: white;
        transform: rotate(45deg);
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        transition: transform 0.3s ease-in-out;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        position: relative;
    }

    .stat-box:hover {
        transform: rotate(45deg) scale(1.1);
    }

    .stat-content {
        transform: rotate(-45deg);
    }

    .stat-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .stat-number {
        font-size: 1.8rem;
        font-weight: bold;
        color: #28a745;
    }

    /* Connecting Lines */
   

    /* Centering the Stats */
    .stats-container {
        display: flex;
        
        align-items: center;
    }
       .news-events {
        background: #f8f9fa;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    }

    /* Title */
    .news-events h5 {
        font-size: 1.4rem;
        font-weight: bold;
        color: #0056b3;
        margin-bottom: 15px;
    }

    /* News Marquee */
    .news-marquee {
        background: white;
        height: 370px;
        overflow: hidden;
        border: 2px solid #007bff;
        border-radius: 10px;
        padding: 10px;
    }

    /* Date Box */
    .date-box {
        width: 50px;
        height: 60px;
        background: linear-gradient(135deg, #007bff, #0056b3);
        border-radius: 8px;
        padding: 5px;
        font-size: 14px;
        font-weight: bold;
    }

    .date-box .month {
        font-size: 12px;
        text-transform: uppercase;
        background: rgba(255, 255, 255, 0.3);
        padding: 3px;
        border-radius: 5px;
    }


    .date-box .day {
        font-size: 20px;
        font-weight: bold;
        margin-top: 5px;
    }

    /* Event Text */
    .event-text {
        font-size: 1rem;
        color: #333;
        font-weight: 500;
    }

    /* Event Hover Effect */
    .d-flex:hover .event-text {
        color: #007bff;
        font-weight: bold;
        transition: 0.3s ease-in-out;
    }
     .social-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 25px;  /* Reduced size */
        height: 25px; /* Reduced size */
        border-radius: 50%;
        background-color: white; /* White background */
        text-decoration: none;
        font-size: 16px; /* Reduced icon size */
    }

    .facebook {
        color: #1877F2; /* Facebook blue */
    }

    .twitter {
        color: #1DA1F2; /* Twitter blue */
    }

    .instagram {
        color: #E1306C; /* Instagram pinkish-red */
    }

    .youtube {
        color: #FF0000; /* YouTube red */
    }

    .social-icon:hover {
        filter: brightness(90%);
    }
   
    .background-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
        opacity: 0.3;
    }

    .content-wrapper {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 1200px;
    }

    .info-box {
        flex: 1;
        padding: 20px;
        background: white;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .stat-box {
        width: 150px;
        height: 150px;
        background: linear-gradient(135deg, #004080, #d4af37);
        display: flex;
        justify-content: center;
        align-items: center;
        transform: rotate(45deg);
        color: white;
        font-weight: bold;
        font-size: 18px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        border-radius: 10px;
    }

    .inner-box {
        transform: rotate(-45deg);
        text-align: center;
    }

    .btn-link {
        display: inline-block;
        padding: 10px 15px;
        background: #004080;
        color: white;
        text-decoration: none;
        border-radius: 5px;
    }
     .info-box img {
        width: 100px; /* Adjust size as needed */
        height: 100px;
        object-fit: cover;
        margin-bottom: 10px;
    }
   .info-box {
    padding: 20px;
    background-color: #5474B7;
    opacity: 0.85;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    color: #FEFEFE;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 220px;
    justify-content: space-between;
}

.info-box h5 {
    margin: 0 0 5px;
    font-size: 1.1em;
    color: #FFD700;
}

.info-box img {
    width: 70px;
    height: auto;
}

.btn-link {
    font-size: 0.9em;
    color: #1976D2;
    text-decoration: none;
    width: 110px;
    padding: 6px 0;
    background-color: #FFD700;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
}

.diamond-container {
      width: 360px;
      height: 200px;
      position: relative;
    }

    .swiper-container {
      width: 100%;
      height: 100%;
    }

    .swiper-slide {
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .diamond {
      width: 160px;
      height: 160px;
     
      transform: rotate(45deg);
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 16px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease;
    }

    .diamond:hover {
      transform: rotate(45deg) scale(1.05);
    }

    .inner-box {
      transform: rotate(-45deg);
      text-align: center;
      color: white;
    }

    .icon {
      font-size: 28px;
      margin-bottom: 10px;
    }

    .inner-box p {
      margin: 0;
      font-size: 16px;
      font-weight: 500;
    }

    .stat-number {
      font-size: 22px;
      font-weight: bold;
      margin-top: 6px;
    }
.diamond-outer-container {
    transform-origin: center center; /* Ensure rotation is around the center */
}

.diamond-wrapper {
    margin: 0 15px;
}

.diamond:hover {
    transform: rotate(45deg) translateY(-5px);
}

.diamond-wrapper:hover .diamond {
    z-index: 10;
}

.diamond-wrapper:hover ~ .diamond-wrapper .diamond {
    transform: rotate(45deg) translateX(10px) scale(0.95);
    opacity: 0.8;
}

.diamond-wrapper:hover + .diamond-wrapper .diamond {
    transform: rotate(45deg) translateX(-10px) scale(0.95);
    opacity: 0.8;
}

.diamond-container:not(:hover) .diamond {
    transform: rotate(45deg);
}

.diamond-container:not(:hover) .diamond-wrapper .diamond {
    transform: rotate(45deg);
    opacity: 1;
}
.carousel-indicators [data-bs-target] {
  background-color: #fff;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.7;
}
.carousel-indicators .active {
  opacity: 1;
}
.logo-section {
  margin: 0 !important;
  padding: 0 !important;
}

.logo-section img {
  display: block;
  max-height: 140px; /* optional: to align height uniformly */
}
.fade-wrapper::before,
.fade-wrapper::after {
  content: "";
  position: absolute;
  top: 10%;
  height: 80%;
  width: 2px; /* Decreased width */
  z-index: 1;
  opacity: 0.6; /* Softer effect */
}

.fade-wrapper::before {
  left: 0;
  background: linear-gradient(to bottom, #1a73e8, transparent);
}

.fade-wrapper::after {
  right: 0;
  background: linear-gradient(to bottom, #1a73e8, transparent);
}
@media (max-width: 992px) {
  /* Stack all columns vertically */
  .logo-section .col-md-3,
  .logo-section .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  /* Smaller left logo */
  .logo-section img[alt="Multiple Logos"] {
    width: 250px !important;
  }

  /* Larger center logo */
  .college-logo {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Smaller right logos */
  .logo-section img[alt="SBI Collect"],
  .logo-section img[alt="IBB"] {
    width: 60px !important;
    height: auto !important;
    margin: 0 5px;
  }

  /* Arrange right logos horizontally with spacing */
  .logo-section a.d-flex {
    gap: 10px;
    justify-content: center;
  }

  /* Hide faded vertical lines if present */
  .fade-wrapper::before,
  .fade-wrapper::after {
    display: none;
  }
}


    /* Fullscreen overlay */
   #popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black overlay */
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10000; /* Ensure it's on top of everything */
        }

        #popup-container {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
            position: relative;
        }

      
#popup-image {
    max-width: 600px; /* You can adjust this size */
    width: 100%;
    height: auto;
    border-radius: 10px;
}
        #close-button {
            position: absolute;
            top: 10px;
            right: 10px;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #555;
        }

        .hidden {
            display: none !important;
        }
  .top-bar2 a {
            font-size: 0.9rem;
        }
        .social-icon i {
            font-size: 0.9rem;
        }
        .navbar-nav .nav-link {
            padding-top: 0.2rem;
            padding-bottom: 0.2rem;
        }
        .navbar-nav .dropdown-menu .dropdown-item {
            padding-top: 0.15rem;
            padding-bottom: 0.15rem;
            font-size: 1rem;
        }
        .logo-inner-fixed {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: white; /* Ensure it covers underlying content */
            z-index: 1000;
        }
        .menu-sticky {
            position: sticky;
            top: 120px; /* Adjust based on the initial height of the logo section */
            background-color: white; /* Ensure it covers underlying content */
            z-index: 999;
        }
  
 .scroll-content {
    display: inline-block;
    animation: scrollUp 30s linear infinite;
}
.news-marquee:hover .scroll-content {
    animation-play-state: paused;
}
@keyframes scrollUp {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-100%);
    }
}
.program-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.program-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
        .feature-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 12px;
        height: 100%;
        overflow-y: auto;
    }

    .feature-box {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        background: #ffffff;
        padding: 10px;
        border-radius: 12px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    .feature-box:hover {
        transform: scale(1.02);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .feature-box img {
        width: 28px;
        height: 28px;
        object-fit: contain;
    }

    .feature-box h6 {
        font-size: 0.95rem;
        color: #00509d;
        font-weight: 600;
        margin-bottom: 3px;
    }

    .feature-box p {
        font-size: 0.85rem;
        color: #333;
        margin: 0;
    }
    .feature-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    margin-bottom: 0; /* Ensure no extra space */
    overflow-y: auto;
}

.news-events {
    padding-bottom: 0 !important; /* Remove any Bootstrap padding */
}

.feature-box:last-child {
    margin-bottom: 0 !important; /* Remove bottom margin from last item */
}
  .carousel-caption.college-day-caption-box {
    background: rgba(0, 0, 0, 0.3); /* Background to stand out */
    border-radius: 12px;
    padding: 10px 20px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    font-size: 1.25rem;
    font-weight: 600;
    /*backdrop-filter: blur(4px);*/
    /*-webkit-backdrop-filter: blur(4px);*/
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    bottom: 20px; /* Make sure it's not hidden */
  }

  .carousel-caption.college-day-caption-box h5 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
  }
/* Styles specifically for mobile screens (max-width: 767px) */
@media (max-width: 576px) {
  .logo-inner-4 img {
    width: 100% !important;
    max-width: 320px;
    height: auto;
  }

  .logo-inner-2,
  .logo-inner-4,
  .logo-section .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
    justify-content: center !important;
    text-align: center;
  }

  .logo-section .row {
    flex-direction: column;
  }
}
@media (max-width: 576px) {
  #popup-overlay {
    display: flex; /* Ensure the popup is centered on mobile */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
  }

  #popup-container {
    width: 80%; /* Make popup container larger on mobile */
    padding: 10px; /* Reduce padding for smaller screens */
    margin-left:-80px;
    border-radius: 8px; /* Rounded corners */
  }

  #popup-image {
    width: 100%; /* Make sure image fills the container */
    height: auto; /* Maintain aspect ratio */
  }

  /* Close button */
  #close-button {
    position: absolute;
    top: 10px; /* Position it near the top */
    right: 10px; /* Position it near the right */
    width: 30px;
    height: 30px;
    font-size: 24px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5); /* Background color */
    border: none;
    border-radius: 50%; /* Round button */
    cursor: pointer;
    z-index: 10000; /* Ensure it's above everything */
  }
}

@media (max-width: 600px) {
    /* Ensure stats boxes are visible */
    .stats-container {
        display: block;
        margin-top: 20px;
    }

    .stat-box {
        width: 100%; /* Full width on mobile */
        margin: 10px 0; /* Space between each stat box */
        padding: 15px;
        opacity: 0.9;
        background-color: #e6e6fa;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        text-align: center;
    }

    .stat-box .stat-content {
        display: block; /* Stack content for mobile */
    }

    /* Adjust stat box icon size for mobile */
    .stat-box .stat-icon {
        font-size: 2rem;
    }

    .stat-box h5 {
        font-size: 1.2rem; /* Slightly smaller font */
    }

    .stat-box .stat-number {
        font-size: 1.5rem; /* Adjust number size */
        color: #007bff;
    }

    /* Adjust box layout for other elements like Vision and Mission boxes */
    .stat-box, .stat-content {
        display: block; /* Make items stack vertically */
        width: 100%;
        margin-top: 10px;
    }

    /* Add padding and adjust layout of newsletter, prospectus, and mandatory disclosure boxes */
    .stat-box, .stat-box img {
        width: 100%; /* Full width for images */
        height: auto;
    }

    /* Adjust image sizes for smaller screens */
    .stat-box img {
        height: 150px;
        object-fit: contain;
    }

    /* Ensure flex layout does not overflow */
    .stats-container {
        display: flex;
        flex-direction: column; /* Stack boxes vertically on mobile */
        align-items: center;
    }
}
@media only screen and (max-width: 768px) {
  /* Background image section */
  div[style*="background: url"] {
    aspect-ratio: unset !important;
    background-size: cover !important;
    padding: 20px 10px;
  }

  /* Flex container for stats and vision/mission */
  .stats-container {
    flex-direction: column !important;
    align-items: center !important;
    padding: 10px !important;
    gap: 20px !important;
    margin-top: 20px !important;
  }

  /* Vision and Mission boxes */
  div[style*="background-color:#5474B7"] {
    width: 90% !important;
    height: auto !important;
    margin-top: 20px !important;
    padding: 10px !important;
  }

  /* Stats boxes */
  .stat-box {
    width: 90% !important;
    margin: 10px auto !important;
  }

  /* Vision/Mission text box */
  div[style*="overflow-y: auto;"] {
    height: auto !important;
    max-height: 300px !important;
  }

  /* Newsletter, Prospectus, Mandatory Disclosure Boxes */
  div[style*="margin-top: 130px"] {
    width: 90% !important;
    height: auto !important;
    margin-top: 20px !important;
    padding: 10px !important;
  }

  /* Images inside boxes */


  /* Text alignment and size */
  h5 {
    font-size: 1.1em !important;
  }

  .stat-number {
    font-size: 1.3em !important;
  }
}


@media (max-width:  991.98px) {
    .top-bar1 {
        background-color:#2278E3 !important;
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
    }

    .navbar {
        background-color: transparent !important;
    }

    .navbar-toggler {
        border-color: #fff;
    }

    /* Reduce the font size for better fit on small screens */
    .navbar-nav {
        font-size: 0.9rem !important;
    }

    /* Reduce font size for dropdown items */
    .dropdown-menu {
        font-size: 0.9rem !important;
    }

    /* Adjust the dropdown menu on mobile to prevent it from overflowing */
    .navbar-nav .dropdown-menu {
        position: absolute;
        width: 100%;
        left: 0;
        right: 0;
        top: 0;
        background-color: rgba(0, 0, 0, 0.9); /* Darken the background to make it more readable */
        z-index: 1000;
    }

    /* Add some space for better readability */
    .navbar-collapse {
        padding-top: 1rem !important;
    }

    /* Ensure the toggle icon is visible */
    .navbar-toggler-icon {
        background-color: #fff;
    }

    /* Add some space around the text in dropdown toggles */
    .navbar-nav .dropdown-toggle {
        padding: 0.5rem 1rem !important;
    }

    /* Add padding to dropdown items for better clickability */
    .navbar-nav .dropdown-item {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
        font-size: 1rem !important;
    }

    /* Center-align the navbar items */
    .navbar-nav {
        justify-content: center !important;
    }

    /* Remove extra padding in mobile view */
    .container-fluid {
        padding: 0 !important;
    }

    /* Dark background for better contrast */
    .navbar {
        background-color: #2375C2; /* Blue background */
        border-bottom: 2px solid #1d65a6; /* Add a bottom border for a more defined look */
    }

    /* Make the dropdown menu take full width */
    .dropdown-menu {
        width: 100% !important;
    }

    /* Add padding for touch devices */
    .nav-item {
        padding: 0.5rem 0 !important;
    }

    /* Highlight active links */
    .nav-link.active {
        color: #ff6347 !important; /* Tomato color */
        background-color: transparent;
    }

    /* Navbar items on hover */
    .navbar-nav .nav-item .nav-link:hover {
        color: #f0f0f0 !important; /* Lighter color on hover */
        background-color: #1d65a6; /* Slightly darker blue on hover */
        transition: background-color 0.3s ease-in-out; /* Smooth transition effect */
    }

    /* Dropdown menu items on hover */
    .navbar-nav .dropdown-item:hover {
        background-color: #1d65a6; /* Darker blue for dropdown hover */
        color: white !important; /* Ensure the text stays visible */
        transition: background-color 0.3s ease-in-out;
    }

    /* Add rounded corners to dropdowns and navbar items */
    .navbar-nav .dropdown-item {
        border-radius: 8px; /* Rounded corners for dropdown items */
    }

    .navbar-nav .nav-item {
        border-radius: 8px; /* Rounded corners for navbar items */
    }

    /* Make the navbar more compact on mobile */
    .navbar-nav .nav-item {
        margin: 0.2rem 0 !important;
    }

    /* Adjust navbar height for mobile */
    .navbar {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    /* Ensure the toggle button is aligned properly */
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
    }
}



@media (max-width: 991.98px) {
    /* Set background color for the top bar */
    
    /* Make the navbar background more subtle and clean */
    .navbar {
        background-color: transparent !important;
    }

    /* Stack navbar items vertically and center them */
    .navbar-nav {
        flex-direction: column !important;
        align-items: center !important;
        font-size: 1rem !important;
        width: 100%;
    }

    /* Styling for individual nav items */
    .nav-item {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.2); /* Soft divider between items */
    }

    /* Styling for nav links */
    .nav-link {
        color: #ffffff !important;
        padding: 0.8rem 1.5rem !important;
        width: 100%;
        font-size: 1.1rem !important;
        font-weight: 600;
        display: block;
        text-align: left;
        border-radius: 0.25rem;
        transition: all 0.3s ease;
    }

    /* Hover effect for nav links */
    .nav-link:hover {
        background-color: #005bb5 !important;
        color: #ffffff !important;
        transform: scale(1.05);
    }

    /* Dropdown menu background */
    .dropdown-menu {
        background-color: #ffffff !important;
        border: none;
        width: 100%;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        padding: 0;
    }
 

    /* Dropdown item styling */
    .dropdown-item {
        color: #333333 !important;
        padding: 0.8rem 1.5rem !important;
        font-size: 1.1rem !important;
        transition: all 0.3s ease;
    }

    /* Hover effect for dropdown items */
    .dropdown-item:hover {
        background-color: #f2f2f2;
        color: #0073E6 !important;
        transform: scale(1.05);
    }

    /* Aligning dropdown toggle icons for better visibility */
    .dropdown-toggle::after {
        color: #ffffff !important;
        border-color: #ffffff !important;
    }

    /* Navbar toggler styling */
    .navbar-toggler {
        border: none;
        background-color: #0073E6;
    }

    /* Custom toggler icon */
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }

    /* Centering items properly */
    .collapse.navbar-collapse {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Ensuring proper space and padding around the navbar toggler */
    .navbar-toggler {
        margin-right: 1rem !important;
    }
}

/*image */

@media (max-width: 767px) {
  .col-md-6 {
    width: 100%;
  }

  #carouselExample {
    
      margin-bottom:20px;
    height: auto !important;
  }

  .carousel-inner {
    height: auto !important;
  }

  .carousel-item {
    height: auto !important;
  }

  .carousel-item img {
    width: 100%;
    height: auto !important;
    object-fit: cover;
  }

  .carousel-caption.d-none.d-md-block.college-day-caption-box {
    display: block !important; /* Force this specific caption to be visible */
    position: absolute; /* Position over the image */
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
  }

  .carousel-caption.d-none.d-md-block.college-day-caption-box h5 {
    margin-bottom: 0;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    outline: 2px solid white;
    border-radius: 50%;
    padding: 8px;
    background-color: rgba(0, 0, 0, 0.3);
  }
}



/* news and events main */

@media (max-width: 767px) {
  .col-md-3.news-events {
    width: 100%; /* Take full width on mobile */
    height: auto !important; /* Adjust height to content */
    margin-bottom: 20px; /* Add some space below */
    border: 1px solid #003366; /* Adjust border for mobile */
  }

  .news-events h5 {
    font-size: 1.1rem; /* Slightly smaller heading */
    padding: 8px 0; /* Adjust padding */
  }

  .news-marquee {
    height: auto !important; /* Adjust height to scrollable content */
    margin-top: 0; /* Reset top margin */
    padding: 10px; /* Adjust padding */
  }

  .scroll-content {
    /* No specific mobile adjustments needed unless content overflows unexpectedly */
  }

  .d-flex.align-items-center.mb-2 {
    flex-direction: row; /* Ensure items are in a row */
    align-items: center; /* Vertically align items */
    margin-bottom: 10px; /* Adjust spacing between items */
  }

  .date-box {
    min-width: 40px !important; /* Slightly smaller date box */
    min-height: 40px !important;
    padding: 2px !important;
    margin-right: 8px !important;
  }

  .date-box .month {
    font-size: 0.7rem !important;
  }

  .date-box .day {
    font-size: 1rem !important;
  }

  .mb-0 {
    font-size: 0.9rem !important; /* Slightly smaller text */
    padding: 4px 8px !important;
  }
}


/*newsletter*/
/*@media (max-width: 767px) {*/
/*  div[style*="width: 250px;"][style*="height: 300px;"] {*/
/*    width: 100% !important;*/
    /*height: auto !important; /* Let height adjust to content 
    max-height: 350px !important; /* Set a maximum height for all boxes 
    margin-top: 20px !important;
    margin-bottom: 0 !important;
    border-radius: 8px !important;
    padding: 10px !important;
    opacity: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important; /* Align content to the top 
  }



  div[style*="width: 250px;"][style*="height: 300px;"] h5 {
    font-size: 1.1rem !important;
    margin-bottom: 8px !important;
  }

  div[style*="width: 250px;"][style*="height: 300px;"] a img {
    width: 100% !important;
    height: auto !important;
    max-height: 250px !important; /* Consistent max image height 
    object-fit: contain;
    border-radius: 6px !important;
  }

   Disable hover effects on mobile 
  div[style*="width: 250px;"][style*="height: 300px;"]:hover {
    transform: none !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2) !important;
  }

  div[style*="width: 250px;"][style*="height: 300px;"] a:hover img {
    transform: none !important;
  }
}



/* pg programme */


@media (max-width: 767px) {
  .row.g-4 {
    flex-direction: column !important; /* Stack columns vertically */
  }

  .col-md-6.program-card {
    width: 100% !important; /* Make each card take full width */
    margin-bottom: 15px !important; /* Add some space between cards */
  }

  .d-flex.flex-md-row.flex-column {
    flex-direction: column !important; /* Stack image and text vertically */
    max-height: none !important; /* Remove fixed max height */
  }

  .d-flex.flex-md-row.flex-column > div:first-child {
    width: 100% !important; /* Image takes full width */
    height: auto !important; /* Adjust image height */
    max-height: 200px !important; /* Limit image height if needed */
    border-radius: 12px 12px 0 0 !important; /* Top rounded corners */
  }

  .d-flex.flex-md-row.flex-column > div:last-child {
    padding: 15px !important; /* Adjust padding for text area */
  }

  .d-flex.flex-md-row.flex-column h6 {
    font-size: 1.1rem !important;
    margin-bottom: 8px !important;
  }

  .d-flex.flex-md-row.flex-column p {
    font-size: 0.9rem !important;
  }
}





/* It department */

@media (max-width: 767px) {
  
  .container-flex {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 20px !important;
  }
    .container {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 20px !important;
  }
  .sidebar {
     position: relative !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-top:20px !important;
    padding: 15px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
  }

  .sidebar h5 {
    font-size: 1.2rem !important;
    margin-bottom: 8px !important;
  }

  .sidebar .menu-item {
    margin: 8px 0 !important;
  }

  .sidebar .menu-item > a {
    display: block !important;
    padding: 8px 12px !important;
    font-size: 1rem !important;
    border-radius: 4px !important;
  }

  .submenu {
    margin-left: 10px !important;
    margin-top: 3px !important;
  }

  .submenu a {
    padding: 6px 12px !important;
    font-size: 0.9rem !important;
    border-radius: 4px !important;
  }

  .main-content {
    width: 100% !important;
    margin-left: 0 !important;
    margin-top:0 !important;
    margin-bottom: 60px !important;
    padding: 15px !important;
  }

  .card {
    border-radius: 8px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
    margin-bottom: 125px !important;
  }

  .card-body {
    padding: 15px !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }

  .news-card {
       position: relative !important;
     background-color:#8DA3BE;
    width: 100% !important;
    margin-right: 0 !important;
    margin-top: 180px !important;
    margin-bottom: 20px !important;
    border-radius: 8px !important;
    padding: 15px !important;
    overflow: hidden; /* Important: hide overflow for marquee */
  }

  .news-scroll {
    /* Remove these overflow and height properties.  Marquee will handle scrolling */
    /* overflow-y: auto !important;  */
    /* max-height: 400px !important; */
    padding: 0; /* Reset padding */
    margin: 0;
  }

  .news-scroll h5 {
    font-size: 1.1rem !important;
    margin-bottom: 10px !important;
    text-align: left !important;
  }

  .news-scroll ul {
    list-style: none;
    padding-left: 15px !important;
    margin: 0; /* Reset ul margins */
  }

  .news-scroll li {
    margin-bottom: 15px !important;
    font-size: 0.9rem !important;
  }

  .news-scroll marquee {
    width: 100%;
    height: 400px; /* Set the height of the marquee */
    overflow: hidden; /* Ensure content within marquee is clipped */
  }
}



.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -0.125rem;
  display: none;
}

.dropdown-submenu:hover .dropdown-menu {
  display: block;
}

.dropdown-submenu > .dropdown-toggle::after {
  content: "▶";
  float: right;
  margin-top: 5px;
}
