/* =========================
   WHY-CHOOSE-US.CSS – FULLY RESPONSIVE, HIDE CIRCLE ON MOBILE
   Green background, two‑column layout, horizontal stat cards
   On screens ≤ 768px: SVG progress ring hidden, percentage number stays
========================= */

.why-choose-us {
    width: 100%;
    padding: 80px 0;
    background: #0a1f1a;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 40px);
    box-sizing: border-box;
}

/* SECTION HEADER – left content + right button */
.section-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    width: 100%;
    gap: 30px;
}

.section-header-left {
    flex: 1;
    min-width: 250px;
}

.section-header-right {
    flex-shrink: 0;
    margin-top: 80px;
}

.section-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.section-tag hr {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #4ade80, #c084fc);
    border: none;
}

.section-tag h5 {
    color: #c084fc;
    font-size: clamp(0.8rem, 3vw, 0.9rem);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.section-header-left h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #e2d6f0;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-header-left p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: #d1e0d6;
    line-height: 1.5;
    max-width: 650px;
    margin-bottom: 0;
}

.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
    font-weight: 600;
    text-decoration: none;
    border-radius: 40px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    background: #c084fc;
    color: #0a1f1a;
    border: 2px solid #c084fc;
    box-shadow: 0 0 6px rgba(192, 132, 252, 0.3);
    white-space: nowrap;
}

.btn-primary:hover {
    background: #a855f7;
    border-color: #a855f7;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(168, 85, 247, 0.3);
}

/* GRID – two columns on desktop, single column on mobile */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    width: 100%;
}

/* Image column – centered */
.why-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.why-image figure {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(192, 132, 252, 0.3);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
    width: auto;
}

.why-image figure:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(192, 132, 252, 0.15);
    border-color: rgba(74, 222, 128, 0.5);
}

.why-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.95) contrast(1.05);
    transition: filter 0.3s ease;
}

/* Stats column */
.why-stats {
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: center;
    height: 100%;
}

/* Stat card – horizontal layout (circle left, text right) */
.stat-card {
    background: rgba(30, 16, 41, 0.5);
    backdrop-filter: blur(2px);
    border-radius: 20px;
    padding: 20px 24px;
    transition: all 0.3s ease;
    border: 1px solid rgba(192, 132, 252, 0.2);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateX(8px);
    border-color: #4ade80;
    background: rgba(30, 16, 41, 0.7);
    box-shadow: 0 10px 20px rgba(74, 222, 128, 0.1);
}

/* Circle container */
.stat-circle {
    position: relative;
    width: clamp(60px, 12vw, 80px);
    height: clamp(60px, 12vw, 80px);
    flex-shrink: 0;
}

.progress-ring {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.stat-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    font-weight: 800;
    background: linear-gradient(135deg, #c084fc, #4ade80);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-text {
    flex: 1;
    min-width: 0;
}

.stat-text h4 {
    font-size: clamp(1rem, 3.5vw, 1.3rem);
    font-weight: 600;
    color: #e2d6f0;
    margin-bottom: 6px;
}

.stat-text p {
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    color: #b8c4bc;
    line-height: 1.4;
    margin: 0;
}

/* ========== RESPONSIVE BREAKPOINTS ========== */

/* Tablet (≤ 900px): grid stacks, image smaller */
@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .section-header-right {
        margin-top: 0;
    }
    .btn-primary {
        white-space: normal;
        text-align: center;
    }
    .why-image figure {
        max-width: 80%;
        margin: 0 auto;
    }
}

/* Mobile (≤ 768px): hide the SVG circle, keep percentage number */
@media (max-width: 768px) {
    .why-choose-us {
        padding: 60px 0;
    }
    .section-header {
        margin-bottom: 40px;
    }
    .stat-card {
        padding: 16px 20px;
        gap: 16px;
    }
    /* Hide the progress ring (the SVG circles) */
    .progress-ring {
        display: none;
    }
    /* Adjust the circle container to hold only the number */
    .stat-circle {
        width: auto;
        height: auto;
        background: none;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .stat-number {
        position: static;
        transform: none;
        font-size: 1.4rem;
        background: linear-gradient(135deg, #c084fc, #4ade80);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        padding: 0;
    }
    .why-image figure {
        max-width: 100%;
    }
}

/* Small phones (≤ 480px): reduce card padding, slightly smaller number */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    .stat-card {
        padding: 12px 16px;
        gap: 12px;
    }
    .stat-number {
        font-size: 1.2rem;
    }
    .stat-text h4 {
        font-size: 1rem;
    }
    .stat-text p {
        font-size: 0.75rem;
    }
}

/* Very narrow (≤ 360px) */
@media (max-width: 360px) {
    .stat-number {
        font-size: 1rem;
    }
}