/********** Template CSS **********/
:root {
    --primary: #06BBCC;
    --light: #F0FBFC;
    --dark: #181d38;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}
 
/* Static header styling */
.header-static {
    background-color: #64aad8;
    height: 300px; /* Increased height for better alignment */
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(24, 29, 56, 0.7), rgba(24, 29, 56, 0.7)), url('img/mass2.jpg') no-repeat center/cover;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Adds shadow for depth */
}

/* Adjusted padding and margins for text elements */

.header-static h1 {
    font-size: 2.5rem;
    color: #0fc2da;
    margin-bottom: 1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: slideInDown 1s;
}

.header-static p {
    font-size: 1.1rem;
    color: #e4dbdb;
    margin-bottom: 0.5rem; /* Reduced margin for better spacing */
    animation: slideInDown 1s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-static {
        padding: 20px;
        height: auto;
    }

    .header-static h5 {
        font-size: 1.2rem;
    }

    .header-static h1 {
        font-size: 1.8rem;
    }

    .header-static p {
        font-size: 1rem;
    }
}

/* Keyframe for slideInDown animation */
@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}

/* Custom class to justify text */
.text-justify {
    text-align: justify;
    hyphens: auto; /* Optional: Helps in better text justification by adding hyphens where necessary */
}

.text-dark.fw-bold {
    font-weight: bold;
    color: #343a40;
}

/* Styling for warning text */
.text-warning {
    color: #ffc107;
}

/* Styling for underline text */
.text-decoration-underline {
    text-decoration: underline;
}

/*** Service ***/
.service-item {
    background: var(--light);
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}

/*** Team ***/
/* Ensure all team items have the same height and width */
.team-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px; /* Adjust as needed */
    width: 100%;
    background-color: #f8f9fa; /* Light background color */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Subtle shadow */
    overflow: hidden; /* Hide overflow */
    transition: transform 0.3s; /* Smooth hover effect */
}

.team-item:hover {
    transform: translateY(-10px); /* Hover effect */
}

/* Ensure all images have the same height and width */
.team-item img {
    height: 200px; /* Adjust as needed */
    width: 100%;
    object-fit: cover; /* Cover the div without distortion */
    border-bottom: 2px solid #ddd; /* Border to separate image */
}

/* Center and style social media icons */
.team-item .position-relative {
    margin-top: -23px; /* Adjust to overlap the image and icons */
}

.team-item .bg-light {
    background-color: #f8f9fa; /* Light background for icons */
}

.team-item .btn {
    margin: 0 5px; /* Space between icons */
}

/* Center and style text content */
.team-item .text-center {
    padding: 10px; /* Padding around text */
}

.team-item h5 {
    margin-bottom: 10px; /* Space below name */
    font-size: 16px; /* Adjust font size */
    color: #333; /* Dark text color */
}

.team-item small {
    display: block; /* Ensure small text is block */
    margin-bottom: 10px; /* Space below role */
    color: #777; /* Grey text color */
}

.team-item p {
    margin: 0; /* Remove default margin */
    color: #555; /* Medium grey text color */
}
.tea,m


/*** Footer ***/
.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

/* Add the following CSS to your style.css file or inside a <style> tag in the <head> section of your HTML file */

.table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 10;
    font-size: 14px;
    text-align: left;
}

.table .th, .table .td {
    padding: 12px 12px;
    border: 1px solid #ddd;
}

.table .th {
    background-color: #f2f2f2;
    color: #333;
}

.table .tr:nth-child(even) {
    background-color: #f9f9f9;
}

.table .tr:hover {
    background-color: #973838;
}
@media (min-width: 992px) {
    .col-lg-4{
        width: 50%;
        text-align: left;
    }
.col-lg-8{
    width: 100%;
}


.modal-fade .modal-dialog .modal-content{
        position: relative;
        display: flex;
        flex-direction: column;
        width: 150%;
        pointer-events: auto;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid rgba(0,0,0,0.2);
        border-radius: .3rem;
        outline: 0;
}
/* Modal Styles */
    
.modal-content {
    max-width: 200%; /* Adjust width as necessary */
    max-height: 75vh; /* Adjust height as necessary */
    margin: auto;
    overflow-y: auto;
}

.modal-header {
    background-color: #a8c8e7; /* Light grey background for header */
    border-bottom: 1px solid #075aac; /* Light grey border */
    padding: 15px;
}

.modal-title {
    font-size: 1.5rem; /* Font size for modal title */
}

.modal-body {
    padding: 20px;
}

.modal-body ul {
    list-style-type: disc;
    padding-left: 20px;
}

.modal-body ul li {
    margin-bottom: 10px;
}

.modal-body h1 {
    margin-top: 20px;
    font-size: 1.75rem;
}

.modal-body p {
    margin-top: 10px;
    margin-bottom: 10px;
}

.modal-footer {
    background-color: #79a0c6; /* Light grey background for footer */
    border-top: 1px solid #5b85ae; /* Light grey border */
    padding: 20px;
    text-align: right;
}

.close {
    font-size: 1.25rem;
    color: #000;
    opacity: 0.5;
}

.close:hover {
    color: #000;
    opacity: 0.75;
}

@media (max-width: 576px) {
    .modal-content {
        max-width: 250%; /* Full width for small screens */
        max-height: 75vh; /* Full height for small screens */
        margin: 0; /* No margin */
        border-radius: 0; /* Remove border radius */
    }

    .modal-header, .modal-footer {
        padding: 10px; /* Reduce padding */
    }

    .modal-title {
        font-size: 1.25rem; /* Smaller font size for title */
    }

    .modal-body {
        padding: 10px; /* Reduce padding */
    }

    .modal-body ul {
        padding-left: 15px; /* Reduce padding */
    }

    .modal-body h1 {
        font-size: 1.5rem; /* Smaller font size for heading */
    }
}
.body {
    background-color: #f8f9fa;
}
.faq-header {
    background-color: #86919c;
    color: white;
    padding: 20px 0;
}
.faq-container {
    padding: 40px;
}
.faq-title {
    margin-bottom: 30px;
}
.faq-item {
    margin-bottom: 20px;
}
.faq-item h5 {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
}
.faq-item p {
    padding: 15px;
    background-color: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 5px 5px;
}

/* Box styling */
.card {
    max-height: 400px; /* Adjust the max height as needed */
    border: 1px solid #ddd; /* Border color */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Box shadow for depth */
    background-color: #fff; /* Background color */
}

/* Card text styling */
.card-text {
    font-size: 0.9rem; /* Adjust font size */
    color: #555; /* Text color */
}

/* Button styling */
.btn-primary, .btn-success {
    padding: 5px 10px; /* Button padding */
    font-size: 0.8rem; /* Font size for buttons */
    border-radius: 5px; /* Rounded corners for buttons */
}

/* Margin adjustment for buttons */
.me-2 {
    margin-right: 0.5rem;
}

/* Container adjustments for smaller box */
.col-lg-4, .col-md-5 {
    padding: 10px; /* Adjust padding for compactness */
    margin-bottom: 20px; /* Space below each box */
}
/* General container styling */
.container-xxl {
    padding-top: 5rem; /* Adjust padding as needed */
    padding-bottom: 5rem; /* Adjust padding as needed */
}

/* General container styling */
.container-xxl {
    padding-top: 5rem; /* Adjust padding as needed */
    padding-bottom: 5rem; /* Adjust padding as needed */
}

.card {
    border: 3px solid #e3e3e3;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.card-title {
    font-size: 18px;
    font-weight: 600;
    color:var(--primary);
}

.card-text {
    font-size: 14px;
    color: #020202;
}

.card-body {
    padding: 10px;
    
}
/* Accordion enhancements */
.accordion-button {
    background-color: var(--primary);
    color: #fff;
    font-weight: bold;
}

.accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: #f8f9fa;
    border-bottom: 2px solid #007bff;
}

.accordion-button::after {
    color: #fff;
}

.accordion-body {
    background-color: #f8f9fa;
    padding: 20px;
}

.accordion-body p {
    margin-bottom: 15px;
    font-size: 14px;
}

.accordion-body a {
    text-decoration: none;
}
.custom-margin {
    margin-bottom: 20px; /* Adjust the spacing as needed */
}
.event-section {
    padding: 40px 0;
}
.event-section h2 {
    margin-bottom: 30px;
}
.event-card {
    margin-bottom: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}
.event-card:hover {
    transform: scale(1.02);
}
.event-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.event-body {
    padding: 20px;
}
.event-date {
    color: #fff;
    background-color: #007bff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9em;
    position: absolute;
    top: 15px;
    left: 15px;
}
.event-title {
    margin-bottom: 15px;
    font-size: 1.5em;
}
.event-description {
    margin-bottom: 15px;
}

body, html {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.container-fluid.footer {
    flex-shrink: 0;
    bottom: 0;
    width: 100%;
}

.container-xxl.category {
    flex: 1 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 200px; /* Add enough padding to prevent the footer from overlapping content */
}

.gallery-section {
    padding: 40px 0;
}
.gallery-section h2 {
    margin-bottom: 30px;
}
.gallery-item {
    margin-bottom: 20px;
}
.gallery-item img {
    width: 100%;
    height: 200px; /* Set fixed height */
    object-fit: cover; /* Ensure the image covers the box while maintaining aspect ratio */
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.gallery-item img:hover {
    transform: scale(1.05);
}
.gallery-item .img-thumbnail {
    padding: 0; /* Remove padding around the image */
    border: none; /* Remove border around the image */
}
}