/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600;1,700&display=swap');

/* --- Global Overrides --- */
.entry-content {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}

.absolute-footer {
    display: none !important;
}

/* --- Hero Section Styling --- */
.section.xc-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    position: relative;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 5rem;
}

.section.xc-hero .section-bg::before,
.section.xc-hero .section-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.section.xc-hero .section-bg::before {
    background-image: linear-gradient(to bottom, rgba(28, 25, 23, 0.8), rgba(28, 25, 23, 0.9), #1c1917);
    z-index: 2;
}

.section.xc-hero .section-bg::after {
    background-image: radial-gradient(circle at center, #231f1c, #1c1917, #1c1917);
    opacity: 0.4;
    z-index: 1;
}

.section.xc-hero .section-content {
    z-index: 10;
    max-width: 56rem;
    margin: 0 auto;
    width: 100%;
}

.section.xc-hero .section-content,
.section.xc-hero .row,
.section.xc-hero .col,
.section.xc-hero .col-inner {
    position: static !important;
}

.section.xc-hero .row {
    max-width: 100%;
}

.xc-hero__content {
    animation: xc-fade-in-up 0.5s ease-out forwards;
}

@keyframes xc-fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

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

.xc-hero__subtitle-wrap {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.xc-hero__subtitle {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-bottom: 1px solid rgba(184, 150, 62, 0.5);
    color: #b8963e;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-family: 'Source Sans Pro', sans-serif;
}

.xc-hero__title {
    font-size: 3rem;
    line-height: 1.25;
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    color: #faf7f2;
    margin-bottom: 2rem;
    margin-top: 0;
}

@media (min-width: 768px) {
    .xc-hero__title {
        font-size: 4.5rem;
        line-height: 1;
    }
}

.xc-hero__title-italic {
    color: #b8963e;
    font-style: italic;
    font-family: 'Libre Baskerville', serif;
}

.xc-hero__desc {
    font-size: 1.25rem;
    line-height: 1.625;
    color: #c4b9a8;
    font-weight: 300;
    font-family: 'Source Sans Pro', sans-serif;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    margin-top: 0;
}

@media (min-width: 768px) {
    .xc-hero__desc {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

.xc-hero__actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    justify-content: center !important;
    align-items: center !important;
}

@media (min-width: 640px) {
    .xc-hero__actions {
        flex-direction: row !important;
    }
}

.xc-hero__actions br,
.xc-hero__actions p {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.xc-hero__btn-primary {
    position: relative;
    z-index: 1 !important;
    padding: 1rem 2rem !important;
    background-color: transparent !important;
    border: 1px solid #b8963e !important;
    color: #b8963e !important;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    font-family: 'Source Sans Pro', sans-serif !important;
    line-height: normal !important;
}

.xc-hero__btn-primary:hover {
    color: #1c1917 !important;
    border-color: #b8963e !important;
}

.xc-hero__btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: #b8963e !important;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0, 0, 0.2, 1);
    z-index: -1;
}

.xc-hero__btn-primary:hover::before {
    transform: translateX(0);
}

.xc-hero__btn-secondary {
    color: #c4b9a8 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-size: 0.875rem !important;
    font-family: 'Source Sans Pro', sans-serif !important;
    border-bottom: 1px solid transparent !important;
    padding-bottom: 0.25rem !important;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin: 0 !important;
    background: transparent !important;
    line-height: 1 !important;
}

.xc-hero__btn-secondary:hover {
    color: #faf7f2 !important;
    border-color: #c4b9a8 !important;
}

.xc-hero__scroll-down {
    position: absolute;
    bottom: 20px !important;
    left: 50%;
    transform: translateX(-50%);
    animation: xc-bounce 2s infinite;
    z-index: 20;
}

.xc-hero__scroll-link {
    color: rgba(184, 150, 62, 0.5);
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.xc-hero__scroll-link:hover {
    color: #b8963e;
}

@keyframes xc-bounce {

    0%,
    100% {
        transform: translate(-50%, -25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translate(-50%, 0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

/* --- Header & Navigation Styling --- */
.header-nav.header-nav-main>li {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
}

.header-nav.header-nav-main>li:last-child {
    margin-right: 0 !important;
}

.header-nav.header-nav-main>li>a {
    color: #c4b9a8 !important;
    font-size: 0.875rem !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-family: 'Source Sans Pro', sans-serif !important;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.header-nav.header-nav-main>li>a:hover {
    color: #b8963e !important;
}

li.header-button-1 .button.primary {
    background-color: transparent !important;
    border: 1px solid #b8963e !important;
    color: #b8963e !important;
    padding: 0.5rem 1.5rem !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 0 !important;
    line-height: normal !important;
    min-height: auto !important;
    font-family: 'Source Sans Pro', sans-serif !important;
}

li.header-button-1 .button.primary:hover {
    background-color: #b8963e !important;
    color: #1c1917 !important;
    box-shadow: none !important;
}

/* --- Footer Custom Styling --- */
.section.xc-footer {
    background-color: #1c1917;
    border-top: 1px solid rgba(184, 150, 62, 0.2);
    padding-top: 4rem;
    padding-bottom: 2rem;
    color: #c4b9a8;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
}

/* Footer First Row Container */
.section.xc-footer>.section-content>.row:first-child {
    margin-bottom: 4rem;
}

/* Logo Image Container */
.section.xc-footer .xc-footer__logo {
    margin-bottom: 1.5rem !important;
}

/* Describe Text */
.section.xc-footer .xc-footer__copyright {
    color: #c4b9a8 !important;
    font-weight: 300;
    margin-bottom: 2rem;
    max-width: 24rem;
    font-size: 1rem;
}

/* Social Icons */
.section.xc-footer .xc-footer__social {
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
    align-items: center;
}

.section.xc-footer .xc-footer__social .button.icon {
    color: #c4b9a8;
    background-color: transparent !important;
    border: none !important;
    padding: 0;
    margin: 0;
    min-width: auto;
    box-shadow: none !important;
    min-height: auto;
    line-height: 1;
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.section.xc-footer .xc-footer__social .button.icon:hover {
    color: #b8963e !important;
}

.section.xc-footer .xc-footer__social .button.icon i {
    font-size: 20px;
    margin: 0;
}

/* Widget Titles */
.section.xc-footer .xc-footer__widget-title {
    color: #faf7f2 !important;
    font-family: 'Libre Baskerville', serif;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-transform: none;
}

/* Menus */
.section.xc-footer .xc-footer__menu.ux-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section.xc-footer .xc-footer__menu.ux-menu .ux-menu-link {
    margin-bottom: 0 !important;
}

.section.xc-footer .xc-footer__menu.ux-menu .ux-menu-link__link {
    color: #c4b9a8 !important;
    font-size: 0.875rem;
    font-weight: 300;
    border-bottom: none !important;
    padding: 0 !important;
    min-height: auto;
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.section.xc-footer .xc-footer__menu.ux-menu .ux-menu-link__link:hover {
    color: #b8963e !important;
}

/* Second Row (Bottom Bar) */
.section.xc-footer .row.xc-footer_row-2 {
    border-top: 1px solid #231f1c;
    padding-top: 2rem;
}

.section.xc-footer .row.xc-footer_row-2 p {
    color: rgba(196, 185, 168, 0.6) !important;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0;
}

/* --- Application Form Styling --- */
.xc-app-form-wrap {
    background-color: #231f1c;
    border: 1px solid rgba(184, 150, 62, 0.2);
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 56rem;
    margin: 0 auto;
}

.xc-app-form-wrap .xc-app-form__header {
    text-align: center;
    margin-bottom: 3rem;
}

.xc-app-form-wrap .xc-app-form__subtitle {
    color: #b8963e;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: block;
    font-family: 'Source Sans Pro', sans-serif;
}

.xc-app-form-wrap .xc-app-form__title {
    font-size: 2.25rem;
    font-family: 'Libre Baskerville', serif;
    color: #faf7f2;
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 400;
}

.xc-app-form-wrap .xc-app-form__desc {
    color: #c4b9a8;
    font-weight: 300;
    font-family: 'Source Sans Pro', sans-serif;
    margin-bottom: 0;
}

.xc-app-form p {
    margin-bottom: 0;
}

.xc-app-form .xc-app-form__group {
    margin-bottom: 1.5rem;
}

.xc-app-form label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #c4b9a8;
    margin-bottom: 0.5rem;
    font-family: 'Source Sans Pro', sans-serif;
}

.xc-app-form .xc-app-form__input {
    width: 100%;
    background-color: #1c1917 !important;
    border: 1px solid rgba(196, 185, 168, 0.2) !important;
    padding: 1rem !important;
    color: #faf7f2 !important;
    font-size: 1rem;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none !important;
    border-radius: 0;
    margin-bottom: 0 !important;
    outline: none !important;
    height: auto !important;
    min-height: 56px !important;
}

.xc-app-form .xc-app-form__input:focus {
    border-color: #b8963e !important;
}

.xc-app-form .xc-app-form__input::placeholder {
    color: #9ca3af !important;
    opacity: 1;
}

.xc-app-form .xc-app-form__select {
    cursor: pointer;
    padding-right: 2.5rem !important;
}

.xc-app-form .xc-app-form__submit {
    width: 100%;
    background-color: #b8963e !important;
    color: #1c1917 !important;
    font-weight: 700 !important;
    padding: 1rem 2rem !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    border: none !important;
    border-radius: 0;
    margin-top: 1rem;
    margin-bottom: 0;
    cursor: pointer;
}

.xc-app-form .xc-app-form__submit:hover {
    background-color: #d4af6a !important;
    color: #1c1917 !important;
}

/* --- Process Section Styling --- */
.xc-process {
    background-color: #231f1c;
    padding-top: 6rem;
    padding-bottom: 6rem;
    overflow-x: hidden;
}

.xc-process .xc-sub-title {
    color: #b8963e;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: block;
    font-family: 'Source Sans Pro', sans-serif;
    text-align: center;
}

.xc-process .xc-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-family: 'Libre Baskerville', serif;
    color: #faf7f2;
    margin-top: 0;
    margin-bottom: 5rem;
    font-weight: 400;
    text-align: center;
}

@media (min-width: 768px) {
    .xc-process .xc-title {
        font-size: 3rem;
        line-height: 1;
    }
}

.xc-process .row {
    position: relative;
    z-index: 10;
}

.xc-process .row.xc-process__row-line {
    position: relative;
}

.xc-process .row.xc-process__row-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(184, 150, 62, 0.2);
    transform: translateY(-50%);
    z-index: 0;
    display: none;
}

@media (min-width: 768px) {
    .xc-process .row.xc-process__row-line::before {
        display: block;
    }
}

.xc-process-item {
    background-color: #1c1917;
    padding: 2rem;
    border: 1px solid #231f1c;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    text-align: left;
    display: block;
}

.xc-process-item:hover {
    border-color: #b8963e;
}

.xc-process-item__number-wrap {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

@media (min-width: 768px) {
    .xc-process-item__number-wrap {
        display: block;
    }
}

.xc-process-item__number {
    font-size: 3rem;
    font-family: 'Libre Baskerville', serif;
    color: #231f1c;
    font-weight: 700;
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
    position: relative;
    z-index: 2;
}

.xc-process-item:hover .xc-process-item__number {
    color: rgba(184, 150, 62, 0.2);
}

.xc-process-item__line {
    position: absolute;
    top: 50%;
    left: 100%;
    width: 100%;
    height: 1px;
    background-color: rgba(184, 150, 62, 0.2);
    transform: translateY(-50%);
    z-index: -10;
    pointer-events: none;
    display: none;
}

@media (min-width: 768px) {
    .xc-process-item__line {
        display: block;
    }
}

.xc-process-item__title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-family: 'Libre Baskerville', serif;
    color: #faf7f2;
    margin-bottom: 0.75rem;
    margin-top: 0;
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.xc-process-item:hover .xc-process-item__title {
    color: #b8963e;
}

.xc-process-item__desc {
    color: #c4b9a8;
    font-weight: 300;
    font-size: 0.875rem;
    line-height: 1.625;
    font-family: 'Source Sans Pro', sans-serif;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

/* --- Ecosystem Section Styling --- */
.xc-ecosystem {
    background-color: #1c1917;
    border-bottom: 1px solid #231f1c;
    padding-top: 5rem;
    padding-bottom: 5rem;
    overflow: hidden;
    text-align: center;
}

.xc-ecosystem .xc-title {
    color: #b8963e;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    margin-bottom: 2rem;
    margin-top: 0;
    display: block;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    text-align: center;
}

.xc-ecosystem .row {
    justify-content: center;
}

.xc-ecosystem .row:nth-child(2) {
    opacity: 0.6;
}

.xc-ecosystem .row:nth-child(2) .col-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 6rem;
    max-width: 10rem;
    margin: 0 auto;
    border: 1px solid #231f1c;
    background-color: rgba(35, 31, 28, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.xc-ecosystem .row:nth-child(2) .col-inner:hover {
    background-color: rgba(35, 31, 28, 0.5);
    border-color: rgba(184, 150, 62, 0.2);
}

.xc-ecosystem .row:nth-child(2) .col-inner p {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    color: #c4b9a8;
    font-size: 1.125rem;
    margin-bottom: 0;
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.xc-ecosystem .row:nth-child(2) .col-inner:hover p {
    color: #b8963e;
}

.xc-ecosystem__trust {
    color: rgba(196, 185, 168, 0.6);
    font-size: 0.875rem;
    font-weight: 300;
    font-family: 'Source Sans Pro', sans-serif;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    margin-top: 3rem;
    margin-bottom: 0;
    text-align: center;
}

/* --- Expertise Section Styling --- */
.xc-expertise {
    background-color: #231f1c !important;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.xc-expertise .row:first-child {
    margin-bottom: 4rem;
    align-items: flex-end;
}

.xc-expertise .row:last-child .col-inner {
    height: 100%;
}

.xc-expertise__subtitle {
    color: #b8963e;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: block;
    font-family: 'Source Sans Pro', sans-serif;
}

.xc-expertise__title {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-family: 'Libre Baskerville', serif;
    color: #faf7f2;
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 400;
}

@media (min-width: 768px) {
    .xc-expertise__title {
        font-size: 3rem;
        line-height: 1;
    }
}

.xc-expertise__intro {
    color: #c4b9a8;
    font-weight: 300;
    font-size: 1rem;
    font-family: 'Source Sans Pro', sans-serif;
    margin-bottom: 0;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .xc-expertise__intro {
        text-align: right;
        max-width: 28rem;
        margin-left: auto;
    }

    .xc-expertise .row:first-child {
        justify-content: space-between;
    }
}

.xc-expertise-card {
    background-color: #1c1917;
    padding: 2rem;
    border-top: 4px solid rgba(184, 150, 62, 0.5);
    transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.xc-expertise-card:hover {
    border-top-color: #b8963e;
}

.xc-expertise-card__icon {
    margin-bottom: 1.5rem;
    color: #b8963e;
    opacity: 0.8;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left center;
}

.xc-expertise-card:hover .xc-expertise-card__icon {
    opacity: 1;
    transform: scale(1.1);
}

.xc-expertise-card__title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-family: 'Libre Baskerville', serif;
    color: #faf7f2;
    margin-bottom: 1rem;
    margin-top: 0;
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
}

.xc-expertise-card:hover .xc-expertise-card__title {
    color: #b8963e;
}

.xc-expertise-card__desc {
    color: #c4b9a8;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.625;
    font-family: 'Source Sans Pro', sans-serif;
    margin-bottom: 0;
    flex: 1 1 0%;
}

.xc-expertise-card__link {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #c4b9a8;
    text-decoration: none;
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.xc-expertise-card:hover .xc-expertise-card__link {
    color: #b8963e;
}

.xc-expertise-card__line {
    width: 2rem;
    height: 1px;
    background-color: currentColor;
    margin-left: 0.5rem;
}

/* --- Why UAE Section Styling --- */
.xc-why {
    background-color: #1c1917 !important;
    padding-top: 6rem;
    padding-bottom: 6rem;
    border-top: 1px solid #231f1c;
    border-bottom: 1px solid #231f1c;
}

.xc-why .row:first-child {
    max-width: 64rem;
    margin-bottom: 4rem;
    text-align: center;
}

.xc-why .row:last-child {
    max-width: 64rem;
}

.xc-why .col {
    padding-bottom: 0px !important;
}

.xc-why__subtitle {
    color: #b8963e;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: block;
    font-family: 'Source Sans Pro', sans-serif;
}

.xc-why__title {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-family: 'Libre Baskerville', serif;
    color: #faf7f2;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

@media (min-width: 768px) {
    .xc-why__title {
        font-size: 3rem;
        line-height: 1;
    }
}

.xc-why__intro {
    color: #c4b9a8;
    font-weight: 300;
    font-size: 1.125rem;
    font-family: 'Source Sans Pro', sans-serif;
    margin-bottom: 0;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.xc-why-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    border: 1px solid #231f1c;
    background-color: rgba(35, 31, 28, 0.3);
    transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.xc-why-item:last-child {
    margin-bottom: 0;
}

.xc-why-item:hover {
    border-color: rgba(184, 150, 62, 0.3);
}

@media (min-width: 768px) {
    .xc-why-item {
        flex-direction: row;
        align-items: center;
    }
}

.xc-why-item__icon-wrap {
    flex-shrink: 0;
}

.xc-why-item__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    border: 1px solid rgba(184, 150, 62, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b8963e;
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.xc-why-item:hover .xc-why-item__icon {
    background-color: #b8963e;
    color: #1c1917;
}

.xc-why-item__content {
    flex: 1 1 0%;
}

.xc-why-item__title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-family: 'Libre Baskerville', serif;
    color: #faf7f2;
    margin-bottom: 0.5rem;
    margin-top: 0;
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.xc-why-item:hover .xc-why-item__title {
    color: #b8963e;
}

.xc-why-item__desc {
    color: #c4b9a8;
    font-weight: 300;
    font-size: 1.125rem;
    margin-bottom: 0px;
    font-family: 'Source Sans Pro', sans-serif;
}

.xc-why-item__number {
    display: none;
    color: rgba(184, 150, 62, 0.2);
    font-family: 'Libre Baskerville', serif;
    font-size: 3.75rem;
    line-height: 1;
    opacity: 0.2;
    transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    .xc-why-item__number {
        display: block;
    }
}

.xc-why-item:hover .xc-why-item__number {
    opacity: 0.4;
}

/* --- Who We Are Section Styling --- */
.xc-who-we-are {
    background-color: #231f1c !important;
    padding-top: 6rem;
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .xc-who-we-are {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

.xc-who-we-are .row {
    max-width: 80rem;
    align-items: center;
}

.xc-who-we-are__subtitle-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.xc-who-we-are__line {
    height: 1px;
    width: 3rem;
    background-color: #b8963e;
}

.xc-who-we-are__subtitle {
    color: #b8963e;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
}

.xc-who-we-are__title {
    font-size: 2.25rem;
    line-height: 1.25;
    font-family: 'Libre Baskerville', serif;
    color: #faf7f2;
    margin-top: 0;
    margin-bottom: 2rem;
    font-weight: 400;
}

@media (min-width: 768px) {
    .xc-who-we-are__title {
        font-size: 3rem;
        line-height: 1;
    }
}

.xc-who-we-are__italic {
    font-style: italic;
    color: #c4b9a8;
}

.xc-who-we-are__desc {
    color: #c4b9a8;
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 1.625;
    font-family: 'Source Sans Pro', sans-serif;
}

.xc-who-we-are__desc p {
    margin-bottom: 1.5rem;
}

.xc-who-we-are__quote-box {
    margin-top: 3rem;
    padding: 2rem;
    border-left: 2px solid rgba(184, 150, 62, 0.3);
    background-color: rgba(28, 25, 23, 0.5);
}

.xc-who-we-are__quote-icon {
    color: #b8963e;
    height: 2rem;
    width: 2rem;
    opacity: 0.5;
    margin-bottom: 1rem;
}

.xc-who-we-are__quote-text {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    color: #faf7f2;
    margin-top: 0;
    margin-bottom: 1rem;
}

.xc-who-we-are__founders {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.xc-who-we-are__line-small {
    height: 1px;
    width: 2rem;
    background-color: #b8963e;
}

.xc-who-we-are__founders span {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #b8963e;
    font-family: 'Source Sans Pro', sans-serif;
}

/* Image grid side */
.xc-who-we-are-images {
    position: relative;
    padding: 2rem 0;
}

.xc-who-we-are-images__grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.xc-who-we-are-image {
    background-color: #1c1917;
    border: 1px solid rgba(184, 150, 62, 0.2);
    padding: 0.5rem;
    aspect-ratio: 3 / 4;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.xc-who-we-are-image--mt {
    margin-top: 3rem;
}

.xc-who-we-are-image:hover {
    transform: translateY(-0.5rem);
}

.xc-who-we-are-image__inner {
    width: 100%;
    height: 100%;
    background-color: #262626;
    filter: grayscale(100%);
    overflow: hidden;
    transition: filter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.xc-who-we-are-image:hover .xc-who-we-are-image__inner {
    filter: grayscale(0%);
}

.xc-who-we-are-image__overlay {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom right, #404040, #171717);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(196, 185, 168, 0.2);
}

.xc-who-we-are-image__overlay span {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.25rem;
}

.xc-who-we-are-images__circle {
    position: absolute;
    border: 1px solid rgba(184, 150, 62, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.xc-who-we-are-images__circle--1 {
    top: -2.5rem;
    right: -2.5rem;
    width: 16rem;
    height: 16rem;
}

.xc-who-we-are-images__circle--2 {
    bottom: -2.5rem;
    left: -2.5rem;
    width: 10rem;
    height: 10rem;
}

/* --- End Custom Styling --- */
@media only screen and (max-width: 48em) {

    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .section.xc-footer .row.xc-footer_row-2 {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 0.5rem;
    }

    .section.xc-footer .row.xc-footer_row-2 p {
        text-align: center;
    }

    .xc-app-form-wrap {
        padding: 2rem;
    }

    .xc-process-item {
        text-align: center;
    }

    .xc-app-form-wrap .xc-app-form__title {
        font-size: 1.875rem;
    }

    .xc-ecosystem .row:nth-child(2) {
        margin-bottom: 2rem;
    }

    .xc-expertise .row:first-child {
        margin-bottom: 2rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .xc-expertise__title {
        margin-bottom: 1.5rem;
    }

    .section.xc-who-we-are .row {
        flex-direction: column-reverse;
    }
}