.header-wrapper {
    background-color: #DBCF9F;
    padding: 10px 0;
    color: #000000;
}

.header-wrapper .logo-wrapper img {
    height: 90px;
    width: 100px;
}

._jh_er_xs {
    display: flex; /* Apply Flexbox layout */
    align-items: center; /* Vertically center items */
    justify-content: center; /* Horizontally center items */
}

._jh_er_xs p {
    margin: 0; /* Remove default margin around the paragraph */
    margin-left: 200px; /* Add left margin to move the paragraph right */
    color: black; /* Set the text color to black */
    display: inline; /* Ensure the paragraph is inline with the image */
    line-height: 90px; /* Align text vertically with the image height */
}

._jh_er_xs img.logo {
    height: 90px; /* Set the image height */
    width: 100px; /* Set the image width */
    margin-right: 100px; /* Adds space between the image and text */
}

.contact-details {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.contact-details p {
    margin: 0 10px;
}

.menu-wrapper {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link {
    color: #000000;
}

.navbar-nav .nav-link:hover {
    color: #f8f9fa;
}

@media (max-width: 768px) {
    .header-wrapper .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-details {
        font-size: 12px;
        margin-top: 10px;
        justify-content: center;
        order: 2; /* Change order to display contact details before menu */
    }

    .contact-details p {
        margin: 0 5px;
        text-align: center;
        flex-basis: 100%;
    }

    .menu-wrapper {
        text-align: center;
        order: 3; /* Change order to display menu last */
    }
}

.navbar-nav .nav-link {
    color: #000000; /* White nav link color */
}

.navbar-nav .nav-link:hover {
    color: #f8f9fa; /* Light gray on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-wrapper .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-details {
        font-size: 12px;
        margin-top: 10px;
        justify-content: center;
    }

    .contact-details p {
        margin: 0 5px;
        text-align: center;
        flex-basis: 100%; /* Make each contact detail take full width */
    }

    .navbar-nav {
        text-align: center;
    }
}


body {
    font-family: 'Roboto', sans-serif;
}

#more-content {
    display: none;
}

.custom-btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    background-color: transparent;
    border: 2px solid #333;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s, color 0.3s;
}

.custom-btn:hover {
    background-color: #f0f0f0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #000;
}

.header-wrapper {
    background-color: #DBCF9F;
    padding: 10px 0;
    color: #000000;
}

.end-footer {
    background-color: #DBCf9F; /* Set the background color */
    padding: 5px 0; /* Adjust the vertical padding to make the footer smaller */
    margin: 0;

}

.end-footer .logo {
    max-width: 100px; /* Adjust based on your logo size */
    height: auto;
}

.end-footer p {
    margin: 10px 0 0;
}

.header-wrapper .logo-wrapper img {
    height: 90px;
    width: 100px;
}

.contact-details {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.contact-details p {
    margin: 0 10px;
}

.menu-wrapper {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link {
    color: #000000;
}

.navbar-nav .nav-link:hover {
    color: #f8f9fa;
}

@media (max-width: 768px) {
    .header-wrapper .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-details {
        font-size: 12px;
        margin-top: 10px;
        justify-content: center;
        order: 2; /* Change order to display contact details before menu */
    }

    .contact-details p {
        margin: 0 5px;
        text-align: center;
        flex-basis: 100%;
    }

    .menu-wrapper {
        text-align: center;
        order: 3; /* Change order to display menu last */
    }
}

.navbar-nav .nav-link {
    color: #000000; /* White nav link color */
}

.navbar-nav .nav-link:hover {
    color: #f8f9fa; /* Light gray on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-wrapper .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-details {
        font-size: 12px;
        margin-top: 10px;
        justify-content: center;
    }

    .contact-details p {
        margin: 0 5px;
        text-align: center;
        flex-basis: 100%; /* Make each contact detail take full width */
    }

    .navbar-nav {
        text-align: center;
    }
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 20px auto;
    max-width: 600px;
}

.slide {
    display: none;
    width: 100%;
    transition: opacity 1s ease;
}

.slider-container img {
    width: 100%;
    height: auto;
}

.slider-container .slide.active {
    display: block;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}

.navbar-dark .nav-link {
    color: #000000 !important; /* Forces black color */
}

.slider {
    display: flex;
    overflow: hidden;
}

.slide {
    flex: 0 0 100%;
    transition: transform 1s ease;
}

.active {
    transform: translateX(0);
}

img.reload {
    padding: 0.25em;
    display: block-inline;
    position: relative;
    top: 6px;
    height: 0.9em;
}

.carousel {
    background-color: #eee;
    max-width: 900px;
    margin: 0 auto;
}

.carousel .carousel-inner {
    position: relative;
}

.carousel .carousel-items {
    padding: 5px;
}

.carousel .carousel-items.focus {
    padding: 2px;
    border: solid 3px #005a9c;
}

.carousel .carousel-item {
    display: none;
    max-height: 400px;
    max-width: 900px;
    position: relative;
    overflow: hidden;
    width: 100%;
}


.carousel .carousel-item.active {
    display: block;
}

/* More like bootstrap, less accessible */

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

.carousel .carousel-item .carousel-caption a {
    cursor: pointer;
    text-decoration: underline;
    color: #fff;
    font-weight: 600;
}

.carousel .carousel-item .carousel-caption a,
.carousel .carousel-item .carousel-caption span.contrast {
    display: inline-block;
    margin: 0;
    padding: 6px;
    background-color: rgb(0 0 0 / 65%);
    border-radius: 5px;
    border: 0 solid transparent;
}

.carousel-moreaccessible .carousel-items .carousel-image a {
    display: block;
    margin: 0;
    padding: 5px;
    text-decoration: none;
    border: none;
}

.carousel-moreaccessible .carousel-item .carousel-caption a {
    display: inline-block;
    margin: 0;
    padding: 6px;
    color: black;
    background-color: transparent;
    border: none;
    border-radius: 5px;
}

.carousel-moreaccessible .carousel-item .carousel-caption span.contrast,
.carousel-moreaccessible .carousel-item .carousel-caption span.contrast:hover {
    background-color: transparent;
}

.carousel .carousel-item .carousel-caption a:hover,
.carousel .carousel-item .carousel-caption span.contrast:hover {
    background-color: rgb(0 0 0 / 100%);
}

.carousel .carousel-item .carousel-caption a:focus {
    padding: 4px;
    border: 2px solid #fff;
    background-color: rgb(0 0 0 / 100%);
    outline: none;
    border-width: 2px solid #fff;
    color: #fff;
}

.carousel .carousel-item .carousel-caption p {
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 0;
}

.carousel .carousel-item .carousel-caption {
    background-color: rgba(0, 0, 0, 0.7); /* Slightly darker, more opaque background */
    color: #fff; /* Ensure text is white for contrast */
    border-radius: 5px; /* Rounded corners */
    padding: 10px; /* Ensure padding for readability */
}

/* Shared CSS for Pause, Previous and Next Buttons */

.carousel .controls {
    box-sizing: border-box;
    position: absolute;
    top: 1em;
    z-index: 10;
    width: 100%;
    padding: 0.25em 1.25em 0;
    display: none;
}

.carousel .controls button {
    position: absolute;
    z-index: 10;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    outline: none;
}

.carousel .controls button.previous {
    right: 70px;
    display: none;
}

.carousel .controls button.next {
    right: 18px;
    display: none;
}

/* SVG Controls */

.carousel .controls svg .background {
    fill: #005a9c; /* Highlight color for better visibility */
    stroke: #005a9c; /* Highlight color for better visibility */
}

.carousel .controls svg .border {
    fill: transparent;
    stroke: #005a9c;
    stroke-width: 2px;

}

.carousel .controls svg .pause {
    stroke-width: 4;
    fill: transparent;
    stroke: transparent;

}

.carousel .controls svg .play {
    stroke-width: 1;
    fill: transparent;
    stroke: transparent;
}

.carousel .controls .pause svg .pause {
    fill: white;
    stroke: white;
}

.carousel .controls .play svg .play {
    fill: white;
    stroke: white;
}

.carousel .controls svg polygon {
    fill: white;
    stroke: white;
}

.carousel .controls button:focus svg .background,
.carousel .controls button:hover svg .background,
.carousel .controls button:hover svg .border {
    fill: #005a9c;
    stroke: #005a9c;
    opacity: 1;
}

.carousel .controls button:focus svg .border {
    stroke: white;
}

/* More accessible carousel styles, with caption and controls above/below image */

.carousel-moreaccessible {
    padding: 0;
    margin: 0;
    position: relative;
    border: #eee solid 4px;
    border-radius: 5px;
}

/* Shared CSS for Pause and Tab Controls */

.carousel-moreaccessible .controls {
    position: relative;
    top: 0;
    left: 0;
    padding: 0.25em 0.25em 0;
}

.carousel.carousel-moreaccessible .controls {
    position: static;
    height: 36px;
}

.carousel.carousel-moreaccessible .controls button.previous {
    right: 60px;
}

.carousel.carousel-moreaccessible .controls button.next {
    right: 6px;
}

.carousel-moreaccessible .carousel-items,
.carousel-moreaccessible .carousel-items.focus {
    padding: 0;
    border: none;
}

.carousel-moreaccessible .carousel-items.focus .carousel-image a {
    padding: 2px;
    border: 3px solid #005a9c;
}

/* More accessible caption styling */

.carousel-moreaccessible .carousel-item {
    padding: 0;
    margin: 0;
    max-height: none;
}

.carousel-moreaccessible .carousel-item .carousel-caption {
    position: static;
    padding: 0;
    margin: 0;
    height: 60px;
    color: black;
}

.carousel-moreaccessible .carousel-item .carousel-caption p {
    padding: 0;
    margin: 0;
}

.carousel-moreaccessible .carousel-item .carousel-caption h3 {
    font-size: 1.1em;
    padding: 0;
    margin: 0;
}

.carousel-moreaccessible .carousel-item .carousel-caption a:hover {
    background-color: rgba(255, 255, 255, 0.4); /* Slightly lighter hover effect */
    color: #005a9c; /* Ensure text color is visible */
}

.carousel-moreaccessible .carousel-item .carousel-caption a:focus {
    border: 2px solid #005a9c; /* Clear, visible border for focus */
    background-color: rgba(255, 255, 255, 0.2); /* Light background for focus */
    color: #005a9c; /* Ensure text color is visible */
}


#button-container {
    text-align: center;
    margin-top: 10px;
}

#show-more-btn {
    background-color: #DBCf9F;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}


#more-content {
    display: none;
    text-align: justify;
}

.collapse.show {
    display: block;
}


.team-member h3 {
    text-align: center;
}

#button-container {
    text-align: center;
    margin-top: 10px;
}

#show-more-btn {
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

#show-more-btn:hover {
    background-color: #C9B97A;
}

#more-content {
    display: none;
    text-align: justify;
}

.collapse.show {
    display: block;
}

.justified-text {
    text-align: center;
    color: #555; /* Example style */
    font-style: italic; /* Example style */
}

.justified-text1 {
    text-align: left;
    margin-left: 172px;

}

.justified-text2 {
    text-align: left;
    margin-left: 150px;
}
.black-text {
    color: orchid;
}
@media (max-width: 767.98px) {
    .header-wrapper .container {
        flex-direction: row; /* Make sure flex direction is row on mobile */
    }

    /*.logo-wrapper img {*/
    /*    max-width: 50px; !* Adjust the logo size for better fit *!*/
    /*    margin-right: 10px; !* Space between logo and text *!*/
    /*}*/

    .logo-wrapper {
        display: flex;
        align-items: center;
        font-size: 0.9rem; /* Adjust font size for mobile */
    }

    .menu-wrapper {
        margin-left: auto;
        display: flex;
        align-items: center;
    }

    .navbar-collapse {
        justify-content: flex-end;
    }

    .navbar-toggler {
        margin-left: 10px;
    }
}

@media (max-width: 767.98px) {
    .end-footer ._jh_er_xs {
        flex-direction: row; /* Align logo and text in a row */
        justify-content: center;
    }

    .end-footer ._jh_er_xs .logo {
        /*max-width: 50px; !* Resize logo for mobile *!*/
        margin-right: 10px; /* Space between logo and text */
    }

    .end-footer ._jh_er_xs p {
        font-size: 0.9rem; /* Adjust font size for mobile */
        justify-content: center;
        text-align: center;
        /*margin-right: 30px;*/
        /*margin: 0; !* Remove any extra margins *!*/
    }
}

@media (max-width: 768px) {
    .justified-text,
    .justified-text1,
    .justified-text2 {
        text-align: justify;
        margin-left: auto;
        margin-right: auto;
        width: 100%; /* Ensure full width */
        padding: 0 15px; /* Add padding for consistent alignment */
        box-sizing: border-box; /* Include padding in element's width */
    }

    /* Ensure consistent margin between paragraphs */
    .justified-text:not(:last-child),
    .justified-text1:not(:last-child),
    .justified-text2:not(:last-child) {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    ._lk_fr_er {
        text-align: center;
    }

    ._lk_fr_er p {
        display: inline-block;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .member-details h3 {
        margin: 0; /* Remove any default margins */
        padding-left: 15px; /* Match this to the padding of justified-text */
        text-align: left; /* Ensure the alignment matches */
    }

    .member-details p {
        margin: 0; /* Ensure paragraphs have no extra margin */
        padding-left: 15px; /* Add left padding if needed for alignment */
        /*text-align: justify; !* Justify text *!*/
        white-space: normal !important;
        text-align: left !important
    }
    /*.member-details {*/
    /*    padding: 0 !important;*/
    /*    margin: 0 !important;*/
    /*    !*text-align: left !important;*!*/
    /*    !*word-break: break-word !important;*!*/
    /*    overflow-wrap: break-word !important;*/
    /*}*/

    /*.member-details  .justified-text1 {*/
    /*    white-space: normal !important; !* Prevent extra spaces from non-breaking spaces *!*/
    /*    !*text-align: left !important; !* Left-align text to avoid gaps *!*!*/
    /*}*/

    /*.member-details br {*/
    /*    display: none; !* Remove unnecessary line breaks *!*/
    /*}*/
}

/*.justified-text2 {*/
/*    text-align: justify;*/
/*    text-justify: inter-word;*/
/*    line-height: 1.6; !* Adjust line height if needed *!*/
/*    word-spacing: -1px; !* Reduce word spacing to eliminate large gaps *!*/
/*    hyphens: auto; !* Enable hyphenation to break words across lines *!*/
/*}*/

/*.justified-text1 {*/
/*    text-align: justify;*/
/*    text-justify: inter-word;*/
/*    line-height: 1.6; !* Adjust line height for better readability *!*/
/*    word-spacing: -1px; !* Slightly reduce word spacing *!*/
/*    hyphens: auto; !* Enable hyphenation to minimize gaps *!*/
/*    margin-bottom: 0; !* Remove any default margin *!*/
/*}*/

.member-details {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.6; /* Adjust line height for better readability */
    word-spacing: -1px; /* Slightly reduce word spacing */
    hyphens: auto; /* Enable hyphenation to minimize gaps */
    margin-bottom: 0; /* Remove any default margin */
}

@media (max-width: 767.98px) { /* Mobile devices (bootstrap xs and sm) */
    ._lk_fr_er p {
        text-align: justify;
        text-justify: inter-word; /* Ensures proper justification */
        margin: 0; /* Optional: Adjust margin as needed */
    }

    .justified-text2 {
        text-align: justify;
        text-justify: inter-word; /* Ensures proper justification */
        margin: 0; /* Optional: Adjust margin as needed */
    }
}


img {
    max-width: 100%;
    height: auto;
    /*border-radius: 15px;*/
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);*/
}

/* Styles for About Us Section */
#aboutus ._lk_rt_we img {
    width: 100%;
    height: auto;
    margin: 10px 0;
}

/* Styles for Team Section */
.team-section .team-member img {
    width: 100%;
    height: auto;
    margin: 10px 0;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }

    .team-section .team-member {
        margin-bottom: 20px;
    }

    .team-section .member-details {
        text-align: center;
    }

    .team-section #button-container {
        text-align: center;
    }

    .team-section .collapse {
        text-align: justify;
    }
}

.black-and-white {
    filter: grayscale(100%);
    /*transition: filter 0.3s ease;*/
}

.nav-link {
    font-weight: bold;
}
