/* ===== SECTION À PROPOS - DESIGN PREMIUM ===== */

.about-section {
    position: relative;
    padding: 100px 0;
    background: #f8f9fa;
    overflow: hidden;
}

/* Decorative Shapes */
.about-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.about-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
}

.about-shapes .shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--tech-gradient-3), var(--primary-color));
    top: 10%;
    left: 5%;
    animation: float-rotate 20s ease-in-out infinite;
}

.about-shapes .shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    bottom: 20%;
    right: 10%;
    animation: float-rotate 15s ease-in-out infinite reverse;
}

.about-shapes .shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--tech-gradient-3), var(--secondary-color));
    top: 50%;
    left: 50%;
    animation: float-rotate 25s ease-in-out infinite;
}

@keyframes float-rotate {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* Floating Dots */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--tech-gradient-3);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 180, 219, 0.5);
}

.floating-dot.dot-1 {
    top: 20%;
    left: 15%;
    animation: float-up-down 4s ease-in-out infinite;
}

.floating-dot.dot-2 {
    top: 60%;
    right: 20%;
    animation: float-up-down 5s ease-in-out infinite 1s;
}

.floating-dot.dot-3 {
    bottom: 30%;
    left: 70%;
    animation: float-up-down 6s ease-in-out infinite 2s;
}

@keyframes float-up-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

/* About Image Wrapper */
.about-image-wrapper {
    position: relative;
    z-index: 1;
}

/* About Image */
.about-image {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.about-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.about-image .main-img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.6s ease;
}

.about-image:hover .main-img {
    transform: scale(1.05);
}

/* Image Frame */
.image-frame {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 3px solid var(--tech-gradient-3);
    border-radius: 30px;
    opacity: 0;
    transition: all 0.4s ease;
}

.about-image:hover .image-frame {
    opacity: 0.4;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
}

/* Image Gradient Overlay */
.image-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, 
        rgba(0, 180, 219, 0.3) 0%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-image:hover .image-gradient {
    opacity: 1;
}

/* Experience Box */
.experience-box {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: linear-gradient(135deg, var(--tech-gradient-3), var(--primary-color));
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 180, 219, 0.4);
    z-index: 2;
    transition: all 0.4s ease;
}

.experience-box:hover {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 20px 60px rgba(0, 180, 219, 0.6);
}

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

.years-number {
    font-size: 60px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.years-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.experience-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: pulse-circle 3s ease-in-out infinite;
    z-index: 0;
}

@keyframes pulse-circle {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.1; }
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-color);
    border: 2px solid var(--tech-gradient-3);
    animation: float-badge 4s ease-in-out infinite;
    z-index: 2;
}

.floating-badge i {
    color: var(--tech-gradient-3);
    font-size: 18px;
}

.floating-badge.badge-1 {
    top: 50px;
    left: -20px;
    animation-delay: 0s;
}

.floating-badge.badge-2 {
    bottom: 120px;
    left: -40px;
    animation-delay: 2s;
}

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

/* About Content */
.about-content {
    position: relative;
    z-index: 1;
}

/* Section Title */
.sec-title {
    margin-bottom: 30px;
}

.sub-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--tech-gradient-3);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
}

.sub-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--tech-gradient-3), var(--primary-color));
    border-radius: 8px;
    color: #ffffff;
    font-size: 12px;
    box-shadow: 0 5px 15px rgba(0, 180, 219, 0.3);
}

.sub-line {
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, var(--tech-gradient-3), transparent);
    margin-left: 10px;
}

.main-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1.3;
    margin-bottom: 25px;
}

/* About Text */
.about-text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 35px;
    position: relative;
    padding-left: 20px;
}

.about-text p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, 
        var(--tech-gradient-3), 
        var(--primary-color));
    border-radius: 2px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* Feature Item */
.feature-item {
    position: relative;
    overflow: hidden;
}

.feature-inner {
    display: flex;
    gap: 18px;
    padding: 25px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-inner::before {
    content: attr(data-number);
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 40px;
    font-weight: 900;
    color: rgba(0, 180, 219, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-inner {
    transform: translateX(5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.feature-item:hover .feature-inner::before {
    color: rgba(0, 180, 219, 0.15);
    transform: scale(1.2);
}

/* Icon Wrapper */
.icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, 
        rgba(0, 180, 219, 0.1), 
        rgba(47, 85, 212, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    border: 2px solid rgba(0, 180, 219, 0.2);
    transition: all 0.3s ease;
}

.icon i {
    font-size: 26px;
    color: var(--tech-gradient-3);
    transition: all 0.3s ease;
}

.feature-item:hover .icon {
    background: linear-gradient(135deg, var(--tech-gradient-3), var(--primary-color));
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 25px rgba(0, 180, 219, 0.4);
    border-color: var(--tech-gradient-3);
}

.feature-item:hover .icon i {
    color: #ffffff;
}

.icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, 
        rgba(0, 180, 219, 0.2) 0%, 
        transparent 70%);
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    transition: all 0.3s ease;
}

.feature-item:hover .icon-bg {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.5);
}

/* Feature Content */
.feature-item .content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover .content h4 {
    color: var(--tech-gradient-3);
}

.feature-item .content p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* Number Badge */
.feature-item::after {
    content: attr(data-number);
    position: absolute;
    top: -10px;
    right: -10px;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--tech-gradient-3), var(--primary-color));
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 180, 219, 0.4);
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.feature-item:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* About CTA Button */
.about-cta {
    margin-top: 40px;
}

.theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--tech-gradient-3), var(--primary-color));
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 180, 219, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.theme-btn::before {
    content: '';
    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;
}

.theme-btn:hover::before {
    width: 400px;
    height: 400px;
}

.theme-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(0, 180, 219, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}

.theme-btn i {
    transition: transform 0.3s ease;
}

.theme-btn:hover i {
    transform: translateX(5px);
}

.btn-glow {
    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;
}

.theme-btn:hover .btn-glow {
    left: 100%;
}

/* Responsive */
@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-image-wrapper {
        margin-bottom: 50px;
    }
    
    .floating-badge {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 32px;
    }
    
    .experience-box {
        bottom: 20px;
        right: 20px;
        padding: 20px;
    }
    
    .years-number {
        font-size: 45px;
    }
    
    .about-shapes .shape {
        display: none;
    }
}

