/* ==========================================================================
   About Page Styles
   ========================================================================== */

/* About Detailed Sections - Modern Design */
.about-detailed-sections {
    padding: 60px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about-detailed-sections::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, #e2e8f0 20%, #e2e8f0 80%, transparent 100%);
    transform: translateX(-50%);
    z-index: 0;
}

.about-detailed-sections .about-section {
    padding: 0;
    background: transparent;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.about-detailed-sections .about-section:last-child {
    margin-bottom: 0;
}

.section-container {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    align-items: start;
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.section-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #0ea5e9 0%, #1e40af 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.section-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.15);
    border-color: #e0f2fe;
}

.section-container:hover::before {
    opacity: 1;
}

.section-container.layout-reverse {
    grid-template-columns: 1fr 80px;
}

.section-container.layout-reverse .section-icon-wrapper {
    order: 2;
}

.section-container.layout-reverse .section-content {
    order: 1;
}

.section-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 5px;
}

.section-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.2);
}

.section-container:hover .section-icon {
    background: linear-gradient(135deg, #0ea5e9 0%, #1e40af 100%);
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.section-icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #0ea5e9;
    transition: color 0.4s;
}

.section-container:hover .section-icon .dashicons {
    color: white;
}

.section-content {
    flex: 1;
}

.section-content .section-title {
    font-size: 26px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 10px;
    line-height: 1.3;
    transition: color 0.3s;
}

.section-container:hover .section-content .section-title {
    color: #0ea5e9;
}

.section-content .section-subtitle {
    font-size: 15px;
    font-weight: 600;
    color: #0ea5e9;
    margin-bottom: 18px;
    display: inline-block;
    padding: 4px 14px;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.section-content .section-description {
    color: #64748b;
    line-height: 1.8;
    font-size: 15px;
}

.section-content .section-description p {
    margin-bottom: 12px;
    position: relative;
    padding-left: 0;
}

.section-content .section-description p:last-child {
    margin-bottom: 0;
}

.section-content .section-description strong {
    color: #1e293b;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-detailed-sections::before {
        display: none;
    }
    
    .section-container {
        grid-template-columns: 70px 1fr;
        gap: 25px;
        padding: 30px 25px;
    }
    
    .section-container.layout-reverse {
        grid-template-columns: 70px 1fr;
    }
    
    .section-container.layout-reverse .section-icon-wrapper {
        order: 1;
    }

    .section-container.layout-reverse .section-content {
        order: 2;
    }
    
    .section-icon {
        width: 60px;
        height: 60px;
    }
    
    .section-icon .dashicons {
        font-size: 28px;
        width: 28px;
        height: 28px;
    }
    
    .section-content .section-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .about-detailed-sections {
        padding: 40px 0;
    }
    
    .about-detailed-sections .about-section {
        margin-bottom: 30px;
    }
    
    .section-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 25px 20px;
        text-align: center;
    }
    
    .section-container.layout-reverse {
        grid-template-columns: 1fr;
    }
    
    .section-icon-wrapper {
        justify-content: center;
        padding-top: 0;
    }
    
    .section-content .section-subtitle {
        display: block;
        margin: 0 auto 15px;
        width: fit-content;
    }
    
    .section-content .section-description {
        text-align: left;
    }
}

