/* --- GLOBAL VARIABLES & BASE STYLES --- */
:root {
    --wcu-primary-color: #AD573A;
    --wcu-background-color: #F9F7EE; /* Light background for the page */
    --wcu-section-bg: #FFFFFF; /* White background for the section itself */
    --wcu-white-color: #F9F7EE;
    --wcu-card-border-color: #AF5A3D;
    --wcu-icon-bg-color: #FEEFC9;
    --wcu-text-light-color: #6B7280;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--wcu-background-color);
    overflow-x: hidden; /* Prevent horizontal scrollbar from animation */
}

/* --- SECTION STYLES --- */
.why-choose-us-section {
    background-color: #ffffff;
    background-image: url("https://transparenttextures.com/patterns/arches.png");
    padding: 60px 5%;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.wcu-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--wcu-primary-color);
    margin: 0 0 1.5rem 0;
    margin-bottom: -10px;
}

.services-divider-icon {
    display: inline-block;
    margin-bottom: 20px;
    position: relative;
}

.services-divider-icon img {
    height: 100px;
    width: auto;
    vertical-align: middle;
}

.services-divider-icon::before,
.services-divider-icon::after {
    content: '';
    display: block;
    width: 100px;
    height: 1px;
    background: var(--wcu-primary-color);
    position: absolute;
    top: 50%;
}

.services-divider-icon::before { left: -110px; }
.services-divider-icon::after { right: -110px; }

/* --- GRID & CARDS --- */
.wcu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

/* --- NEW SLIDE-UP ANIMATION STYLES --- */
.wcu-card {
    background-color: var(--wcu-background-color);
    padding: 2rem;
    border-radius: 1rem;
    border: 3px solid var(--wcu-card-border-color);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative; /* Crucial for positioning the hover content */
    overflow: hidden; /* Hides the content that is outside the card boundaries */
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wcu-card-content {
    /* This is the content that is always visible */
    transition: transform 0.5s ease;
}

.wcu-card-hover-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--wcu-background-color); /* A slightly transparent background */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    box-sizing: border-box;
    transform: translateY(100%); /* Start position: hidden below */
    transition: transform 0.5s ease;
}

.wcu-card:hover .wcu-card-hover-content {
    transform: translateY(0); /* End position: slide in */
}

.wcu-card:hover .wcu-card-content {
    transform: translateY(-100%); /* Slide the original content out of view */
}
/* --- END SLIDE-UP ANIMATION STYLES --- */

.wcu-card-icon-area {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 6rem;
    margin-bottom: 1.5rem;
}

.wcu-icon-bg-shape {
    position: absolute;
    width: 7rem;
    height: 7rem;
    background-color: var(--wcu-icon-bg-color);
    border-radius: 1rem;
    transition: transform 0.4s ease;
}

.wcu-icon-bg-shape.rotate-left { transform: rotate(-12deg); }
.wcu-icon-bg-shape.rotate-right { transform: rotate(12deg); }

.wcu-card-icon {
    position: relative;
    z-index: 10;
    width: 150px;
    height: 100px;
    object-fit: contain;
}

.wcu-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--wcu-primary-color);
    margin: 0;
}

.wcu-card p {
    margin-top: 0.5rem;
    color: var(--wcu-text-light-color);
    font-size: 1rem;
    line-height: 1.5;
}

/* ====== SCROLL ANIMATION STYLES ====== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 768px) {
    .wcu-grid {
        gap: 1.5rem;
    }
    .wcu-section-title { font-size: 1.6rem; }
    .services-divider-icon::before, .services-divider-icon::after { display: none; }
}

@media (max-width: 612px) {
    .wcu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .wcu-section-title { font-size: 1.5rem; }
    
    .wcu-card { 
        padding: 1.2rem 1rem; 
        min-height: 220px; /* Added height so cards look properly sized */
    }
    
    .wcu-card-icon-area {
        height: 4.5rem;
        margin-bottom: 1rem;
    }
    
    .wcu-icon-bg-shape {
        width: 5rem;
        height: 5rem;
    }

    .wcu-card-icon {
        width: 100px;
        height: 70px;
    }
    
    .wcu-card h3, .wcu-card-hover-content h3 { 
        font-size: 1.05rem; 
    }
    
    .wcu-card-hover-content {
        padding: 1rem;
    }
    .wcu-card-hover-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* Specific breakpoint for Mobile Small (375x667) */
@media (max-width: 420px) {
    .wcu-grid {
        gap: 0.75rem; 
    }
    .wcu-section-title { font-size: 1.35rem; }
    
    .wcu-card { 
        padding: 1rem 0.5rem; /* Better side spacing */
        border-width: 2px;
        min-height: 215px; /* Ensures card doesn't shrink too much vertically */
    }
    
    .wcu-card-icon-area {
        height: 4rem;
        margin-bottom: 0.75rem;
    }
    
    .wcu-icon-bg-shape {
        width: 4.5rem;
        height: 4.5rem;
        border-radius: 0.8rem;
    }

    .wcu-card-icon {
        width: 85px;
        height: 60px;
    }
    
    .wcu-card h3, .wcu-card-hover-content h3 { 
        font-size: 0.95rem; 
        line-height: 1.3;
        margin-bottom: 0.4rem;
    }

    .wcu-card-hover-content {
        padding: 0.75rem; 
    }

    .wcu-card-hover-content p {
        font-size: 0.85rem; /* Readable font size for 375px */
        line-height: 1.35;
        margin-top: 0;
    }
}
