/**
 * Ashray Ayurveda - Why Choose Us Section Styles
 * Brand Palette:
 * Deep Forest Green: #1F4210
 * Natural Leaf Green: #2F521E
 * Warm Ayurvedic Gold: #D7AE5D
 * Soft Sand Gold: #E8CF96
 * Pure White: #FFFFFF
 * Secondary Light Sage Text: #DCE5D7
 */

/* ==========================================================================
   Section Main Wrapper
   ========================================================================== */
.ashray-why-choose-section {
    position: relative;
    background: linear-gradient(145deg, #18370d 0%, #1F4210 45%, #16320b 100%);
    padding: 65px 24px 70px;
    width: 100%;
    overflow: hidden;
    color: #FFFFFF;
    box-sizing: border-box;
}

/* Subtle Ayurvedic Foliage Texture in Background */
.ashray-why-choose-section .ashray-wc-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.08;
    background-image: radial-gradient(#D7AE5D 1px, transparent 1px),
                      radial-gradient(#2F521E 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: 0 0, 16px 16px;
    mix-blend-mode: overlay;
    z-index: 1;
}

/* Subtle Gold Radial Ambient Glow in Center */
.ashray-why-choose-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 350px;
    background: radial-gradient(ellipse at center, rgba(215, 174, 93, 0.09) 0%, rgba(31, 66, 16, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

/* Container */
.ashray-why-choose-container {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

/* ==========================================================================
   Section Eyebrow Heading
   ========================================================================== */
.ashray-why-choose-eyebrow-wrap {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.ashray-why-choose-eyebrow {
    display: inline-block;
    color: #D7AE5D;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    padding: 0 10px;
    transition: color 0.3s ease;
}

/* Elegant subtle decorative lines flanking the eyebrow */
.ashray-why-choose-eyebrow-wrap::before,
.ashray-why-choose-eyebrow-wrap::after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(215, 174, 93, 0.5));
    margin: 0 15px;
}

.ashray-why-choose-eyebrow-wrap::after {
    background: linear-gradient(to left, transparent, rgba(215, 174, 93, 0.5));
}

/* ==========================================================================
   5 Pillars Grid
   ========================================================================== */
.ashray-why-choose-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    align-items: stretch;
    justify-content: center;
    position: relative;
}

/* Single Pillar Item */
.ashray-why-choose-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 24px 20px;
    box-sizing: border-box;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Vertical Divider between Columns */
.ashray-why-choose-grid.ashray-has-dividers .ashray-why-choose-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15%;
    bottom: 15%;
    right: 0;
    width: 1px;
    background: linear-gradient(
        to bottom,
        rgba(215, 174, 93, 0) 0%,
        rgba(215, 174, 93, 0.28) 25%,
        rgba(215, 174, 93, 0.35) 50%,
        rgba(215, 174, 93, 0.28) 75%,
        rgba(215, 174, 93, 0) 100%
    );
    pointer-events: none;
}

/* Hover effect on pillar */
.ashray-why-choose-item:hover {
    transform: translateY(-4px);
}

/* ==========================================================================
   Icon Styling
   ========================================================================== */
.ashray-why-choose-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    color: #D7AE5D;
    transition: all 0.35s ease;
    flex-shrink: 0;
}

.ashray-why-choose-icon-wrap svg {
    width: 54px;
    height: 54px;
    display: block;
    stroke: #D7AE5D;
    transition: all 0.35s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.ashray-why-choose-item:hover .ashray-why-choose-icon-wrap svg {
    stroke: #E8CF96;
    filter: drop-shadow(0 4px 14px rgba(215, 174, 93, 0.45));
    transform: scale(1.08);
}

/* FontAwesome / Custom Icons */
.ashray-why-choose-icon-wrap i {
    font-size: 40px;
    color: #D7AE5D;
    transition: all 0.35s ease;
}

.ashray-why-choose-item:hover .ashray-why-choose-icon-wrap i {
    color: #E8CF96;
    text-shadow: 0 4px 14px rgba(215, 174, 93, 0.45);
    transform: scale(1.08);
}

/* ==========================================================================
   Title Styling
   ========================================================================== */
.ashray-why-choose-title {
    color: #FFFFFF;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 10px 0;
    padding: 0;
    transition: color 0.3s ease;
    letter-spacing: -0.2px;
}

.ashray-why-choose-item:hover .ashray-why-choose-title {
    color: #FFFFFF;
}

/* ==========================================================================
   Description Styling
   ========================================================================== */
.ashray-why-choose-desc {
    color: #DCE5D7;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.55;
    margin: 0;
    padding: 0;
    max-width: 220px;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.ashray-why-choose-item:hover .ashray-why-choose-desc {
    opacity: 1;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
/* Tablet (Large to Medium): 3 + 2 or flexible flow */
@media screen and (max-width: 1080px) {
    .ashray-why-choose-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 36px;
    }

    .ashray-why-choose-grid.ashray-has-dividers .ashray-why-choose-item:not(:last-child)::after {
        display: none;
    }

    .ashray-why-choose-item {
        padding: 10px 16px;
        border-right: none;
    }

    .ashray-why-choose-grid > .ashray-why-choose-item:nth-child(4),
    .ashray-why-choose-grid > .ashray-why-choose-item:nth-child(5) {
        grid-column: span 1;
    }
}

/* Small Tablet & Mobile Landscape */
@media screen and (max-width: 767px) {
    .ashray-why-choose-section {
        padding: 50px 16px 55px;
    }

    .ashray-why-choose-eyebrow-wrap {
        margin-bottom: 35px;
    }

    .ashray-why-choose-eyebrow-wrap::before,
    .ashray-why-choose-eyebrow-wrap::after {
        width: 20px;
        margin: 0 8px;
    }

    .ashray-why-choose-eyebrow {
        font-size: 13.5px;
        letter-spacing: 2px;
    }

    .ashray-why-choose-grid {
        grid-template-columns: 1fr;
        row-gap: 32px;
    }

    .ashray-why-choose-item {
        padding: 0 10px;
    }

    /* Subtle divider line between vertical items on mobile */
    .ashray-why-choose-grid.ashray-has-dividers .ashray-why-choose-item:not(:last-child) {
        border-bottom: 1px solid rgba(215, 174, 93, 0.18);
        padding-bottom: 28px;
    }

    .ashray-why-choose-icon-wrap {
        width: 48px;
        height: 48px;
        margin-bottom: 14px;
    }

    .ashray-why-choose-icon-wrap svg {
        width: 46px;
        height: 46px;
    }

    .ashray-why-choose-title {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .ashray-why-choose-desc {
        font-size: 14px;
        max-width: 280px;
    }
}
