/* About Us Page Specific Styles */

/* Page Banner */
.about-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('Images/mmmkjg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    height: 350px;
    margin-top: 70px;
}

.about-banner::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(transparent, var(--light-color));
    z-index: 1;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 1;
}

/* Mission & Vision Section */
.mission-vision-section {
    padding: 80px 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.mission-vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at top right, rgba(var(--accent-color-rgb), 0.1), transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.mission-vision-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at bottom left, rgba(var(--primary-color-rgb), 0.05), transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.mission-block,
.vision-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
    align-items: center;
}

.vision-block {
    margin-bottom: 0;
}

.mission-content,
.vision-content {
    padding: 20px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.center-title {
    text-align: center;
    display: block;
}

.center-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.mission-text p,
.vision-text p {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.mission-image,
.vision-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    height: 400px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 1s ease;
}

.mission-image.animated,
.vision-image.animated {
    transform: translateY(0);
    opacity: 1;
}

.mission-image img,
.vision-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.mission-image:hover img,
.vision-image:hover img {
    transform: scale(1.05);
}

.mission-image::before,
.vision-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(var(--primary-color-rgb), 0.3), transparent);
    z-index: 1;
}

.floating-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 70px;
    height: 70px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease;
}

.value-card.animated {
    transform: translateY(0);
    opacity: 1;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(26, 93, 26, 0.25);
    transition: all 0.5s ease;
}

.value-card:hover .value-icon {
    transform: rotateY(180deg);
    background: var(--accent-color);
    color: var(--dark-color);
}

.value-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.value-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* History Timeline Section */
.history-section {
    padding: 100px 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a5d1a' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb), 0.2);
    z-index: 1;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateX(-30px);
    opacity: 0;
    transition: all 0.5s ease;
}

.timeline-content.animated {
    transform: translateX(0);
    opacity: 1;
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 55%;
    transform: translateX(30px);
}

.timeline-item:nth-child(even) .timeline-content {
    left: 0;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.timeline-content h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease;
}

.team-member-card.animated {
    transform: translateY(0);
    opacity: 1;
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.member-photo {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

.member-photo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    animation: patternMove 60s linear infinite;
}

.member-photo-placeholder {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 
                inset 0 0 15px rgba(255, 255, 255, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

@keyframes patternMove {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.member-info {
    padding: 25px;
}

.member-info h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.member-info h4 {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 500;
    font-style: italic;
}

.member-info p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.member-social {
    display: flex;
    gap: 10px;
}

.member-social .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.member-social .social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.partners-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

.partners-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.partner-logo {
    background: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s ease;
}

.partner-logo.animated {
    transform: scale(1);
    opacity: 1;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.logo-placeholder {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
    overflow: hidden;
    background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--dark-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .mission-block,
    .vision-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .vision-block .vision-image {
        grid-row: 1;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        left: 80px !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .about-banner {
        height: 250px;
    }
    
    .mission-vision-section,
    .values-section,
    .history-section,
    .team-section,
    .partners-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mission-image,
    .vision-image {
        height: 300px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .about-banner {
        height: 200px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .mission-text p,
    .vision-text p {
        font-size: 1rem;
    }
    
    .mission-image,
    .vision-image {
        height: 250px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}
