@font-face {
    font-family: customFontRiskaide;
    src: url(../fonts/BwAletaNo10-Regular.ttf);
}

@font-face {
    font-family: customFontRiskaideMedium;
    src: url(../fonts/BwAletaNo10-Medium.ttf);
}

@font-face {
    font-family: customFontRiskaideBold;
    src: url(../fonts/BwAletaNo10-Bold.ttf);
}
@font-face {
    font-family: customFontRiskaideBold;
    src: url(../fonts/BwAletaNo10-Bold.ttf);
}
@font-face {
    font-family: poppinsFontRiskaide;
    src: url(../fonts/Poppins-Regular.ttf);
}

body {
    font-family: customFontRiskaide;
}

.poppinsFontRiskaide {
    font-family: poppinsFontRiskaide;
}

.hero_nav_main {
    background: #173457;
}

.nav-link,
.hero_call_right a {
    color: #ffffff;
}

.service_page_item_top h4,
.service_page_item p,
.title_style h3 {
    color: #000;
}

.service_page_item_top h2 {
    -webkit-text-stroke: 2px #000;
}

.mechanics_section_wrapper {
    background-color: #173457;
}

.mechanics_icon {
    border: 5px solid #173457;
}

.mechanics_icon_wrapper {
    border-bottom: 5px solid #173457;
}

.review_author {
    border: 4px solid #173457;
}

.review_item {
    border-top: 2px solid #173457;
}

.review_author_line::before {
    background: #173457;
}

.blog_btn {
    color: #173457;
}

.footer_bottom p {
    background: #009936;
}

.text-justify {
    text-align: justify;
}

.common_banner_bottom_content .text_home {
    color: #009936;
}

.common_banner_bottom_content .text_home a {
    color: #173457;
}

.common_divider::before,
.common_divider::after {
    background: #009936;
}

.contact_page_right .input_feild .icon,
.contact_page_right select {
    color: #7A7A7A;
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 10px .25rem rgba(0, 153, 54, .5);
}

#contact_form label.error {
    color: #ff0000;
}

#contact_form input.error,
#contact_form textarea.error {
    border: 1px solid #ff0000;
}

.blog_post_details span {
    background: #000;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.company_right_main p {
    margin: 25px 0;
}

@media screen and (min-width: 992px) {
    .navbar {
        padding: 0;
        line-height: 3rem;

        .dropdown-menu {
            line-height: initial;
        }
    }

    .dropdown {
        .dropdown-menu {
            display: none;
        }
    }

    .dropdown,
    .dropend {
        &:hover {
            &>.dropdown-menu {
                display: block;
            }
        }
    }

    .dropdown {
        &:hover {
            &>.dropdown-menu {
                margin-top: -.5rem;
            }
        }
    }

    .dropend {
        &:hover {
            &>.dropdown-menu {
                position: absolute;
                top: -.5rem;
                left: 100%;
                margin-left: 0;
            }
        }
    }
}

.company_author_wrapper span {
    font-size: 10px;
}

.company_author_wrapper {
    background: transparent !important;
}

.hero_nav_main .navbar-brand {
    height: auto;
}

.member_info p {
    font-size: 10px !important;
}

@keyframes typing {
    from {
        width: 0ch
    }

    to {
        width: 25ch
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: white
    }
}

body {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently */
}

.hexagon {
    width: 104px;
    aspect-ratio: 1 / 1;
    background: #173457;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hexagon.greenbg {
    background: #009936 !important;
}

.hex-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hex-content img {
    width: 100%;
    height: 50px;
}

.common_banner_section {
    min-height: 290px !important;
}

.footer_explore ul {
    gap: 8px !important;
}

.footer_contact_wrapper {
    margin-bottom: 25px !important;
}

#introBtn {
    transition: opacity 0.6s ease-in-out;
}

.hex {
    position: relative;
    width: 184px;
    height: 200px;
    background: var(--primary);
    margin: 20px auto;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    cursor: pointer;
    transition: background 0.5s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 15px;
    overflow: hidden;
}

.hex h3,
.hex .desc {
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: absolute;
    padding: 15px;
    line-height: 1.4;
}

.hex h3 {
    font-size: 15px;
    font-weight: bold;
    opacity: 1;
    transform: translateY(0);
}

.hex .desc {
    font-size: 12px;
    opacity: 0;
    transform: translateY(20px);
}

/* Hover Effects */
.hex:hover {
    background: #173457;
    /* hover color */
    color: #fff;
    transform: translateY(-5px);
}

.hex:hover h3 {
    opacity: 0;
    transform: translateY(-20px);
}

.hex:hover .desc {
    opacity: 1;
    transform: translateY(0);
}

.select2-container--default .select2-selection--single {
    padding: 20px;
    border-radius: 3px;
    height: auto !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 23px !important;
}

.qr-card {
    background: linear-gradient(135deg, #009936, #173457);
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    width: 117px;
    margin: -34px;
}

.qr-card img {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    width: 100px;
    height: 100px;
}

.extra-small-font {
    font-size: 10px;
}

.medium-font {
    font-size: 13px;
}

.member_info {
    bottom: -55px !important;
}

.about_company_section .company_author_wrapper::before {
    display: none;
}

.about_company_section .company_author_main {
    margin-top: 10px;
}

.hero_top_main_wrapper {
    height: 40px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slide-text {
    position: absolute;
    white-space: nowrap;
    color: white;
    font-size: 18px;
    line-height: 40px;
    animation: slide-left 15s linear infinite;
}

/* Fixed animation */
@keyframes slide-left {
    0% {
        transform: translateX(100vw);
        /* start completely off-screen on right */
    }

    100% {
        transform: translateX(-100%);
        /* move fully off-screen on left */
    }
}

.image-shape-wrapper {
    position: relative;
    width: 80%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Common shape styling */
.shape {
    position: absolute;
    width: 35%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.shape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Layout positions */
.shape1 {
    left: 5%;
    top: 20%;
    z-index: 1;
}

.shape2 {
    left: 32%;
    top: 10%;
    z-index: 2;
}

.shape3 {
    left: 59%;
    top: 20%;
    z-index: 1;
}

/* Hover effect */
.shape:hover {
    transform: scale(1.05);
    opacity: 0.9;
}




.home-hexagon {
    width: 90vw;
    max-width: 100%;
    aspect-ratio: 1 / 1.15;
    position: relative;
    clip-path: polygon(50% 0%,
            100% 25%,
            100% 75%,
            50% 100%,
            0% 75%,
            0% 25%);
    background: #f2f2f2;
    overflow: hidden;
    margin: 0;
    border: 7px solid #ffffff;
}

.segment {
    position: absolute;
    width: 100%;
    height: 100%;
    /* Remove flexbox here */
    transition: transform 0.4s;
    pointer-events: auto;
}

.segment1 {
    clip-path: polygon(50% 0%, 100% 25%, 50% 50%, 0% 25%);
    background-image: url('../../../store/assets/images/img/home-3.jpg');
    background-size: cover;
    background-position: center;
}

.segment2 {
    clip-path: polygon(100% 25%, 100% 75%, 50% 100%, 50% 50%);
    background-image: url('../../../store/assets/images/img/home-1.jpg');
    background-size: cover;
    background-position: center;
}

.segment3 {
    clip-path: polygon(0% 25%, 50% 50%, 50% 100%, 0% 75%);
    background-image: url('../../../store/assets/images/img/home-2.png');
    background-size: cover;
    background-position: center;
}

.segment1::before {
    content: "";
    /* Required for pseudo-elements */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(23, 52, 87, 0.5);
    /* Black with 50% opacity */
    z-index: 1;
    /* Ensure it's above the image */
}

.segment2::before {
    content: "";
    /* Required for pseudo-elements */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(23, 52, 87, 0.5);
    /* Black with 50% opacity */
    z-index: 1;
    /* Ensure it's above the image */
}

.segment3::before {
    content: "";
    /* Required for pseudo-elements */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(23, 52, 87, 0.5);
    /* Black with 50% opacity */
    z-index: 1;
    /* Ensure it's above the image */
}

.segment:hover {
    transform: scale(1.08);
    z-index: 10;
}

.segment1 span {
    position: absolute;
    top: 23%;
    /* !! increased precision: (was 22%) */
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
}

.segment2 span {
    position: absolute;
    top: 62.5%;
    /* !! fine-tuned */
    left: 76%;
    transform: translate(-50%, -50%);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
}

.segment3 span {
    position: absolute;
    top: 62.5%;
    /* !! fine-tuned */
    left: 25%;
    transform: translate(-50%, -50%);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
}

.segment span {
    pointer-events: none;
    display: block;
    color: white;
    font-weight: bolder;
    z-index: 9;
}

.about-section {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

.about-hexagon {
    flex-shrink: 0;
    width: 220px;
    height: auto;
}

.about-text-box {
    background-color: #009936;
    /* Green background */
    color: white;
    padding: 20px 25px;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.6;
    margin-left: -50px;
    z-index: -1;
    padding-left: 75px;
}

@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .about-text-box {
        margin-top: 15px;
        padding-left: 30px;
        margin-left: 0;
    }
}

.mission-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    position: relative;
    width: 100%;
}

.mission-text-box {
    background-color: #009936;
    /* Green background */
    color: white;
    padding: 20px 30px;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.6;
    flex: 1;
    margin-right: -36px;
}

/* Responsive */
@media (max-width: 768px) {
    .mission-section {
        flex-direction: column-reverse;
        text-align: center;
    }

    .mission-text-box {
        margin-right: 0;
    }

}

.circle {
    padding: 13px 8px;
    border-radius: 50%;
    background-color: #173457;
    color: #fff;
    max-height: 50px;
    z-index: 2;
}

.how-it-works.row .col-2 {
    align-self: stretch;
}

.how-it-works.row .col-2.bottom::after {
    height: 50%;
    left: 50%;
    top: 50%;
}

.how-it-works.row .col-2.top::after {
    height: 50%;
    left: 50%;
    top: 0;
}


.timeline div {
    padding: 0;
    height: 40px;
}

.timeline hr {
    border-top: 3px solid #009936;
    margin: 0;
    top: 17px;
    position: relative;
    opacity: unset;
}

.timeline .col-2 {
    display: flex;
    overflow: hidden;
    opacity: 0.25;
}

.timeline .corner {
    border: 3px solid #009936;
    width: 100%;
    position: relative;
    border-radius: 15px;
}

.timeline .top-right {
    left: 50%;
    top: -50%;
}

.timeline .left-bottom {
    left: -50%;
    top: calc(50% - 3px);
}

.timeline .top-left {
    left: -50%;
    top: -50%;
}

.timeline .right-bottom {
    left: 50%;
    top: calc(50% - 3px);
}
.timeline-main-section h5 {
    color :#009936;
    font-weight: bold;
}
.claim_section ol, .claim_section ul {
    padding-left: 2rem;
}
.insurance_wrapper h4 {
    color: #000;
}
.insurance_wrapper.active h4 {
    color: #fff;
}
.contact_right {
    padding: 20px 20px;
}
table td {
    border-width: revert-layer;
}
.life_insurance_section td {
    padding: 10px !important;
}
#insuranceTab .nav-link {
    color: black;
}