/* Hide unwanted scrollbars */
.main-content::-webkit-scrollbar,
.sidebar::-webkit-scrollbar {
    width: 1px;
}

.main-content::-webkit-scrollbar-thumb,
.sidebar::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

/* Sidebar  */
.sidebar {
    background-color: #f0f0f0;
    right: 0;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    height: 100vh;
    padding: 0px 38px 0px 40px;
    /* height: auto; */
    overflow-y: auto;
    overflow-x: hidden;
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Animation for sidebar title*/
.sidebar-title h2 span {
    display: inline-block;
    opacity: 0;
    transform: translateX(100%);
    animation: fadeInFromRight 1s forwards;
}

@keyframes fadeInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }

    50% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.sidebar-title h2 span:nth-child(1) {
    animation-delay: 0.6s;
}

.sidebar-title h2 span:nth-child(2) {
    animation-delay: 1.2s;
}

.sidebar-title h2 span:nth-child(3) {
    animation-delay: 1.8s;
}

/* home footer */
.footer {
    justify-content: center !important;
    flex-direction: column;
}

.main-content {
    overflow-y: auto;
    padding: 0;
}

.fixed-buttons {
    display: none;
}

/* General Homepage Responsiveness Adjustments */
@media (max-width: 992px) {
    .page-contents {
        display: flex;
        flex-direction: column;
    }

    .sidebar {
        order: -1;
        padding: 10px 20px 10px 20px;
        align-items: center;
    }

    .sidebar,
    .main-content {
        height: auto;
        /* Allow content to expand naturally */
        position: static;
    }

    .fixed-buttons {
        position: fixed;
        bottom: -100px;
        /* Initially hidden */
        left: 0;
        width: 100%;
        display: flex;
        z-index: 9999;
        opacity: 0;
        /* Hidden initially */
        transition: bottom 0.4s ease-in-out, opacity 0.4s ease-in-out;
    }

    .fixed-buttons.show {
        bottom: 0;
        /* Slide up */
        opacity: 1;
        /* Make visible */
    }

    .fixed-buttons .btn {
        flex: 1;
        text-align: center;
        padding: 12px;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        color: white;
        border: none;
        border-radius: 0;
    }

    .btn-quote {
        background: #1e9bd0;
        /* Get a Quote */
    }

    .btn-pro {
        background: #FD760D;
        /* Pro Registration */
    }

    .btn-quote:hover {
        background: #167da8 !important;
        color: white !important;
    }

    .btn-pro:hover {
        background: #d7742d !important;
        color: white !important;
    }
}

@media (max-width: 768px) {
    .footer-copyright-section {
        margin-bottom: 40px;
    }
}

/* 1. Hero Slider Styling */
.hero-slider {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-item {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.8s ease-in-out;
}

.carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 480px;
    filter: brightness(0.8);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    text-align: center;
    color: #fff;
    width: 90%;
    padding: 0 15px;
}

/* Custom Circle Dots */
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #c9c9c9bc;
    margin: 0 6px;
    transition: all 0.3s;
}

.carousel-indicators .active {
    background-color: #fff;
}

/* Navigation Arrows */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

/* Animations for slide */
.animate-slide {
    animation: fadeInSlide 0.7s ease-in-out;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Slider Responsive adjustments */
@media (max-width: 768px) {
    .hero-slider {
        /* height: 340px !important; */
        position: relative;
    }

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

/* 2. Blog Slider Styling */
.blog-section {
    position: relative;
    margin: auto;
    padding: 0px 40px 0px 40px;
}

/* Custom Navigation Arrows (Top Left) */
.blog-navigation {
    display: flex;
    gap: 10px;
    padding-bottom: 10px;
    padding-top: 10px;
}

.blog-navigation .custom-arrow {
    color: #262626;
    width: 40px;
    height: 40px;
    border: 1px solid #262626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 300;
    cursor: pointer;
    pointer-events: all;
}

.blog-navigation .custom-arrow:hover {
    background: #262626;
    color: #fff;
    transition: 0.3s ease;
}

.blogSwiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.blogSwiper .blog-slide {
    background: none;
    text-align: left;
    border: none;
}

.blogSwiper .blog-slide img {
    width: 100%;
    border-radius: 10px;
    height: 250px;
    object-fit: cover;
}

.blog-title {
    text-decoration: none;
}

.blogSwiper h3 {
    font-size: 18px;
    margin-top: 10px;
    color: #262626;
    font-weight: 600;
}

.blogSwiper p {
    font-size: 16px;
    color: #262626;
}

.blogSwiper .read-more {
    color: #262626;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.blog-navigation .custom-arrow {
    transition: opacity 0.3s ease;
}

.blog-navigation .custom-arrow.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.read-more:hover {
    text-decoration: underline;
    transition: 0.3s ease;
}

.view-articles:hover {
    color: #FD760D !important;
    transition: 0.3s ease-in-out;
}

.blog-head {
    align-items: center;
    justify-content: space-between;
}

/* Blogs Slider Responsive Adjustments */
@media (max-width: 992px) {
    .blog-section {
        padding: 0px 20px 0px 20px !important;
    }

    .blogSwiper .blog-slide img {
        height: 340px;
    }
}

/* 3. Testimonial Slider Styling */
#Testimonial {
    background: #f6f6f6;
    /* overflow: hidden; */
}

.testimonial {
    position: relative;
    max-width: 100%;
    padding: 50px 0px 80px 0px;
    overflow: hidden;
    margin-bottom: 20px;
}

.testimonial .testimonial-slide {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100%;
    height: auto;
    width: 100%;
    gap: 20px;
}

.testimonial-slide p {
    font-size: 16px;
    font-weight: 500;
    color: #262626;
    text-align: center;
    padding: 0px 13px 0px 13px;
}

.testimonial-slide img {
    width: 117px;
    height: 117px;
    object-fit: cover;
    border-radius: 50%;
    background-color: white;
}

.testimonial-slide .client-details {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-details .client-name {
    font-size: 16px;
    font-weight: 600;
    color: #545454;
}

.client-details .client-company {
    font-size: 14px;
    font-weight: 500;
    color: #545454;
}

.client-details .client-country {
    font-size: 16px;
    font-weight: 400;
}

/* #Testimonial .nav-btn {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    transform: translateY(-100%);
    background-color: rgba(96, 92, 92, 0.314);
    transition: 0.2s;
}

#Testimonial .nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

#Testimonial .nav-btn::after,
#Testimonial .nav-btn::before {
    font-size: 20px;
    color: #000000;
} */

#Testimonial .swiper-pagination-bullet {
    background-color: rgba(58, 50, 50, 0.8);
    margin: 0 6px;
    width: 12px;
    height: 12px;
    transition: all 0.3s;
}

#Testimonial .swiper-pagination-bullet-active {
    background-color: #FD760D;
}

.rating-box {
    position: relative;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.stars i {
    color: transparent;
    font-size: 24px;
    transition: color 0.2s ease;
    -webkit-text-stroke: 1px #FD760D;
}

.stars i.full {
    color: #FD760D;
}

.stars i.partial {
    position: relative;
    background: linear-gradient(to right, #FD760D var(--percent), transparent var(--percent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 4. Insurance Banner Styling */
.insurance-banner {
    background-color: #36c1b51a;
    /* Light greenish background */
    border-radius: 20px;
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
    margin: 30px;
}

.insurance-image img {
    width: 100%;
    max-width: 225px;
}

.brand-logo {
    width: 100%;
    margin-bottom: 10px;
}

.btn-seagreen {
    background-color: #3ac0b4;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 500;
    color: #fff;
    width: 100%;
    font-size: 20px;
    max-width: 158px;
    transition: all 0.3s ease-in-out;
}

.btn-seagreen:hover {
    background-color: #2db1a6;
    transform: scale(1.05);
    color: #fff;
}

/* Insurance Banner Responsive adjustments */
@media (max-width: 768px) {
    .insurance-banner {
        gap: 30px;
        padding: 20px !important;
    }

    .brand-logo {
        width: 60%;
    }

    .btn-seagreen {
        font-size: 14px;
        max-width: 100%;
    }

    .insurance-text h3 {
        font-size: 16px;
    }

    .insurance-text p {
        font-size: 14px;
    }

    .insurance-banner {
        margin: 10px 20px 10px 20px;
    }

    .blogSwiper .blog-slide img {
        height: 240px;
    }
}

/* 5. Quote Banner Styling */
.hero-section {
    background: url("../images/banner.webp") center/cover no-repeat;
    padding: 80px 10px 80px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    width: 80%;
}

.hero-section .hero-btn {
    transition: all 0.3s ease-in-out;
    width: 230px;
}

.hero-section .hero-btn:hover {
    background: #262626;
    color: white;
}

/* Quote Banner Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0px 40px 0px !important;
    }

    .hero-section h2 {
        font-size: 20px !important;
    }

    .hero-section p {
        font-size: 15px;
    }
}

/* 6. Gallery Slider Styling */
#swiper-custom-gallery .swiper-slide .gallery-image {
    display: block;
    width: 100%;
    border-radius: 20px 20px 0px 0px;
    height: 100%;
    object-fit: cover;
}

.card {
    border-radius: 20px;
    box-shadow: 0px 4px 12px 0px #00000014;
    border: 0;
}

.gallery-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-logo img {
    width: 50%;
}

/* Gallery slider Arrow and dots css */
/*
#swiper-custom-gallery .swiper-custom-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    z-index: 10;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

#swiper-custom-gallery .swiper-custom-nav .custom-nav {
    cursor: pointer;
    opacity: .6;
    transition: all .3s ease-in-out;
    border-radius: 50%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items:center;
    width: 40px;
    background-color: #2626269e;
    color: #fff;
}

#swiper-custom-gallery .swiper-custom-nav .custom-nav:hover {
    opacity: 1;

}

#swiper-custom-gallery .swiper-custom-pagination {
    display: flex;
    width: 100%;
    padding-top: 2rem;
    justify-content: center;
    gap: 1rem;
    font-size: 17px;
    line-height: 29px;
    font-weight: 500;
    color: #262626;
}

#swiper-custom-gallery .swiper-custom-pagination .swiper-pagination-bullet {
    width: auto;
    height: auto;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
    text-align: center;
}

#swiper-custom-gallery  .swiper-custom-pagination .line {
    opacity: .3;
    height: .25rem;
    width: .75rem;
    background-color: #262626;
    display: block;
    border-radius: 4px;
    transition: all .3s ease-in-out;
}

#swiper-custom-gallery .swiper-custom-pagination .swiper-pagination-bullet-active .line {
    opacity: 1;
    width: 2rem;
}

@media screen and (max-width: 800px) {
    #swiper-custom-gallery .swiper-custom-nav {
        display: none;
    }
}  */
