/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--white);
    position: relative;
    overflow: hidden;
    padding: 7rem 0 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse at 70% 50%, rgba(29, 78, 216, 0.06), transparent 70%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    background: rgba(29, 78, 216, 0.06);
    padding: 0.3rem 1.2rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(29, 78, 216, 0.1);
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.05;
    color: var(--gray-900);
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}
.hero h1 .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--gray-500);
    margin-bottom: 1.25rem;
}
.hero-title strong {
    color: var(--gray-700);
    font-weight: 600;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 440px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.stat-item .stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
}
.stat-item .stat-label {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}
.hero-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.hero-card .card-icon {
    font-size: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.hero-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}
.hero-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.skill-pills span {
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.25rem 1rem;
    border-radius: 100px;
    transition: var(--transition);
}
.skill-pills span:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===== ABOUT ===== */
.about {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2.5rem;
    align-items: center;
}

.about-text p {
    color: var(--gray-500);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}
.about-text p strong {
    color: var(--gray-900);
    font-weight: 600;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
}
.highlight-item i {
    color: var(--primary);
    font-size: 0.9rem;
    width: 18px;
}

.about-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    text-align: center;
}

.profile-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--white);
    background-color: var(--gray-100);
}

.profile-caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--gray-500);
}
.profile-caption i {
    color: var(--primary);
    margin-right: 4px;
}

/* ===== SKILLS ===== */
.skills {
    background: var(--white);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.skill-card {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}
.skill-card:hover {
    background: var(--white);
    border-color: var(--gray-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.skill-card .icon {
    font-size: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}
.skill-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-900);
}
.skill-card p {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ===== EXPERIENCE / PROJECTS ===== */
.experience {
    background: var(--bg-light);
}

.exp-timeline {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.exp-item {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 2rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Animated gradient accent bar */
.exp-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.exp-item:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.exp-item:hover {
    box-shadow: 0 24px 50px rgba(29, 78, 216, 0.14);
    border-color: rgba(29, 78, 216, 0.18);
    transform: translateY(-6px);
}

.exp-thumbnail {
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    aspect-ratio: 16 / 11;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.exp-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0) 0%, rgba(29, 78, 216, 0.10) 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}
.exp-item:hover .exp-thumbnail::after {
    opacity: 1;
}

.exp-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.exp-item:hover .exp-thumbnail img {
    transform: scale(1.06);
}

.exp-content .exp-date {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    background: rgba(29, 78, 216, 0.08);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 0.65rem;
}

.exp-content .project-link {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    display: block;
}
.exp-content .project-link:hover h4 {
    color: var(--primary);
}

.exp-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.2rem;
    transition: var(--transition);
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.exp-content .exp-org {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray-500);
    margin-bottom: 0.6rem;
}
.exp-content p {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.65;
    margin-bottom: 0.9rem;
}
.exp-content .exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.exp-content .exp-tags span {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 0.3rem 0.8rem;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: 100px;
    transition: var(--transition);
}
.exp-item:hover .exp-content .exp-tags span {
    background: rgba(29, 78, 216, 0.08);
    color: var(--primary-dark);
}

/* ===== EDUCATION ===== */
.education {
    background: var(--white);
}

.edu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.edu-card {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.edu-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: transparent;
}

.edu-card .edu-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.edu-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
}
.edu-card .edu-meta {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0.25rem 0 0.5rem;
}
.edu-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ===== CONTACT ===== */
.contact {
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}
.contact-info p {
    color: var(--gray-500);
    margin-bottom: 2rem;
    max-width: 380px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--gray-700);
}
.contact-detail i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1rem;
}
.contact-detail a {
    color: var(--gray-700);
    transition: var(--transition);
    text-decoration: none;
}
.contact-detail a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 2rem;
}
.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
    color: var(--gray-500);
    transition: var(--transition);
    font-size: 1rem;
    text-decoration: none;
}
.social-links a:hover {
    background: var(--gradient);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.contact-form label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
}
.contact-form input,
.contact-form textarea {
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-900);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
}
.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-card {
        max-width: 100%;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .contact-info p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: var(--transition);
    }
    .nav-links.open {
        transform: translateX(0);
    }
    .nav-links a {
        font-size: 1.1rem;
        color: var(--gray-900);
    }
    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.6rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .exp-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.25rem;
    }
    .exp-thumbnail {
        aspect-ratio: 16 / 9;
        max-height: 200px;
    }
    .edu-grid {
        grid-template-columns: 1fr;
    }
    .about-highlights {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .container {
        padding: 0 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    .btn {
        font-size: 0.85rem;
        padding: 0.6rem 1.4rem;
    }
    .hero-card {
        padding: 1.5rem;
    }
    .section {
        padding: 3.5rem 0;
    }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== EXPERIENCE CTA ===== */
.exp-cta {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.exp-cta .btn {
    padding: 0.85rem 2.4rem;
    font-size: 0.95rem;
}