/* Container and general styles */
.sliders, .wrap, .slide, .slide-content {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.wrap {
    position: relative;}
.imgslide{
width:100%;
height:100%;
object-fit:cover;
object-position:40% 70%;
}
/* Slide image styles */
img {
    width: 100%;
    height:100%;
    object-fit: cover; /* Ensures the image covers the container */
    object-position:50% 50%;
    opacity: 0.9; /* Slight transparency for a lighter look */
    transition: opacity 2s ease-in-out; /* Smooth transition for opacity changes */
}

/* Slide content overlay */
.slide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay */
    transition: background-color 1s ease-in-out; /* Smooth transition for overlay changes */
}

/* Caption and title styles */
.slide-content .caption {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center; /* Center-align text for a more balanced look */
    width: 80%; /* Adjusted width for better text visibility */
    margin-top: -10em;
}

.caption .title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Add text shadow for better readability */
    transition: font-size 0.5s ease; /* Smooth transition for text size */
}

.caption .btn {
    background: black;
    width: 20%;
    padding: 0.5em;
    color: #f1f1f1;
    font-weight: 500;
    text-align: center;
    border-radius: 10px;
    transition: background-color 0.3s ease; /* Smooth transition for button background */
}

.caption .btn:hover {
    background: rgb(11, 50, 92);
}

.title {
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    box-shadow: 1px 1px 2px solid rgb(30, 96, 165);
}

.slide p {
    font-size: 18px;
    color: #fff;
    opacity: 1;
    font-weight: 400;
}

/* Arrow button styles */
.arrow {
    cursor: pointer;
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    font-size: 24px;
    padding: 16px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 100%;
    z-index: 3;
    transition: background 0.3s ease-in-out; /* Smooth transition for background change */
}

.arrow:hover {
    background: rgb(6, 44, 85);
    color: #fff;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

/* FontAwesome icon adjustment */
.fa {
    position: relative;
    top: 0em;
    right: 0px;
}

/* HCSM Holder styles */
.hcsmholder {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    position: absolute;
    top: 90%;
    left: 0;
    right: 0;
    z-index: 3;
    gap: 2px;
}

.hcsmcont a{
    background: rgba(20, 72, 128, 0.7);
    height: 20vh;
    padding: 1rem 1rem;
    display: flex;
    justify-content: space-between;
    gap: 5px;
}

.hcimg {
    padding: 0.5rem 0rem;
}

.hcimg .fa {
    font-size: 24px;
    color: #fff;
}

.hcont h4 {
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    margin: 0;
    padding: 0;
}

.hcont p {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
}

/* Footer styles */
.footer {
    background: rgb(30, 96, 165);
    padding: 2rem;
}

.footerholder {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
}

.fohead .fa {
    color: #f1f1f1;
    font-size: 32px;
    padding: 10px 0px;
}

.fohead .ftit {
    font-size: 21px;
    font-weight: 400;
}

.fosocial {
    justify-content: center;
    align-items: center;
    padding: 10px 0px;
}

.fosocial a {
    background: #f1f1f1;
    padding: 15px;
    color: rgb(30, 96, 165);
}

.fopar p {
    color: #f1f1f1;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5em;
}

.fohead h4 {
    font-size: 21px;
    font-weight: 400;
}

.folink ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    padding-left: 0;
}

.folink ul li {
    list-style: none;
    display: inline-block;
    width: calc(100% / 2);
    text-align: left;
    padding: 0.5rem 0rem;
}

.folink ul li a {
    display: block;
    color: #f1f1f1;
    padding: 5px;
    gap: 4px;
}

.folink ul li a .fa {
    margin-right: 2px;
}

.marque {
    width: 100%;
    height: 15vh;
    overflow: hidden;
}

.marqueholder {
    height: 100%;
    display: flex;
    animation: scrolling 20s linear infinite;
}

@keyframes scrolling {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-180%);
    }
}

.marqueimg {
    width: 20%;
    flex-shrink: 0;
    white-space: nowrap;
}

.marqueholder:hover {
    animation-play-state: paused;
}

.scrolimg {
    width: 80%;
    object-fit: contain;
}
