/* ======= About Page Enhanced Styles ======= */

/* About Hero Section */
.about-hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="30" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="30" cy="70" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s linear infinite;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 600px;
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    animation: float 6s ease-in-out infinite;
}

/* Mission & Vision Section */
.mission-vision-section {
    background: #f8f9fa;
}

.mission-card,
.vision-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.mission-card::before,
.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.mission-card::before {
    background: linear-gradient(90deg, #69db34, #2980b9);
    color: white;
}

.vision-card::before {
    background: linear-gradient(90deg, #27ae60, #229954);
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.mission-card .card-icon {
    background: linear-gradient(135deg, #ffe134, #ffb84d);
    color: white;
    
}

.vision-card .card-icon {
    background: linear-gradient(135deg, #ffe134, #ffb84d);
    color: white;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.card-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Values Section */
.values-section {
    background: linear-gradient(135deg, #fdfbfb, #ebedee);
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.value-card {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 22px;
    padding: 2.5rem 1.8rem;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    height: 100%;
}

.value-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 174, 0, 0.08) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
    z-index: 0;
}

.value-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

.value-card:hover::before {
    transform: scale(1);
}

.value-icon {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.6rem;
    color: white;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

/* Vibrant, attractive icon backgrounds */
.value-card:nth-child(1) .value-icon {
    background: linear-gradient(135deg, #ecffa7, #bbff63); /* Rose Red to Orange */
}
.value-card:nth-child(2) .value-icon {
    background: linear-gradient(135deg, #1fa2ff, #12d8fa); /* Blue Sky */
}
.value-card:nth-child(3) .value-icon {
    background: linear-gradient(135deg, #f7971e, #ffd200); /* Orange to Yellow */
}
.value-card:nth-child(4) .value-icon {
    background: linear-gradient(135deg, #43e97b, #38f9d7); /* Aqua Green */
}
.value-card:nth-child(5) .value-icon {
    background: linear-gradient(135deg, #667eea, #764ba2); /* Indigo */
}
.value-card:nth-child(6) .value-icon {
    background: linear-gradient(135deg, #ee0979, #ff6a00); /* Deep Pink to Orange */
}

.value-card:hover .value-icon {
    transform: scale(1.15) rotate(4deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.value-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #212529;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.value-description {
    color: #5a5a5a;
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Optional decorative line under title */
.values-section h2.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    margin: 14px auto 0;
    background: linear-gradient(to right, #ff416c, #ff4b2b);
    border-radius: 2px;
}


/* Work Section */
.work-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

 .work-area-card {
        text-align: center;
        padding: 30px 20px;
        background-color: #fff;
        border-radius: 12px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        
    }
.work-area-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(253, 133, 53, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.5s ease;
}

.work-area-card:hover {
    transform: translateY(-8px) rotateY(5deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.work-area-card:hover::before {
    transform: scale(1);
}

.work-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 8px 25px rgba(253, 133, 53, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.work-area-card:hover .icon-sadhana { color: #311000; }        /* साधना - ब्राउन */
.work-area-card:hover .icon-shiksha { color: #007bff; }        /* शिक्षा - नीला */
.work-area-card:hover .icon-paryavaran { color: #28a745; }     /* पर्यावरण - हरा */
.work-area-card:hover .icon-swasthya { color: #dc3545; }       /* स्वास्थ्य - लाल */
.work-area-card:hover .icon-swavalamban { color: #6f42c1; }    /* स्वावलंबन - पर्पल */
.work-area-card:hover .icon-nari { color: #e83e8c; }           /* नारी - गुलाबी */
.work-area-card:hover .icon-deaddiction { color: #ff0000; }    /* व्यसन - नारंगी */

.work-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.work-description {
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Team Section */
.team-section {
    background: white;
}

.team-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.team-image {
    margin-bottom: 2rem;
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 3rem;
    color: white;
    box-shadow: 0 8px 25px rgba(253, 133, 53, 0.3);
    transition: all 0.3s ease;
}

.team-card:hover .avatar-placeholder {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(253, 133, 53, 0.4);
}

.team-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.team-position {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-description {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Join Us Section */
.join-us-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.join-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20,20 Q40,10 60,20 T100,20" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/><path d="M0,50 Q20,40 40,50 T80,50" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/></svg>');
    animation: float 15s linear infinite;
}

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

.join-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.join-description {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.join-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-join-primary {
    background: white;
    color: #667eea;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-join-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    color: #667eea;
}

.btn-join-secondary {
    background: transparent;
    color: white;
    padding: 1.2rem 3rem;
    border: 2px solid white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-join-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Enhanced hover effects */
.value-card:hover,
.work-area-card:hover,
.team-card:hover {
    animation: gentle-bounce 0.6s ease-in-out;
}

@keyframes gentle-bounce {
    0%, 100% { transform: translateY(-8px); }
    50% { transform: translateY(-12px); }
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .about-hero-section {
        padding: 4rem 0 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .mission-card,
    .vision-card {
        margin-bottom: 2rem;
    }
    
    .value-card,
    .work-area-card,
    .team-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .about-hero-section {
        padding: 3rem 0 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .mission-card,
    .vision-card {
        padding: 2rem 1.5rem;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .value-card,
    .work-area-card,
    .team-card {
        padding: 1.5rem;
    }
    
    .value-icon,
    .work-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .avatar-placeholder {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .join-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-join-primary,
    .btn-join-secondary {
        padding: 1rem 2.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .about-hero-section {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .mission-card,
    .vision-card,
    .value-card,
    .work-area-card,
    .team-card {
        padding: 1.5rem 1rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .join-title {
        font-size: 1.8rem;
    }
    
    .join-description {
        font-size: 1rem;
    }
}
