* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

.cent {
    margin: 0 auto;
    /* max-width: 1200px; */
}

html {
  scroll-behavior: smooth;
}

/* Scroll progress bar container */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #f0f0f0;
    z-index: 99;
}

/* navbar  */
@media (max-width: 768px) {
    .navbar {
        font-weight: normal;
    }
}

/* stop */

/* Scroll progress bar */
.progress-bar {
    height: 100%;
    width: 0%;
    background-color: #003f87;
    transition: width 0.1s ease;
}


.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 130px;
    padding: 10px 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
    background-color: #fff;
    /* optional background */
}

.logo {
    height: auto;
    max-height: 90px;
    object-fit: contain;
    margin: 0 15px;
    flex-shrink: 0;
    /* prevent shrinking */
}

/* Left and right logos */
.left-logo,
.right-logo {
    width: 18%;
    /* adjust if needed */
}

/* Center logo (highlight it more) */
.center-logo {
    width: 25%;
    max-height: 110px;
}

@media (max-width: 480px) {
    .header {
        flex-direction: row;
        /* Keep logos in one line */
        justify-content: center;
        /* Center horizontally */
        align-items: center;
        /* Vertically center */
        padding: 5px 0;
        /* Remove extra top/bottom space */
        height: auto;
        overflow-x: auto;
        /* Scroll if logos overflow */
    }

    .logo,
    .left-logo,
    .center-logo,
    .right-logo {
        width: 28%;
        /* Equal width */
        max-height: 60px;
        /* Same height */
        margin: 0 5px;
        /* Horizontal spacing */
        flex-shrink: 0;
        /* Prevent shrinking */
    }
}

/* start */


/* Navbar */
.navbar {
    background-color: #003f87;
    color: #fff;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

/* Logo */
.navbar .logo {
    font-size: 1.2em;
    white-space: nowrap;
    font-weight: bold;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-wrap: wrap;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 10px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff9900;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropbtn {
    cursor: pointer;
    color: #fff;
    padding: 10px;
    border: none;
    background: none;
}

.dropdown-content {
    position: absolute;
    background-color: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    top: 100%;
    left: 0;
    width: 150px;
    display: none;
    flex-direction: column;
    z-index: 1;
}

.dropdown-content a {
    color: #000;
    padding: 10px;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: flex;
}

/* Optional bottom border */
.dropdown-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background-color: #04abe5;
}

/* Hamburger menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle div {
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #003f87;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 10px 0;
    }

    .nav-links.active {
        display: flex;
        width: 190px;
        z-index: 999;
        align-items: self-start;
        margin-top: 4.5rem;
    }

    .nav-links a {
        width: 100%;
        text-align: left;
        padding: 12px 20px;
    }

    .dropdown-content {
        position: relative;
        box-shadow: none;
        width: 100%;
    }

    .dropdown-content a {
        padding: 10px 20px;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.open .dropdown-content {
        display: flex;
        flex-direction: column;
    }
}

/* stop */

.banner {
    background: url('Images/lab.jg') no-repeat center center/cover;
    /* Fixed extension for the image */
    color: #100707;
    text-align: center;
    padding: 32px 20px;
    width: 100%;
    height: auto;
    /* Allow height to adjust automatically */
    box-sizing: border-box;
    /* Ensure padding is included in the width */
}

.banner h1 {
    font-size: 2.5rem;
    margin: 0;
}

.banner p {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Medium screens (tablets or small laptops) */
@media (max-width: 768px) {
    .banner {
        padding: 30px 15px;
        /* Reduce padding for smaller screens */
    }

    .banner h1 {
        font-size: 2rem;
        /* Adjust heading size */
    }

    .banner p {
        font-size: 1rem;
        /* Adjust paragraph size */
    }
}

/* Small screens (phones) */
@media (max-width: 480px) {
    .banner {
        padding: 20px 10px;
    }

    .banner h1 {
        font-size: 1.5rem;
        /* Smaller heading size for phones */
    }

    .banner p {
        font-size: 0.9rem;
    }
}


/* Container for the slider */
.image-slider {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    margin: 20px auto;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
}

/* Track for the images */
.slider-track {
    display: flex;
    animation: slide 20s linear infinite;
}

/* Individual images */
.slider-track img {
    width: calc(19% - 6px);
    /* Adjust width to accommodate 3px margin on both sides */
    height: auto;
    object-fit: fill;
    flex-shrink: 0;
    margin: 0 3px;
    /* Add 3px space between images */
}

/* Animation for infinite circular sliding */
@keyframes slide {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Tablet view (medium-sized devices) */
@media (max-width: 1024px) {
    .slider-track img {
        width: calc(33.33% - 6px);
        /* Show 3 images at a time with spacing */
    }
}

/* Mobile view (small devices) */
@media (max-width: 768px) {
    .slider-track img {
        width: calc(50% - 6px);
        /* Show 2 images at a time with spacing */
    }
}

/* Very small devices (narrow screens) */
@media (max-width: 480px) {
    .slider-track img {
        width: calc(100% - 6px);
        /* Show 1 image at a time with spacing */
    }
}


.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.updates {
    padding: 20px;
}

.updates ul {
    list-style-type: none;
    padding: 10px 62px 10px;
    font-family: auto;
}

.updates ul li {
    margin-bottom: 10px;
}

.gallery-header {
    text-align: center;
    margin: auto;
}

.gallery-header h2 {
    background: linear-gradient(135deg, #f0f8ff, #e6f7ff);
    /* Light gradient (soft blue tones) */
    color: #333;
    /* Dark gray text for contrast */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Softer shadow */
    display: inline-block;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.gallery-item:hover .caption {
    opacity: 1;
}

/* Image Slider carousel start  */
/* carousel image slider */

.custom-image-slider {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    margin: 20px auto;
    background-color: #f8f9fa;
    /* border-radius: 10px; */
}

.custom-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.custom-slider-track img {
    width: calc(100% / 3);
    /* Default to 3 visible */
    height: 400px;
    object-fit: fill;
    flex-shrink: 0;
}

/* Tablet: 2 images visible */
@media (max-width: 991px) {
    .custom-slider-track img {
        width: calc(100% / 2);
    }
}

/* Mobile: 1 image visible */
@media (max-width: 600px) {
    .custom-slider-track img {
        width: 100%;
    }
}

/* Optional: Pause on hover */
.custom-image-slider:hover {
    cursor: pointer;
}

/* Stop */

#scrollUp {
    text-align: center;
    bottom: 40px;
    cursor: pointer;
    display: none;
    position: fixed;
    right: 20px;
    z-index: 999;
    background-color: orange;
    color: white;
    padding: 10px 15px;
    font-size: 24px;
    border-radius: 50px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#scrollUp:hover {
    background-color: darkorange;
    transform: scale(1.1);
}

#scrollUp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    background-color: #003f87de;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: none;
}

#scrollUp.show {
    display: block;
}

@media (max-width: 768px) {
    #scrollUp {
        bottom: 15px;
        right: 15px;
        padding: 8px 12px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    #scrollUp {
        bottom: 10px;
        right: 10px;
        padding: 6px 10px;
        font-size: 16px;
    }
}


@media (max-width: 600px) {
    .gallery {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .carousel-image {
        height: 300px;
    }
}

/* Latest Paper and In the news CSS start */
/* General column styling */
.V5AUxf {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
}

.wixui-column-strip__column {
    width: 48%;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Headings */
h2.font_2 {
    font-family: Arial, sans-serif;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    line-height: 1.375em;
    color: #333;
    margin-bottom: 20px;
}

/* Paragraph text */
p.font_7 {
    font-family: Georgia, serif;
    font-size: 20px;
    text-align: center;
    line-height: 1.67em;
    color: #555;
    margin: 10px 0;
}

p.font_8 {
    font-family: 'Times New Roman', serif;
    font-size: 18px;
    text-align: center;
    line-height: 1.75em;
    color: #444;
}

/* Links */
.wixui-rich-text__text a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

.wixui-rich-text__text a:hover {
    text-decoration: underline;
}

/* Images */
.wixui-image {
    display: flex;
    justify-content: center;
    width: 100%;
}

.wixui-image img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

/* Background layers */
.MW5IWV {
    position: relative;
}

.LWbAav {
    background-color: #ffffff;
}

.VgO9Yg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .V5AUxf {
        flex-direction: column;
    }

    .wixui-column-strip__column {
        width: 100%;
        margin-bottom: 20px;
    }

    h2.font_2 {
        font-size: 24px;
    }

    p.font_7 {
        font-size: 18px;
    }

    p.font_8 {
        font-size: 16px;
    }

    .wixui-image {
        justify-content: center;
    }

    .wixui-image img {
        height: auto;
    }
}


.updates {
    padding: 20px;
    font-family: Arial, sans-serif;
}

.updates h2 {
    font-size: 1.6rem;
    text-align: left;
    margin-bottom: 10px;
    padding: 0px 56px 0px;
    color: rgb(14, 14, 44);
}

.contact-card {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.contact-card li {
    font-size: 18px;
    color: #1d1f21;
    /* Blue text for all content */
    margin-bottom: 8px;
}

.contact-card a {
    color: #007bff;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* footer start */
.site-footer {
    background: #003f87de;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 6px;
}

.footer-icons {
    margin-top: 10px;
    margin-bottom: 10px;
}

.footer-icons a {
    color: white;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.footer-icons a:hover {
    color: #00b4d8;
}

/* footer end */
