/* ==========================================
   ABOUT PAGE SPECIFIC STYLES
   ========================================== */

/* Additional About Page Styles */
.about-hero {
    position: relative;
    background: var(--light-bg);
    padding: 8rem 5% 6rem;
    text-align: center;
    overflow: hidden;
}

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

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
}

.about-hero h1 .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

/* Team Section */
.team-section {
    padding: 6rem 5%;
    background: var(--bg-color);
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: center;
}

.team-photo {
    position: relative;
}

.photo-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, rgba(255,107,157,0.2) 0%, rgba(139,92,246,0.2) 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border: 3px solid rgba(255,107,157,0.3);
    box-shadow: var(--shadow-xl), var(--glow-pink);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.photo-placeholder:hover {
    transform: scale(1.02) translateY(-10px);
    box-shadow: var(--shadow-xl), var(--glow-purple);
}

.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.photo-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-lg), var(--glow-pink);
    backdrop-filter: blur(10px);
}

.team-content h2 {
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
    font-weight: 700;
}

.team-content .subtitle {
    font-size: 1.3rem;
    color: var(--primary-pink);
    margin-bottom: 2rem;
    font-weight: 500;
}

.team-bio {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.team-bio strong {
    color: var(--dark-text);
    font-weight: 600;
}

/* Journey Timeline */
.journey-section {
    padding: 6rem 5%;
    background: var(--light-bg);
}

.journey-section h2 {
    font-size: 2.5rem;
    color: var(--dark-text);
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 700;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 1;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-dot-container {
    grid-column: 2;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 2;
}

.timeline-item:nth-child(odd) .timeline-dot-container {
    grid-column: 1;
    text-align: right;
}

.timeline-dot-container {
    position: relative;
    display: flex;
    align-items: center;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: var(--glow-pink), 0 0 0 8px rgba(255,107,157,0.2);
    position: relative;
    z-index: 2;
}

.timeline-item:nth-child(even) .timeline-dot {
    margin-left: auto;
}

.timeline-content {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255,107,157,0.2);
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), var(--glow-pink);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.8rem;
}

.timeline-description {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Skills Section */
.skills-section {
    padding: 6rem 5%;
    background: var(--bg-color);
}

.skills-section h2 {
    font-size: 2.5rem;
    color: var(--dark-text);
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 700;
}

.skills-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.skill-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255,107,157,0.1);
    transition: var(--transition-smooth);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl), var(--glow-pink);
    border-color: var(--primary-pink);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.skill-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.skill-bar-container {
    background: rgba(0,0,0,0.05);
    height: 10px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.skill-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    box-shadow: var(--glow-pink);
    transition: width 1s ease;
}

.skill-percentage {
    color: var(--primary-pink);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Values Section */
.values-section {
    padding: 6rem 5%;
    background: var(--light-bg);
}

.values-section h2 {
    font-size: 2.5rem;
    color: var(--dark-text);
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 700;
}

.values-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.value-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid rgba(255,107,157,0.2);
    transition: var(--transition-smooth);
}

.value-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--glow-pink);
}

.value-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
    box-shadow: var(--glow-pink);
}

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

.value-description {
    color: var(--text-muted);
    line-height: 1.7;
}

/* CTA Section */
.about-cta {
    padding: 6rem 5%;
    background: linear-gradient(135deg, var(--deep-purple) 0%, var(--dark-navy) 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-mesh);
    opacity: 0.1;
}

.about-cta h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.about-cta p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,0.9);
}

/* Responsive - Enhanced Mobile Optimization */
@media (max-width: 1024px) {
    .team-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 0;
        padding-left: 60px;
    }

    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        grid-column: 1;
        text-align: left;
    }

    .timeline-dot-container {
        position: absolute;
        left: 0;
        text-align: left !important;
    }

    .timeline-item:nth-child(even) .timeline-dot {
        margin-left: 0;
    }

    /* Skills Grid */
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }

    /* Values Grid */
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* About Hero */
    .about-hero {
        padding: 5rem 5% 4rem;
    }

    .about-hero h1 {
        font-size: 2.5rem;
        line-height: 1.3;
    }

    .about-hero p {
        font-size: 1.15rem;
        margin-bottom: 1.5rem;
    }

    /* Team Section */
    .team-section {
        padding: 4rem 5%;
    }

    .team-content h2 {
        font-size: 2rem;
    }

    .team-content .subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .team-bio {
        font-size: 1.05rem;
        margin-bottom: 1.3rem;
    }

    .photo-badge {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
        bottom: 15px;
        left: 15px;
    }

    /* Journey Section */
    .journey-section {
        padding: 4rem 5%;
    }

    .journey-section h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .timeline-item {
        margin-bottom: 3rem;
        padding-left: 50px;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-year {
        font-size: 1.3rem;
    }

    .timeline-title {
        font-size: 1.2rem;
    }

    .timeline-description {
        font-size: 0.95rem;
    }

    /* Skills Section */
    .skills-section {
        padding: 4rem 5%;
    }

    .skills-section h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .skill-card {
        padding: 2rem;
    }

    .skill-icon {
        font-size: 2.5rem;
    }

    .skill-name {
        font-size: 1.2rem;
    }

    /* Values Section */
    .values-section {
        padding: 4rem 5%;
    }

    .values-section h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .value-card {
        padding: 2.5rem;
    }

    .value-icon {
        width: 85px;
        height: 85px;
        font-size: 2.5rem;
    }

    .value-title {
        font-size: 1.3rem;
    }

    /* About CTA */
    .about-cta {
        padding: 4rem 5%;
    }

    .about-cta h2 {
        font-size: 2rem;
    }

    .about-cta p {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    /* About Hero */
    .about-hero {
        padding: 4rem 5% 3rem;
    }

    .about-hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .about-hero p {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Team Section */
    .team-section {
        padding: 3rem 5%;
    }

    .team-container {
        gap: 2rem;
    }

    .team-content h2 {
        font-size: 1.8rem;
    }

    .team-content .subtitle {
        font-size: 1.1rem;
    }

    .team-bio {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .photo-badge {
        font-size: 0.85rem;
        padding: 0.7rem 1.3rem;
        bottom: 12px;
        left: 12px;
    }

    /* Journey Section */
    .journey-section {
        padding: 3rem 5%;
    }

    .journey-section h2 {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        margin-bottom: 2.5rem;
        padding-left: 45px;
    }

    .timeline-content {
        padding: 1.3rem;
        border-radius: 15px;
    }

    .timeline-year {
        font-size: 1.2rem;
    }

    .timeline-title {
        font-size: 1.1rem;
        margin-bottom: 0.7rem;
    }

    .timeline-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .timeline-dot {
        width: 16px;
        height: 16px;
    }

    /* Skills Section */
    .skills-section {
        padding: 3rem 5%;
    }

    .skills-section h2 {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }

    .skills-grid {
        gap: 1.5rem;
    }

    .skill-card {
        padding: 1.8rem;
    }

    .skill-icon {
        font-size: 2.3rem;
        margin-bottom: 1.2rem;
    }

    .skill-name {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .skill-bar-container {
        height: 8px;
    }

    .skill-percentage {
        font-size: 0.85rem;
    }

    /* Values Section */
    .values-section {
        padding: 3rem 5%;
    }

    .values-section h2 {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }

    .values-grid {
        gap: 1.5rem;
    }

    .value-card {
        padding: 2rem;
    }

    .value-icon {
        width: 75px;
        height: 75px;
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }

    .value-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .value-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* About CTA */
    .about-cta {
        padding: 3rem 5%;
    }

    .about-cta h2 {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }

    .about-cta p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .about-cta .cta-button {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 360px) {
    /* Ultra compact mode for very small screens */
    .about-hero h1 {
        font-size: 1.7rem;
    }

    .about-hero p {
        font-size: 0.95rem;
    }

    .team-content h2 {
        font-size: 1.6rem;
    }

    .journey-section h2,
    .skills-section h2,
    .values-section h2 {
        font-size: 1.6rem;
    }

    .about-cta h2 {
        font-size: 1.6rem;
    }

    .timeline-item {
        padding-left: 40px;
    }
}

/* ==========================================
   MOBILE PERFORMANCE OPTIMIZATIONS - ABOUT PAGE
   Disable heavy animations for smooth mobile experience
   ========================================== */
@media (max-width: 768px) {
    /* Disable Heavy Background Animations */
    .about-hero::before {
        animation: none !important;
        opacity: 0.05;
    }

    .about-cta::before {
        opacity: 0.05 !important;
    }

    /* Simplify All Card Hovers */
    .skill-card:hover,
    .value-card:hover,
    .timeline-content:hover {
        transform: none !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }

    /* Remove Glassmorphism */
    .timeline-content,
    .skill-card,
    .value-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Simplify Box Shadows */
    .photo-placeholder,
    .photo-badge,
    .timeline-content,
    .skill-card,
    .value-card,
    .value-icon {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }

    /* Disable Photo Hover */
    .photo-placeholder:hover {
        transform: none !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }

    /* Disable Skill Bar Animation */
    .skill-bar {
        transition: none !important;
    }

    /* Disable Value Card Hover Scale */
    .value-card:hover {
        transform: none !important;
    }

    /* Faster Transitions */
    .team-container *,
    .timeline *,
    .skills-grid *,
    .values-grid * {
        transition-duration: 0.2s !important;
    }

    /* Disable Reveal Animations */
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
