/* About Page Specific Styles */

/* Page Hero */
.page-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
}

.page-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.page-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* Career Section */
.career-section {
    padding: 100px 0;
    background: var(--white);
}

.career-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.career-image {
    position: relative;
    animation: fadeInLeft 0.8s ease-out;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.image-frame:hover img {
    transform: scale(1.05);
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    opacity: 0.2;
    z-index: -1;
}

.career-text {
    animation: fadeInRight 0.8s ease-out;
}

.career-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-top: 20px;
}

/* Additional Info Section */
.additional-info {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.info-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.info-content {
    animation: fadeInLeft 0.8s ease-out;
}

.language-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-top: 20px;
}

.language-card h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.language-card ul {
    list-style: none;
    padding: 0;
}

.language-card ul li {
    padding: 10px 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-card ul li i {
    color: var(--primary-color);
}

.interests-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.interest-item {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.interest-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.interest-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 30px;
}

.interest-item span {
    font-size: 0.95rem;
    color: var(--text-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin: 40px 0;
}

.social-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.university-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.uni-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-color);
}

.uni-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.uni-link img {
    max-width: 120px;
    height: auto;
}

.uni-link span {
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
}

.info-image {
    animation: fadeInRight 0.8s ease-out;
}

.info-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* Technologies Stack Section */
.tech-stack {
    padding: 60px 0;
    background: var(--white);
}

.tech-grid-small {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.tech-item-small {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tech-item-small:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.tech-item-small img {
    max-width: 200px;
    height: auto;
    filter: grayscale(50%);
    transition: var(--transition);
}

.tech-item-small:hover img {
    filter: grayscale(0%);
}

/* Education Section */
.education-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.education-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 15px;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.education-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.education-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
}

.education-card.featured {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.edu-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.education-card:hover .edu-icon {
    background: var(--white);
    transform: scale(1.1);
}

.edu-icon i {
    font-size: 2.5rem;
    color: var(--white);
    transition: var(--transition);
}

.education-card:hover .edu-icon i {
    color: var(--primary-color);
}

.education-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white);
    min-height: 60px;
}

.edu-degree,
.edu-university,
.edu-year {
    color: rgba(255, 255, 255, 0.9);
    margin: 8px 0;
}

.edu-degree {
    font-weight: 600;
    font-size: 1.1rem;
}

.edu-university {
    font-size: 0.95rem;
}

.edu-year {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Certificates Section */
.certificates-section {
    padding: 100px 0;
    background: var(--white);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.certificate-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 40px 30px;
    border-radius: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.8s ease-out;
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.cert-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.certificate-card:hover .cert-icon {
    transform: scale(1.1) rotate(5deg);
}

.cert-icon i {
    font-size: 2rem;
    color: var(--white);
}

.certificate-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
    min-height: 50px;
}

.certificate-card p {
    color: var(--text-light);
    margin: 8px 0;
    font-size: 0.95rem;
}

.cert-place {
    font-weight: 600;
    color: var(--text-color);
}

.cert-date {
    color: var(--primary-color);
    font-weight: 500;
}

/* Skills Section */
.skills-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.skill-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.skill-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.skill-card:hover .skill-icon {
    transform: scale(1.1) rotate(-5deg);
}

.skill-icon i {
    font-size: 2rem;
    color: var(--white);
}

.skill-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.skill-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Experience Section */
.experience-section {
    padding: 100px 0;
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 40px);
    animation: fadeInLeft 0.8s ease-out;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 40px);
    animation: fadeInRight 0.8s ease-out;
}

.timeline-icon {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px var(--white), var(--shadow-md);
    z-index: 2;
}

.timeline-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.timeline-content {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    width: 100%;
}

.timeline-item:hover .timeline-content {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.timeline-item.current .timeline-content {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.timeline-item.current h3,
.timeline-item.current h4,
.timeline-item.current p {
    color: var(--white);
}

.timeline-date {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-item.current .timeline-date {
    background: rgba(255, 255, 255, 0.3);
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Responsive Design for About Page */
@media (max-width: 1024px) {
    .career-content,
    .info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tech-grid-small {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 80px;
        padding-right: 0;
    }

    .timeline-icon {
        left: 30px;
        transform: translate(0, 0);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .interests-list {
        grid-template-columns: 1fr;
    }

    .tech-grid-small {
        grid-template-columns: 1fr;
    }

    .education-grid,
    .certificates-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .university-links {
        flex-direction: column;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 60px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 120px 0 60px;
    }

    .page-title {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }

    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}
