/* ===== Base ===== */

.necessity {
    padding: 36px 32px;
    background: #fff;
}

.necessity__container {
    max-width: 1376px;
    margin: 0 auto;
}

.necessity__head {
    max-width: 1040px;
    margin-bottom: 48px;
}

.necessity__title {
    font-size: 32px;
    line-height: 1.35;
    font-weight: 500;
    color: #171717;
    margin-bottom: 16px;
}

.necessity__description {
    font-size: 18px;
    line-height: 1.5;
    color: #696969;
}

/* ===== Cards Grid (Desktop) ===== */

.necessity__cards-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /*grid-template-columns: repeat(2, 1fr);*/
    gap: 32px;
}

.necessity-card {
    height: 287px;
    perspective: 800px;
}

/* ===== Flip Core ===== */

.necessity-card__inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .45s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

/* Disable flip for low-end / touch */
@media (hover: hover) and (pointer: fine) {
    .necessity-card:hover .necessity-card__inner {
        transform: rotateY(180deg);
    }

}

.necessity-card__face {
    position: absolute;
    inset: 0;
    padding: 16px;
    border-radius: 8px;
    backface-visibility: hidden;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.necessity-card__face--front {
    background: #f6f6f6;
    color: #171717;
}

.necessity-card__face--back {
    background: #282828;
    color: #f6f6f6;
    transform: rotateY(180deg);
}

/* ===== Card content ===== */

.necessity-card__title {
    font-size: 24px;
    line-height: 1.35;
    font-weight: 500;
    color: #696969;
}

.necessity-card__text {
    font-size: 16px;
    line-height: 1.35;
}

.necessity-card__icon {
    align-self: flex-end;
    font-size: 24px;
}
.necessity-card__icon-white{
    align-self: flex-end;
    font-size: 24px;
}
.necessity-card__icon-white svg path{
    stroke: white;
}
.necessity-card--image {
    grid-column: span 2;
}

.necessity-card--image.one-card {
    grid-column: span 1;
}

.necessity-card--image.two-card {
    grid-column: span 2;
}

.necessity-card--image.three-card {
    grid-column: span 3;
}

.necessity-card--image.four-card {
    grid-column: span 4;
}
.necessity-card__image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.necessity-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.necessity__img-mobile-inner{
    display: none;
}

/* ===== Mobile ===== */

@media (max-width: 920px) {
    .necessity {
        padding: 40px 16px;
    }

    .necessity__cards-inner {
        display: flex;
        gap: 16px;
    }

    .necessity-card {
        width: 277px;
        flex-shrink: 0;
    }

    /* Disable flip on mobile */
    .necessity-card__inner {
        transform: none !important;
    }

    .necessity-card__face--back {
        display: none;
    }

    .necessity-card--image{
        display: none;
    }
    .necessity__img-mobile-inner{
        display: block;
        margin-top: 24px;
    }
    .necessity__img-mobile{
        border-radius: 8px;
        overflow: hidden;
        height: 287px;
    }
    .necessity__img-mobile img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
}

/*-------------------Protect Section-----------------*/
/* Layout */
.protect{
    padding: 72px 32px 0;
    background: #fff;
}
.protect__container {
    max-width: 1376px;
    margin: 0 auto;
}

.protect__head {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 50px;
}
.protect__title,
.protect__description {
    flex: 0 0 50%;
}

.protect__title {
    font-weight: 500;
    font-size: 32px;
    line-height: 135%;
    vertical-align: middle;
    color: #000000;
}
.protect__title span{
    color: #696969;
}
.protect__description{
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    vertical-align: middle;
    color: #696969;
}
/* Tabs navigation */

.protect__nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 44px;
}

.protect-tab {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 12px;
    background: white;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
    transition: background .25s ease;
}
.protect-tab .protect-tab__label{
    font-weight: 500;
    font-size: 18px;
    line-height: 125%;
    vertical-align: middle;
    color: #171717;
    text-align: left;
}
.protect-tab:hover,
.protect-tab.is-active {
    background: #EDEDED;
}

.protect-tab__icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* Content */

.protect-content {
    display: none;
    padding: 32px;
    background: #F6F6F6;
    border-radius: 8px;
    min-height: 360px;
}
.protect-content__text{
    font-weight: 400;
    font-size: 24px;
    line-height: 150%;
    vertical-align: middle;
    color: #171717;

}
.protect-content.is-active {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.protect-content__footer {
    display: flex;
    justify-content: space-between;
    /*align-items: center;*/
    margin-top: 32px;
}
.protect-content__link{
    font-weight: 500;
    font-size: 18px;
    line-height: 125%;
    vertical-align: middle;
    text-decoration: underline;
    text-decoration-style: solid;
    color: #696969;
}
.protect-content__logo img {
    max-height: 46px;
    width: auto;
}
.protect .services-contact-us-info a span{
    text-transform: uppercase;
}




/* Mobile */
@media (max-width: 1200px){
    .protect__nav{
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 920px){
    .protect__nav{
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .protect{
        padding: 40px 16px;
    }
    .protect__head {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 24px;
    }

    .protect__title,
    .protect__description {
        flex: 0 0 100%;
    }
    .protect__title{
        font-size: 20px;
    }
    .protect__description{
        font-size: 14px;
        line-height: 140%;
        vertical-align: middle;
    }
    .protect__nav {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }
    .protect-tab{
        padding: 4px;
    }
    .protect-tab__icon img {
        width: 40px;
        height: 40px;
    }
    .protect-tab .protect-tab__label{
        font-weight: 500;
        font-size: 14px;
        line-height: 100%;
        vertical-align: middle;
    }
    .protect-content {
        padding: 16px;
    }
    .protect-content__footer {
        margin-top: 24px;
    }
    .protect-content__logo img {
        max-height: 25px;
    }
    .protect-content__text{
        font-size: 16px;
        line-height: 135%;
    }
}


/*-----------------considerations section--------------*/
/* ===== Base ===== */

.considerations {
    background: #ffffff;
    padding: 72px 32px;
}
.considerations__container {
    max-width: 1376px;
    margin: 0 auto;
}

.considerations__title {
    font-weight: 500;
    font-size: 32px;
    line-height: 135%;
    vertical-align: middle;
    color: #000000;
    margin-bottom: 48px;
}
.considerations__title span{
    color: #696969;
}
/* ===== Swiper ===== */
.considerations__inner {
    position: relative;
}
.considerations__track {
    overflow: hidden;
    padding-top: 60px;
}

.considerations__swiper {
    overflow: visible;
}

.considerations .swiper-slide {
    width: auto;
}

/* ===== Card ===== */
.considerations-card {
    box-sizing: border-box;
    width: 256.8px;
    height: 169px;
    padding: 24px;
    background: #F6F6F6;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .25s ease, box-shadow .25s ease;
}
.considerations-card__title {
    font-size: 32px;
    font-weight: 500;
    line-height: 135%;
    color: #171717;
}
.considerations-card__desc {
    font-size: 18px;
    font-weight: 500;
    line-height: 125%;
    color: #282828;
}
.considerations-card {
    transition: transform .3s ease;
}
.considerations-card:hover {
    transform: translateY(-60px);
}
/* ===== Navigation ===== */
.considerations__nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
}
.considerations__btn {
    width: 56px;
    height: 56px;
    background: #282828;
    color: #ffffff;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
/* ===== Mobile ===== */
@media (max-width: 768px) {
    .considerations {
        padding: 40px 16px;
    }
    .considerations__track {
        padding-top: 0;
    }
    .considerations__title {
        font-size: 20px;
        margin-bottom: 24px;
    }
    .considerations-card {
        width: 257px;
        height: 141px;
        padding: 16px;
    }
    .considerations-card__desc {
        font-size: 16px;
        line-height: 120%;
    }
    .considerations__btn {
        width: 40px;
        height: 40px;
    }
    .considerations-card:hover {
        transform: none;
    }
}


/*-----------------choose section--------------*/
.choose {
    padding: 72px 32px;
    background: #ffffff;
}
.choose__container {
    max-width: 1376px;
    margin: 0 auto;
}
.choose__title {
    font-size: 32px;
    font-weight: 500;
    line-height: 135%;
    color: #000000;
    margin-bottom: 48px;
}
.choose__title span{
    color: #696969;
}
.choose__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.choose__list {
    width: 100%;
}
.choose__list .swiper-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 12px;
    column-gap: 40px;
}
.choose-card {
    margin: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.choose-card:nth-child(odd) {
    margin-left: 0;
}
.choose-card:nth-child(even)::before {
    content: '';
    position: absolute;
    left: -44px;
    top: 0;
    width: 1px;
    height: 100%;
    background: rgba(217, 217, 217, 0.6);
}
.choose-card__title {
    font-size: 24px;
    font-weight: 600;
    line-height: 135%;
    color: #171717;
}

.choose-card__text {
    font-size: 16px;
    line-height: 135%;
    color: #696969;
}
.choose__image{
    margin-top: 48px;
}
.choose__image img {
    width: 100%;
    height: 287px;
    object-fit: cover;
    border-radius: 8px;
}
.choose__nav {
    display: none;
}

@media (max-width: 767px) {
    .choose {
        padding: 48px 16px;
    }
    .choose__title {
        font-size: 20px;
        margin-bottom: 24px;
    }
    .choose__content {
        display: block;
    }
    .choose__image {
        display: none;
    }
    .choose__list .swiper-wrapper {
        display: flex;
        column-gap: 0;
    }
    .choose-card {
        width: 238px;
        padding: 0;
        margin: 0;
    }
    .choose-card:nth-child(even)::before,  .choose-card:nth-child(odd)::before{
        content: '';
        position: absolute;
        left: -16px;
        top: 0;
        width: 1px;
        height: 100%;
        background: rgba(217, 217, 217, 0.6);
    }
    .choose-card__title {
        font-size: 20px;
    }
    .choose-card__text {
        font-size: 14px;
        line-height: 140%;
    }
    .choose__nav {
        display: flex;
        justify-content: center;
        gap: 24px;
        margin-top: 24px;
    }
    .choose__btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #282828;
        color: #fff;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
}


/*--------------------more-solutions section--------------*/
.more-solutions {
    padding: 72px 32px;
    background: #fff;
}

.more-solutions__container {
    max-width: 1376px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}
.more-solutions__head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.more-solutions__title {
    font-size: 32px;
    line-height: 135%;
    font-weight: 500;
    color: #171717;
}

.more-solutions__description {
    font-size: 18px;
    line-height: 150%;
    color: #696969;
}
.more-solutions__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.more-solution-card {
    position: relative;
    box-sizing: border-box;
    height: 292px;
    padding: 24px;
    border-radius: 8px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.more-solution-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}
.more-solution-card__content,
.more-solution-card__btn {
    position: relative;
    z-index: 1;
}
.more-solution-card__content {
    max-width: 624px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.more-solution-card__title {
    font-size: 24px;
    line-height: 135%;
    font-weight: 500;
    color: #fff;
}

.more-solution-card__text {
    font-size: 16px;
    line-height: 135%;
    color: #fff;
}
.more-solution-card__btn{
    align-self: end;
}
@media (max-width: 767px) {
    .more-solutions {
        padding: 40px 16px;
    }
    .more-solutions__container {
        gap: 24px;
    }
    .more-solutions__head {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .more-solutions__title {
        font-size: 24px;
    }

    .more-solutions__description {
        font-size: 14px;
        line-height: 140%;
    }

    .more-solutions__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .more-solution-card {
        height: auto;
        min-height: 296px;
    }

    .more-solution-card__text {
        font-size: 14px;
        line-height: 140%;
    }
    .more-solution-card__btn{
        align-self: center;
        margin: 0 auto;
    }

}


/*--------------------condo-insurance section--------------*/
.condo-insurance {
    padding: 36px 32px 0;
    background: #fff;
}

.condo-insurance__container {
    max-width: 1376px;
    margin: 0 auto;
}
.condo-insurance__box {
    background: #F6F6F6;
    border-radius: 18px;

    padding: 32px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.condo-insurance__content {
    max-width: 1312px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.condo-insurance__title {
    font-size: 32px;
    line-height: 135%;
    font-weight: 500;
    text-align: center;
    color: #171717;
}

.condo-insurance__description {
    max-width: 1022px;

    font-size: 18px;
    line-height: 150%;
    text-align: center;
    color: #696969;
}

@media (max-width: 767px) {
    .condo-insurance {
        padding: 32px 16px;
    }
    .condo-insurance__box {
        padding: 32px;
    }
    .condo-insurance__title {
        font-size: 24px;
    }
    .condo-insurance__description {
        font-size: 14px;
        line-height: 140%;
    }
}

/*--------------------why-choose-prana-risk-section----------------*/

.why-choose__condo .why-choose-prana-risk-title span{
    color: #696969;
}
/*--------------------main-section section----------------*/
.main-section-condo{
    margin-bottom: 36px;
}
@media (max-width: 767px) {
    .main-section-condo{
        margin-bottom: 0;
    }
}

/*--------------------what-our-clients-say-section----------------*/
.what-our-clients-condo{
    margin-top: 72px;
    margin-bottom: 72px;
}
@media (max-width: 767px) {
    .what-our-clients-condo{
        margin-top: 40px;
        margin-bottom: 40px;
    }
}

/*--------------------learn-more-about-insurance-section----------------*/
.learn-more-about-condo{
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 72px;
    padding-bottom: 72px;
}
@media (max-width: 767px) {
    .learn-more-about-condo{
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 40px;
        padding-bottom: 24px;
    }
}

/*--------------------faqs-section----------------*/
.faqs-section-condo{
    margin-top: 64px;
    margin-bottom: 64px;
}
@media (max-width: 767px) {
    .faqs-section-condo{
        margin-top: 40px;
        margin-bottom: 80px;
    }
}