/* About Hero Section */
.about-hero {
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1555949963-aa79dcee981c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80') no-repeat center center/cover;
    color: white;
    margin-top: 70px;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

/* Personal Story Section */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.story-content p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.personal-interests {
    margin-top: 40px;
}

.personal-interests h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.interests-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.interest {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--glass-color);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    border: var(--border);
}

.interest i {
    color: var(--primary-color);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 100%;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 10px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    padding: 20px;
    background: var(--glass-color);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: var(--border);
    box-shadow: var(--shadow);
    position: relative;
}

.timeline-content::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -37px;
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -37px;
}

.timeline-date {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.timeline-content h3 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.timeline-content p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

/* Education Section */
.education-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.education-card {
    background: var(--glass-color);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: var(--border);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);
}

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

.education-card h3 {
    margin-bottom: 10px;
    color: white;
}

.institution {
    font-weight: 600;
    margin-bottom: 5px;
    color: #ffcc00;
}

.duration {
    font-style: italic;
    margin-bottom: 15px;
    color: #ccc;
}

.edu-details p {
    margin-bottom: 10px;
    text-align: left;
    font-size: 0.9rem;
}

.cert-list, .awards-list {
    text-align: left;
    list-style-type: none;
}

.cert-list li, .awards-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.cert-list li::before, .awards-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Skills Deep Dive */
.skills-tabs {
    margin-top: 50px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-btn {
    padding: 12px 25px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary-color);
    color: white;
}

.tab-content {
    background: var(--glass-color);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: var(--border);
    box-shadow: var(--shadow);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.skill-category {
    margin-bottom: 30px;
}

.skill-category h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    display: inline-block;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-content::after {
        left: 15px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::after {
        right: auto;
        left: -37px;
    }
    
    .interests-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 200px;
    }
}


/* About Hero with Profile Picture - FIXED */
.about-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-top: 70px;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-profile {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.profile-image-container {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.8);
    background: white;
}

.hero-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-image-container:hover .hero-profile-img {
    transform: scale(1.05);
}

.profile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    text-align: center;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-intro h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 700;
    line-height: 1.1;
}

.hero-intro .title {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #ffcc00;
    font-weight: 600;
}

.hero-intro .subtitle {
    font-size: 1.1rem;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.hero-stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 15px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 100px;
    transition: transform 0.3s ease;
}

.hero-stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.hero-stat .number {
    display: block;
    font-size: 2.2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
}

.hero-stat .label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-profile {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .profile-image-container {
        margin: 0 auto;
        width: 250px;
        height: 250px;
    }
    
    .hero-intro h1 {
        font-size: 2.4rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 100px 0 60px;
    }
    
    .hero-intro h1 {
        font-size: 2rem;
    }
    
    .hero-intro .title {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .hero-stat {
        flex: 1;
        min-width: 80px;
        padding: 15px 10px;
    }
    
    .hero-stat .number {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .profile-image-container {
        width: 220px;
        height: 220px;
    }
    
    .hero-intro h1 {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stat {
        width: 150px;
    }
}