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

:root {
    --orange: #FF6B00;
    --orange-dark: #CC5500;
    --orange-light: #FF8533;
    --black: #000000;
    --gray-dark: #1a1a1a;
    --gray: #333333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--black);
    color: white;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Animated Background */
.bg-animated {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    mix-blend-mode: screen;
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
}

.blob1 {
    width: 400px;
    height: 400px;
    background: var(--orange);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.blob2 {
    width: 350px;
    height: 350px;
    background: var(--orange-dark);
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.blob3 {
    width: 300px;
    height: 300px;
    background: var(--orange-light);
    bottom: 10%;
    left: 40%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 107, 0, 0.2);
    z-index: 1000;
    padding: 1rem 2rem;
    box-sizing: border-box;
    overflow-x: hidden;
}

nav .container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    padding: 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s;
    cursor: pointer;
}

.logo:hover {
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
    width: 25px;
    height: 20px;
    justify-content: center;
    align-items: center;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--orange);
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
    transform-origin: center;
    position: absolute;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

.menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateY(-50%) scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: white;
    text-decoration: none;
    position: relative;
    font-weight: 500;
    transition: color 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s;
}

nav a:hover {
    color: var(--orange);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* Sections */
section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 6rem 2rem 2rem;
}

.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

/* Hero Section */
#home {
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 50px;
    background: rgba(255, 107, 0, 0.1);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--orange);
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, white, var(--orange-light), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 1.3rem;
    color: #999;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--orange);
    color: white;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--orange-dark), var(--orange-light));
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--orange);
}

.btn-secondary:hover {
    background: rgba(255, 107, 0, 0.1);
    transform: scale(1.05);
}

.btn span {
    position: relative;
    z-index: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Projects Section */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-header p {
    color: #999;
    font-size: 1.2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: linear-gradient(135deg, var(--gray-dark), var(--black));
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 107, 0, 0.5);
    box-shadow: 0 20px 60px rgba(255, 107, 0, 0.2);
}

.project-icon {
    width: 60px;
    height: 60px;
    background: var(--orange);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    transition: transform 0.3s;
}

.project-card:hover .project-icon {
    transform: rotate(10deg) scale(1.1);
}

.project-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.project-card:hover h3 {
    color: var(--orange);
}

.project-card p {
    color: #999;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    padding: 0.4rem 1rem;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--orange);
}

.project-link {
    color: var(--orange);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.project-link:hover {
    gap: 1rem;
}

/* About Section */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    color: #999;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    padding: 2rem;
    background: linear-gradient(135deg, var(--gray-dark), var(--black));
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 20px;
    transition: all 0.4s;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 0, 0.5);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #999;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Skills Section */
.skills-container {
    max-width: 1200px;
    margin: 0 auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: linear-gradient(135deg, var(--gray-dark), var(--black));
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.skill-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 107, 0, 0.5);
    box-shadow: 0 20px 60px rgba(255, 107, 0, 0.2);
}

.skill-icon {
    width: 80px;
    height: 80px;
    background: var(--orange);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    padding: 15px;
    transition: transform 0.3s;
    overflow: hidden;
}

.skill-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.skill-card:hover .skill-icon {
    transform: rotate(10deg) scale(1.1);
}

.skill-name {
    font-size: 1.3rem;
    font-weight: 600;
    transition: color 0.3s;
}

.skill-card:hover .skill-name {
    color: var(--orange);
}

/* Contact Section */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.social-icon {
    width: 60px;
    height: 60px;
    border: 2px solid var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
    padding: 12px;
    background: rgba(255, 107, 0, 0.05);
    overflow: hidden;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--orange);
    transform: scale(1.15);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.5);
}

.contact-form {
    background: linear-gradient(135deg, var(--gray-dark), var(--black));
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

input, textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--orange);
}

textarea {
    resize: none;
    min-height: 150px;
}

input::placeholder, textarea::placeholder {
    color: #666;
}

/* Experience Section */
.experience-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 107, 0, 0.2);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 0 0 200px;
    text-align: right;
    padding-right: 3rem;
    color: var(--orange);
    font-weight: 600;
    font-size: 1.1rem;
}

.timeline-item:nth-child(even) .timeline-date {
    text-align: left;
    padding-left: 3rem;
    padding-right: 0;
}

.timeline-content {
    flex: 1;
    background: linear-gradient(135deg, var(--gray-dark), var(--black));
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--orange);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -10px;
}

.timeline-content:hover {
    border-color: rgba(255, 107, 0, 0.5);
    box-shadow: 0 20px 60px rgba(255, 107, 0, 0.2);
    transform: translateY(-5px);
}

.timeline-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--orange);
}

.timeline-content h4 {
    font-size: 1.2rem;
    color: #999;
    margin-bottom: 1rem;
    font-weight: 500;
}

.timeline-content p {
    color: #999;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Blog Section */
.posts-slider-wrapper {
    margin-top: 4rem;
    padding: 0 2rem;
    width: 100%;
}

.posts-slider {
    padding-bottom: 4rem;
    overflow: visible;
    width: 100%;
}

.posts-slider .swiper-slide {
    height: auto;
    display: flex;
    width: 100%;
}

.post-card {
    background: linear-gradient(135deg, var(--gray-dark), var(--black));
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 20px;
    padding: 0;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.1);
}

.post-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.post-card:hover::before {
    opacity: 1;
}

.post-card:hover {
    border-color: rgba(255, 107, 0, 0.5);
    box-shadow: 0 20px 60px rgba(255, 107, 0, 0.2);
}

.post-card-content {
    padding: 3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-date {
    color: var(--orange);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    transition: color 0.3s;
    line-height: 1.3;
}

.post-card:hover h3 {
    color: var(--orange);
}

.post-card p {
    color: #999;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.8em * 3); /* line-height * số dòng */
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.post-tag {
    padding: 0.4rem 1rem;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--orange);
}

.post-link {
    color: var(--orange);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
    font-size: 1.1rem;
    margin-top: auto;
}

.post-link:hover {
    gap: 1rem;
}

/* Swiper Navigation */
.posts-slider .swiper-button-next,
.posts-slider .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 0, 0.1);
    border: 2px solid rgba(255, 107, 0, 0.3);
    border-radius: 50%;
    color: var(--orange);
    transition: all 0.3s;
    top: auto;
    bottom: 0;
    margin-top: 0;
}

.posts-slider .swiper-button-next::after,
.posts-slider .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.posts-slider .swiper-button-next:hover,
.posts-slider .swiper-button-prev:hover {
    background: var(--orange);
    color: var(--black);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.5);
}

.posts-slider .swiper-button-next.swiper-button-disabled,
.posts-slider .swiper-button-prev.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.posts-slider .swiper-button-next {
    right: calc(50% - 80px);
}

.posts-slider .swiper-button-prev {
    left: calc(50% - 80px);
}

/* Swiper Pagination */
.posts-slider .swiper-pagination {
    bottom: 0;
    position: relative;
    margin-top: 2rem;
    text-align: center;
}

.posts-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 107, 0, 0.3);
    opacity: 1;
    transition: all 0.3s;
    margin: 0 4px;
}

.posts-slider .swiper-pagination-bullet-active {
    background: var(--orange);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
    width: 24px;
    border-radius: 6px;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255, 107, 0, 0.2);
    color: #666;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================
   Responsive Breakpoints
   Mobile : < 740px
   Tablet : 740px – 1023px
   PC     : ≥ 1024px
   =============================== */

/* Mobile */
@media screen and (max-width: 739px) {
    nav {
        padding: 0.75rem 1rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 80vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(255, 107, 0, 0.2);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .nav-menu.active::before {
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 107, 0, 0.1);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        width: 100%;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a.active {
        color: var(--orange);
        padding-left: 1rem;
        border-left: 3px solid var(--orange);
    }

    .logo {
        font-size: 1.2rem;
    }

    section {
        padding: 5rem 1rem 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }

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

    .section-header p {
        font-size: 1rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .project-card h3 {
        font-size: 1.5rem;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .skill-card {
        padding: 1.5rem;
    }

    .skill-icon {
        width: 60px;
        height: 60px;
    }

    .skill-name {
        font-size: 1.1rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .experience-timeline {
        padding: 0 0.5rem;
        overflow-x: hidden;
    }

    .experience-timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column !important;
        margin-bottom: 2rem;
    }

    .timeline-date {
        flex: none;
        text-align: left !important;
        padding: 0 0 1rem 0 !important;
        margin-left: 3rem;
        font-size: 1rem;
    }

    .timeline-content {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
    }

    .timeline-content::before {
        left: -10px !important;
        right: auto !important;
    }

    .timeline-content h3 {
        font-size: 1.5rem;
    }

    .timeline-content::before {
        left: -10px !important;
        right: auto !important;
    }
    #blog{ overflow: hidden;}
    .post-image {
        height: 200px;
    }

    .post-card-content {
        padding: 1.5rem;
    }

    .post-card h3 {
        font-size: 1.3rem;
    }

    .post-card p {
        font-size: 1rem;
    }

    .posts-slider-wrapper {
        padding: 0 0.5rem;
        margin-top: 2rem;
    }

    .posts-slider {
        padding-bottom: 3.5rem;
    }

    .posts-slider .swiper-button-next,
    .posts-slider .swiper-button-prev {
        width: 40px;
        height: 40px;
        display: flex;
    }

    .posts-slider .swiper-button-next::after,
    .posts-slider .swiper-button-prev::after {
        font-size: 14px;
    }

    .posts-slider .swiper-button-next {
        right: calc(50% - 50px);
    }

    .posts-slider .swiper-button-prev {
        left: calc(50% - 50px);
    }

    .posts-slider .swiper-pagination {
        margin-top: 1.5rem;
    }

    .posts-slider .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }

    .posts-slider .swiper-pagination-bullet-active {
        width: 20px;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-icon {
        width: 50px;
        height: 50px;
    }
}

/* Tablet */

/* PC */
@media screen and (min-width: 1024px) {
    nav {
        padding: 1rem 2rem;
    }

    .menu-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        backdrop-filter: none;
        flex-direction: row;
        padding: 0;
        box-shadow: none;
        border: none;
    }

    .nav-menu li {
        width: auto;
        border-bottom: none;
    }

    .nav-menu a {
        padding: 0;
    }

    .nav-menu a::after {
        display: block;
    }

    .nav-menu a.active {
        padding-left: 0;
        border-left: none;
    }

    nav ul {
        gap: 2rem;
    }

    section {
        padding: 6rem 2rem 2rem;
    }

    h1 {
        font-size: clamp(3rem, 8vw, 6rem);
    }

    .hero-description {
        font-size: 1.3rem;
    }

    .section-header h2 {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }

    .project-card {
        padding: 2.5rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }

    .skill-card {
        padding: 2.5rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .experience-timeline::before {
        left: 50%;
    }

    .timeline-item {
        flex-direction: row;
    }

    .timeline-item:nth-child(even) {
        flex-direction: row-reverse;
    }

    .timeline-date {
        flex: 0 0 200px;
        padding-right: 3rem;
    }

    .timeline-item:nth-child(even) .timeline-date {
        padding-left: 3rem;
        padding-right: 0;
    }

    .timeline-content {
        padding: 2.5rem;
    }

    .timeline-content::before {
        left: -10px;
    }

    .timeline-item:nth-child(even) .timeline-content::before {
        right: -10px;
        left: auto;
    }

    .post-image {
        height: 250px;
    }

    .post-card-content {
        padding: 3rem;
    }

    .contact-form {
        padding: 3rem;
    }

    .social-links {
        gap: 1.5rem;
    }
}
