/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.new-why-chooses-area {
    position: relative;
    padding: 60px 0 80px;
    overflow: hidden;
}

.new-why-chooses-area .section-title {
    text-align: left;
    position: relative;
    z-index: 10;
    margin-bottom: 28px;
}

.new-why-chooses-area .section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #9dc33b;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    margin: 0;
}

.new-why-chooses-area .section-title p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 12px 0 0;
}

/* Container */
.horizontal-accordion-container {
    display: flex;
    height: 640px;
    gap: 10px;
    padding: 14px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(20, 25, 15, 0.85) 0%, rgba(8, 10, 5, 0.95) 100%);
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(157, 195, 59, 0.08);
    position: relative;
    z-index: 10;
}

/* Panels */
.accordion-panel {
    flex: 0 0 76px;
    position: relative;
    height: 100%;
    min-width: 60px;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(160deg, #1f1f1f 0%, #0a0a0a 100%);
    background-size: cover;
    background-position: center;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 6px 22px rgba(0, 0, 0, 0.45);
    transition: flex 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s ease,
                transform 0.4s ease;
}

.accordion-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
    transition: background 0.5s ease, opacity 0.5s ease;
}

.accordion-panel:not(.active):hover {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 10px 30px rgba(157, 195, 59, 0.18);
    transform: translateY(-2px);
}

.accordion-panel:not(.active):hover::before {
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(20, 30, 0, 0.85) 100%);
}

.accordion-panel.active {
    flex: 1 1 auto;
    box-shadow:
        inset 0 1px 0 rgba(157, 195, 59, 0.12),
        0 14px 40px rgba(157, 195, 59, 0.18),
        0 8px 24px rgba(0, 0, 0, 0.55);
}

.accordion-panel.active::before {
    background: linear-gradient(90deg,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.7) 35%,
        rgba(0, 0, 0, 0.35) 100%);
}

/* Tab (vertical title strip) */
.accordion-tab {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 12px;
    z-index: 2;
    pointer-events: none;
    background: none;
    border-radius: 0;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-panel:not(.active) .accordion-tab {
    width: 100%;
}

.accordion-panel.active .accordion-tab {
    width: 70px;
    justify-content: center;
    left: 0;
}

.tab-content {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.tab-title,
.accordion-panel:not(.active) .tab-title,
.accordion-panel.active .tab-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 3px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    white-space: nowrap;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.85);
    transition: color 0.4s ease,
                font-size 0.4s ease,
                letter-spacing 0.4s ease,
                text-shadow 0.4s ease;
}

.accordion-panel.active .tab-title {
    color: #9dc33b;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-shadow: 0 0 18px rgba(157, 195, 59, 0.35),
                 2px 2px 6px rgba(0, 0, 0, 0.7);
}

/* Details panel (content + images) */
.accordion-details {
    position: absolute;
    top: 0;
    left: 70px;
    width: calc(100% - 70px);
    height: 100%;
    z-index: 3;
    opacity: 0;
    visibility: hidden;
    transform: translateX(40px);
    transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1) 0.05s,
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0.6s;
    display: flex;
    align-items: stretch;
    padding: 30px 30px 30px 0;
    gap: 28px;
    background: none;
    border-radius: 0;
}

.accordion-panel.active .accordion-details {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1) 0.15s,
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.05s,
                visibility 0s linear 0s;
}

.details-content {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8px 0 10px;
    overflow-y: auto;
    color: #ffffff;
    scrollbar-width: thin;
    scrollbar-color: rgba(157, 195, 59, 0.4) transparent;
}

.details-content::-webkit-scrollbar {
    width: 5px;
}

.details-content::-webkit-scrollbar-thumb {
    background: rgba(157, 195, 59, 0.35);
    border-radius: 8px;
}

.details-content a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
}

.content-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.header-text {
    flex: 1;
    min-width: 0;
}

.header-text h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.15;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.details-content p {
    font-size: 1rem;
    line-height: 1.75;
    color: #d4d4d4;
    margin-bottom: 14px;
    font-weight: 400;
}

.details-content p:last-of-type {
    color: #fff;
    font-size: 1rem; 
    margin-bottom: 0;
}

.main-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #cfcfcf;
    margin-bottom: 14px;
    font-weight: 400;
}

/* Features grid - images on the right */
.features-grid {
    flex: 0 0 42%;
    width: 42%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    height: 100%;
    align-content: center;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(157, 195, 59, 0.4) transparent;
}

.features-grid::-webkit-scrollbar {
    width: 5px;
}

.features-grid::-webkit-scrollbar-thumb {
    background: rgba(157, 195, 59, 0.35);
    border-radius: 8px;
}

.features-grid.expert-sales-team {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    align-content: center;
    padding-top: 6px;
}

.features-grid.strong-service {
    grid-template-columns: 1fr;
}

.feature-item {
    display: block;
    padding: 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.feature-item:hover {
    transform: translateY(-4px) scale(1.015);
    box-shadow: 0 16px 36px rgba(157, 195, 59, 0.25),
                inset 0 1px 0 rgba(157, 195, 59, 0.15);
    background: rgba(157, 195, 59, 0.04);
}

.feature-item img {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 14px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.feature-item:hover img {
    transform: scale(1.04);
}

.features-grid.expert-sales-team .feature-item img {
    object-fit: contain;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
}

.feature-item i {
    color: #9dc33b;
    margin-right: 10px;
    font-size: 16px;
}

.feature-item span {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
}

.details-btn {
    align-self: flex-start;
    margin-top: 18px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #9dc33b, #6f9525);
    color: #0f1300;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 22px rgba(157, 195, 59, 0.35);
    border: none;
    cursor: pointer;
}

.details-btn:hover {
    background: linear-gradient(135deg, #aed149, #84a830);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(157, 195, 59, 0.5);
    color: #0f1300;
    text-decoration: none;
}

/* Unused/legacy elements – kept neutral */
.accordion-background,
.bg-overlay,
.bg-image {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.bg-image {
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 0;
}

.bg-image.active {
    opacity: 0.35;
}

.tab-icon,
.tab-number,
.tab-subtitle,
.header-icon,
.experience-badge {
    display: none;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Extra-large screens (>= 1920px) */
@media (min-width: 1920px) {
    .horizontal-accordion-container {
        height: 720px;
        gap: 12px;
        padding: 16px;
    }

    .accordion-panel {
        flex: 0 0 86px;
    }

    .accordion-panel.active .accordion-tab {
        width: 80px;
    }

    .accordion-details {
        left: 80px;
        width: calc(100% - 80px);
        padding: 36px 36px 36px 0;
        gap: 32px;
    }

    .tab-title,
    .accordion-panel:not(.active) .tab-title,
    .accordion-panel.active .tab-title {
        font-size: 1.5rem;
        letter-spacing: 4px;
    }

    .accordion-panel.active .tab-title {
        font-size: 1.65rem;
        letter-spacing: 5px;
    }

    .header-text h2 {
        font-size: 2.8rem;
    }

    .details-content p {
        font-size: 1.1rem;
        line-height: 1.8;
    }

    .features-grid {
        gap: 14px;
    }
}

/* Huge 4K screens */
@media (min-width: 2400px) {
    .horizontal-accordion-container {
        height: 860px;
    }

    .header-text h2 {
        font-size: 3.2rem;
    }

    .details-content p {
        font-size: 1.2rem;
    }
}

/* Smaller desktops & laptops - keep horizontal layout but tighter */
@media (min-width: 1200px) and (max-width: 1599px) {
    .horizontal-accordion-container {
        height: 580px;
        gap: 8px;
        padding: 12px;
    }

    .accordion-panel {
        flex: 0 0 68px;
    }

    .accordion-panel.active .accordion-tab {
        width: 64px;
    }

    .accordion-details {
        left: 64px;
        width: calc(100% - 64px);
        padding: 24px 24px 24px 0;
        gap: 22px;
    }

    .tab-title,
    .accordion-panel:not(.active) .tab-title,
    .accordion-panel.active .tab-title {
        font-size: 1.1rem;
        letter-spacing: 2.5px;
    }

    .accordion-panel.active .tab-title {
        font-size: 1.2rem;
        letter-spacing: 3px;
    }

    .header-text h2 {
        font-size: 2rem;
    }

    .details-content p {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .features-grid {
        flex: 0 0 44%;
        width: 44%;
        gap: 10px;
    }
}

/* ============================================
   TABLETS & BELOW (≤ 1199px)
   Switch to clean VERTICAL accordion.
   Hover / tap a tab → details slide DOWN smoothly.
   ============================================ */
@media (max-width: 1199px) {
    .new-why-chooses-area {
        padding: 60px 0;
    }

    .new-why-chooses-area .section-title h2 {
        font-size: 2.4rem;
        margin-bottom: 25px;
    }

    /* Container becomes vertical stack */
    .horizontal-accordion-container {
        flex-direction: column;
        height: auto;
        gap: 10px;
        border-radius: 0;
        overflow: visible;
        backdrop-filter: none;
        background: transparent;
        padding: 0;
        border: none;
    }

    /* Each panel is a full-width bar */
    .accordion-panel {
        flex: none;
        width: 100%;
        height: auto;
        min-width: 0;
        margin: 0;
        border-radius: 14px;
        overflow: hidden;
        background: linear-gradient(135deg, #1a2400 0%, #0d1300 100%);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
        transition: box-shadow 0.4s ease, transform 0.4s ease;
    }

    .accordion-panel:hover {
        box-shadow: 0 6px 28px rgba(157, 195, 59, 0.18);
    }

    .accordion-panel.active {
        flex: none;
        height: auto;
        min-height: 0;
        border-radius: 14px;
        box-shadow: 0 8px 36px rgba(157, 195, 59, 0.28);
    }

    /* Tab → horizontal bar (header) */
    .accordion-tab,
    .accordion-panel.active .accordion-tab,
    .accordion-panel:not(.active) .accordion-tab {
        position: relative;
        top: auto;
        left: 0;
        width: 100%;
        height: 72px;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding: 0 26px;
        writing-mode: initial;
        text-orientation: initial;
        opacity: 1;
        pointer-events: auto;
        background: linear-gradient(90deg, rgba(34, 47, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 100%);
        border-radius: 14px;
        border-left: 4px solid transparent;
        transition: background 0.4s ease, border-color 0.4s ease;
    }

    .accordion-panel.active .accordion-tab {
        background: linear-gradient(90deg, #1a2400 0%, rgba(0, 0, 0, 0.55) 100%);
        border-left: 4px solid #9dc33b;
        border-bottom: 1px solid rgba(157, 195, 59, 0.25);
        border-radius: 14px 14px 0 0;
    }

    /* Tab text - reset all rotations */
    .tab-content {
        display: flex;
        align-items: center;
        flex: 1;
        color: #ffffff;
    }

    .tab-title,
    .accordion-panel:not(.active) .tab-title,
    .accordion-panel.active .tab-title {
        font-size: 1.15rem;
        font-weight: 700;
        margin: 0;
        line-height: 1.2;
        letter-spacing: 0.6px;
        text-transform: uppercase;
        transform: none;
        writing-mode: initial;
        text-orientation: initial;
        opacity: 1;
        color: #ffffff;
    }

    .accordion-panel.active .tab-title {
        color: #9dc33b;
    }

    /* Details slide DOWN smoothly */
    .accordion-details {
        position: relative;
        top: auto;
        left: 0;
        width: 100%;
        height: 0;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transform: none;
        display: block;
        padding: 0;
        background: linear-gradient(180deg, rgba(15, 20, 0, 0.98) 0%, rgba(0, 0, 0, 0.95) 100%);
        border-radius: 0 0 14px 14px;
        transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.45s ease,
                    padding 0.45s ease;
    }

    .accordion-panel.active .accordion-details {
        opacity: 1;
        height: auto;
        max-height: 2400px;
        transform: none;
        padding: 28px 30px 32px;
    }

    /* Details content - reset desktop styles */
    .details-content {
        padding: 0;
        width: 100%;
        height: auto;
        overflow: visible;
        display: block;
    }

    .details-content p {
        font-size: 1rem;
        line-height: 1.7;
        color: #d9d9d9;
        margin-bottom: 12px;
    }

    /* Content header */
    .content-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
        margin-bottom: 16px;
    }

    .header-text {
        flex: 1;
        min-width: 0;
    }

    .header-text h2 {
        font-size: 1.9rem;
        font-weight: 700;
        line-height: 1.2;
        margin: 0;
        color: #ffffff;
        letter-spacing: 0.5px;
        white-space: normal;
        word-break: normal;
    }

    /* Features grid */
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        width: 100%;
        margin-top: 18px;
        padding: 0;
    }

    .features-grid.expert-sales-team {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .features-grid.strong-service {
        grid-template-columns: 1fr;
    }

    .feature-item {
        padding: 4px;
        background: rgba(157, 195, 59, 0.04);
        border-radius: 10px;
    }

    .feature-item:hover {
        background: rgba(157, 195, 59, 0.1);
        transform: none;
    }

    .feature-item img {
        margin: 0;
        border-radius: 8px;
    }
}

/* ============================================
   SMALL TABLETS / LARGE PHONES (≤ 768px)
   ============================================ */
@media (max-width: 768px) {
   
    .new-why-chooses-area {
        padding: 50px 0;
    }

    .new-why-chooses-area .section-title h2 {
        font-size: 2rem;
    }

    .accordion-tab,
    .accordion-panel.active .accordion-tab,
    .accordion-panel:not(.active) .accordion-tab {
        height: 64px;
        padding: 0 20px;
    }

    .tab-title,
    .accordion-panel:not(.active) .tab-title,
    .accordion-panel.active .tab-title {
        font-size: 1rem;
    }

    .accordion-panel.active .accordion-details {
        padding: 22px 20px 24px;
    }

    .header-text h2 {
        font-size: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .features-grid.expert-sales-team {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
}

/* ============================================
   SMALL PHONES (≤ 480px)
   ============================================ */
@media (max-width: 480px) {
    .new-why-chooses-area .section-title h2 {
        font-size: 1.7rem;
    }

    .accordion-tab,
    .accordion-panel.active .accordion-tab,
    .accordion-panel:not(.active) .accordion-tab {
        height: 58px;
        padding: 0 16px;
    }

    .tab-title,
    .accordion-panel:not(.active) .tab-title,
    .accordion-panel.active .tab-title {
        font-size: 0.9rem;
        letter-spacing: 0.3px;
    }

    .accordion-panel.active .accordion-details {
        padding: 20px 16px 22px;
    }

    .header-text h2 {
        font-size: 1.3rem;
    }

    .details-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .features-grid.expert-sales-team {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .features-grid.strong-service {
        grid-template-columns: 1fr;
    }

    .details-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}