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

:root {
    --bg-dark: #020617;
    --bg-panel: rgba(15, 23, 42, 0.8);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #38bdf8;
    --secondary: #6366f1;
    --accent: #14b8a6;
    --border: rgba(148, 163, 184, 0.3);
}

body {
    min-height: 100vh;
    font-family: 'Space Grotesk', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at top left, rgba(99, 102, 241, 0.3), transparent 45%),
                      radial-gradient(circle at 80% 0%, rgba(56, 189, 248, 0.25), transparent 35%);
}

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

a {
    color: inherit;
}

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(14px);
    background: rgba(2, 6, 23, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10;
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
}

.logo {
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

nav a {
    margin-left: 1.5rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Hero */
#hero {
    position: relative;
    padding: 5rem 0 6rem;
    overflow: hidden;
}

#hero::before,
#hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

#hero::before {
    background: radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.25), transparent 50%);
    filter: blur(40px);
}

#hero::after {
    background: radial-gradient(circle at 80% 10%, rgba(99, 102, 241, 0.3), transparent 45%);
    filter: blur(60px);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    align-items: center;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 0.8s ease forwards;
}

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

h1 {
    font-size: clamp(2.5rem, 4.7vw, 3.7rem);
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 32rem;
    margin-bottom: 2rem;
}

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

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2.4rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.cta.primary {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: #0f172a;
    box-shadow: 0 25px 50px rgba(56, 189, 248, 0.3);
}

.cta.secondary {
    border-color: var(--border);
    color: var(--text-main);
}

.cta:hover {
    transform: translateY(-3px);
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    animation: fadeInUp 1s ease forwards;
}

.profile-wrap {
    position: relative;
    width: min(320px, 80vw);
    aspect-ratio: 3 / 4;
    border-radius: 1.75rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: radial-gradient(circle, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.7));
    padding: 0.75rem;
}

.profile-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.25rem;
    filter: grayscale(5%);
}

.profile-wrap .glow,
.profile-wrap .pulse {
    position: absolute;
    border-radius: 1.45rem;
}

.glow {
    inset: 0.45rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    animation: pulseGlow 4s infinite ease-in-out;
}

.pulse {
    inset: 0;
    border: 1px solid rgba(56, 189, 248, 0.2);
    animation: floatGlow 6s infinite ease-in-out;
}

.hero-card {
    width: 100%;
    background: var(--bg-panel);
    backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 1.75rem;
    box-shadow: 0 25px 60px rgba(2, 6, 23, 0.6);
}

.card-title {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.hero-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: var(--text-muted);
}

.hero-card li {
    position: relative;
    padding-left: 1.25rem;
}

.hero-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: linear-gradient(120deg, var(--primary), var(--accent));
}

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

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes floatGlow {
    0% {
        transform: scale(0.98);
        opacity: 0.35;
    }
    50% {
        transform: scale(1.02);
        opacity: 0.6;
    }
    100% {
        transform: scale(0.98);
        opacity: 0.35;
    }
}

/* Responsiveness */
@media (max-width: 768px) {
    .nav-bar {
        flex-direction: column;
        gap: 0.75rem;
    }

    nav a {
        margin: 0 0.75rem;
    }

    .cta-group {
        width: 100%;
    }

    .cta {
        flex: 1;
        text-align: center;
    }
}

/* About Section */
#about {
    padding: 5rem 0;
    background: radial-gradient(circle at 10% 10%, rgba(20, 184, 166, 0.15), transparent 40%), #030712;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: start;
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 0.45em;
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: inline-block;
}

#about h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.about-intro p {
    color: var(--text-muted);
    max-width: 40rem;
}

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

.about-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 1.75rem;
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 45px rgba(2, 6, 23, 0.55);
}

.about-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #e2e8f0;
}

.about-card p {
    color: var(--text-muted);
}

.about-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    color: var(--text-muted);
}

.about-card ul li {
    padding-left: 1.1rem;
    position: relative;
}

.about-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: linear-gradient(120deg, var(--secondary), var(--primary));
}

.interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.interest-tags span {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(148, 163, 184, 0.08);
    color: var(--text-main);
    font-size: 0.85rem;
}

/* Education Section */
#education {
    padding: 5rem 0 6rem;
    background: #020617;
    position: relative;
    overflow: hidden;
}

#education::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 0%, rgba(99, 102, 241, 0.15), transparent 55%);
    pointer-events: none;
}

.education-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.section-heading h2 {
    color: var(--text-main);
    max-width: 48rem;
}

.timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 1.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.4), rgba(20, 184, 166, 0.2));
}

.edu-card {
    position: relative;
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem;
    border-radius: 1.5rem;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    backdrop-filter: blur(16px);
    box-shadow: 0 25px 60px rgba(2, 6, 23, 0.6);
}

.edu-card::before {
    content: '';
    position: absolute;
    left: -1.38rem;
    top: 2rem;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    border: 2px solid rgba(56, 189, 248, 0.9);
    background: #020617;
    box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.15);
}

.edu-card.secondary::before {
    border-color: rgba(20, 184, 166, 0.9);
    box-shadow: 0 0 0 6px rgba(20, 184, 166, 0.2);
}

.edu-icon {
    flex-shrink: 0;
}

.edu-meta h3 {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
}

.edu-degree {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.edu-duration {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.edu-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: var(--text-muted);
}

.edu-highlights li {
    padding-left: 1.25rem;
    position: relative;
}

.edu-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
}

/* Scroll Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 640px) {
    .timeline {
        padding-left: 1rem;
    }

    .timeline::before {
        left: 0.25rem;
    }

    .edu-card {
        flex-direction: column;
        padding: 1.5rem;
    }

    .edu-card::before {
        left: -1rem;
    }
}

/* Skills Section */
#skills {
    padding: 5rem 0;
    background: radial-gradient(circle at 15% 0%, rgba(56, 189, 248, 0.18), transparent 45%), #030712;
}

.skills-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

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

.skill-card {
    position: relative;
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 45px rgba(2, 6, 23, 0.5);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.6);
}

.skill-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    background: rgba(56, 189, 248, 0.08);
}

.skill-card h3 {
    margin-bottom: 0.4rem;
}

.skill-card p {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.skill-badges span {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--text-main);
    font-size: 0.85rem;
    border: 1px solid rgba(99, 102, 241, 0.25);
}

/* Experience Section */
#experience {
    padding: 5rem 0 6rem;
    background: #020617;
}

.experience-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.exp-card {
    position: relative;
    padding: 2rem;
    border-radius: 1.5rem;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    backdrop-filter: blur(16px);
    box-shadow: 0 25px 50px rgba(2, 6, 23, 0.55);
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 2fr;
    gap: 1.5rem;
}

.exp-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    border: 1px solid transparent;
    background: linear-gradient(120deg, rgba(56, 189, 248, 0.4), rgba(99, 102, 241, 0.3)) border-box;
    -webkit-mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.exp-card.secondary::before {
    background: linear-gradient(120deg, rgba(20, 184, 166, 0.45), rgba(56, 189, 248, 0.35)) border-box;
}

.exp-card.tertiary::before {
    background: linear-gradient(120deg, rgba(190, 242, 100, 0.5), rgba(56, 189, 248, 0.35)) border-box;
}

.exp-meta h3 {
    font-size: 1.35rem;
    margin-bottom: 0.3rem;
    color: var(--text-main);
}

.exp-company {
    color: var(--text-muted);
}

.exp-duration {
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-size: 0.82rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.exp-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: var(--text-muted);
}

.exp-points li {
    position: relative;
    padding-left: 1.35rem;
}

.exp-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
}

@media (max-width: 768px) {
    .exp-card {
        grid-template-columns: 1fr;
    }
}

/* Projects Section */
#projects {
    padding: 5rem 0;
    background: radial-gradient(circle at 85% 10%, rgba(99, 102, 241, 0.15), transparent 45%), #030712;
}

.projects-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

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

.project-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.75rem;
    border-radius: 1.5rem;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    backdrop-filter: blur(14px);
    box-shadow: 0 22px 45px rgba(2, 6, 23, 0.5);
    position: relative;
    overflow: hidden;
}

.project-card::after {
    content: '';
    position: absolute;
    inset: -30% 40% auto -30%;
    height: 40%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.3), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.project-card:hover::after {
    opacity: 1;
    transform: translateY(-10px);
}

.project-header {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.project-tag {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
}

.project-desc {
    color: var(--text-muted);
    flex: 1;
}

.project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.project-stack span {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    font-size: 0.82rem;
}

.project-actions {
    display: flex;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn.primary {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: #0f172a;
}

.btn.ghost {
    border-color: var(--border);
    color: var(--text-main);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn[aria-disabled="true"] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Certifications Section */
#certifications {
    padding: 5rem 0;
    background: #020617;
}

.certs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.cert-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-radius: 1.2rem;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.5);
}

.cert-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.cert-card h3 {
    font-size: 1.05rem;
}

.cert-org {
    color: var(--text-muted);
    margin-top: 0.2rem;
    font-size: 0.9rem;
}

/* CV Section */
#cv {
    padding: 5rem 0 6rem;
    background: radial-gradient(circle at 30% 0%, rgba(20, 184, 166, 0.15), transparent 50%), #030712;
}

.cv-wrapper {
    display: flex;
    justify-content: center;
}

.cv-card {
    width: min(1100px, 95vw);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2.5rem;
    border-radius: 2rem;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    box-shadow: 0 30px 80px rgba(2, 6, 23, 0.65);
}

.cv-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
}

.cv-content p {
    color: var(--text-muted);
    max-width: 32rem;
    margin-bottom: 1.5rem;
}

.cv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn.large {
    padding: 1rem 2.75rem;
    font-size: 1rem;
}

.cv-preview {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cv-page {
    width: min(360px, 70vw);
    aspect-ratio: 3 / 4;
    border-radius: 1.5rem;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.8));
    border: 1px solid rgba(148, 163, 184, 0.2);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.cv-page::after {
    content: '';
    position: absolute;
    inset: 15%;
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 1rem;
    pointer-events: none;
}

.cv-header span {
    font-size: 1.4rem;
    font-weight: 600;
}

.cv-header small {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
}

.cv-lines {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cv-lines span {
    display: block;
    height: 0.4rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.2);
}

.cv-lines span.short {
    width: 60%;
}

.cv-footer span {
    font-weight: 600;
}

.cv-footer small {
    color: var(--text-muted);
}

@media (max-width: 640px) {
    .cv-card {
        padding: 2rem;
    }

    .cv-actions .btn {
        flex: 1;
        justify-content: center;
    }
}

/* Contact Section */
#contact {
    padding: 5rem 0 6rem;
    background: #020617;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.contact-content p {
    color: var(--text-muted);
    max-width: 32rem;
}

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

.contact-socials a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: var(--text-main);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.contact-socials a:hover {
    border-color: rgba(56, 189, 248, 0.6);
    transform: translateY(-2px);
}

.contact-socials .icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.contact-form {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 25px 50px rgba(2, 6, 23, 0.6);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.form-field label {
    font-weight: 600;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: #020617;
    color: var(--text-main);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.form-field input.invalid,
.form-field textarea.invalid {
    border-color: var(--error-color);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.error-message {
    color: var(--error-color);
    font-size: 0.85rem;
    min-height: 1rem;
}

.form-feedback {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.form-feedback.success {
    color: var(--success-color);
}

.form-feedback.error {
    color: var(--error-color);
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #010615;
    padding: 1.75rem 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-socials {
    display: flex;
    gap: 0.6rem;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.footer-socials a:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

