﻿@font-face {
    font-family: 'NunitoSans';
    src: url('../../fonts/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

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

a.btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.material-symbols-outlined-layout {
    color: white;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.button-text {
    white-space: nowrap;
}

a.btn:focus, .btn.btn-sm:focus {
    outline: none;
    box-shadow: none;
}

.btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

.photo-background {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: auto;
    scrollbar-width: none;
    min-height: 800px;
}

    .photo-background::-webkit-scrollbar {
        display: none;
    }

.photo {
    position: absolute;
    right: 0;
    width: 76%;
    height: 55%;
    background-image: url('/img/pngtree-family-life.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
}

.category-logo {
    width: 130px;
    height: 130px;
}

.title-section-sec {
    font-family: 'NunitoSans', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 33.14px;
    letter-spacing: -0.72px;
    background: linear-gradient(90deg, #043065 0%, #ED174E 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contenct-section-sec {
    color: #5D5D5D;
    font-family: 'NunitoSans', sans-serif;
    font-size: 14px;
    font-style: italic;
    font-weight: 300;
    line-height: 20.8px;
}

.photo-background .background {
    width: 100%;
    margin-top: -333px;
    z-index: 1;
}

.custom-carousel {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    box-sizing: border-box;
    justify-content: space-evenly;
}



.custom-carousel-item {
    flex: 0 0 auto;
    width: 235px;
    scroll-snap-align: start;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}

.category-logo {
    height: auto;
    object-fit: contain;
    margin-bottom: 10px;
}

.custom-text {
    color: #FFF;
    font-family: 'NunitoSans', sans-serif;
    font-size: 17px;
    font-weight: 300;
    line-height: 21px;
    text-transform: uppercase;
    width: 100%;
}


.custom-carousel::-webkit-scrollbar {
    display: none;
}

.custom-carousel {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.button-text-ealb {
    color: #FFF;
    font-family: 'NunitoSans', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
}

.button-text-situations {
    color: #0B2432;
    font-family: 'NunitoSans', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
}

.more-services-btn {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.more-situations-btn {
    display: flex;
    justify-content: center;
    color: #0B2432;
    text-decoration: none;
    z-index: 4;
}


.card-body-situations {
    padding-top: 15px;
}

.card-situations {
    width: 80%;
    height: 170px;
    flex-shrink: 0;
    border-radius: 8px;
    opacity: 1.55;
    z-index: 3;
}

.card {
    height: 90%;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px;
}

.section-situations {
    margin-left: -20%;
    margin-top: 12%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-title-situations {
    color: #FFF;
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: 'NunitoSans', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 800;
    line-height: 100%;
    letter-spacing: 0.4px;
}

.section-events {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .section-situations {
        margin-left: 0;
        margin-top: 5%;
    }

    .card-situations {
        width: 100%;
        height: auto;
    }

    .card-title-situations {
        font-size: 18px;
    }

    .photo {
        right: 70px;
    }

    .search-section {
        left: 50%;
    }
}

.title-events-sec {
    font-family: 'NunitoSans', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 33.14px;
    letter-spacing: -0.72px;
    background: linear-gradient(90deg, #043065 0%, #ED174E 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-events-sec {
    color: #5D5D5D;
    font-size: 15px;
    font-style: italic;
    font-weight: 300;
    line-height: 20.8px;
}

.desc-cards-events {
    color: #FFF;
    font-family: 'NunitoSans', sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 35px;
    margin-top: 45px;
}

.read-more-events, a.view-more-link, a.read-more-link {
    color: #C5E0F6 !important;
    font-family: 'NunitoSans', sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.card-body {
    display: flex;
    padding: 5px;
    flex-direction: row;
    align-items: center;
}

.card-text {
    font-weight: bold;
}

.card .icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.cards-section {
    height: 70%;
    border-left: 2px solid #1976D2;
    border-radius: 10px;
    border-radius: 1px 8px 8px 1px;
    background: #FFF;
    box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.08);
}

.content-title {
    color: #ED174E;
    font-family: 'NunitoSans', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: 33.14px;
    letter-spacing: -0.72px;
    display: flex;
    width: 177.758px;
    height: 33.14px;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

.content-desc {
    color: #10354A;
    font-family: 'NunitoSans', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20.8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

.cards-section-home {
    border-radius: 8px;
    border: 1px solid #D5D5D5;
    background: #FFF;
    box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.08);
}



.scrolling-cards-container {
    padding: 0 50px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.scrolling-cards-title {
    color: #ED174E;
    font-family: 'NunitoSans', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: 56px;
    display: flex;
    width: 494.51px;
    height: 56px;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}


.card-content-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}


.blue-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 170px;
    height: 100%;
    background-color: rgba(4, 48, 101, 0.70);
    color: white;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}


.scrolling-cards-paragraph {
    color: #10354A;
    font-family: 'NunitoSans', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20.8px;
    display: flex;
    width: 634px;
    height: 21px;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

.scrolling-cards-list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 25px 0;
    list-style: none;
    margin: 0;
    scroll-behavior: smooth;
}

    .scrolling-cards-list::-webkit-scrollbar {
        display: none;
    }

.scrolling-cards-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: 400px;
    min-width: 380px;
    scroll-snap-align: start;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    margin-right: 10px;
}



@media (max-width: 768px) {
    .scrolling-cards-card {
        width: 100%;
        min-width: auto;
        margin-right: 0;
        margin-bottom: 16px;
    }

    .scrolling-cards-container {
        flex-direction: column;
        align-items: center;
    }
}

@media (min-width: 769px) {
    .scrolling-cards-card {
        width: 320px;
    }

    .scrolling-cards-card-title {
        font-size: 16px;
    }
}

@media (min-width: 1200px) {
    .scrolling-cards-card {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .desc-cards-events {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .desc-cards-events {
        font-size: 14px;
    }
}

.scrolling-cards-card-title {
    font-size: 20px;
}

.scrolling-cards-card-content {
    margin: 20px 0;
    max-width: 85%;
}

.scrolling-cards-card-link-wrapper {
    position: absolute;
    top: 10px;
    left: 10px;
}

.scrolling-cards-card-link {
    font-family: 'NunitoSans', sans-serif;
    font-size: 10px;
    font-style: normal;
    display: inline-block;
    text-decoration: none;
    color: #ED174E;
    background: #F0F1F2;
    padding: 6px 12px;
    border-radius: 100px;
    transition: background 0.2s;
}

.scrolling-cards-list::-webkit-scrollbar {
    height: 12px;
}

.scrolling-cards-list::-webkit-scrollbar-thumb,
.scrolling-cards-list::-webkit-scrollbar-track {
    border-radius: 92px;
}

.scrolling-cards-list::-webkit-scrollbar-thumb {
    background: var(--darkred);
}

.scrolling-cards-list::-webkit-scrollbar-track {
    background: var(--thumb);
}

/* Carousel controls */
.carousel-controls {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 15px;
}

.carousel-btn {
    background-color: rgba(255, 255, 255, .15);
    color: #0B2432;
    font-size: 20px;
    cursor: pointer;
    border: none;
}

/* Step line */
.step-indicator {
    width: 60%;
    height: 2px;
    background-color: #ddd;
    margin: 0 10px;
    position: relative;
}

.step-line {
    height: 100%;
    width: 0%;
    background-color: #ED174E;
    transition: width 0.3s;
}

.scrolling-cards-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}


.date-cards-events {
    color: #FFF;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
}

.statistics-container {
    background-color: #f9f9f9;
    padding: 40px 0;
}

.statistic-item {
    margin: 10px;
}

.statistic-number {
    color: #ED174E;
    font-size: 43px;
    font-style: normal;
    font-weight: 400;
    line-height: 33.14px;
    letter-spacing: -0.72px;
}

.statistic-description {
    color: #043065;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.custom-carousel-container-unique {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1920' height='794' viewBox='0 0 1920 794' fill='none'%3E%3Crect width='1920' height='794' fill='%23eaf1f7'/%3E%3Cpath d='M0 0H1920V668L1095 709.5L850 692.5L0 794V668V0Z' fill='%23043065'/%3E%3C/svg%3E") no-repeat center center / cover;
    padding: 40px 70px 325px 70px;
}

.custom-card-unique {
    height: 430px;
    width: 315px;
    margin-right: 15px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.card-img-container-unique {
    position: relative;
    padding: 10px 10px 0 10px;
}

    .card-img-container-unique a {
        display: block;
        position: relative;
        z-index: 1;
    }

.card-img-top-unique {
    opacity: 0.55;
    display: block;
    width: 100%;
    border-radius: 8px;
    height: 200px;
}

.card-body-unique {
    width: 270px;
    height: 380px;
    position: absolute;
    padding: 15px;
    border: 2px solid white;
    padding-top: 60%;
    top: 7%;
    margin-left: 22px;
    border-radius: 8px;
}

.carousel-item-unique {
    position: relative;
    scroll-snap-align: start;
}

/* Title and description styles */
.carousel-title-unique {
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    text-transform: uppercase;
}

.carousel-wrapper-unique {
    overflow: hidden;
}

.carousel-inner-unique {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

/* Card styling */
.card-title-unique {
    color: #FFF;
    font-family: 'NunitoSans', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    text-transform: uppercase;
}

.card-text-unique {
    color: #FFF;
    font-family: 'NunitoSans', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
}

.carousel-nav-btn-unique {
    background-color: #007bff;
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

    .carousel-nav-btn-unique:focus {
        outline: none;
    }

.carousel-inner-unique::-webkit-scrollbar {
    display: none;
}

.carousel-inner-unique {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    width: 100%;
    padding-bottom: 15px;
    cursor: grab;
    transition: transform 0.3s ease;
}

    .carousel-inner-unique.grabbing {
        cursor: grabbing;
    }

.service-section-categories {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5rem;
}

.card-content-container {
    display: flex;
    width: 100%;
}

.card-text-column {
    flex: 0 0 calc(10/12 * 100%);
    max-width: calc(10/12 * 100%);
}

.card-image-column {
    flex: 0 0 calc(2/12 * 100%);
    max-width: calc(2/12 * 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon {
    width: 100%;
    height: auto;
    max-width: 90px;
    max-height: 90px;
    opacity: 0.7;
    position: static;
    transform: none;
}


.service-item-for-category {
    flex: 0 0 calc(10/12 * 100%);
    max-width: calc(10/12 * 100%);
}

.service-card h2 {
    width: calc(10/12 * 100%);
}

.more-link {
    position: static;
    margin-top: 15px;
}

.service-card {
    border: 1px solid #E8E8E8;
    background-color: white;
    border-radius: 16px;
    padding: 20px;
    margin: 0 35px 15px 35px;
    height: 86%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05) !important;
    display: flex;
    flex-direction: column;
    position: relative;
}

    .service-card h2 {
        font-weight: bold;
        margin-bottom: 15px;
        color: #202B5D;
        font-size: 1.275rem;
        font-style: normal;
        font-weight: 500;
        line-height: 1.875rem;
    }

    .service-card ul {
        list-style-type: none;
        padding-left: 0;
        margin-bottom: 30px;
    }

        .service-card ul li {
            margin-bottom: 4px;
            position: relative;
            padding-left: 25px;
            color: #2F6796;
            font-size: 1rem;
            font-style: normal;
            font-weight: 600;
            line-height: 1.5rem;
        }

            .service-card ul li:before {
                content: "→";
                position: absolute;
                left: 0;
                color: #0066cc;
            }

    .service-card .more-link {
        position: absolute;
        bottom: 0.5rem;
        left: 20px;
        text-decoration: none;
        color: #005AA3;
        font-size: 0.875rem;
        font-style: normal;
        font-weight: 600;
        line-height: 1.5rem;
    }

.service-icon {
    position: absolute;
    right: 10px;
    top: 75%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.search-container-categories {
    margin-bottom: 30px;
    width: 205%;
    position: relative;
}

#searchInputCategories {
    background-color: #EAEAEA;
    border-radius: 30px;
    padding: 10px 20px 10px 40px;
    border: 1px solid #ddd;
}

.no-results {
    text-align: center;
    padding: 50px;
    font-size: 1.2rem;
    color: #666;
}

.pagination-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.service-link {
    padding: 0px 0px !important;
}

/**search dhe video section i paloguar**/
.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.search-input {
    padding-left: 40px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-background {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #043065B2;
    z-index: 0;
}

.search-section {
    position: absolute;
    top: 50%;
    left: 35%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    max-width: 700px;
}

.headline {
    margin-left: 5%;
    text-align: left;
    color: white;
    font-size: 55px;
    font-family: 'NunitoSans', sans-serif;
    font-weight: 400;
    line-height: 64px;
    word-wrap: break-word
}

.suggestion-header {
    font-size: 10px;
    color: rgb(108 172 172);
    font-weight: 600;
    margin-right: 8px;
    background-color: rgb(210 230 230);
    padding: 5px;
}

.suggestion-title-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.suggestion-box {
    z-index: 3;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    padding: 0;
    display: none;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
    max-height: 300px;
    overflow-y: auto;
}

    .suggestion-box li {
        padding: 6px 15px;
        cursor: pointer;
        color: #053D4F;
        font-size: 16px;
        transition: background-color 0.2s;
        border-bottom: 1px solid #f1f1f1;
        display: flex;
        flex-direction: column;
    }

        .suggestion-box li:hover {
            background-color: #f1f1f1;
        }

.suggestion-title {
    font-weight: 600;
    color: #1976D2;
    margin-bottom: 4px;
}

.suggestion-arrow {
    color: rgb(5 49 101);
    margin-right: 8px;
    font-weight: bold;
}

.suggestion-desc {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.input-group .form-control {
    border-left: none;
}

.input-group .input-group-text {
    border-right: none;
}

.input-search {
    border-radius: 28px !important;
    padding-left: 48px;
}

.input-group.input-group-lg .form-control {
    border-radius: 28px;
}

@media (max-width: 576px) {
    .headline {
        font-size: 1.5rem;
    }

    .form-control {
        font-size: 1rem;
    }

    .suggestion-box li {
        font-size: 15px;
    }

    .search-section {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        width: 100%;
        max-width: 700px;
    }

    .last-suggestion-item-logged {
        border-bottom-left-radius: 28px !important;
        border-bottom-right-radius: 28px !important;
        border-bottom: 1px solid #9cb3cf;
    }

        .last-suggestion-item-logged:hover {
            background-color: #f9f9f9;
            border-bottom-left-radius: 28px !important;
            border-bottom-right-radius: 28px !important;
            border-bottom: none;
        }

    /* Default state (rounded corners) */
    #search-group {
        border-top-right-radius: 28px;
        border-bottom-right-radius: 28px;
        transition: border-radius 0.3s;
    }

        /* When suggestions are visible, remove bottom-right radius */
        #search-group.has-suggestions {
            border-bottom-right-radius: 0;
        }

    .headline {
        margin-left: 0%;
        text-align: center;
        color: white;
        font-size: 55px;
        font-family: 'NunitoSans', sans-serif;
        font-weight: 400;
        line-height: 64px;
        word-wrap: break-word
    }

    .input-search {
        border-bottom-left-radius: 28px !important;
        border-bottom-right-radius: 28px !important;
        border-top-left-radius: 28px !important;
        border-top-right-radius: 28px !important;
    }

    .input-group.input-group-lg:focus-within {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

        .input-group.input-group-lg:focus-within .input-search {
            border-bottom-left-radius: 0 !important;
            border-bottom-right-radius: 0 !important;
        }

    .input-group .position-absolute svg {
        pointer-events: none;
        z-index: 2;
    }

    .input-search {
        padding-left: 48px;
    }
}

.input-group.input-group-lg:focus-within {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/*  .input-group.input-group-lg:focus-within .input-search {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }
*/
.input-group .position-absolute svg {
    z-index: 2;
    pointer-events: none;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.suggestion-box {
    position: absolute;
    width: 100%;
    background: white;
    border-top: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    margin-top: -2px;
    display: block;
    border-bottom-left-radius: 28px;
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

    .suggestion-item:hover {
        background-color: #f8f9fa;
    }

.suggestion-service-label {
    width: 100%;
    height: 100%;
    position: relative;
}

#suggestions {
    background: white;
    border-top: none;
    border-radius: 0 0 28px 28px;
    max-height: 300px;
    overflow-y: auto;
    position: absolute;
    width: 100%;
    z-index: 10;
}


.suggestion-title {
    font-weight: 600;
    color: #053D4F;
}

.suggestion-description {
    font-size: 14px;
    color: #6c757d;
}

.input-search:focus {
    box-shadow: none !important;
    border-color: #9cb3cf !important;
}

#search-group .position-absolute {
    z-index: 5 !important;
    pointer-events: none;
}

#search-group svg {
    fill: #b6c5cb;
    opacity: 0.6;
}

.input-search.typing {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.suggestion-item-logged {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 18px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    cursor: pointer;
    height: auto;
    overflow: visible;
}


.custom-container-logged {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 0.75rem;
}

.custom-service-label-logged {
    background-color: rgba(77, 155, 155, 0.25);
    color: #004F4F;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}


.custom-icon-logged {
    width: 13px;
    height: 17px;
    position: static;
    overflow: hidden;
    flex-shrink: 0;
}

.custom-title-logged {
    white-space: normal;
    word-break: break-word;
    font-size: 15px;
    font-weight: 700;
    color: #005AA3;
    flex: 1;
}


/*.input-group .position-absolute {
    z-index: 15;
    pointer-events: none;
}
*/
.input-search:focus + .position-absolute svg {
    opacity: 1 !important;
    visibility: visible !important;
}

@media (max-width: 991.98px) {
    .headline {
        margin-left: 0%;
        text-align: center;
        color: white;
        font-size: 55px;
        font-family: 'NunitoSans', sans-serif;
        font-weight: 400;
        line-height: 64px;
        word-wrap: break-word
    }
}


@media (max-width: 768px) {
    .custom-carousel {
        height: 200px;
    }

    .custom-carousel-item {
        width: 150px;
    }

    .category-logo {
        width: 70%;
    }

    .custom-text {
        font-size: 14px;
        line-height: 18px;
    }

    .statistic-number {
        font-size: 32px;
        line-height: 28px;
    }

    .service-section-categories {
        padding: 0 2rem;
    }

    .service-item-for-category {
        font-size: 0.75rem;
    }

    .headline {
        font-size: 46px;
    }


    .search-container {
        position: center;
        width: 98%;
    }
}


@media (max-width: 480px) {
    .statistic-number {
        font-size: 24px;
        line-height: 22px;
    }

    .service-section-categories {
        padding: 0 1rem;
    }

    .headline {
        font-size: 36px;
    }

    .search-container {
        position: center;
        width: 95%;
    }
}

.loading-state {
    padding: 15px;
    text-align: center;
}

.search-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #043065;
}

    .search-spinner .spinner {
        width: 20px;
        height: 20px;
        border: 3px solid rgba(4, 48, 101, 0.2);
        border-radius: 50%;
        border-top-color: #043065;
        animation: spin 0.8s linear infinite;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


.life-events-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.background-wave {
    width: 100%;
    height: auto;
    min-height: 500px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-image: url('/img/pngtree-family-life.png');
}

.z-index-2 {
    z-index: 2;
    position: relative;
}

/* Section Header */
.section-header {
    padding-top: 103px;
    left: 30%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-title {
    font-family: 'NunitoSans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(90deg, #ffffff 0%, #ED174E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.section-subtitle {
    color: #fff;
    font-family: 'NunitoSans', sans-serif;
    font-size: 16px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.5;
}

/* Event Cards */
.event-card,
.event-card-pink {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-radius: 8px;
    padding: 20px;
    height: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

    .event-card::before,
    .event-card-pink::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 8px;
    }

    .event-card::before {
        background: rgb(4 48 101 / 68%);
    }

    .event-card-pink::before {
        background: rgb(197 71 104 / 56%);
    }

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    position: relative;
    z-index: 999999;
}

.card-title {
    color: #FFF;
    font-family: 'NunitoSans', sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    z-index: 99999;
}

/* View All Button */
.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'NunitoSans', sans-serif;
    text-decoration: none;
    padding: 55px 16px;
    border-radius: 4px;
    color: var(--Primary-Color, #043065);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
}

    .view-all-btn:hover {
        color: #0B2432;
    }

    .view-all-btn svg {
        color: #0B2432;
        transition: transform 0.3s ease;
    }

.login-all-services a {
    color: inherit;
    text-decoration: none;
}


.login-all-services {
    color: #FFF;
    font-family: 'NunitoSans', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    text-decoration: none;
}

.login-svg-row {
    padding: 20px;
    display: flex;
    gap: 15px;
    flex-direction: row;
}

    .login-svg-row svg {
        flex-shrink: 0;
    }

/* Life Events Image */
.life-events-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 80%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
    .section-title {
        font-size: 22px;
    }

    .event-card, .event-card-pink {
        height: 150px;
    }

    .card-title {
        font-size: 16px;
    }
}

@media (max-width: 991.98px) {
    .background-wave {
        min-height: 400px;
    }

    .section-header {
        padding-top: 40px;
    }

    .life-events-image {
        width: 40%;
        height: 60%;
    }
}

@media (max-width: 767.98px) {
    .background-wave {
        min-height: 700px;
    }

    .section-header {
        padding: 40px;
        text-align: center;
    }

    .section-title {
        font-size: 20px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .event-card, .event-card-pink {
        height: 130px;
        padding: 15px;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }

    .card-title {
        font-size: 14px;
    }

    .view-all-btn {
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .background-wave {
        min-height: 800px;
    }

    .event-card, .event-card-pink {
        height: 110px;
    }

    .card-icon {
        width: 40px;
        height: 40px;
    }
}

.cards-situations {
    margin: -32px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
