/* Modern About Us Section Styles */

/* Main About Section */
.modern-about-section {
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #f8f9fa 25%,
        #ffffff 50%,
        #e9ecef 75%,
        #ffffff 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Decorative Elements */
.about-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.about-decoration::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.about-decoration::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Content Container */
.about-content {
    position: relative;
    z-index: 2;
}

/* Header Styles */
.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about-subtitle {
    color: #007bff;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(0, 123, 255, 0.3);
}

.about-title {
    color: #000000;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about-description {
    color: #495057;
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* Company Story Grid */
.company-story {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.story-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.story-card:hover::before {
    transform: scaleX(1);
}

.story-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 123, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
}

.story-year {
    color: #007bff;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: block;
}

.story-title {
    color: #000000;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.story-text {
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Vision & Mission Cards */
.vision-mission-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.vm-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.vm-card:hover::before {
    opacity: 1;
}

.vm-card:hover {
    transform: translateY(-15px);
    border-color: rgba(0, 123, 255, 0.4);
    box-shadow: 0 25px 50px rgba(0, 123, 255, 0.15);
}

.vm-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.vm-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.vm-label {
    color: #007bff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.vm-title {
    color: #000000;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.vm-text {
    color: #495057;
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 400;
    position: relative;
    z-index: 2;
}


/* Values Section */
.company-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.value-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 123, 255, 0.15);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.3s ease;
}

.value-item:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.value-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.1);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    background: rgba(0, 123, 255, 0.2);
    transform: scale(1.1);
}

.value-icon i {
    font-size: 1.5rem;
    color: #007bff;
}

.value-title {
    color: #000000;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.value-description {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-title {
        font-size: 2.5rem;
    }
    
    .about-description {
        font-size: 1.1rem;
    }
    
    .company-story {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vision-mission-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .company-values {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .story-card,
    .vm-card {
        padding: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .modern-about-section {
        padding: 4rem 0;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .story-card,
    .vm-card {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Counter Animation */
.counter {
    transition: all 0.3s ease;
}

.counter.counting {
    color: #007bff;
    text-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
}