:root {
    --color-primary: #E65100;
    --color-primary-dark: #BF360C;
    --color-primary-soft: rgba(230, 81, 0, 0.1);
    --color-bg: #ffffff;
    --color-bg-gray: #fafafa;
    --color-text: rgba(0, 0, 0, 0.8);
    --color-text-light: #4d4d4d;
    --color-text-muted: #999999;
    --color-heading: #333333;
    --color-border: #ebebeb;
    --font-body: 'Karla', Arial, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-smooth: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    font-weight: 700;
    line-height: 1.3;
}

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

a:hover {
    color: var(--color-primary-dark);
}

img {
    max-width: 100%;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.nav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-heading);
    text-decoration: none;
}

.logo span {
    color: var(--color-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-light);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-primary);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-heading);
    transition: var(--transition-smooth);
    display: block;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #fff;
    box-shadow: 0 8px 25px rgba(230, 81, 0, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-heading);
    border-color: var(--color-heading);
}

.btn-outline:hover {
    background: var(--color-heading);
    color: #fff;
    transform: translateY(-2px);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 30px 80px;
    background: url('/assets/images/hero-bg.jpg') center center / cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 1;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-intro {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 1rem;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero .btn-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}

.hero .btn-outline:hover {
    background: #ffffff;
    color: var(--color-heading);
    border-color: #ffffff;
}

.hero-visual {
    position: relative;
    width: 320px;
    height: 320px;
    flex-shrink: 0;
}

.hero-portrait {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* ===== Section Styles ===== */
.section {
    padding: 100px 0;
}

.section-gray {
    background: var(--color-bg-gray);
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 0.75rem;
}

.section-title span {
    color: var(--color-primary);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
}

/* ===== About Section ===== */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 720px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
}

.about-text p {
    margin-bottom: 1.25rem;
    color: var(--color-text-light);
    font-size: 1.02rem;
}

.about-details {
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.about-detail {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.about-detail:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-weight: 700;
    color: var(--color-heading);
    min-width: 80px;
}

.detail-value {
    color: var(--color-text-light);
}

.about-skills {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-skills-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--color-text);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.skill-tag {
    display: inline-block;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    transition: var(--transition-smooth);
}

.skill-tag:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(230, 81, 0, 0.05);
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--color-bg);
    padding: 40px 30px;
    border: 1px solid var(--color-border);
    text-align: center;
    transition: var(--transition-smooth);
}

.service-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 40px rgba(230, 81, 0, 0.12);
    transform: translateY(-8px);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: var(--color-primary);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ===== Work Section / Carousel ===== */
.section-projects {
    padding-bottom: 100px;
}

.carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.work-card {
    position: relative;
    background: #1a1a1a;
    min-height: 380px;
    overflow: hidden;
    cursor: pointer;
    flex: 0 0 420px;
}

.work-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}

.work-card:hover .work-card-bg {
    transform: scale(1.05);
}

.work-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 100%);
    transition: var(--transition-smooth);
}

.work-card:hover .work-card-overlay {
    background: linear-gradient(to top, rgba(230, 81, 0, 0.9) 0%, rgba(230, 81, 0, 0.6) 100%);
}

.work-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.work-card:hover .work-category {
    color: #fff;
}

.work-card-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.work-card-overlay p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
}

.work-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.btn-view-details {
    display: inline-block;
    margin-top: 1rem;
    padding: 8px 20px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-view-details:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 30px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: var(--color-bg);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: var(--color-primary);
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
}

.modal-body {
    padding: 35px;
}

.modal-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.modal-date {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 600;
    display: block;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.modal-content p {
    color: var(--color-text-light);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.modal-gallery {
    position: relative;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    overflow: hidden;
    display: none;
}

.modal-gallery-track {
    display: flex;
    gap: 12px;
    transition: transform 0.4s ease;
}

.modal-gallery-track img {
    width: 200px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.modal-gallery-track img:hover {
    opacity: 0.8;
}

.modal-gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 2;
}

.modal-gallery-btn:hover {
    background: var(--color-primary);
}

.modal-gallery-btn svg {
    width: 16px;
    height: 16px;
}

.modal-gallery-prev {
    left: 8px;
}

.modal-gallery-next {
    right: 8px;
}

@media (max-width: 768px) {
    .modal {
        max-height: 85vh;
    }

    .modal-image {
        height: 200px;
    }

    .modal-body {
        padding: 25px;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-gallery-track img {
        width: 150px;
        height: 100px;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-heading);
    transition: all 0.3s ease;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

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

.carousel-btn svg {
    width: 22px;
    height: 22px;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

@media (max-width: 768px) {
    .work-card {
        flex: 0 0 280px;
        min-height: auto;
    }

    .work-card-overlay {
        position: relative;
        padding: 24px;
        background: #1a1a1a;
    }

    .work-card:hover .work-card-overlay {
        background: linear-gradient(to top, rgba(230, 81, 0, 0.9) 0%, rgba(230, 81, 0, 0.7) 100%);
    }

    .work-card-bg {
        position: relative;
        height: 180px;
    }

    .work-card-overlay h3 {
        font-size: 1.25rem;
    }

    .work-card-overlay p {
        font-size: 0.82rem;
    }
}

/* ===== Timeline (Experience) ===== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--color-border);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-bg);
    border: 3px solid var(--color-primary);
    z-index: 1;
}

.timeline-content {
    background: var(--color-bg);
    padding: 30px;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 30px rgba(230, 81, 0, 0.1);
    transform: translateX(6px);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-header h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
}

.timeline-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
}

.timeline-company {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.timeline-details {
    list-style: none;
    margin-top: 1rem;
}

.timeline-details li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.timeline-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}

.timeline-details li:last-child {
    margin-bottom: 0;
}

/* ===== Education Section ===== */
.education-card {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: var(--color-bg);
    padding: 40px;
    border: 1px solid var(--color-border);
    max-width: 700px;
    margin: 0 auto;
    transition: var(--transition-smooth);
}

.education-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 30px rgba(230, 81, 0, 0.1);
}

.education-icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

.education-info h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.education-school {
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.education-year {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 600;
    display: block;
    margin-bottom: 0.75rem;
}

.education-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.education-courses {
    margin-top: 1.25rem;
}

.education-courses-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.course-tag {
    display: inline-block;
    padding: 5px 14px;
    font-size: 0.8rem;
    color: var(--color-text-light);
    background: var(--color-bg-alt, #f5f5f5);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    transition: var(--transition-smooth);
}

.course-tag:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ===== Contact Section ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-item h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.contact-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-light);
    transition: var(--transition-smooth);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    transform: translateY(-3px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid var(--color-border);
    background: var(--color-bg-gray);
    color: var(--color-text);
    outline: none;
    transition: var(--transition-smooth);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-primary);
    background: var(--color-bg);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form .btn {
    align-self: flex-start;
}

/* ===== Footer ===== */
.footer {
    padding: 30px 0;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--color-primary);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.08);
        opacity: 0.3;
    }
}

.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 30px;
        gap: 1.5rem;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 140px 30px 80px;
    }

    .hero-name {
        font-size: 3rem;
    }

    .work-card {
        flex: 0 0 260px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 70px 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about-skills {
        margin-top: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }
}
