/* Enhanced About Page Styles */

/* ============================================
   ABOUT PAGE GENERAL IMPROVEMENTS
   ============================================ */

/* About Section Container */
.cs_about {
    position: relative;
    overflow: hidden;
}

/* Background Shape Enhancement */
.cs_about .cs_shape_3 {
    position: absolute;
    top: -100px;
    right: -200px;
    opacity: 0.15;
    z-index: 0;
    animation: floatShape 20s ease-in-out infinite;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* ============================================
   ABOUT STYLE 2 - Main About Layout
   ============================================ */

.cs_about.cs_style_2 {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
}

.cs_about.cs_style_2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, #3b82f6 50%, var(--accent) 100%);
}

.cs_about.cs_style_2 .container {
    position: relative;
    z-index: 1;
}

/* Section Heading Styles */
.cs_about.cs_style_2 .cs_section_heading.cs_style_1 {
    padding-right: 30px;
}

.rtl .cs_about.cs_style_2 .cs_section_heading.cs_style_1 {
    padding-right: 0;
    padding-left: 30px;
}

.cs_about.cs_style_2 .cs_section_heading.cs_style_1 .cs_section_subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1) 0%, rgba(var(--accent-rgb), 0.05) 100%);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.cs_about.cs_style_2 .cs_section_heading.cs_style_1 .cs_section_title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.25;
    color: #1e293b;
    margin-bottom: 30px;
    position: relative;
}

.cs_about.cs_style_2 .cs_section_heading.cs_style_1 p {
    text-align: justify !important;
    font-size: 17px;
    line-height: 1.9;
    color: #475569;
    max-width: 100%;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--accent);
}

.rtl .cs_about.cs_style_2 .cs_section_heading.cs_style_1 p {
    padding-left: 0;
    padding-right: 20px;
    border-left: none;
    border-right: 3px solid var(--accent);
}

/* About Image Styles */
.cs_about.cs_style_2 .cs_about_img {
    padding-left: 0 !important;
    position: relative;
}

.cs_about.cs_style_2 .cs_about_img::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 3px solid var(--accent);
    border-radius: 30px;
    z-index: -1;
    opacity: 0.3;
    transition: all 0.4s ease;
}

.rtl .cs_about.cs_style_2 .cs_about_img::before {
    left: 15px;
    right: -15px;
}

.cs_about.cs_style_2 .cs_about_img:hover::before {
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    opacity: 0.5;
}

.cs_about.cs_style_2 .cs_about_img img {
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.cs_about.cs_style_2 .cs_about_img:hover img {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
}

/* ============================================
   ABOUT STYLE 1 - Alternative Layout
   ============================================ */

.cs_about.cs_style_1 {
    padding: 80px 0;
    background: #ffffff;
}

.cs_about.cs_style_1 .cs_about_img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.cs_about.cs_style_1 .cs_about_img img {
    transition: transform 0.5s ease;
}

.cs_about.cs_style_1 .cs_about_img:hover img {
    transform: scale(1.03);
}

.cs_about.cs_style_1 .cs_about_content {
    padding: 20px 0;
}

/* About Text List Styles */
.cs_about.cs_style_1 .cs_about_text_list {
    list-style: none;
    padding: 0;
    margin: 30px 0 0 0;
}

.cs_about.cs_style_1 .cs_about_text_list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #f8fafc;
    border-radius: 16px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.cs_about.cs_style_1 .cs_about_text_list li:hover {
    background: #ffffff;
    border-color: rgba(var(--accent-rgb), 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.rtl .cs_about.cs_style_1 .cs_about_text_list li:hover {
    transform: translateX(-5px);
}

.cs_about.cs_style_1 .cs_about_text_list li i {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent) 0%, rgba(var(--accent-rgb), 0.8) 100%);
    border-radius: 12px;
    color: white;
    font-size: 20px;
}

.cs_about.cs_style_1 .cs_about_text_list li h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.cs_about.cs_style_1 .cs_about_text_list li p {
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

/* ============================================
   ABOUT STYLE 3 - Featured Layout
   ============================================ */

.cs_about.cs_style_3 {
    position: relative;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 50%, #e0e7ff 100%);
    overflow: hidden;
}

.cs_about.cs_style_3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cs_about.cs_style_3 .cs_section_heading.cs_style_1 {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 60px 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.cs_about.cs_style_3 .cs_about_img {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.cs_about.cs_style_3 .cs_about_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cs_about.cs_style_3 .cs_about_img:hover img {
    transform: scale(1.05);
}

/* Support Card in Style 3 */
.cs_about.cs_style_3 .cs_support_card {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background: white;
    padding: 25px 30px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    animation: slideInUp 0.6s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cs_about.cs_style_3 .cs_support_card_icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent) 0%, #3b82f6 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs_about.cs_style_3 .cs_support_card_icon img {
    width: 30px;
    filter: brightness(0) invert(1);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1199px) {
    .cs_about.cs_style_2 .cs_section_heading.cs_style_1 {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .rtl .cs_about.cs_style_2 .cs_section_heading.cs_style_1 {
        padding-left: 0;
    }
    
    .cs_about.cs_style_2 .cs_section_heading.cs_style_1 .cs_section_title {
        font-size: 36px;
    }
    
    .cs_about.cs_style_3 .cs_support_card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 30px;
        margin-left: auto;
        margin-right: auto;
        max-width: 300px;
    }
}

@media (max-width: 991px) {
    .cs_about.cs_style_2,
    .cs_about.cs_style_1 {
        padding: 60px 0;
    }
    
    .cs_about.cs_style_2 .cs_section_heading.cs_style_1 .cs_section_title {
        font-size: 32px;
    }
    
    .cs_about.cs_style_2 .cs_section_heading.cs_style_1 p {
        font-size: 16px;
    }
    
    .cs_about.cs_style_2 .cs_about_img::before {
        display: none;
    }
    
    .cs_about.cs_style_3 .cs_section_heading.cs_style_1 {
        padding: 40px 30px;
    }
}

@media (max-width: 767px) {
    .cs_about.cs_style_2,
    .cs_about.cs_style_1 {
        padding: 50px 0;
    }
    
    .cs_about.cs_style_2 .cs_section_heading.cs_style_1 .cs_section_title {
        font-size: 28px;
    }
    
    .cs_about.cs_style_2 .cs_section_heading.cs_style_1 p {
        font-size: 15px;
        padding-left: 15px;
    }
    
    .rtl .cs_about.cs_style_2 .cs_section_heading.cs_style_1 p {
        padding-left: 0;
        padding-right: 15px;
    }
    
    .cs_about.cs_style_1 .cs_about_text_list li {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    
    .cs_about.cs_style_1 .cs_about_text_list li i {
        margin: 0 auto;
    }
    
    .cs_about.cs_style_3 .cs_section_heading.cs_style_1 {
        padding: 30px 20px;
    }
}

/* ============================================
   RTL SUPPORT ENHANCEMENTS
   ============================================ */

.rtl .cs_about .cs_shape_3 {
    right: auto;
    left: -200px;
}

.rtl .cs_about.cs_style_3 .cs_support_card {
    right: auto;
    left: -20px;
}

@media (max-width: 1199px) {
    .rtl .cs_about.cs_style_3 .cs_support_card {
        left: auto;
    }
}

/* ============================================
   DARK SECTION SUPPORT
   ============================================ */

.cs_dark_section .cs_about.cs_style_2 {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.cs_dark_section .cs_about.cs_style_2::before {
    background: linear-gradient(90deg, var(--accent) 0%, #60a5fa 50%, var(--accent) 100%);
}

.cs_dark_section .cs_about.cs_style_2 .cs_section_heading.cs_style_1 .cs_section_title {
    color: #f1f5f9;
}

.cs_dark_section .cs_about.cs_style_2 .cs_section_heading.cs_style_1 p {
    color: #94a3b8;
    border-color: rgba(255, 255, 255, 0.3);
}

.cs_dark_section .cs_about.cs_style_1 .cs_about_text_list li {
    background: rgba(255, 255, 255, 0.05);
}

.cs_dark_section .cs_about.cs_style_1 .cs_about_text_list li:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cs_dark_section .cs_about.cs_style_1 .cs_about_text_list li h3 {
    color: #f1f5f9;
}

.cs_dark_section .cs_about.cs_style_1 .cs_about_text_list li p {
    color: #94a3b8;
}