/* About Page Specific Styles */

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

.about-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -300px;
    right: -300px;
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    font-size: 13px;
    margin-bottom: 15px;
    display: block;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.about-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.lead {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-stats-mini {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-mini {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-mini i {
    font-size: 24px;
    color: var(--secondary);
}

.stat-mini span {
    font-size: 13px;
}

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

.image-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    display: inline-block;
}

/* Our Story Section */
.our-story {
    padding: 80px 20px;
    background: #f8f9fa;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.story-image {
    position: relative;
}

.story-card {
    background: white;
    border-radius: 15px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
}

.story-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--secondary);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 5px 20px rgba(255,107,53,0.4);
}

.section-label {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.story-text h2 {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.story-text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 15px;
}

.story-highlights {
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.highlight-item i {
    color: var(--success);
    font-size: 18px;
    margin-top: 2px;
}

.highlight-item span {
    font-size: 14px;
    line-height: 1.6;
}

/* Mission Vision Values */
.mvv-section {
    padding: 80px 20px;
    background: white;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.mvv-card {
    background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,102,204,0.15);
    border-color: var(--primary);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary), #0052a3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.mvv-card h3 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 15px;
}

.mvv-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-light);
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 20px;
    background: #f8f9fa;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.why-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: 700;
    color: rgba(0,102,204,0.05);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), #e55a2b);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
}

.why-card h4 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 12px;
}

.why-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-light);
}

/* Journey Timeline */
.journey-timeline {
    padding: 80px 20px;
    background: white;
}

.timeline-wrapper {
    max-width: 1200px;
    margin: 50px auto 0;
    position: relative;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.timeline-item-horizontal {
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.timeline-year {
    min-width: 100px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), #0052a3);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,102,204,0.3);
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 4px solid var(--secondary);
}

.timeline-content h4 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.team-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), #0052a3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
}

.team-card h4 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 5px;
}

.team-role {
    font-size: 12px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-bio {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.team-social a {
    width: 32px;
    height: 32px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s;
}

.team-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Achievements Counter */
.achievements-counter {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary), #0052a3);
    color: white;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.counter-item {
    text-align: center;
}

.counter-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.counter-number {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.counter-label {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 20px;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #ffa500;
    font-size: 16px;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-icon {
    font-size: 48px;
    color: var(--primary);
}

.testimonial-author h5 {
    font-size: 15px;
    color: var(--dark);
    margin-bottom: 3px;
}

.testimonial-author span {
    font-size: 12px;
    color: var(--text-light);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .about-hero {
        padding: 60px 15px 40px;
    }

    .about-hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-hero h1 {
        font-size: 28px;
    }

    .lead {
        font-size: 15px;
    }

    .hero-stats-mini {
        flex-direction: column;
        gap: 15px;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .story-text h2 {
        font-size: 24px;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .timeline-wrapper::before {
        display: none;
    }

    .timeline-item-horizontal {
        flex-direction: column;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .counter-number {
        font-size: 36px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* TEAM SECTION - FIXED IMAGE DISPLAY */
.team-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4fd 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.team-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #f0f8ff;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 124, 186, 0.15);
}

/* FIXED: Team Image Container */
.team-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #007cba;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* FIXED: Team Image - Perfect Fit */
.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This ensures image fills circle perfectly */
    object-position: center; /* Centers the face */
    display: block;
}

/* Fallback Icon */
.team-image i {
    font-size: 70px;
    color: white;
    opacity: 0.8;
}

/* Team Details */
.team-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 8px;
}

.team-role {
    font-size: 15px;
    color: #007cba;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.team-bio {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Social Links */
.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007cba, #0056b3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.team-social a:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(0, 124, 186, 0.4);
}

/* MOBILE */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .team-image {
        width: 120px;
        height: 120px;
    }
}
