/* ============================================
   ABOUT PAGE STYLES - CLEAN & PROFESSIONAL
   ============================================ */

/* Hero Section - Floating Elements Animation */
.about-hero {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Floating Elements */
.about-hero::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float1 6s ease-in-out infinite;
}

.about-hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 15%;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20%;
    animation: float2 8s ease-in-out infinite;
}

/* Additional floating elements using pseudo-elements on container */
.about-hero .container::before {
    content: '';
    position: absolute;
    top: 60%;
    left: 5%;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    animation: float3 7s ease-in-out infinite;
}

.about-hero .container::after {
    content: '';
    position: absolute;
    top: 30%;
    right: 8%;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 30%;
    animation: float4 9s ease-in-out infinite;
}

/* Floating Animations */
@keyframes float1 {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.2;
    }
}

@keyframes float2 {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.08;
    }
    33% { 
        transform: translateY(-15px) translateX(10px) rotate(120deg);
        opacity: 0.15;
    }
    66% { 
        transform: translateY(10px) translateX(-5px) rotate(240deg);
        opacity: 0.12;
    }
}

@keyframes float3 {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.12;
    }
    50% { 
        transform: translateY(-25px) scale(1.2);
        opacity: 0.2;
    }
}

@keyframes float4 {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.06;
    }
    25% { 
        transform: translateY(-10px) rotate(90deg);
        opacity: 0.12;
    }
    75% { 
        transform: translateY(15px) rotate(270deg);
        opacity: 0.1;
    }
}


.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
}

.about-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
    margin-bottom: 2rem;
}

.about-hero .hero-image {
    text-align: center;
}

.about-hero .hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Hero Stats with Beautiful Animations */
.hero-stat {
    text-align: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.hero-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.hero-stat:hover::before {
    left: 100%;
}

.hero-stat:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.hero-stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.hero-stat:hover h3 {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.hero-stat p {
    font-size: 0.9rem;
    margin: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.hero-stat:hover p {
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Mission Section - Enhanced Typography */
.mission-title {
    color: var(--primary-red);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mission-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), #ff6b6b);
    border-radius: 2px;
}

.mission-lead {
    font-size: 1.3rem;
    color: #2c3e50;
    line-height: 1.7;
    font-weight: 500;
}

.mission-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.mission-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    background: white;
    border: 2px solid rgba(220, 53, 69, 0.1);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 53, 69, 0.05), transparent);
    transition: left 0.6s ease;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    background: rgba(220, 53, 69, 0.02);
    border-color: rgba(220, 53, 69, 0.3);
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.2);
}

.feature-item i {
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.1);
}

.feature-item span {
    color: #2c3e50;
    font-size: 1rem;
}

.mission-image img {
    border-radius: 1rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Section Title with Glow Effect */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), #ff6b6b);
    transform: translateX(-50%);
    border-radius: 2px;
    animation: lineGlow 2s ease-in-out infinite alternate;
}

@keyframes lineGlow {
    0% { 
        box-shadow: 0 0 5px var(--primary-red);
        width: 60px;
    }
    100% { 
        box-shadow: 0 0 15px var(--primary-red), 0 0 25px rgba(220, 53, 69, 0.3);
        width: 80px;
    }
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Journey Timeline Structure */
.journey-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-red), #ff6b6b, var(--primary-red));
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.3);
}

/* Timeline Items */
.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Timeline Markers */
.timeline-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.marker-dot {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-red), #ff6b6b);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.2), 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover .marker-dot {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(220, 53, 69, 0.3), 0 6px 20px rgba(0,0,0,0.3);
}

/* Timeline Content Positioning - Closer to center */
.timeline-right .timeline-content {
    margin-left: 55%;
    padding-left: 1.5rem;
}

.timeline-left .timeline-content {
    margin-right: 55%;
    padding-right: 1.5rem;
}

/* Journey Cards - Wider and Less Tall */
.journey-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 100px;
    max-width: 500px;
}

.journey-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-red), #ff6b6b, var(--primary-red));
    border-radius: 1rem;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.journey-card:hover::before {
    opacity: 1;
}

.journey-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.15);
}

/* Journey Icon */
.journey-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.journey-card:hover .journey-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Journey Text */
.journey-text {
    flex: 1;
}

.journey-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.journey-text p {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Red Leaf Decorations */
.leaf-decoration {
    position: absolute;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #ff4757, #ff6b6b);
    border-radius: 50% 0;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.leaf-top-right {
    top: -5px;
    right: -5px;
    transform: rotate(45deg);
}

.leaf-top-left {
    top: -5px;
    left: -5px;
    transform: rotate(-45deg);
}

.leaf-bottom-right {
    bottom: -5px;
    right: -5px;
    transform: rotate(135deg);
}

.leaf-bottom-left {
    bottom: -5px;
    left: -5px;
    transform: rotate(-135deg);
}

.journey-card:hover .leaf-decoration {
    opacity: 1;
    transform: scale(1.2) rotate(45deg);
}

/* Value Cards with Beautiful Animations */
.value-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    height: 100%;
    position: relative;
    overflow: hidden;
    max-width: 250px;
    width: 100%;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-red), #ff6b6b, var(--primary-red));
    border-radius: 1.5rem;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(220, 53, 69, 0.2);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.value-card:hover .value-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 5px 15px rgba(220, 53, 69, 0.3));
}

.value-card h4 {
    color: var(--dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.value-card:hover h4 {
    color: var(--primary-red);
    transform: translateY(-2px);
}

.value-card p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.value-card:hover p {
    color: var(--dark);
    transform: translateY(-2px);
}

/* Team Section with Beautiful Animations */
.team-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    height: 100%;
    position: relative;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-red), #ff6b6b, var(--primary-red));
    border-radius: 1.5rem;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.team-card:hover::before {
    opacity: 1;
}

.team-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(220, 53, 69, 0.2);
}

.team-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.team-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(255, 107, 107, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.team-card:hover .team-image::before {
    opacity: 1;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: all 0.4s ease;
    filter: brightness(1) contrast(1);
}

.team-card:hover .team-image img {
    transform: scale(1.08) rotate(1deg);
    filter: brightness(1.1) contrast(1.1);
}

.team-content {
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 2;
}

.team-content h4 {
    color: var(--dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.team-card:hover .team-content h4 {
    color: var(--primary-red);
    transform: translateY(-2px);
}

.team-content p {
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.team-card:hover .team-content p {
    color: var(--dark);
    transform: translateY(-2px);
}

.team-social {
    display: flex;
    gap: 1rem;
}

.team-social a {
    font-size: 1.3rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.1);
}

.team-social a:hover {
    color: var(--primary-red) !important;
    background: rgba(220, 53, 69, 0.2);
    transform: translateY(-3px) scale(1.1);
}

/* CTA Section */
.bg-danger {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%) !important;
}

.bg-danger h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.bg-danger p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.bg-danger .btn-light {
    background: white;
    border: none;
    color: var(--primary-red);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.bg-danger .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    background: #f8f9fa;
}

.bg-danger .btn-outline-light {
    border: 2px solid white;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.bg-danger .btn-outline-light:hover {
    background: white;
    color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero {
        height: auto;
        padding: 4rem 0;
        text-align: center;
    }

    .about-hero .row {
        justify-content: center;
    }

    .about-hero .d-flex {
        justify-content: center;
        gap: 1rem;
    }

    .hero-stat {
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-hero p {
        font-size: 1.1rem;
    }
    
    .hero-stat h3 {
        font-size: 2rem;
    }
    
    .mission-content h2 {
        font-size: 2rem;
    }

    .mission-content {
        text-align: center;
    }

    .mission-features {
        text-align: left;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .journey-timeline::before {
        left: 30px;
    }
    
    .timeline-marker {
        left: 30px;
    }
    
    .timeline-right .timeline-content,
    .timeline-left .timeline-content {
        margin-left: 0;
        margin-right: 0;
        padding-left: 4rem;
        padding-right: 1rem;
    }
    
    .journey-card {
        max-width: 100%;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .journey-icon {
        font-size: 2rem;
    }
    
    .value-card {
        margin-bottom: 2rem;
        max-width: 300px;
    }
    
    .team-card {
        margin-bottom: 2rem;
    }
    
    .bg-danger h2 {
        font-size: 2rem;
    }
    
    .bg-danger p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .about-hero {
        height: auto;
        padding: 3.5rem 0;
    }
    
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .hero-stat h3 {
        font-size: 1.8rem;
    }

    .hero-stat {
        padding: 1.25rem 1.5rem;
    }
    
    .mission-content h2 {
        font-size: 1.8rem;
    }

    .mission-features .feature-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .journey-timeline::before,
    .timeline-marker {
        left: 20px;
    }

    .timeline-right .timeline-content,
    .timeline-left .timeline-content {
        padding-left: 3.5rem;
    }
    
    .value-icon {
        font-size: 2.5rem;
    }
    
    .bg-danger h2 {
        font-size: 1.8rem;
    }
}
