/* --- Custom Variables (Using your provided colors) --- */
:root {
    --color-slate: #0f172a; /* Slate 950 - Main Text */
    --color-green: #22c55e; /* Light Green - Accent */
    --color-white: #ffffff;
    --color-grey: #6b7280; /* Neutral grey - Paragraphs */
}

/* ========================================================= */
/* 1. DESKTOP STYLES (Professional & Premium Look) */
/* ========================================================= */

.why-choose-us {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 8%;
    background-color: var(--color-white);
    max-width: 100%;
    margin: 0 auto;
    gap: 4rem;
}

/* --- Image Side --- */

.image-side {
    flex: 1;
    max-width: 50%;
    /* Subtle premium styling for the image container */
    padding: 1rem; 
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); /* Gentle shadow for depth */
}

.image-side img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    /* Apply subtle animation */
    animation: imageFloat 4s ease-in-out infinite;
}

/* Image Animation Keyframes (Subtle Vertical Float) */
@keyframes imageFloat {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0);
    }
}

/* --- Content Side --- */

.content-side {
    flex: 1;
    max-width: 50%;
}

.why-card {
    padding: 0; /* Already wrapped in content-side */
}

.tag-line {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.tag-line .line {
    width: 30px;
    height: 3px;
    background-color: var(--color-green);
    margin-right: 10px;
    border-radius: 5px;
}

.tag-line .text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-green);
    text-transform: uppercase;
    letter-spacing: 1px;
}
 
.why-card h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-slate);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.why-card p {
    font-size: 1.1rem;
    color: var(--color-grey);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* --- List of Points --- */

.why-points {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: 1fr; /* Single column for clarity */
    gap: 0.8rem;
}

.why-points li {
    font-size: 1rem;
    color: var(--color-slate);
    display: flex;
    align-items: center;
    font-weight: 500;
}

.why-points li i {
    color: var(--color-green);
    margin-right: 10px;
    font-size: 1.1rem;
}

/* --- CTA Button --- */

.cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-green);
    color: var(--color-white);
    text-decoration: none;
    font-weight: 700;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4); /* Green shadow for premium look */
}

.cta-btn:hover {
    background-color: #16a34a; /* Darker green on hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.5);
}


/* ========================================================= */
/* 2. RESPONSIVE STYLES (Mobile Stacking & Left Alignment) */
/* ========================================================= */

@media (max-width: 992px) {
    /* Stack elements vertically and adjust padding */
    .why-choose-us {
        flex-direction: column;
        padding: 4rem 1.5rem;
        gap: 3rem;
    }

    .image-side,
    .content-side {
        max-width: 100%;
        flex: none; /* Reset flex sizing */
    }

    /* Move Image to the top for flow */
    .image-side {
        order: 1;
    }
    
    .content-side {
        order: 2;
    }
    
    /* Ensure content is left-aligned on small screens */
    .why-card {
        text-align: left;
    }

    .why-card h2 {
        font-size: 1.4rem; /* Reduce size on mobile */
        margin-bottom: 1rem;
    }

    .why-card p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .cta-btn{
        font-size: small;
    }
}