/* Why Choose Digihex Media Section Styles */

.why-choose-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f9faff 0%, #ffffff 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: auto;
}

/* Main Component Container */
.survey-advantages-component {
    max-width: 1400px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 60px;
    box-sizing: border-box;
    box-shadow: 0 10px 40px rgba(21, 215, 212, 0.08);
}

/* Introductory Header */
.intro-header {
    text-align: center;
    margin-bottom: 60px;
}

.intro-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 16px 0;
}

.intro-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Main Content Layout (Image + Accordion) */
.main-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

/* Image Placeholder (Left Column) - CIRCULAR */
.image-placeholder {
    flex: 1;
    position: sticky;
    top: 60px;
    background: linear-gradient(135deg, #e6f0ff 0%, #e0f4f3 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    max-width: 480px;
    max-height: 480px;
    margin: 0 auto;
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease-in-out;
    opacity: 1;
}

/* Accordion (Right Column) */
.feature-accordion {
    flex: 1.2;
    display: flex;
    flex-direction: column;
}

.accordion-item {
    border-left: 4px solid #e0e0e0;
    padding: 0 24px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.accordion-item:not(:last-child) {
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
    color: #666;
    transition: color 0.3s ease;
}

/* The content that slides down */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, margin-top 0.5s ease-out;
}

.accordion-content p {
    margin: 0;
    padding-top: 12px;
    color: #666;
    line-height: 1.7;
}

/* Active State Styling */
.accordion-item.active {
    border-left-color: #15d7d4;
}

.accordion-item.active .accordion-header h3 {
    color: #2c3e50;
    font-weight: 600;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
    margin-top: 8px;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .survey-advantages-component {
        padding: 50px;
    }

    .main-content {
        flex-direction: column;
        gap: 40px;
    }

    .image-placeholder {
        position: relative;
        top: 0;
        width: 100%;
        max-width: 350px;
        max-height: 350px;
    }

    .feature-accordion {
        flex: 1;
    }

    .intro-header h2 {
        font-size: 2rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .why-choose-section {
        padding: 40px 1rem;
    }

    .survey-advantages-component {
        padding: 40px 20px;
        border-radius: 12px;
    }

    .intro-header h2 {
        font-size: 1.75rem;
    }

    .intro-header p {
        font-size: 1rem;
    }

    .accordion-header h3 {
        font-size: 1.25rem;
    }

    .image-placeholder {
        max-width: 280px;
        max-height: 280px;
    }

    .main-content {
        gap: 30px;
    }
}
