/* ==========================================================================
   Monolithic Homes - Custom Styles
   Why Choose Us - Professional Animated List
   ========================================================================== */

/* Mission list container */
ul.all-mission-list.whychoose {
    list-style: none;
    padding: 0;
    margin: 25px 0 35px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Individual list item card styling */
ul.all-mission-list.whychoose li {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 0;
    margin-bottom: 0;
    padding: 12px 18px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #edf0f5;
    border-left: 4px solid #FFC828;
    box-shadow: 0 2px 10px rgba(19, 21, 31, 0.04);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1),
        border-color 0.35s ease,
        background-color 0.35s ease;
    overflow: hidden;
    cursor: default;
}

/* Ambient glow / shine effect on item hover */
ul.all-mission-list.whychoose li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 200, 40, 0.09) 0%, rgba(255, 200, 40, 0.01) 100%);
    transition: width 0.35s ease;
    z-index: 0;
    pointer-events: none;
}

ul.all-mission-list.whychoose li:hover::before {
    width: 100%;
}

/* Card hover animation */
ul.all-mission-list.whychoose li:hover {
    transform: translateX(10px);
    border-color: #f7d570;
    border-left-color: #f59e0b;
    box-shadow: 0 8px 24px rgba(255, 200, 40, 0.22), 0 3px 8px rgba(0, 0, 0, 0.04);
}

/* Icon circular badge */
ul.all-mission-list.whychoose li i {
    position: relative;
    z-index: 1;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFC828 0%, #f59e0b 100%);
    color: #13151f;
    font-size: 11px;
    font-weight: 700;
    margin-right: 14px;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}

ul.all-mission-list.whychoose li:hover i {
    transform: scale(1.18) rotate(8deg);
    background: linear-gradient(135deg, #13151f 0%, #2b2e3b 100%);
    color: #FFC828;
    box-shadow: 0 4px 12px rgba(19, 21, 31, 0.3);
}

/* Text typography */
ul.all-mission-list.whychoose li span {
    position: relative;
    z-index: 1;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.6px;
    line-height: 1.4;
    color: #232733;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

ul.all-mission-list.whychoose li:hover span {
    color: #0b0c10;
}

/* ==========================================================================
   Slide from Left to Right on Scroll
   ========================================================================== */

/* Initial state: positioned to the left and transparent */
ul.all-mission-list.whychoose li.slide-ready {
    opacity: 0;
    transform: translateX(-90px);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1),
        border-color 0.35s ease,
        background-color 0.35s ease;
    transition-delay: var(--delay, 0s), var(--delay, 0s), 0s, 0s, 0s;
    will-change: transform, opacity;
}

/* When scrolling down: slides into position from left to right */
ul.all-mission-list.whychoose li.slide-ready.slide-in {
    opacity: 1;
    transform: translateX(0);
}

/* Remove delay on hover so hover response is instant */
ul.all-mission-list.whychoose li.slide-ready.slide-in:hover {
    transform: translateX(10px);
    transition-delay: 0s, 0s, 0s, 0s, 0s;
}

/* Fallback animation if JS observer not running */
@keyframes whyChooseSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-90px);
    }

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

ul.all-mission-list.whychoose li:not(.slide-ready) {
    animation: whyChooseSlideIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Visual enhancements for accompanying image */
.whychoose-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(19, 21, 31, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whychoose-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 42px rgba(19, 21, 31, 0.16);
}

.whychoose-image img {
    width: 100%;
    height: 100%;
    max-height: 720px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* Responsive adjustments */
@media only screen and (max-width: 767px) {
    ul.all-mission-list.whychoose li {
        padding: 10px 14px;
    }

    ul.all-mission-list.whychoose li span {
        font-size: 13px;
    }

    .whychoose-image {
        margin-top: 30px;
    }
}

/* ==========================================================================
   Preface Read More & Read Less Smooth Transition
   ========================================================================== */
.readmore-btn,
.readless-btn {
    display: block;
    margin: 20px auto 10px;
    /* padding: 10px 28px;
    background: #FFC828;
    color: #13151f; */
    font-size: 14px;
    font-weight: 700;
    font-family: "Roboto Condensed", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: none;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(255, 200, 40, 0.35);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.readless-btn {
    display: none;
    margin-top: 20px;
}

.readmore-btn:hover,
.readmore-btn:focus,
.readless-btn:hover,
.readless-btn:focus {
    background: #13151f;
    color: #FFC828;
    box-shadow: 0 6px 20px rgba(19, 21, 31, 0.25);
    transform: translateY(-2px);
    outline: none;
}

.readmore-content {
    display: none;
    overflow: hidden;
    padding-top: 10px;
}

/* ==========================================================================
   Sticky Header for Desktop (.header) and Mobile (.header-mobile)
   ========================================================================== */
header.header.is-sticky,
header.header-mobile.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(16, 19, 30, 0.08);
    transition: all 0.3s ease;
}

header.header.is-sticky .header-top {
    display: none;
}

header.header.is-sticky .header-bottom .logo {
    margin-top: 10px;
    margin-bottom: 10px;
}

header.header.is-sticky .main-menu > ul > li > a {
    padding-top: 25px;
    padding-bottom: 25px;
}

header.header-mobile.is-sticky {
    padding: 0;
    background-color: #ffffff !important;
}

header.header-mobile.is-sticky .header-bottom {
    background-color: #ffffff;
}

header.header-mobile.is-sticky .logo {
    margin-top: 8px;
    margin-bottom: 8px;
}

header.header-mobile.is-sticky .logo img {
    max-height: 45px;
    width: auto;
}