/* Hero Section */
.hero-section {
    padding: 225px 0;
    position: relative;
    overflow: hidden;
}

.hero-section video {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}

.hero-section:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(19, 38, 52, .70);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 12;
}

.hero-section h1 {
    color: var(--bone-white);
    margin-block: 15px 10px;
}

.hero-section p {
    margin-bottom: 80px;
    color: var(--bone-white);
}

.hero-section:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 180px;
    background-image: url("https://xnlfoundation.11-11marketing.ca/wp-content/uploads/2026/08/Lotus-lines-bg-main-banner.svg");
    width: 100%;
    height: 1795px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    transform: translatex(-50%);
    z-index: 30;

}

#hero-logo-lottie {
    width: 210px;
    margin-inline: auto;
}

/* Hero Section */

/* Impact Section */

.gold-part {
    padding-block: 100px 230px;
    background-color: var(--gold);
    position: relative;
    padding-top: 50px;
    background-image: url('/wp-content/uploads/2026/08/gold-part-effect.png');
    background-repeat: no-repeat;
    background-position: center top;
}

.gold-part:before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    height: 40px;
    background-color: var(--gold);
    width: 50%;
    border-top-right-radius: 100px;
    z-index: 50;
}

.gold-part:after {
    content: '';
    position: absolute;
    top: -40px;
    right: 0;
    height: 40px;
    background-color: var(--gold);
    width: 50%;
    border-top-left-radius: 100px;
    z-index: 50;
}


.impact-wrapper {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    padding: 48px;
    position: relative;
}

.impact-wrapper:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
}

.impact-wrapper:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
	/*Dmytro: Old gradient in case we need it - background: linear-gradient(180deg, rgba(19, 38, 52, .3) 0%, rgba(19, 38, 52, 0) 100%); */
    background: linear-gradient(28.92deg, rgba(19, 38, 52, 1) 18.318%,rgba(19, 38, 52, 0.13) 125.615%);
    border-radius: 10px;
}

.impact-inner {
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.impact-icon {
    width: 75px;
    height: 75px;
	border-radius: 10px;
    border: 2px solid rgba(187, 154, 112, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
	backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.impact-wrapper h3 {
    font-size: 24px;
    line-height: 29px;
    text-transform: uppercase;
}

.impact-column {
    padding: 5px;
    border-radius: 10px;
}

.impact-list {
    margin-top: -150px;
    z-index: 10;
    position: relative;
}



.impact-section h2 {
    line-height: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    font-size: 50px;
}

.impact-container {
    position: relative;
}

.impact-text {
    margin-block: 80px 40px;
}

.button-wrapper {
    text-align: center;
}

/* Impact Section Ends */

/* Dots */

.home-dots {
    margin-block: 100px;
}

/* Dots */

/* Stories swiper */

.get-inspired {
    max-width: 1920px;
    width: 100%;
    padding-inline: 135px;
    margin-inline: auto;
    position: relative;
}

.get-inspired h2 {
    margin-bottom: 70px;
}

.story-wrapper {
    position: relative;
    border-radius: 10px;
    background: rgba(246, 243, 238, 0.01);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    /* bez border-a i bez onog duplog background-a */
    padding: 20px;
    height: auto;
    text-align: center;
}

.story-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px; /* debljina bordera */
    background: linear-gradient(225deg, rgba(187, 154, 112, 0.1), rgba(187, 154, 112, 1));
    -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    padding: 2px 2px 6px;
}

.story-wrapper .feature-image img {
    width: 100%;
    height: 370px;
    border-radius: 10px;
    object-fit: cover;
}

.story-info {
    padding: 0 20px 20px 20px;
    margin-top: 30px;
}

.story-date {
    font-size: 12px;
    line-height: 26px;
    color: rgba(19, 38, 52, .5);
    margin-bottom: 20px;
}

.story-info h3 {
    font-family: "Onest", sans-serif;
    font-size: 30px;
    line-height: 30px;
    font-weight: 500;
    color: var(--dark-blue);
    margin-bottom: 20px;
    text-transform: initial;
}

.story-info .excerpt {
    color: rgba(19, 38, 52, .5);
}

.left-arrow {
    left: -130px;
}

.right-arrow {
    right: -130px;
}

.stories-container {
    position: relative;
}

.get-inspired .swiper-pagination {
    position: relative;
    transform: unset;
    margin-top: 40px;
}

.get-inspired .swiper-pagination .swiper-pagination-bullet {
    margin-inline: 10px;
    background: rgba(187, 154, 112, .7);
}


.swiper-pagination .swiper-pagination-bullet-active {
    background: rgba(187, 154, 112, 1);
}

.mobile-swiper {
    display: none;
}

.swiper-pagination-lock {
    display: block !important;
}

/*Stories swiper*/


/* Connected section */

.connected-section {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding-block: 18.23% 7.81%;
    border-radius: 20px;
    position: relative;
    max-width: 1920px;
    width: calc(100% - 40px);
    margin-inline: auto;
    margin-top: 100px;
}

.connected-section:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(19, 38, 52, 0.23), rgba(19, 38, 52, 1));
}

.connected-section:after {
    content: '';
    position: absolute;
    top: -1660px;
    z-index: -1;
    background-image: url('/wp-content/uploads/2026/08/XNL-Foundation-LOGO-effect.webp');
    width: 1854px;
    height: 1837px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    left: -425px;
}

.connected-section h2 {
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
}

.connected-section h2 span {
    display: block;
    line-height: 1;
}

.connected-section .container {
    position: relative;
}

.connected-section .subtitle {
    margin-bottom: 20px;
}

.connected-section p:nth-of-type(2) {
    margin-bottom: 50px;
}

.connected-section p {
    max-width: 1000px;
    width: 100%;
    margin-inline: auto;
    text-align: center;
}

/* Connected section ends */


/* Partnership CSS */

.partnership-section {
    padding-block: 120px;
}

.partnership-section h2 {
    text-align: center;
}

.partnership-section h2 span {
    display: block;
    line-height: 1;
}

.partnership-section p {
    margin: 30px auto 80px;
    text-align: center;
    max-width: 900px;
    width: 100%;
}

.partnership-button.outline-button {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    padding-inline: 10px;
}

.partnership-button .partnership-icon {
    width: 19px;
    height: 24px;
    display: block;
    background-color: var(--gold);
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center center;
    transition: 0.3s all ease-in-out;
}

.partnership-button-wrapper:nth-of-type(2) .partnership-icon {
    width: 32px;
    height: 24px;
}

.partnership-button-wrapper:nth-of-type(3) .partnership-icon {
    width: 32px;
    height: 15px;
}

.partnership-button:hover .partnership-icon {
    background-color: #ffffff;
}

.bottom-dots {
    margin-top: 40px;
}

.partnership-section .row {
    row-gap: 14px;
}

.partnership-button-title {
    max-width: 300px;
    width: fit-content;
}

/* Partnership CSS ends */

@media(max-width: 1200px) {
    .impact-wrapper h3 {
        font-size: 20px;
        line-height: 24px;
    }

    .impact-wrapper {
        padding: 25px;
    }
}

@media(max-width: 991px) {
    .hero-section {
        padding-block: 250px  150px;
    }

    .hero-section:after {
        display: none;
    }

    .hero-section .container {
        max-width: 100%;
        padding-inline: 20px;
    }

    #hero-logo-lottie {
        max-width: 150px;
    }

    .hero-section p {
        margin-bottom: 40px;
    }

    .mobile-swiper {
        display: block;
    }

    .desktop-swiper {
        display: none;
    }

    .mobile-swiper a {
        display: block;
    }

    .mobile-swiper a:first-of-type {
        margin-block: 20px;
    }

    .mobile-swiper a.small {
        font-size: 14px;
        line-height: 26px;
        text-transform: uppercase;
        font-weight: 700;
        color: var(--gold);
    }

    .story-wrapper .feature-image img {
        height: 295px;
    }


    .story-wrapper .swiper-slide {
        height: auto;
        display: flex;
        flex-direction: column;
    }


    .story-info {
        height: calc(100% - 295px);
    }

    .get-inspired {
        padding-inline: 40px;
    }


    .get-inspired .slider-arrow {
        display: none;
    }

    .partnership-section {
        padding-block: 80px;
    }

    .partnership-button {
        flex-direction: row-reverse;
        column-gap: 30px;
    }

    .partnership-button-title {
       max-width: 100%;
        width: 300px;
    }

    .partnership-icon-wrapper {
        width: 40px;
        display: flex;
        justify-content: center;
    }

    .connected-section:after {
        display: none;
    }
}

@media(max-width: 768px) {
    .impact-wrapper {
        padding-top: 50px;
    }

    .impact-icon {
        margin-bottom: 20px;
    }

    .impact-text {
        margin-block: 60px;
    }

    .home-dots {
        margin-block: 30px;
    }

    .get-inspired h2 {
        margin-bottom: 20px;
    }

    .get-inspired {
        padding-inline: 10px;
    }

    .story-wrapper:before {
        background: linear-gradient(180deg, rgba(187, 154, 112, 0.1), rgba(187, 154, 112, 1));
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
    }

    .story-info {
        margin-top: 20px;
        padding: 0 20px 0;
    }

    .story-date {
        margin-bottom: 10px;
    }

    .story-info h3 {
        font-size: 20px;
        line-height: 24px;
        letter-spacing: -1px;
    }

    .story-info .excerpt {
        display: none;
    }

    .story-wrapper .feature-image img {
        height: 185px
    }

    .story-info {
        height: calc(100% - 185px);
    }


    .connected-section {
        padding: 220px 20px 40px;
        width: calc(100% - 20px);
        margin-top: 40px;
    }

    .connected-section h2, .connected-section p:nth-of-type(2), .connected-section .subtitle {
        margin-bottom: 15px;
    }

    .connected-section:before {

        background: linear-gradient(180deg, rgba(19, 38, 52, 0.4), rgba(19, 38, 52, 1));
    }

    .partnership-section p {
        padding-block: 40px;
    }

    .impact-section h2 {
        font-size: 36px;
    }
}

@media(max-width: 575px) {
    .hero-section h1 {
        font-size: 26px;
        margin-block: 20px;
    }

    .hero-section p {
        font-size: 14px;
        line-height: 20px;
        font-weight: 300;
        margin-bottom: 20px;
    }

    .hero-section {
        padding-block: 100px 40px;
    }


    .hero-section .gold-line {
        margin-bottom: 20px;
    }

    .gold-part {
        background-size: 70%;
        padding-block: 30px 120px;
        background-position: center 15px;
    }

    .impact-list {
        margin-top: -100px;
        padding-inline: 12px;
    }

    .impact-column {
        padding-inline: 10px;
    }

    .gold-part:before {
        height: 20px;
        top: -20px;
    }

    .gold-part:after {
        height: 20px;
        top: -20px;
    }

    .impact-text {
        margin-block: 40px;
    }

    .partnership-section {
        padding-block: 30px 20px;
    }

    .bottom-dots {
        margin-top: 30px;
    }

    .partnership-section p {
        padding-block: 20px;
        margin: 0;
    }

    .partnership-button.outline-button {
        padding-inline: 30px;
    }

    .impact-section h2 {
        font-size: 24px;
    }
}