/* ========================================
   ABOUT PAGE STYLES - Enhanced Hero Design
   Beautiful Card-Based Design with Profile Photo
   ======================================== */

/* === HERO SECTION === */
.about-hero-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    min-height: 65vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-decoration {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-30px, 30px) scale(1.1);
    }
}

.about-hero-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 3.5rem;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.12);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.about-hero-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Hero Main Content Layout */
.hero-main-content {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    align-items: center;
}

/* Profile Photo Section */
.hero-photo-section {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-photo-frame {
    position: relative;
    width: 260px;
    height: 260px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.hero-photo-frame:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(102, 126, 234, 0.3);
}

.hero-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-photo-border {
    position: absolute;
    inset: -6px;
    border-radius: 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -1;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.03);
    }
}

/* Content Section */
.hero-content-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

.hero-badge-about {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
    align-self: center;
    transition: all 0.3s ease;
}

.hero-badge-about:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(102, 126, 234, 0.35);
}

.hero-badge-about i {
    font-size: 0.9375rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.about-hero-title {
    font-size: 48px;
    font-weight: 900;
    color: #1e293b;
    line-height: 1.2;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.title-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradient-shift 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.about-hero-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #475569;
    text-align: center;
}

.about-hero-description p {
    margin: 0 0 1rem 0;
}

.about-hero-description p:last-child {
    margin-bottom: 0;
}

/* Inline Stats - Horizontal Layout */
.hero-stats-inline {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    align-self: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-stats-inline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.hero-stats-inline:hover::before {
    left: 100%;
}

.hero-stats-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.25);
}

.stat-inline-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-inline-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 14px;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.stat-inline-item:hover .stat-inline-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-inline-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.stat-inline-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #667eea;
    line-height: 1;
    margin: 0;
}

.stat-inline-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
}

/* Section Headers - Modern Style */
.section-header-modern {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-modern {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
    font-size: 1.85rem;
    font-weight: 700;
    color: #667eea;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50px;
}

/* === SKILLS SECTION === */
.skills-section {
    padding: 60px 0;
    background: white;
}

.skill-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all var(--transition-base);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--lightest-gray);
}

.skill-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: var(--radius-lg);
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all var(--transition-base);
}

.skill-card:hover .skill-icon-wrapper {
    background: var(--bg-gradient-primary);
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
}

.skill-category-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    font-family: var(--font-primary);
}

.skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    font-size: 0.9375rem;
    color: var(--gray-dark);
    font-weight: 500;
}

.skill-item:hover {
    background: var(--lightest-gray);
    color: var(--primary-color);
    transform: translateX(5px);
}

.skill-item i {
    font-size: 1.125rem;
    color: var(--primary-color);
    transition: all var(--transition-base);
}

.skill-item:hover i {
    transform: scale(1.2);
}

/* === EXPERIENCE SECTION === */
.experience-section {
    padding: var(--spacing-2xl) 0;
    background: var(--white);
}

.timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--spacing-lg) 0;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-xl);
    display: flex;
    align-items: center;
}

.timeline-item.left {
    justify-content: flex-end;
    padding-right: calc(50% + var(--spacing-xl));
}

.timeline-item.right {
    justify-content: flex-start;
    padding-left: calc(50% + var(--spacing-xl));
}

.timeline-badge {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 0 8px rgba(99, 102, 241, 0.1);
    transition: all var(--transition-base);
}

.timeline-badge i {
    font-size: 1rem;
    color: var(--primary-color);
}

.timeline-item:hover .timeline-badge {
    background: var(--bg-gradient-primary);
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 0 12px rgba(99, 102, 241, 0.15);
}

.timeline-item:hover .timeline-badge i {
    color: var(--white);
}

.timeline-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all var(--transition-base);
    max-width: 450px;
    position: relative;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 1px solid rgba(99, 102, 241, 0.1);
    transform: translateY(-50%) rotate(45deg);
}

.timeline-item.left .timeline-card::before {
    right: -10px;
    border-left: none;
    border-bottom: none;
}

.timeline-item.right .timeline-card::before {
    left: -10px;
    border-right: none;
    border-top: none;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(99, 102, 241, 0.3);
}

.timeline-period {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--bg-gradient-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.timeline-role {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-primary);
}

.timeline-company {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
}

.timeline-description {
    color: var(--gray-dark);
    line-height: 1.7;
    margin: 0;
    font-size: 0.9375rem;
}

/* === EXPERIENCE SECTION === */
.experience-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
    .hero-main-content {
        grid-template-columns: 220px 1fr;
        gap: 2.5rem;
    }

    .hero-photo-frame {
        width: 220px;
        height: 220px;
    }

    .about-hero-card {
        padding: 2.75rem 2.5rem;
    }

    .about-hero-title {
        font-size: 40px;
    }

    .hero-stats-inline {
        gap: 1.5rem;
        padding: 1.25rem 1.75rem;
    }

    .stat-inline-icon {
        width: 50px;
        height: 50px;
        font-size: 1.125rem;
    }

    .stat-inline-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-hero-section {
        padding: 40px 0;
    }

    .about-hero-card {
        padding: 2.5rem 2rem;
        border-radius: 20px;
    }

    .about-hero-card::after {
        border-radius: 0 0 20px 20px;
    }

    .hero-main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-photo-section {
        justify-content: center;
    }

    .hero-photo-frame {
        width: 200px;
        height: 200px;
    }

    .hero-badge-about {
        align-self: center;
    }

    .about-hero-title {
        font-size: 32px;
    }

    .about-hero-description {
        font-size: 1rem;
    }

    .hero-stats-inline {
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.5rem;
        align-self: stretch;
    }

    .stat-divider {
        display: none;
    }

    .stat-inline-item {
        width: 100%;
        justify-content: center;
    }

    .section-title-modern {
        font-size: 1.125rem;
    }

    /* Timeline becomes vertical on mobile */
    .timeline-wrapper::before {
        left: 30px;
    }

    .timeline-item.left,
    .timeline-item.right {
        justify-content: flex-start;
        padding-left: 80px;
        padding-right: 0;
    }

    .timeline-badge {
        left: 30px;
    }

    .timeline-item.left .timeline-card::before,
    .timeline-item.right .timeline-card::before {
        left: -10px;
        border-right: none;
        border-top: none;
    }

    .timeline-card {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .about-hero-card {
        padding: 2rem 1.5rem;
        border-radius: 18px;
    }

    .about-hero-card::after {
        height: 4px;
        border-radius: 0 0 18px 18px;
    }

    .hero-photo-frame {
        width: 160px;
        height: 160px;
    }

    .hero-badge-about {
        padding: 0.45rem 1rem;
        font-size: 0.75rem;
    }

    .about-hero-title {
        font-size: 32px;
    }

    .about-hero-description {
        font-size: 0.875rem;
    }

    .hero-stats-inline {
        padding: 1.25rem;
        gap: 1rem;
    }

    .stat-inline-icon {
        width: 46px;
        height: 46px;
        font-size: 1rem;
    }

    .stat-inline-number {
        font-size: 1.375rem;
    }

    .stat-inline-label {
        font-size: 0.6875rem;
    }

    .section-title-modern {
        font-size: 1rem;
    }

    .section-header-modern {
        margin-bottom: 2rem;
    }

    .timeline-badge {
        width: 40px;
        height: 40px;
    }
}