/* About_Page Specific Styles */

/* Page Header Enhancement */
.page-header {
    background: linear-gradient(135deg, var(--bg-cream) 0%, #eef6f6 100%);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(15, 138, 138, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(47, 163, 165, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.page-header h1 {
    position: relative;
    z-index: 2;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.page-header p {
    position: relative;
    z-index: 2;
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: 40px 0;
    background: var(--white);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
}

.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 30px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary-color);
}

.about-text h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* About Features */
.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 3rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.about-feature:hover {
    background: linear-gradient(135deg, rgba(15, 138, 138, 0.05), rgba(47, 163, 165, 0.05));
    transform: translateX(5px);
}

.about-feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.about-feature span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.05rem;
}

/* Stats Section */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(229, 239, 239, 0.5) 100%);
    border-radius: 20px;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(47, 58, 58, 0.1);
}

.stat-item:last-child::after {
    display: none;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(15, 138, 138, 0.25);
    transition: all 0.1s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Values & Vision Section */
.values-vision {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafa 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.values-vision::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(15, 138, 138, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

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

.value-card:hover::before {
    transform: translateX(0);
}

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

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(15, 138, 138, 0.1), rgba(47, 163, 165, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
}

.value-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-header .highlight {
    color: var(--primary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}



/* Team Member Card */
.team-member {
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(229, 239, 239, 0.3) 100%);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.1s ease;;
    border: 1px solid rgba(15, 138, 138, 0.1);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: var(--white);
}

/* Avatar Icon */
.member-avatar {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.1s ease;;
}

.member-avatar img {
    width: 80px;        /* size of avatar */
    height: 80px;
    border-radius: 50%;  /* makes it a circle */
    object-fit: cover;   /* crops image nicely */
}

.team-member:hover .member-avatar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    transform: scale(1.1);
}

/* Text Info */
.member-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.member-role {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.team-member p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Social Links */
.member-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.member-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: all 0.1s ease;
}

.member-social a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Responsive */
@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }

    .team-grid .team-member:nth-child(4),
    .team-grid .team-member:nth-child(5) {
        grid-column: auto;
        justify-self: center;
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}


/* CTA Section Override for About Page */
.about-section + .cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

.about-section + .cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
   
}

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

/* Counter Animation */
.counter-number {
    transition: all 0.3s ease;
}
.counter-percent::after {
  content: "%";
}


/* Responsive Design */
@media (max-width: 1024px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .stat-item::after {
        display: none;
    }
    
    .stat-item:nth-child(2)::after {
        display: block;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 30px;
    }
    
    .about-section,
    .values-vision,
    .team-section {
        padding: 20px 0;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-item::after {
        display: none;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .about-text .lead {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .value-card {
        padding: 2rem 1.5rem;
    }
    
    .expertise-card {
        padding: 2rem 1.5rem;
    }
}

/* Animation for counter numbers */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.counter-number {
    animation: countUp 0.6s ease-out;
}