/* ====================================
   About Section - Modern Minimal Design
   Clean, Elegant & Contemporary
   ==================================== */

/* Section Container */
.about-modern-minimal {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: #ffffff;
}

/* Gradient Background */
.about-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(196, 38, 54, 0.03) 0%,
        rgba(255, 255, 255, 1) 50%,
        rgba(40, 102, 143, 0.03) 100%
    );
    z-index: 0;
}

.about-modern-minimal .container {
    position: relative;
    z-index: 1;
}

/* Content Side */
.about-content-modern {
    padding: 20px 0;
}

/* Mini Badge */
.about-mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(196, 38, 54, 0.08);
    border-radius: 50px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.about-mini-badge:hover {
    background: rgba(196, 38, 54, 0.12);
    transform: translateX(-5px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #c42636;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.badge-text {
    color: #c42636;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Title */
.about-title-modern {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a202c;
    margin-bottom: 24px;
    position: relative;
}

.about-title-modern::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #c42636, #28668f);
    border-radius: 2px;
}

/* Description */
.about-desc-modern {
    font-size: 18px;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 40px;
}

.about-desc-modern p {
    margin-bottom: 16px;
}

/* Stats Row */
.about-stats-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-item-modern {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.stat-item-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(196, 38, 54, 0.15);
}

.stat-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c42636, #28668f);
    border-radius: 12px;
    flex-shrink: 0;
}

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

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 4px 0;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #718096;
    margin: 0;
    line-height: 1.4;
}

/* CTA Button */
.about-cta-modern {
    margin-top: 32px;
}

.btn-modern-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #c42636, #28668f);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(196, 38, 54, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-modern-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(196, 38, 54, 0.4);
    color: #ffffff;
}

.btn-modern-primary:hover::before {
    left: 100%;
}

.btn-modern-primary svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-modern-primary:hover svg {
    transform: translateX(5px);
}

[dir="rtl"] .btn-modern-primary:hover svg {
    transform: translateX(-5px);
}

/* Image Side */
.about-image-modern {
    position: relative;
    padding: 40px;
}

.image-wrapper-modern {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.image-wrapper-modern:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 70px rgba(196, 38, 54, 0.2);
}

.main-image-modern {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.image-wrapper-modern:hover .main-image-modern {
    transform: scale(1.05);
}

.image-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(196, 38, 54, 0.1) 0%,
        rgba(40, 102, 143, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-wrapper-modern:hover .image-overlay-modern {
    opacity: 1;
}

/* Floating Badge */
.floating-badge-modern {
    position: absolute;
    bottom: 60px;
    right: 60px;
    padding: 24px 32px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    animation: float-badge 3s ease-in-out infinite;
    z-index: 2;
}

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

.badge-content {
    position: relative;
    z-index: 2;
}

.badge-number-modern {
    display: block;
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, #c42636, #28668f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    line-height: 1;
}

.badge-text-modern {
    display: block;
    font-size: 13px;
    color: #718096;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(196, 38, 54, 0.2), transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 2s ease-in-out infinite;
    z-index: 0;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Decorative Circles */
.decorative-circle-1 {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(196, 38, 54, 0.1), rgba(40, 102, 143, 0.1));
    border-radius: 50%;
    z-index: 0;
    animation: rotate-circle 20s linear infinite;
}

.decorative-circle-2 {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(40, 102, 143, 0.1), rgba(196, 38, 54, 0.1));
    border-radius: 50%;
    z-index: 0;
    animation: rotate-circle 25s linear infinite reverse;
}

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

/* Responsive Design */
@media (max-width: 991px) {
    .about-modern-minimal {
        padding: 80px 0;
    }

    .about-title-modern {
        font-size: 36px;
    }

    .about-title-modern::after {
        right: auto;
        left: 0;
    }

    .about-image-modern {
        padding: 20px;
        margin-top: 40px;
    }

    .floating-badge-modern {
        bottom: 30px;
        right: 30px;
        padding: 20px 24px;
    }

    .badge-number-modern {
        font-size: 36px;
    }

    .stat-number {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .about-modern-minimal {
        padding: 60px 0;
    }

    .about-title-modern {
        font-size: 28px;
    }

    .about-desc-modern {
        font-size: 16px;
    }

    .about-stats-modern {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-item-modern {
        padding: 20px;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
    }

    .stat-icon svg {
        width: 24px;
        height: 24px;
    }

    .floating-badge-modern {
        bottom: 20px;
        right: 20px;
        padding: 16px 20px;
    }

    .badge-number-modern {
        font-size: 32px;
    }

    .badge-text-modern {
        font-size: 11px;
    }

    .decorative-circle-1,
    .decorative-circle-2 {
        display: none;
    }
}

/* RTL Support */
[dir="rtl"] .about-title-modern::after {
    right: auto;
    left: 0;
}

[dir="rtl"] .floating-badge-modern {
    right: auto;
    left: 60px;
}

[dir="rtl"] .about-mini-badge:hover {
    transform: translateX(5px);
}

@media (max-width: 991px) {
    [dir="rtl"] .about-title-modern::after {
        right: 0;
        left: auto;
    }

    [dir="rtl"] .floating-badge-modern {
        left: 30px;
    }
}

@media (max-width: 767px) {
    [dir="rtl"] .floating-badge-modern {
        left: 20px;
    }
}

/* Print Styles */
@media print {
    .about-modern-minimal {
        padding: 40px 0;
    }

    .decorative-circle-1,
    .decorative-circle-2,
    .badge-glow {
        display: none;
    }
}
