/* CSS Variables */
:root {
    --bg-color: #ffffff;
    --text-main: #2d3748;
    --text-light: #718096;
    --accent: #73b609;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(200, 200, 200, 0.3);
    --glass-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

html {
    /* removed scroll-behavior: smooth to prevent jump/slide on reload */
}

/* Glassmorphism Utilities */
.glass-panel,
.glass-card,
.glass-nav {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
}

/* Typography & Accent */
h1,
h2,
h3 {
    font-weight: 800;
    color: #1a202c;
}

.accent-text {
    color: var(--accent);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Layout Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    height: 60px;
    display: flex;
    justify-content: center; /* Căn giữa các thẻ menu */
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
    transition: var(--transition);
    
    /* Tăng độ Glass riêng cho Topbar */
    background: rgba(255, 255, 255, 0.35); /* Trắng trong suốt hơn */
    backdrop-filter: blur(24px); /* Làm mờ cảnh phía sau mạnh hơn */
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6); /* Viền sáng hơn tạo độ bóng của kính */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1); /* Đổ bóng sâu và mềm mại hơn */
    border-radius: 35px;
}

.logo {
    display: flex;
    align-items: center;
    position: absolute; /* Đặt logo ở dạng tuyệt đối để không đẩy lệch các thẻ menu */
    left: 40px;
}

.logo img {
    height: 35px;
    /* Chiều cao phù hợp với navbar 60px */
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Sections */
section {
    padding: 60px 0;
    scroll-margin-top: 100px;
}

.section-header {
    margin-bottom: 40px;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    min-height: 60vh;
}

.hero-left {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
}

.hero-image-container {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.liquid-shape-mask {
    width: 100%;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
}

.liquid-shape-mask img {
    width: 100%;
    height: 400px;
    display: block;
    object-fit: cover;
}

.hero-social-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Align left */
    gap: 20px;
    width: 100%;
}

.social-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.social-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1a4a7c;
    font-size: 0.85rem;
    transition: var(--transition);
}

.social-list-item i {
    color: #555;
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
    transition: var(--transition);
}

.social-list-item:hover {
    color: var(--accent);
}

.social-list-item:hover i {
    color: var(--accent);
}

.cv-btn-large {
    display: inline-block;
    padding: 5px 12px;
    background: var(--accent);
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.cv-btn-large:hover {
    background: #5a8f07;
    /* Màu xanh lá đậm hơn một chút */
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 25px;
    font-weight: 600;
}

.hero-content p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.research-interests {
    background-color: rgb(246, 246, 246);
    padding: 12px 18px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 1.05rem;
}

/* Experience Timeline Section */
.experience {
    position: relative;
    padding: 40px 60px 60px 60px;
    /* Đã bỏ border-radius để viền nền thẳng đẹp khi tràn lề */
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: #fafafa;
    z-index: -1;
}

/* Center Timeline */
.timeline-centered {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0 auto;
    padding-bottom: 20px;
}

.timeline-centered::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    background-color: var(--accent);
    opacity: 0.3;
}

.timeline-year {
    text-align: center;
    position: relative;
    z-index: 2;
    margin: 60px 0 40px 0;
}

.timeline-year:first-child {
    margin-top: 0;
}

.timeline-year span {
    background: var(--accent);
    color: white;
    padding: 6px 20px;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    /* box-shadow: 0 4px 10px rgba(115, 182, 9, 0.3); */
}

.timeline-item {
    width: 50%;
    position: relative;
    margin-bottom: 40px;
}

.timeline-item.left {
    left: 0;
    padding-right: 40px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Đẩy khối content sát ra bên phải trục */
}

.timeline-item.right {
    left: 50%;
    padding-left: 40px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Đẩy khối content sát ra bên trái trục */
}

/* Khối bao bọc thẻ và tranh để chúng căn giữa vào nhau */
.milestone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Căn giữa tranh và thẻ mốc với nhau */
}

/* Timeline connecting line */
.timeline-item::before {
    content: '';
    position: absolute;
    height: 3px;
    background-color: var(--accent);
    top: 24px;
    /* Center horizontally with the first row */
    width: 40px;
    /* Bằng với padding của timeline-item */
    z-index: 1;
}

.timeline-item.left::before {
    right: 0;
}

.timeline-item.right::before {
    left: 0;
}

/* Timeline dot */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid var(--accent);
    border-radius: 50%;
    top: 14px;
    /* (24px - 11px radius) để nằm ngay giữa đường kẻ ngang */
    z-index: 2;
}

.timeline-item.left::after {
    right: -11px;
    /* Đẩy chấm ra giữa trục (22px/2) */
}

.timeline-item.right::after {
    left: -11px;
    /* Đẩy chấm ra giữa trục (22px/2) */
}

.milestone-card {
    background-color: var(--accent);
    border: 2.5px solid #000;
    border-radius: 8px;
    padding: 12px 12px;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    /* box-shadow: 2px 2px 0px rgba(0,0,0,1); */
    transition: var(--transition);
}

.milestone-card:hover {
    transform: translateY(-2px);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 1);
}

.milestone-row-1 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    /* Giảm khoảng cách giữa 2 hàng chữ */
    flex-wrap: wrap;
    justify-content: flex-end;
}

.title-normal {
    color: #fff;
    font-size: 1.2rem;
    /* Giảm font size */
    font-weight: 500;
}

.title-badge {
    background-color: #fff;
    color: var(--accent);
    padding: 0px 6px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1.1rem;
    /* Giảm font size */
}

.milestone-row-2 {
    width: 100%;
    text-align: right;
}

.subtitle {
    color: #fff;
    font-size: 0.9rem;
    /* Giảm font size */
    font-weight: 500;
    padding: 0px 6px;
}

/* Ghi đè căn lề cho thẻ ở nhánh bên phải */
.timeline-item.right .milestone-card {
    align-items: flex-start;
}

.timeline-item.right .milestone-row-1 {
    justify-content: flex-start;
}

.timeline-item.right .milestone-row-2 {
    text-align: left;
}

/* Container chứa các chuỗi khung tranh */
.frames-container {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    /* Nhường chỗ cho móc treo của chuỗi khung tranh */
}

.timeline-item.left .frames-container {
    justify-content: flex-end;
}

.timeline-item.right .frames-container {
    justify-content: flex-start;
}

/* Chuỗi khung tranh (sẽ đung đưa đồng bộ) */
.frame-chain {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Khoảng cách giữa khung trên và khung dưới */
    transform-origin: top center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.frame-chain:hover {
    transform: rotate(-2deg) scale(1.02);
}

/* Hanging Picture Frame (Wood Style) */
.hanging-frame {
    position: relative;
    display: block;
    width: 130px;
    /* Thu nhỏ để có thể treo song song 2 chuỗi */
    background: #6D4C41;
    /* Màu viền gỗ nâu */
    padding: 8px;
    /* Độ dày của viền khung */
    border-radius: 2px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* Lõi trắng (Matting) bên trong khung tranh */
.frame-inner {
    background: #fff;
    padding: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}

.hanging-frame img {
    width: 100%;
    display: block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Sợi dây thừng hình tam giác (Khung trên cùng) */
.top-frame::before {
    content: '';
    position: absolute;
    top: -25px;
    /* Kéo góc tam giác lên trên khung */
    left: 50%;
    margin-left: -25px;
    /* Một nửa của width */
    width: 50px;
    height: 50px;
    border-top: 2px solid #a67c52;
    /* Màu dây thừng */
    border-left: 2px solid #a67c52;
    transform: rotate(45deg);
    z-index: -1;
}

/* Chiếc đinh treo trên tường */
.top-frame::after {
    content: '';
    position: absolute;
    top: -38px;
    /* -35.35px là đỉnh của tam giác xoay 45 độ, trừ hao để đinh nằm chính giữa */
    left: 50%;
    margin-left: -3px;
    /* -3px vì đinh có chiều rộng 6px */
    width: 6px;
    height: 6px;
    background: #e0e0e0;
    border-radius: 50%;
    box-shadow: inset -1px -1px 3px rgba(0, 0, 0, 0.3), 1px 2px 3px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* 2 Dây thừng dọc cho khung bên dưới */
.bottom-frame::before,
.bottom-frame::after {
    content: '';
    position: absolute;
    top: -15px;
    /* Phủ kín gap 15px */
    width: 2px;
    height: 20px;
    /* Xuyên nhẹ vào khung */
    background: #a67c52;
    z-index: -1;
}

.bottom-frame::before {
    left: 15px;
}

.bottom-frame::after {
    right: 15px;
}

/* Responsive design cho Timeline */
@media (max-width: 768px) {
    .timeline-centered::before {
        left: 20px;
    }

    .timeline-year {
        text-align: left;
        padding-left: 40px;
    }

    .timeline-item {
        width: 100%;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
        align-items: flex-start;
        /* Ghi đè căn phải của nhánh trái trên mobile */
    }

    /* Đảm bảo khung tranh cũng căn trái trên mobile */
    .timeline-item.left .frames-container {
        justify-content: flex-start;
    }

    /* Cập nhật đường kẻ ngang nối vào thẻ mốc trên mobile */
    .timeline-item.left::before,
    .timeline-item.right::before {
        left: 20px;
        /* Bắt đầu từ trục dọc đang ở left 20px */
        right: auto;
        width: 30px;
        /* Độ dài đường kẻ bù vào phần đệm 50px */
    }

    /* Cập nhật dấu chấm trên trục dọc trên mobile */
    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 9px;
        /* Trục ở 20px trừ đi 11px tâm dấu chấm = 9px */
        right: auto;
    }
}

/* Modal Popup cho Ảnh */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 800px;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--accent);
    text-decoration: none;
    cursor: pointer;
}

/* Projects Section */
.projects {
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: var(--accent);
    /* Nền xanh chủ đạo */
    z-index: -1;
}

.projects .section-header h2,
.projects .section-header .accent-text {
    color: #ffffff;
    /* Chữ tiêu đề màu trắng */
}

/* Blog Section */
.blog {
    padding: 60px 0;
    position: relative;
}

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

.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition);
}

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

.blog-img {
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: 500;
}

.blog-content h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    flex: 1;
}

/* Projects Section - Carousel Layout */
.projects-carousel-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    /* Cắt phần dự án ở hai biên lề */
    padding: 20px 0 60px 0;
}

.projects-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 20px calc(50% - 380px);
    /* 380px is half of 760px card */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--bg-color);
    color: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev-btn {
    left: 10px;
    /* Align within the container */
}

.carousel-btn.next-btn {
    right: 10px;
}

.projects-carousel::-webkit-scrollbar {
    display: none;
}

.project-carousel-card {
    flex: 0 0 560px;
    /* Thu nhỏ thẻ để vừa vặn 1 màn hình */
    scroll-snap-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.8;
    /* Tăng độ sáng của project phụ */
    transform: scale(0.9);
    /* Thu nhỏ nhẹ project phụ */
    cursor: pointer;
    /* Cho phép click để cuộn tới */
    transform-origin: center;
    display: flex;
    flex-direction: column;
    border: 2px solid #000000;
    /* Viền màu đen */
    background: #ffffff;
    /* Nền trắng đặc, không bị ám màu xanh */
}

/* Javascript will add .centered to the item in the middle */
.project-carousel-card.centered {
    transform: scale(1.05);
    opacity: 1;
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.project-carousel-card .card-img {
    height: 250px;
    /* Giảm chiều cao ảnh tương ứng với thẻ nhỏ hơn */
    overflow: hidden;
    padding: 30px;
    /* Tạo khoảng trống giữa ảnh và viền thẻ */
}

.project-carousel-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f5f5f5;
    border-radius: 12px;
    border: 2px solid #000000;
    /* Bo góc riêng cho hình ảnh */
    /* Đã bỏ hiệu ứng phóng to ảnh khi hover */
}

/* Đã xóa .project-carousel-card:hover .card-img img { transform: scale(1.05); } */

.card-content {
    padding: 0 30px 30px 30px;
    /* Điều chỉnh padding nội dung */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.placeholder-img {
    background-color: #f5f5f5;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 2px solid #000000;
}

.project-carousel-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.project-carousel-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    flex: 1;
}

.link-btn {
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
}

.link-btn:hover {
    color: #8acc2f;
}

/* Publications Section (New Layout) */
.pub-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pub-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 12px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.pub-divider {
    border: none;
    border-top: 1px solid #eaeaea;
    margin: 3px 0;
}

.pub-row:hover {
    background-color: #fafafa;
}

.pub-row.expanded {
    background-color: #f5f5f5;
    /* Nền xám khi mở rộng */
}

.pub-row.expanded .pub-venue {
    background-color: #ffffff;
    /* Badge màu trắng khi mở rộng */
}

.pub-abstract-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease, margin-top 0.4s ease;
    margin-top: 0;
}

.pub-row.expanded .pub-abstract-wrapper {
    grid-template-rows: 1fr;
    margin-top: 15px;
    /* Dời margin ra wrapper để chuyển động cùng lúc */
}

.pub-abstract {
    min-height: 0;
    /* Bắt buộc để trình duyệt không tính toán sai lúc ẩn */
    overflow: hidden;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    text-align: justify;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pub-row.expanded .pub-abstract {
    opacity: 1;
}

.pub-row:last-child {
    margin-bottom: 0;
}

.pub-img {
    flex: 0 0 250px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eaeaea;
    background: #f9f9f9;
}

.pub-img img {
    width: 100%;
    display: block;
    object-fit: contain;
}

.pub-details {
    flex: 1;
}

.pub-title {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.pub-title a {
    color: #1a4a7c;
    /* Dark blue as requested in image style */
    transition: color 0.2s;
}

.pub-title a:hover {
    color: var(--accent);
}

.pub-subtitle {
    font-size: 1.05rem;
    color: #666;
    font-style: italic;
    margin-bottom: 8px;
}

.pub-authors {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #333;
}

.pub-authors b {
    font-weight: 800;
}

.pub-venue {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(134, 209, 12, 0.15);
    color: var(--accent);
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.pub-links {
    font-size: 1rem;
    color: #555;
}

.pub-links a {
    color: #1a4a7c;
}

.pub-links a:hover {
    text-decoration: underline;
    color: var(--accent);
}

/* Footer */
.footer {
    width: 100%;
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    border-top: 1px solid #eaeaea;
    background: #fafafa;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    font-weight: 600;
}

.social-links a:hover {
    color: var(--accent);
}

/* Animations (Scroll Reveal) */
.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
}

/* Responsive - Laptops & Large Tablets */
@media (max-width: 1024px) {
    .hero {
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .experience {
        padding: 30px 40px;
    }
}

/* Responsive - Tablets & Mobile */
@media (max-width: 768px) {
    .glass-nav {
        flex-direction: column;
        height: auto;
        gap: 15px;
        padding: 15px;
        border-radius: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
        gap: 40px;
    }

    .hero-left {
        flex: 0 0 auto;
        width: 100%;
        align-items: center;
    }

    .hero-social-container {
        align-items: center;
    }

    .pub-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .pub-img {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin-bottom: 20px;
    }

    .footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }


}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content h2 {
        font-size: 1.4rem;
    }

    .experience {
        padding: 20px;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}