:root {
    --bg: #020613;
    --surface: rgba(255, 255, 255, 0.05);
    --surface-strong: rgba(255, 255, 255, 0.1);
    --text: #edf2f7;
    --muted: #a8b2d1;
    --accent: #ff3d3d;
    --accent-soft: #01e6ff;
    --radius: 28px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top right, rgba(1, 230, 255, 0.18), transparent 22%),
        radial-gradient(circle at bottom left, rgba(255, 61, 61, 0.12), transparent 18%),
        linear-gradient(180deg, #03070f 0%, #020613 100%);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(18px);
    background: rgba(2, 6, 19, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    font-family: 'Pacifico', cursive;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    letter-spacing: 0.04em;
    color: #ffffff;
}

.nav-links {
    display: flex;
    gap: 1.6rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--muted);
    font-weight: 500;
    transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover {
    color: var(--accent-soft);
    transform: translateY(-1px);
}

.hero {
    padding: 5rem 0 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.eyebrow {
    margin-bottom: 1rem;
    color: var(--accent-soft);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

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

.hero-copy h1 {
    font-size: clamp(3.2rem, 5vw, 4.5rem);
    line-height: 0.95;
    margin-bottom: 1.2rem;
}

.hero-description {
    max-width: 700px;
    color: var(--muted);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.8rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-btn {
    background: linear-gradient(135deg, #ffffff, var(--accent));
    color: #111827;
}

.secondary-btn {
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--text);
}

.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(1, 230, 255, 0.12);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.social-links a {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.social-links a:hover {
    color: #ffffff;
    background: rgba(1, 230, 255, 0.2);
    transform: translateY(-4px);
}

.hero-visual {
    position: relative;
    min-height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.36);
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(1, 230, 255, 0.18), transparent 35%);
    pointer-events: none;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.05);
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    transition: transform 0.45s ease, filter 0.35s ease;
}

.hero-visual img:hover {
    transform: scale(1.03);
    filter: saturate(1.1) contrast(1.12);
}

.section-heading {
    max-width: 760px;
}

.section-heading h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 0.8rem;
}

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

.about-section,
.skills-section,
.experience-section,
.projects-section,
.contact-section {
    padding: 4rem 0;
}

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

.skill-category {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.35s ease, transform 0.35s ease;
}

.skill-category:hover {
    background: rgba(1, 230, 255, 0.08);
    border-color: rgba(1, 230, 255, 0.24);
    transform: translateY(-4px);
    box-shadow: 0 18px 52px rgba(1, 230, 255, 0.08);
}

.skill-category h3 {
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
    color: #ffffff;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, rgba(1, 230, 255, 0.12), rgba(255, 61, 61, 0.08));
    border: 1px solid rgba(1, 230, 255, 0.28);
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--accent-soft);
    font-weight: 500;
    transition: all 0.3s ease, transform 0.3s ease;
    animation: fadeInUp 0.6s ease backwards;
}

.skill-tag:nth-child(1) {
    animation-delay: 0.1s;
}

.skill-tag:nth-child(2) {
    animation-delay: 0.2s;
}

.skill-tag:nth-child(3) {
    animation-delay: 0.3s;
}

.skill-tag:nth-child(4) {
    animation-delay: 0.4s;
}

.skill-tag:hover {
    background: linear-gradient(135deg, rgba(1, 230, 255, 0.24), rgba(255, 61, 61, 0.16));
    border-color: var(--accent-soft);
    transform: scale(1.08);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-card,
.contact-card,
.project-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
}

.about-card,
.contact-card {
    padding: 2rem;
}

.about-card h3 {
    margin-bottom: 0.85rem;
    color: #ffffff;
}

.about-card p {
    color: var(--muted);
    line-height: 1.8;
}

.project-card {
    display: grid;
    grid-template-columns: minmax(320px, 1.12fr) minmax(320px, 1fr);
    gap: 2.5rem;
    margin-top: 2.5rem;
    overflow: hidden;
    align-items: stretch;
}

.project-copy {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-copy h3 {
    font-size: 1.9rem;
    margin-bottom: 1.2rem;
}

.project-copy p {
    color: var(--muted);
    margin-bottom: 1rem;
    line-height: 1.75;
}

.project-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.project-image-card {
    display: block;
    min-height: auto;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-image-card img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease;
    display: block;
}

.project-image-card:hover img {
    transform: scale(1.02);
    filter: saturate(1.08) contrast(1.05);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.contact-card {
    padding: 2rem;
    display: grid;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: calc(var(--radius) - 4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.contact-card p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.contact-card p strong {
    color: #ffffff;
    min-width: 90px;
    font-size: 0.95rem;
    font-weight: 600;
}

.contact-card p span {
    color: rgba(255, 255, 255, 0.38);
}

.contact-card a {
    color: var(--accent-soft);
    transition: color 0.25s ease, transform 0.25s ease;
}

.contact-card a:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.site-footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
    text-align: center;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.experience-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 2.2rem;
    transition: all 0.35s ease, transform 0.35s ease;
    animation: fadeInUp 0.6s ease backwards;
}

.experience-card:nth-child(1) {
    animation-delay: 0.1s;
}

.experience-card:nth-child(2) {
    animation-delay: 0.2s;
}

.experience-card:hover {
    background: rgba(255, 61, 61, 0.06);
    border-color: rgba(255, 61, 61, 0.28);
    transform: translateY(-6px);
    box-shadow: 0 24px 64px rgba(255, 61, 61, 0.1);
}

.exp-header {
    margin-bottom: 1.2rem;
}

.exp-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    color: #ffffff;
}

.exp-company {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
}

.exp-overview {
    margin-bottom: 1.4rem;
    color: var(--muted);
    line-height: 1.7;
}

.exp-details {
    margin-bottom: 1.4rem;
}

.exp-details h4 {
    color: #ffffff;
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.exp-details ul {
    list-style: none;
    padding: 0;
}

.exp-details li {
    color: var(--muted);
    margin-bottom: 0.6rem;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.6;
}

.exp-details li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-soft);
}

.exp-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tech-badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 61, 61, 0.12);
    border: 1px solid rgba(255, 61, 61, 0.24);
    border-radius: 999px;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
    transition: all 0.25s ease;
}

.tech-badge:hover {
    background: rgba(255, 61, 61, 0.2);
    border-color: var(--accent);
}

@media (max-width: 960px) {

    .hero-grid,
    .project-card {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 3rem;
    }

    .hero-visual {
        min-height: 320px;
    }
}

@media (max-width: 720px) {
    .navbar {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links {
        justify-content: center;
        gap: 1rem;
    }

    .hero-copy h1 {
        font-size: clamp(2.4rem, 8vw, 3.2rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .social-links {
        justify-content: center;
    }

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

@media (max-width: 520px) {
    .navbar {
        gap: 0.5rem;
    }

    .nav-links {
        gap: 0.6rem;
    }
}