/* ============================================
   ELEGANT MINT — Portfolio Theme
   Shaxnoza Qalandarova
   ============================================ */

/* ---- CSS CUSTOM PROPERTIES ---- */
:root {
    --mint: #10B981;
    --mint-light: #D1FAE5;
    --mint-dark: #059669;
    --mint-glow: rgba(16, 185, 129, 0.15);
    --mint-subtle: rgba(16, 185, 129, 0.06);
    --bg: #FAFAFA;
    --bg-white: #FFFFFF;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --border: #E5E7EB;
    --border-light: #F3F4F6;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.08);
    --shadow-mint: 0 4px 24px rgba(16, 185, 129, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- DARK THEME ---- */
[data-theme="dark"] {
    --bg: #0f1419;
    --bg-alt: #161b22;
    --bg-card: #1c2128;
    --bg-white: #1c2128;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-light: #6e7681;
    --border: #30363d;
    --border-light: #21262d;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --mint-light: rgba(16, 185, 129, 0.15);
    --mint-subtle: rgba(16, 185, 129, 0.08);
    --mint-glow: rgba(16, 185, 129, 0.2);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 20, 25, 0.85);
}

[data-theme="dark"] .nav-menu {
    background: var(--bg-card);
}

[data-theme="dark"] .section-tag {
    background: rgba(16, 185, 129, 0.15);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: var(--bg);
    border-color: var(--border);
    color: var(--text-primary);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    background: var(--bg-card);
    border-color: var(--mint);
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: var(--text-light);
}

[data-theme="dark"] .project-number {
    color: var(--border);
}

[data-theme="dark"] .project-card:hover .project-number {
    color: rgba(16, 185, 129, 0.25);
}

[data-theme="dark"] .certificate-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(16, 185, 129, 0.06) 100%);
    border-color: var(--border);
}

[data-theme="dark"] .shape-1 {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
}

[data-theme="dark"] .shape-2 {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
}

[data-theme="dark"] .shape-3 {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
}

[data-theme="dark"] .form-status.error {
    background: rgba(220, 38, 38, 0.1);
    color: #f87171;
    border-color: rgba(220, 38, 38, 0.3);
}

/* ---- THEME TOGGLE BUTTON ---- */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--mint-light);
    color: var(--mint);
    font-size: 1.15rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    line-height: 1;
}

.theme-toggle:hover {
    background: var(--mint);
    color: #fff;
    transform: scale(1.1);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ---- UTILITIES ---- */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section {
    padding: 100px 0;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mint);
    background: var(--mint-light);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 16px auto 0;
    line-height: 1.7;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--mint);
    color: #fff;
    box-shadow: var(--shadow-mint);
}

.btn-primary:hover {
    background: var(--mint-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(16, 185, 129, 0.25);
}

.btn-outline {
    border: 2px solid var(--mint);
    color: var(--mint);
    background: transparent;
}

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

/* ---- FADE ANIMATIONS ---- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 250, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--border-light);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.logo-dot {
    width: 10px;
    height: 10px;
    background: var(--mint);
    border-radius: 50%;
    display: inline-block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--mint);
    background: var(--mint-subtle);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--mint-light);
    color: var(--mint);
    font-weight: 600;
    font-size: 0.8rem;
    transition: var(--transition);
    cursor: pointer;
}

.lang-toggle:hover {
    background: var(--mint);
    color: #fff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg);
    padding-top: 72px;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--mint-light) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    bottom: -50px;
    left: -80px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--mint-light) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-greeting {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 12px;
    opacity: 0;
    animation: fadeSlideUp 0.8s 0.3s forwards;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeSlideUp 0.8s 0.5s forwards;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 600;
    color: var(--mint);
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeSlideUp 0.8s 0.7s forwards;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeSlideUp 0.8s 0.9s forwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeSlideUp 0.8s 1.1s forwards;
}

/* Avatar */
.hero-avatar-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    opacity: 0;
    animation: fadeScale 1s 0.6s forwards;
}

.hero-avatar {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mint) 0%, var(--mint-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 12px 48px rgba(16, 185, 129, 0.25);
}

.avatar-initials {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 4px;
    user-select: none;
}

.avatar-illustration {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-illustration svg {
    width: 100%;
    height: 100%;
}

.avatar-ring {
    position: absolute;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    border: 2px dashed var(--mint-light);
    z-index: 1;
    animation: spinSlow 30s linear infinite;
}

.avatar-dots {
    position: absolute;
    width: 270px;
    height: 270px;
    z-index: 3;
    animation: spinSlow 30s linear infinite reverse;
}

.avatar-dots span {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--mint);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.avatar-dots span:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.avatar-dots span:nth-child(2) { top: 25%; right: 5%; }
.avatar-dots span:nth-child(3) { bottom: 10%; right: 10%; }
.avatar-dots span:nth-child(4) { bottom: 10%; left: 10%; }
.avatar-dots span:nth-child(5) { top: 25%; left: 5%; }

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeIn 1s 1.5s forwards;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--border);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--mint);
    border-radius: 2px;
    animation: scrollPulse 2s infinite;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-description {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

.info-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    border: 1px solid var(--border-light);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius-md);
    background: var(--mint-light);
    color: var(--mint);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.info-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* ============================================
   SKILLS
   ============================================ */
.skills {
    background: var(--bg);
}

.skills-content {
    max-width: 800px;
    margin: 0 auto;
}

.skills-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
    cursor: default;
    box-shadow: var(--shadow-sm);
}

.skill-pill svg {
    color: var(--mint);
    flex-shrink: 0;
}

.skill-pill:hover {
    border-color: var(--mint);
    background: var(--mint-light);
    color: var(--mint-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-mint);
}

/* ============================================
   PROJECTS
   ============================================ */
.projects {
    background: var(--bg-white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.project-card {
    position: relative;
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mint), var(--mint-dark));
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.project-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--border-light);
    line-height: 1;
    position: absolute;
    top: 20px;
    right: 24px;
    transition: var(--transition);
}

.project-card:hover .project-number {
    color: var(--mint-light);
}

.project-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--mint-light);
    color: var(--mint);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.project-card:hover .project-icon {
    background: var(--mint);
    color: #fff;
    box-shadow: var(--shadow-mint);
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.project-tags span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--mint);
    background: var(--mint-light);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
}

.project-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.project-line {
    width: 40px;
    height: 3px;
    background: var(--mint);
    border-radius: var(--radius-full);
    margin-top: 20px;
    opacity: 0.4;
    transition: var(--transition);
}

.project-card:hover .project-line {
    width: 60px;
    opacity: 1;
}

/* ============================================
   EXPERIENCE & EDUCATION (TIMELINE)
   ============================================ */
.experience {
    background: var(--bg);
}

.timeline {
    max-width: 680px;
    margin: 0 auto;
}

.timeline-group {
    margin-bottom: 12px;
    margin-top: 40px;
}

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

.timeline-group-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--mint);
    background: var(--mint-light);
    padding: 10px 24px;
    border-radius: var(--radius-full);
}

.timeline-group-title svg {
    color: var(--mint);
}

.timeline-item {
    display: flex;
    gap: 24px;
    padding: 12px 0;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 8px;
    min-width: 20px;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--mint);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 4px var(--mint-light);
}

.timeline-line {
    width: 2px;
    flex: 1;
    background: var(--border-light);
    margin-top: 8px;
}

.timeline-card {
    flex: 1;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--mint-light);
}

.timeline-date {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--mint);
    background: var(--mint-light);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.timeline-org {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.timeline-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   CERTIFICATES
   ============================================ */
.certificates {
    background: var(--bg-white);
}

.certificates-grid {
    max-width: 560px;
    margin: 0 auto;
}

.certificate-card {
    position: relative;
    background: linear-gradient(135deg, var(--bg) 0%, var(--mint-subtle) 100%);
    border-radius: var(--radius-xl);
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 28px;
    border: 1px solid var(--mint-light);
    overflow: hidden;
    transition: var(--transition);
}

.certificate-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-mint);
}

.cert-badge {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mint) 0%, var(--mint-dark) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-mint);
    transition: var(--transition);
}

.cert-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    transition: var(--transition);
}

.cert-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.cert-issuer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mint);
}

.cert-decoration {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--mint-light);
    opacity: 0.3;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-md);
    background: var(--mint-light);
    color: var(--mint);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background: var(--mint);
    color: #fff;
}

.contact-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.contact-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

a.contact-value:hover {
    color: var(--mint);
}

/* Form */
.contact-form {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    color: var(--text-primary);
    transition: var(--transition);
    outline: none;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--mint);
    box-shadow: 0 0 0 4px var(--mint-glow);
    background: var(--bg-white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
    font-weight: 600;
    font-size: 1rem;
}

.form-status {
    margin-top: 16px;
    padding: 0;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    text-align: center;
    transition: var(--transition);
}

.form-status.success {
    padding: 14px;
    background: var(--mint-light);
    color: var(--mint-dark);
    border: 1px solid var(--mint);
}

.form-status.error {
    padding: 14px;
    background: #FEF2F2;
    color: #DC2626;
    border: 1px solid #FECACA;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    padding: 32px 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.footer-text {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
}

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

.footer-right {
    display: flex;
    gap: 12px;
}

.footer-social {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.footer-social:hover {
    background: var(--mint);
    color: #fff;
    border-color: var(--mint);
    transform: translateY(-2px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeScale {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes scrollPulse {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* ============================================
   RESPONSIVE — MOBILE FIRST
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        order: 2;
    }

    .hero-avatar-wrapper {
        order: 1;
    }

    .hero-actions {
        justify-content: center;
    }

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

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

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

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-slow);
        z-index: 999;
    }

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

    .nav-link {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        border-radius: var(--radius-md);
    }

    .hero-avatar {
        width: 170px;
        height: 170px;
    }

    .avatar-initials {
        font-size: 3.5rem;
    }

    .avatar-ring {
        width: 220px;
        height: 220px;
    }

    .avatar-dots {
        width: 220px;
        height: 220px;
    }

    .hero-name {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .certificate-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

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

    .skill-pill {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .project-card {
        padding: 28px;
    }

    .timeline-item {
        gap: 16px;
    }

    .timeline-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

    .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .info-card {
        padding: 24px;
    }

    .contact-form {
        padding: 24px;
    }

    .contact-card {
        padding: 24px;
    }
}

/* ---- Overlay for mobile menu ---- */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

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