/* ============================================
   ABOUT SECTION STYLES - MODERN REDESIGN
   ============================================ */

.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, 
        var(--bg-primary) 0%, 
        var(--primary-lighter) 50%, 
        var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

/* Background decoration */
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(107, 142, 35, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(154, 205, 50, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text {
    animation: slideInLeft 1s ease-out;
}

.about-text .section-title {
    text-align: left;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-weight: 800;
    position: relative;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.about-text .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
    animation: expandWidth 1.5s ease-out 0.8s both;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.about-description:last-of-type {
    animation-delay: 0.6s;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg-primary);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    border: 1px solid rgba(107, 142, 35, 0.1);
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(107, 142, 35, 0.2);
    border-color: var(--primary-color);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 800;
    transition: all 0.3s ease;
}

.stat-item:hover h3 {
    transform: scale(1.1);
    color: var(--primary-dark);
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Stat item variations */
.stat-item:nth-child(1) {
    border-left: 4px solid var(--primary-color);
}

.stat-item:nth-child(2) {
    border-left: 4px solid var(--primary-light);
}

.stat-item:nth-child(3) {
    border-left: 4px solid var(--accent-color);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
    position: relative;
}

.about-icon {
    font-size: 12rem;
    color: var(--primary-color);
    opacity: 0.8;
    animation: float 8s ease-in-out infinite;
    filter: drop-shadow(0 15px 30px var(--shadow-primary));
    transition: all 0.5s ease;
    position: relative;
}

.about-icon:hover {
    transform: scale(1.1) rotate(10deg);
    color: var(--primary-dark);
    filter: drop-shadow(0 20px 40px var(--shadow-medium));
}

/* Floating elements around the icon */
.about-image::before,
.about-image::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.2;
    animation: floatAround 10s ease-in-out infinite;
}

.about-image::before {
    top: 30%;
    left: 20%;
    animation-delay: 0s;
}

.about-image::after {
    bottom: 30%;
    right: 20%;
    animation-delay: 5s;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(2deg);
    }
    66% {
        transform: translateY(-10px) rotate(-2deg);
    }
}

@keyframes floatAround {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.3);
    }
    50% {
        transform: translate(0, -60px) scale(1);
    }
    75% {
        transform: translate(-30px, -30px) scale(0.7);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-section {
        padding: 80px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-text .section-title {
        text-align: center;
    }
    
    .about-text .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 2rem 1.5rem;
        min-height: 120px;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .about-icon {
        font-size: 8rem;
    }
    
    .about-image::before,
    .about-image::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 2rem 1.5rem;
        border-radius: 15px;
        min-height: 100px;
    }
    
    .stat-item h3 {
        font-size: 1.8rem;
    }
    
    .about-icon {
        font-size: 6rem;
    }
}

/* Dark mode adjustments */
body.dark-mode .about-section {
    background: linear-gradient(135deg, 
        var(--bg-primary) 0%, 
        var(--bg-secondary) 50%, 
        var(--bg-primary) 100%);
}

body.dark-mode .stat-item {
    background: var(--bg-secondary);
    border-color: var(--border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.dark-mode .stat-item:hover {
    box-shadow: 0 20px 40px rgba(107, 142, 35, 0.3);
    border-color: var(--primary-color);
} 