/* About Page Specific Styles */

/* Page Transition */
.page-transition {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.page-transition.fade-out {
    opacity: 0;
}

.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: 9999;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.6s ease-in-out;
}

.transition-overlay.active {
    transform: scaleY(1);
    transform-origin: top;
}

/* About Hero Section */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2)), url('../images/image\ copy\ 3.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
}

.about-hero .hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    max-width: 1200px; 
}

.about-hero h1 {
    font-size: 4rem;
    margin-bottom: 15px;
    animation: fadeInDown 1s ease;
}

.about-hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    animation: fadeInUp 1s ease;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: var(--gray-color);
    animation: fadeIn 1.5s ease;
}

.breadcrumbs a {
    color: var(--gray-color);
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs span {
    color: var(--primary-color);
    margin-left: 5px;
}

/* Personal Story Section */
.personal-story {
    padding: 100px 0;
    background: var(--secondary-color);
}

.story-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.story-image {
    flex: 1;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.story-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.story-image:hover img {
    transform: scale(1.03);
}

.experience-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.experience-badge span {
    font-size: 2rem;
    line-height: 1;
}

.experience-badge small {
    font-size: 0.7rem;
    font-weight: normal;
}

.story-text {
    flex: 1;
}

.story-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.signature {
    margin-top: 30px;
}

.signature img {
    max-width: 200px;
    opacity: 0.9;
}

/* Skills Section */
.skills-section {
    padding: 100px 0;
    background: var(--dark-color);
}

.skills-container {
    display: flex;
    gap: 50px;
}

.skills-chart {
    flex: 1;
}

.skills-text {
    flex: 1;
}

.skill-item {
    margin-bottom: 25px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease;
}

.skills-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: white;
}

.skills-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.additional-skills h4 {
    margin: 30px 0 15px;
    color: white;
}

.additional-skills ul {
    list-style: none;
}

.additional-skills li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.additional-skills i {
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 5px;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: var(--secondary-color);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.process-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.process-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    background: rgba(255, 255, 255, 0.1);
}

.process-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    transition: var(--transition);
}

.process-item:hover .process-number {
    color: rgba(255, 77, 77, 0.1);
}

.process-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.process-content p {
    color: var(--gray-color);
    line-height: 1.8;
}

/* Philosophy Section */
.philosophy-section {
    padding: 100px 0;
    background: var(--dark-color);
}

.philosophy-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.philosophy-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.philosophy-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    background: rgba(255, 255, 255, 0.1);
}

.philosophy-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(255, 77, 77, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.philosophy-card h3 {
    margin-bottom: 15px;
    color: white;
}

.philosophy-card p {
    color: var(--gray-color);
    line-height: 1.8;
}

/* Fun Facts Section */
.fun-facts {
    padding: 100px 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.fun-facts .section-header h2,
.fun-facts .section-header p {
    color: white;
}

.fun-facts .section-header h2::after {
    background: white;
}

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

.fact-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

.fact-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.fact-text {
    font-size: 1.1rem;
}

/* About CTA Section */
.about-cta {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: white;
}

.about-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .story-content {
        flex-direction: column;
    }
    
    .skills-container {
        flex-direction: column;
    }
    
    .about-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: 100vh;
        min-height: 300px;
        width: 100%;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-hero .subtitle {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn.secondary {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
}


/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Add these to existing elements */
.story-image {
    animation: fadeInLeft 1s ease forwards;
}

.story-text {
    animation: fadeInRight 1s ease forwards;
}


.fact-item {
    animation: fadeInUp 1s ease forwards;
}