/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Merriweather", serif;
}
body {
    
    color: #333;
    background-color: #f5f5f5;
    line-height: normal;
}
/* Top header styling */
.language-select {
    background-color: #00153c;
    padding: 8px;
    border-radius: 5px;
}
.language-select label {
    color: #fff; /* White text for the label */
    font-weight: bold;
    margin-right: 10px; /* Space between label and select box */
}
.language-select select {
    background-color: #fff;
    color: #000; /* Black text for select box */
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px 5px;
    font-size: 14px;
    font-family: "Merriweather", serif;
    width: 80px;
}

.language-select select:hover {
    border-color: #00153c;
}

.language-select select:focus {
    outline: none;
    border-color: #0055a5;
    box-shadow: 0 0 5px rgba(0, 85, 165, 0.5);
}

.sf-top-header {
    background-color: #00153c;
    padding: 10px 0;
}
.geo-navigation .nav-link {
    color: white !important;
}

.social-icons i {
    font-size: 28px;
}

/* search box styling */

.sbox {
    height: 30px;
    display: flex;
    cursor: pointer;
    padding: 10px 20px;
    background: #fff;
    border-radius: 30px;
    align-items: center;
    transition: width 0.8s;
}
.sbox:hover input {
    width: 200px;
}
.sbox input {
    width: 0;
    outline: none;
    border: none;
    font-weight: 500;
    transition: 0.8s;
    background: transparent;
}
.sbox input:focus {
    width: 200px;
}
#searchButton {
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
}
#searchButton i {
    color: #1daf;
    font-size: 18px;
}

/* main header styling */
.main-header {
    position: relative;
    z-index: 1;
    background-image: url(/images/header_background.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    height: auto;
}
.row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/* Media Query for Medium and Large Screens (Tablets and Laptops) */
@media (min-width: 768px) {
    .header-logo img {
        width: 140px;
    }
}

/* Media Query for Small Screens (Mobile Devices) */
@media (max-width: 767px) {
    .main-header {
        text-align: start;
    }

    .row {
        flex-direction: row;
        justify-content: start;
        align-items: center;
    }

    .header-text p.h1 {
        font-size: 1.5rem;
    }

    .header-text p.h2 {
        font-size: 1.2rem;
    }
}
#sf-main-header {
    background-color: white; /* Your preferred background color */
    padding: 10px 0;
}

#sf-main-header .logo img {
    display: flex;
    mix-blend-mode: darken;
    justify-content: right;
    /* margin-left: -50px !important; */
    /* margin-top: -5px; */
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 !important;
    background-color: transparent;
    width: 100%;
    transition: background-color 0.3s ease;
}

.navbar-nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.navbar-nav .nav-item {
    flex-grow: 1;
    text-align: center;
}

.navbar-nav .nav-link {
    font-family: "Open Sans", system-ui;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: white !important;
    display: block;
    padding: 15px;
    text-align: center;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: #00477d;
    border-radius: 2px;
}

/* Dropdown Menu */
.navbar-nav .dropdown-menu {
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px); /* Move down slightly for transition effect */
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    background-color: #00153c;
    border: none;
}

/* Show the dropdown menu */
.navbar-nav .dropdown-menu.show {
    opacity: 90%;
    visibility: visible;
    transform: translateY(0); /* Move back to normal position */
}

/* Dropdown menu links */
.navbar-nav .dropdown-menu a {
    font-family: "Open Sans", system-ui;
    background-color: #00153c;
    color: white;
    font-size: 14px;
    font-weight: 400px;
    letter-spacing: 1px;

    /* line-height: 30px; */
    /* text-transform: uppercase; */
    display: block;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
    color: yellow;
    background-color: #00477d; /* Slight background on hover */
}
@media (min-width: 990px) and (max-width: 1202px) {
    .navbar-nav .nav-link i {
        display: flex;
        flex-direction: row;
        font-size: 1rem;
        margin-bottom: 8px;
    }
}
/* Initial styles for the navbar wrapper */
.navWrapper {
    background-color: #00153c;
    transition: background-color 0.3s ease, box-shadow 0.3s ease,
        transform 0.3s ease;
}

/* Sticky state with transition effects */
.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* background-color: #00153c; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: background-color 0.5s ease, box-shadow 0.5s ease,
        transform 0.5s ease;
}

/* Optional: Shrink the height slightly when the navbar is sticky */
.sticky .navbar {
    padding: 10px 0;
    transition: padding 0.3s ease;
}

/* Transition effects for navbar links when sticky */
.sticky .navbar-nav .nav-link {
    transition: color 0.3s ease;
}
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}
.navbar-toggler {
    background-color: transparent;
    border: none;
    outline: none;
}

/* Home Content Styling */
/* General styling for the container */
.home-content {
    padding: auto;
    margin: auto;
}

/* carousel styling */

.carousel-item {
    height: 90vh;
    min-height: 300px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .carousel-item {
        height: 40vh;
    }
}

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

.carousel {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-left: 0;
}

/* Methodology section styling  */
.methodology-icon {
    font-size: 2rem;
    color: #0d6efd;
}

.methodology-card {
    transition: transform 0.3s ease;
}

.methodology-card:hover {
    transform: translateY(-5px);
}

.methodology-section {
    background-color: #f8f9fa;
    padding-bottom: 2rem;
}
.methodology-card p {
    font-size: 1rem;
    /* color: #6c757d; */
}

@media (max-width: 576px) {
    .methodology-icon {
        font-size: 1.5rem;
    }
}

/* Timeline section styling  */

.timeline {
    position: relative;
    margin-left: 30px;
    font-size: 1.2rem;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12px;
    width: 4px;
    height: 100%;
    background-color: #dee2e6;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 40px;
}

.timeline-icon {
    position: absolute;
    left: -4px;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #dee2e6;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #0d6efd;
    z-index: 1;
}

.timeline-current {
    border-left: 5px solid #0d6efd;
}

.timeline-current .card {
    background-color: #e7f1ff;
    border-color: #0d6efd;
}

@media (max-width: 576px) {
    .timeline {
        margin-left: 15px;
    }

    .timeline-item {
        padding-left: 35px;
    }
}

.timeline-item ul {
    padding-left: 1.25rem;
}

/* Collaborators styling */
.collaborator-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collaborator-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.collaborator-img {
    max-height: 120px;
    object-fit: cover;
}

/* Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev {
    left: 1rem;
}

.slider-next {
    right: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .collaborator-slide {
        width: 150px;
    }

    .collaborator-card {
        height: 100px;
        padding: 0.5rem;
    }

    .slider-nav {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .collaborator-slide {
        width: 120px;
    }

    .collaborators-slider {
        gap: 1rem;
    }
}

/* Pause animation on hover */
.collaborators-slider-container:hover .collaborators-slider {
    animation-play-state: paused;
}




/*pagination style */

.pagination .page-link {
    border-radius: 50px;
    margin: 0 4px;
    transition: 0.3s;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

.pagination .page-link:hover {
    background-color: #e6f0ff;
}

/* Events and news calender styling */
.card {
    transition: transform 0.2s;
}
.card:hover {
    transform: translateY(-5px);
}
.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Calendar Grid and Days */
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 5px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day,
.empty-day,
.prev-month-day,
.next-month-day {
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, box-shadow 0.3s ease,
        border 0.3s ease;
    position: relative; /* For positioning the hover effect */
}

/* Hover Effect for Day Cells */
.calendar-day:hover,
.prev-month-day:hover,
.next-month-day:hover {
    background-color: rgba(
        0,
        0,
        0,
        0.05
    ); /* Slightly change background on hover */
    border: 1px solid rgba(0, 0, 0, 0.2); /* Creates a thin border around the cell */
    box-shadow: inset 0px 0px 4px rgba(255, 255, 255, 0.2),
        0px 0px 5px rgba(0, 0, 0, 0.2); /* Inner shadow for a recessed effect */
    cursor: pointer;
}

/* Style for Today’s Date */
.calendar-day.today {
    background-color: #007bff;
    color: white;
    font-weight: bold;
    border: none;
}

/* Style for Weekend Days */
.calendar-day.weekend {
    color: #201f1fc2;
}

/* Style for Previous and Next Month Days */
.prev-month-day,
.next-month-day {
    color: #666; /* Muted color for previous/next month days */
    background-color: #e0e0e0; /* Darker background for differentiation */
}

/* Event Day Styling */
.event-day {
    position: relative;
    background-color: #ffcc00; /* Highlight color for event days */
    color: black;
    font-weight: bold;
}

/* Hover Effect for Event Days */
.event-day:hover {
    background-color: #ffb700; /* Darker shade on hover */
    border: 1px solid rgba(0, 0, 0, 0.2); /* Outline on hover */
    box-shadow: inset 0px 0px 4px rgba(255, 255, 255, 0.2),
        0px 0px 5px rgba(0, 0, 0, 0.2); /* Stronger hover effect for event days */
}

/* Pin Icon for Event Days */
.event-day::after {
    content: "📌"; /* Use the pin emoji or replace with an image URL if you prefer a custom icon */
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 14px; /* Adjust the size of the pin as needed */
    color: red; /* Change color of the pin if desired */
}

/* dropdown-menu investigators pages styling */
.investigator {
    margin-bottom: 50px;
}
.investigator img {
    max-width: 100%;
    border-radius: 5px;
}
.investigator .btn-download {
    margin-top: 10px;
}

/* gallery page styling  */
.gallery-img {
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.05);
}

.lb-outerContainer {
    background-color: transparent;
}

.lb-dataContainer {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
}

.lb-data .lb-caption {
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
}

.lb-data .lb-number {
    color: #cccccc;
}

@media (max-width: 767.98px) {
    .col-12 {
        margin-bottom: 15px;
    }
}

/* Modern Gallery Styles */
.gallery-section {
    background-color: #f8f9fa;
    padding: 3rem 0;
}

.gallery-title {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.gallery-title:after {
    content: "";
    position: absolute;
    width: 50%;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #9b59b6);
    bottom: -10px;
    left: 25%;
    border-radius: 2px;
}

.gallery-container {
    column-count: 4;
    column-gap: 1rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.gallery-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.modal-content {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.modal-body img {
    max-height: 70vh;
    object-fit: contain;
}

.modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

.modal-title {
    font-weight: 600;
    color: #2c3e50;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .gallery-container {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .gallery-container {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .gallery-container {
        column-count: 1;
    }
}

/* Breadcrumb styling */
.breadcrumb-nav {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: #2980b9;
}

.breadcrumb-item.active {
    color: #7f8c8d;
}

/* Filter buttons */
.filter-buttons {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.filter-btn {
    border: none;
    background: #e0e0e0;
    color: #2c3e50;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(90deg, #3498db, #9b59b6);
    color: white;
}

/* Loading animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    animation: fadeIn 0.5s ease forwards;
}

.gallery-item:nth-child(1) {
    animation-delay: 0.1s;
}
.gallery-item:nth-child(2) {
    animation-delay: 0.2s;
}
.gallery-item:nth-child(3) {
    animation-delay: 0.3s;
}
.gallery-item:nth-child(4) {
    animation-delay: 0.4s;
}
.gallery-item:nth-child(5) {
    animation-delay: 0.5s;
}
.gallery-item:nth-child(6) {
    animation-delay: 0.6s;
}
.gallery-item:nth-child(7) {
    animation-delay: 0.7s;
}
.gallery-item:nth-child(8) {
    animation-delay: 0.8s;
}

/* Gallery style ends here */

/* General styling for the links page */

.links-list {
    list-style-type: disc;
    padding-left: 20px;
    display: grid;
    justify-content: flex-start;
}

.links-list li {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.links-list a {
    color: #007bff; /* Blue color for links */
    text-decoration: dotted;
}

.links-list a:hover {
    text-decoration: underline;
}

/* Responsive styling */
@media (max-width: 768px) {
    .links-page {
        flex-direction: column;
    }
}

/* General About page styling */

.card {
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .col-md-4 {
        margin-top: 2rem;
    }
}

/* Google map integrate styling */
.map-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 5px;
    z-index: 1;
    margin-top: 2.5rem;
}

.map-overlay h3 {
    margin: 0;
    font-size: 1.2rem;
}

.map-overlay p {
    margin: 5px 0 0;
    font-size: 1rem;
}

.map-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
}

@media (max-width: 768px) {
    .map-container {
        padding-bottom: 75%;
    }
}

/* staff member styling  */

.team-member {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease-in-out;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 5px solid #fff;
}

.team-member h3 {
    margin-top: 15px;
    font-size: 1.5rem;
    color: #333;
}

.team-member p {
    margin-bottom: 5px;
    color: #666;
}

.team-member .qualification {
    font-style: italic;
}

.team-member .position {
    font-weight: bold;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #333;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .team-member img {
        width: 150px;
        height: 150px;
    }

    .team-member h3 {
        font-size: 1.2rem;
    }

    .team-member p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .team-member img {
        width: 120px;
        height: 120px;
    }

    .team-member h3 {
        font-size: 1rem;
    }

    .team-member p {
        font-size: 0.8rem;
    }
}

/* feedback page styling */
.rating {
    display: flex;
    justify-content: start;
    flex-direction: row-reverse;
}

.rating input {
    display: none;
}
.rating label {
    font-size: 2rem;
    color: lightgray;
    cursor: pointer;
    padding: 0 0.1rem;
}

.rating label:hover,
.rating label:hover ~ label,
.rating input:checked ~ label {
    color: gold;
}

/* General Footer Styling */

/* Contact page styling */
.contact-card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
    border: none;
}
.contact-card:hover {
    transform: translateY(-5px);
}
.section-title {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.link-item {
    margin-bottom: 8px;
}
.link-item a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s;
}
.link-item a:hover {
    color: #3498db;
}
.download-item {
    margin-bottom: 10px;
}
.map-container {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}
.contact-info i {
    color: #3498db;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}
.institute-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}
.contact-section {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}
.right-column-section {
    margin-bottom: 30px;
}

/* Footer styling */
.site-footer {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.site-footer h3 {
    font-size: 1.1rem;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.site-footer h3:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #ffee00;
}

.site-footer a:hover {
    color: #fffb21 !important;
    transition: all 0.3s ease;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-logo {
    max-height: 50px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

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

.btn-outline-light:hover {
    color: #212529 !important;
}
.hover-white:hover {
    color: #fff !important;
    transition: all 0.3s ease;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    /* background-color: rgba(255,255,255,0.1); */
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
    box-shadow: none;
}

.btn-light:hover {
    background-color: #fff;
    color: #1a2a6c !important;
}

@media (max-width: 767.98px) {
    .footer-contact,
    .important-links,
    .feedback-section,
    .research-info {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* presentation styling */
.presentation-card {
    transition: all 0.3s ease;
    border-left: 4px solid #0d6efd;
    background-color: mintCream;
}
.presentation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.year-badge {
    position: absolute;
    top: -12px;
    right: -12px;
}
.section-header {
    position: relative;
    /* padding-bottom: 10px; */
    margin-bottom: 1rem;
}

/* hero carousel secton styling  */

/* Hero carousel section styling */
.hero-carousel {
    height: 55vh;
    overflow: hidden;
}

.hero-carousel .carousel-item {
    height: 55vh;
}

.hero-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/* Overlay text */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 1rem;
    z-index: 1;
}

/* Hero text styles */
.hero-text h1 {
    font-size: 2rem;
    font-weight: bold;
}

.hero-text p {
    font-size: 1rem;
}

/* Responsive font scaling */
@media (min-width: 768px) {
    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        font-size: 1.25rem;
    }
}

@media (min-width: 1200px) {
    .hero-carousel {
        height: 50vh;
    }

    .hero-carousel .carousel-item {
        height: 50vh;
    }
}

/* -------------------- Biomarkers Page Styling -------------------- */

.bio-hero {
    background: linear-gradient(
            rgba(43, 108, 176, 0.2),
            rgba(43, 108, 176, 0.2)
        ),
        url("/images/biomarkerpic.jpeg") center/cover;
    padding: 100px 20px;
    text-align: center;
    border-radius: 5px;
}
.bio-banner {
    background-color: rgba(0, 40, 116, 0.753);
    display: inline-block;
    color: #fff;
    
}

.bio-banner h1,
.bio-banner p {
    color: #fff;
}
/* Justify text globally inside paragraphs */
.container p,
.comment-box p,
.biomarker-list p,
.biomarker-list li {
    text-align: justify;
}

/* Image Styling */
.bio-img {
    border-radius: 10px;
    transition: transform 0.3s ease;
    width: 400px;
    height: 300px;
}

.bio-img:hover {
    transform: scale(1.05);
}

/* Comment Box */
.comment-box {
    background: #f8f9fa;
    border-left: 4px solid #2b6cb0;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* -------------------- Responsive Styling -------------------- */

@media (max-width: 767.98px) {
    .profile-img {
        width: 120px;
        height: 120px;
    }

    .profile-img-sm {
        width: 100px;
        height: 100px;
    }

    .comment-box {
        width: 100%;
    }

    .bio-img,
    .small-img {
        width: 100% !important;
        height: auto !important;
    }
}



/* flowchart styling  */
.flowchart-wrapper {
    max-width: 600px; /* You can adjust this depending on flowchart size */
    width: 100%;
}
.flowchart-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
/* biomarker page carousel styling */

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

.custom-overlay {
    position: absolute;
    bottom: 20px;
    top: auto;
    z-index: 2;
    color: white;
    text-align: left;
    margin-bottom: 10px;
}

.custom-textbox {
    background-color: rgba(0, 0, 0, 0.5); /* only the box is semi-transparent */
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    max-width: 80%;
}

.custom-textbox h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.custom-textbox p {
    font-size: 1rem;
    margin-bottom: 0;
}
/* Fade-in animation for text box */
.fade-in {
  opacity: 0;
  animation: fadeInAnimation 1s ease-in forwards;
  animation-delay: 0.4s;
}

/* Keyframes for fade effect */
@keyframes fadeInAnimation {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%; /* makes it a perfect circle */
  background-color: #ffffff; /* or any color you want */
  opacity: 0.5;
  transition: opacity 0.3s, transform 0.3s;
  margin: 0 6px;
  border: none;
}

.carousel-indicators .active {
  opacity: 1;
  background-color: #ffffff;
  transform: scale(1.2); /* slightly enlarge the active dot */
}


@media (max-width: 767px) {
    .custom-overlay {
        padding: 1rem;
    }

    .custom-overlay h4 {
        font-size: 1.4rem;
    }
}

.info-section {
    padding: 2rem 0;
}

/* Data analysis training styling */

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

  