/* ====================================
   About Section - Elegant Premium Design
   Sophisticated & Contemporary Style
   ==================================== */

/* Section Container */
.about-elegant-premium {
    position: relative;
    padding: 140px 0;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 50%, #f8f9fa 100%);
    overflow: hidden;
}

/* Background Pattern */
.about-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 20% 30%, #10b366 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, #25a2e2 0%, transparent 50%);
    background-size: 600px 600px, 800px 800px;
    background-position: top left, bottom right;
    animation: pattern-move 30s ease-in-out infinite;
}

@keyframes pattern-move {
    0%, 100% {
        background-position: top left, bottom right;
    }
    50% {
        background-position: top right, bottom left;
    }
}

/* Wave Shape */
.about-shape-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg width='1200' height='120' viewBox='0 0 1200 120' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,60 C300,120 600,0 900,60 C1050,90 1125,30 1200,60 L1200,120 L0,120 Z' fill='%23ffffff'/%3E%3C/svg%3E") repeat-x;
    background-size: 1200px 120px;
    opacity: 0.8;
}

/* Container */
.about-elegant-premium .container {
    position: relative;
    z-index: 1;
}

/* ====================================
   Image Section
   ==================================== */

.about-img-elegant {
    position: relative;
    padding: 0 20px;
}

.img-frame-elegant {
    position: relative;
    padding: 30px;
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.8);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.img-frame-elegant:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 30px 80px rgba(16, 179, 102, 0.15),
        0 0 0 1px rgba(16, 179, 102, 0.1);
}

.img-inner-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #f5f7fa;
}

.about-main-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-frame-elegant:hover .about-main-img {
    transform: scale(1.08);
}

.img-shine-overlay {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.6s ease;
}

.img-frame-elegant:hover .img-shine-overlay {
    left: 100%;
}

/* Decorative Border */
.img-decorative-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.border-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid #10b366;
}

.corner-top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    border-radius: 30px 0 0 0;
}

.corner-top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
    border-radius: 0 30px 0 0;
}

.corner-bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 30px;
}

.corner-bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    border-radius: 0 0 30px 0;
}

/* Experience Badge */
.experience-badge-elegant {
    position: absolute;
    bottom: -20px;
    right: 40px;
    width: 140px;
    height: 140px;
    z-index: 3;
}

.badge-inner-circle {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #10b366 0%, #e0368e 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(16, 179, 102, 0.35);
    animation: badge-pulse 3s ease-in-out infinite;
    z-index: 2;
}

@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 15px 40px rgba(16, 179, 102, 0.35);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 20px 50px rgba(16, 179, 102, 0.45);
    }
}

.badge-number-large {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 4px;
}

.badge-label-small {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-outer-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(16, 179, 102, 0.2);
    border-radius: 50%;
    animation: ring-rotate 8s linear infinite;
}

@keyframes ring-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Floating Stats Card */
.floating-stats-container {
    position: absolute;
    top: 20%;
    left: -30px;
    z-index: 4;
}

.floating-stat-card {
    background: #ffffff;
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 200px;
    animation: float-card 4s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.floating-stat-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(16, 179, 102, 0.2);
}

@keyframes float-card {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.stat-icon-wrapper {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #25a2e2 0%, #25a2e2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-wrapper svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.2;
    margin-bottom: 2px;
}

.stat-desc {
    font-size: 13px;
    color: #718096;
    font-weight: 500;
}

/* ====================================
   Content Section
   ==================================== */

.about-content-elegant {
    padding: 20px 0;
}

/* Section Label */
.section-label-elegant {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.label-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #10b366, transparent);
    max-width: 80px;
}

.label-text {
    font-size: 14px;
    font-weight: 700;
    color: #10b366;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.label-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #10b366, #25a2e2);
    border-radius: 2px;
}

/* Main Heading */
.about-heading-elegant {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 32px;
    position: relative;
}

.heading-text {
    display: block;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.heading-underline-accent {
    display: block;
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #10b366, #25a2e2);
    border-radius: 3px;
    margin-top: 16px;
    position: relative;
}

.heading-underline-accent::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #10b366;
    border-radius: 50%;
}

/* Description Text */
.about-text-elegant {
    font-size: 19px;
    line-height: 1.9;
    color: #475569;
    margin-bottom: 48px;
}

.about-text-elegant p {
    margin-bottom: 20px;
}

.about-text-elegant p:last-child {
    margin-bottom: 0;
}

/* Statistics Grid */
.about-stats-grid-elegant {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.stat-box-elegant {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 32px 28px;
    border-radius: 20px;
    border: 1px solid rgba(16, 179, 102, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-box-elegant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b366, #25a2e2);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-box-elegant:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(16, 179, 102, 0.15);
    border-color: rgba(16, 179, 102, 0.3);
}

.stat-box-elegant:hover::before {
    transform: scaleX(1);
}

.stat-box-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #10b366 0%, #e0368e 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(16, 179, 102, 0.25);
}

.stat-box-icon svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
}

.stat-box-content {
    flex: 1;
}

.stat-box-number {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin: 0 0 6px 0;
}

.stat-box-text {
    font-size: 15px;
    color: #64748b;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

/* Call to Action Button */
.about-action-elegant {
    margin-top: 32px;
}

.btn-elegant-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 42px;
    background: linear-gradient(135deg, #10b366 0%, #25a2e2 100%);
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(16, 179, 102, 0.35);
    border: none;
    cursor: pointer;
}

.btn-hover-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-elegant-primary:hover .btn-hover-effect {
    width: 400px;
    height: 400px;
}

.btn-elegant-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(16, 179, 102, 0.45);
    color: #ffffff;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon {
    position: relative;
    z-index: 2;
    width: 22px;
    height: 22px;
    transition: transform 0.4s ease;
}

.btn-elegant-primary:hover .btn-icon {
    transform: translateX(8px);
}

[dir="rtl"] .btn-elegant-primary:hover .btn-icon {
    transform: translateX(-8px);
}

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

@media (max-width: 1199px) {
    .about-elegant-premium {
        padding: 100px 0;
    }
    
    .about-heading-elegant {
        font-size: 44px;
    }
    
    .floating-stats-container {
        left: -20px;
    }
}

@media (max-width: 991px) {
    .about-elegant-premium {
        padding: 80px 0;
    }
    
    .about-img-elegant {
        margin-bottom: 60px;
        padding: 0 10px;
    }
    
    .img-frame-elegant {
        padding: 20px;
    }
    
    .experience-badge-elegant {
        bottom: -15px;
        right: 20px;
        width: 120px;
        height: 120px;
    }
    
    .badge-number-large {
        font-size: 36px;
    }
    
    .badge-label-small {
        font-size: 10px;
    }
    
    .floating-stats-container {
        position: static;
        margin-top: 30px;
        display: flex;
        justify-content: center;
    }
    
    .floating-stat-card {
        animation: none;
    }
    
    .about-heading-elegant {
        font-size: 38px;
        text-align: center;
    }
    
    .about-text-elegant {
        text-align: center;
        font-size: 17px;
    }
    
    .section-label-elegant {
        justify-content: center;
    }
    
    .about-stats-grid-elegant {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-action-elegant {
        text-align: center;
    }
    
    .heading-underline-accent {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .about-elegant-premium {
        padding: 60px 0;
    }
    
    .about-heading-elegant {
        font-size: 32px;
    }
    
    .about-text-elegant {
        font-size: 16px;
    }
    
    .stat-box-elegant {
        padding: 24px 20px;
    }
    
    .stat-box-icon {
        width: 56px;
        height: 56px;
    }
    
    .stat-box-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .stat-box-number {
        font-size: 30px;
    }
    
    .img-frame-elegant {
        padding: 15px;
        border-radius: 20px;
    }
    
    .experience-badge-elegant {
        width: 100px;
        height: 100px;
        bottom: -10px;
        right: 15px;
    }
    
    .badge-number-large {
        font-size: 30px;
    }
    
    .badge-label-small {
        font-size: 9px;
    }
    
    .border-corner {
        width: 40px;
        height: 40px;
    }
    
    .btn-elegant-primary {
        padding: 16px 36px;
        font-size: 16px;
    }
    
    .floating-stat-card {
        min-width: 180px;
        padding: 16px 20px;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .stat-icon-wrapper {
        width: 44px;
        height: 44px;
    }
    
    .stat-icon-wrapper svg {
        width: 20px;
        height: 20px;
    }
}

/* ====================================
   RTL Support
   ==================================== */

[dir="rtl"] .experience-badge-elegant {
    right: auto;
    left: 40px;
}

[dir="rtl"] .floating-stats-container {
    left: auto;
    right: -30px;
}

[dir="rtl"] .heading-underline-accent::after {
    right: auto;
    left: 0;
}

@media (max-width: 991px) {
    [dir="rtl"] .experience-badge-elegant {
        left: 20px;
    }
    
    [dir="rtl"] .floating-stats-container {
        right: auto;
    }
}

@media (max-width: 767px) {
    [dir="rtl"] .experience-badge-elegant {
        left: 15px;
    }
}

/* ====================================
   Print Styles
   ==================================== */

@media print {
    .about-elegant-premium {
        padding: 40px 0;
        background: #ffffff;
    }
    
    .about-bg-pattern,
    .about-shape-wave,
    .badge-outer-ring,
    .img-shine-overlay,
    .btn-hover-effect {
        display: none;
    }
    
    .img-frame-elegant {
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }
}

