/* Portfolio Design - Thème Bleu Moderne Inspiré de CyberChip */

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

:root {
    /* Couleurs principales - Thème sombre + Cyan */
    --primary-blue: #07090f;
    --secondary-blue: #0d1320;
    --accent-blue: #00cc9f;
    --light-blue: #00ffd1;
    --cyan: #00ffd1;
    --dark-navy: #050709;
    
    /* Couleurs de texte */
    --text-white: #ffffff;
    --text-light: #e2e8f0;
    --text-muted: #7a8ba6;
    
    /* Effets */
    --glow-blue: rgba(0, 255, 209, 0.5);
    --shadow-blue: rgba(0, 255, 209, 0.3);
    --gradient-primary: linear-gradient(135deg, #0d1320 0%, #07090f 100%);
    --gradient-accent: linear-gradient(135deg, #00ffd1 0%, #00c9a7 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--primary-blue);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background avec texture et motifs */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 40%, rgba(0, 255, 209, 0.07) 0%, transparent 55%),
        radial-gradient(circle at 85% 75%, rgba(0, 201, 167, 0.06) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(0, 255, 209, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 209, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* Particules décoratives */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--light-blue);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-100px) translateX(50px); }
    50% { transform: translateY(-50px) translateX(-50px); }
    75% { transform: translateY(-150px) translateX(100px); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Navigation */
header {
    background: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    padding: 12px 0;
    background: rgba(7, 9, 15, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    z-index: 10;
}

.logo:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px var(--shadow-blue);
}

nav {
    background: rgba(7, 9, 15, 0.4);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(0, 255, 209, 0.15);
    border-radius: 50px;
    padding: 8px 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
                0 0 0 1px rgba(255, 255, 255, 0.05) inset,
                0 2px 4px rgba(0, 255, 209, 0.1);
}

nav ul {
    display: flex;
    gap: 4px;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

nav a:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.08);
}

nav a.active {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-white);
    font-weight: 700;
}

nav a.nav-cta {
    background: var(--gradient-accent) !important;
    color: #07090f !important;
    font-weight: 700 !important;
    padding: 10px 24px !important;
    margin-left: 8px !important;
    box-shadow: 0 4px 16px rgba(0, 255, 209, 0.35),
                0 0 20px rgba(0, 255, 209, 0.2);
}

nav a.nav-cta:hover {
    background: linear-gradient(135deg, #00ffd1 0%, #00e6c3 100%) !important;
    box-shadow: 0 6px 24px rgba(0, 255, 209, 0.45),
                0 0 30px rgba(0, 255, 209, 0.3);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 204, 159, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #00ffd1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text .subtitle {
    font-size: 1.5rem;
    color: var(--light-blue);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    padding: 16px 32px;
    background: var(--gradient-accent);
    color: #07090f;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px var(--shadow-blue);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--shadow-blue);
}

.btn-secondary {
    padding: 16px 32px;
    background: transparent;
    color: var(--text-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--light-blue);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(0, 255, 209, 0.1);
    transform: translateY(-3px);
}

/* Hero Image avec effet 3D isométrique */
.hero-image {
    position: relative;
    perspective: 1000px;
}

.hero-visual {
    width: 100%;
    height: 500px;
    background: var(--gradient-primary);
    border-radius: 24px;
    position: relative;
    transform: rotateY(-15deg) rotateX(5deg);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 100px rgba(0, 204, 159, 0.3);
    border: 1px solid rgba(0, 255, 209, 0.3);
    overflow: hidden;
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(0, 255, 209, 0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Floating elements */
.floating-element {
    position: absolute;
    background: rgba(0, 255, 209, 0.2);
    border: 2px solid rgba(0, 255, 209, 0.4);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation: float 8s ease-in-out infinite 1s;
}

.floating-element:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 10%;
    left: 20%;
    animation: float 7s ease-in-out infinite 2s;
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #00ffd1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards modernes avec effet glassmorphism */
.card {
    background: rgba(8, 15, 30, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 209, 0.2);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--light-blue);
    box-shadow: 0 20px 60px rgba(0, 204, 159, 0.3);
}

.card:hover::before {
    transform: scaleX(1);
}

/* Grid layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Project Cards */
.project-card {
    background: rgba(8, 15, 30, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 209, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 204, 159, 0.4);
    border-color: var(--light-blue);
}

.project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.project-content {
    padding: 32px;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-white);
}

.project-description {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-category {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gradient-accent);
    color: #1f1f1f;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Footer */
footer {
    background: rgba(5, 9, 15, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 255, 209, 0.2);
    padding: 60px 0 30px;
    text-align: center;
}

footer p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

footer a {
    color: var(--light-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--text-white);
}

/* ---- Filter buttons ---- */
.filter-wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 60px;
}

.filter-btn {
    padding: 10px 24px;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(0, 255, 209, 0.3);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(0, 255, 209, 0.15);
    color: var(--text-white);
    border-color: var(--light-blue);
}

.filter-btn.active {
    background: var(--gradient-accent);
    color: #07090f;
    border-color: transparent;
    box-shadow: 0 6px 20px var(--shadow-blue);
}

/* ---- About / Profile ---- */
.profile-img-wrap {
    position: relative;
    display: inline-block;
}

.profile-img-wrap::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 28px;
    background: var(--gradient-accent);
    opacity: 0.35;
    z-index: -1;
    animation: pulseBorder 3s ease-in-out infinite;
}

@keyframes pulseBorder {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.05); opacity: 0.7; }
}

.profile-img {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    object-fit: cover;
    border: 3px solid rgba(0, 255, 209, 0.5);
    box-shadow: 0 0 40px rgba(0, 255, 209, 0.4), 0 20px 60px rgba(0,0,0,0.4);
    display: block;
}

.profile-img-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    background: var(--gradient-primary);
    border: 3px solid rgba(0, 255, 209, 0.5);
    box-shadow: 0 0 40px rgba(0, 255, 209, 0.4), 0 20px 60px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--light-blue);
}

/* ---- Skill bars ---- */
.skill-bar-wrap {
    margin-bottom: 20px;
}

.skill-bar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-bar-header span {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
}

.skill-bar-track {
    height: 8px;
    background: rgba(0, 255, 209, 0.15);
    border-radius: 50px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 50px;
    transition: width 1.5s ease;
}

/* ---- Stats counter ---- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.stat-box {
    background: rgba(8, 15, 30, 0.4);
    border: 1px solid rgba(0, 255, 209, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: var(--light-blue);
    box-shadow: 0 10px 40px rgba(0, 204, 159, 0.3);
    transform: translateY(-5px);
}

.stat-num {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 8px;
}

/* ---- Contact form ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info-list {
    list-style: none;
    margin-top: 30px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    margin-bottom: 16px;
    background: rgba(8, 15, 30, 0.4);
    border: 1px solid rgba(0, 255, 209, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    border-color: var(--light-blue);
    transform: translateX(8px);
    background: rgba(0, 255, 209, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px var(--shadow-blue);
}

.contact-info-text strong {
    display: block;
    color: var(--text-white);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.contact-info-text a,
.contact-info-text span {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.contact-info-text a:hover {
    color: var(--light-blue);
}

/* Form */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(8, 15, 30, 0.5);
    border: 1px solid rgba(0, 255, 209, 0.25);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--light-blue);
    background: rgba(0, 255, 209, 0.1);
    box-shadow: 0 0 0 4px rgba(0, 255, 209, 0.1);
}

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

/* ---- Alert / Message ---- */
.alert {
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-weight: 500;
}

.alert-success {
    background: rgba(0, 255, 209, 0.15);
    border: 1px solid rgba(0, 255, 209, 0.4);
    color: #34d399;
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
}

/* ---- Gallery ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(0, 255, 209, 0.2);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0 10px 40px rgba(0, 204, 159, 0.4);
    border-color: var(--light-blue);
    transform: scale(1.03);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 15, 12, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    cursor: pointer;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay svg {
    width: 44px;
    height: 44px;
    stroke: var(--cyan);
    filter: drop-shadow(0 0 8px rgba(0,255,209,0.7));
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* ---- Page banner (for inner pages) ---- */
.page-banner {
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, rgba(7, 9, 15, 0.98) 0%, var(--primary-blue) 100%);
}

.page-banner h1 {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #00ffd1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.page-banner p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--light-blue);
}

.breadcrumb span {
    color: var(--light-blue);
}

/* ---- Mobile menu toggle ---- */
.menu-toggle {
display: none;
flex-direction: column;
gap: 5px;
cursor: pointer;
z-index: 1001;
background: rgba(7, 9, 15, 0.6);
backdrop-filter: blur(20px);
padding: 10px;
border-radius: 12px;
border: 1px solid rgba(0, 255, 209, 0.2);
}

.menu-toggle span {
width: 24px;
height: 2.5px;
background: var(--cyan);
border-radius: 3px;
transition: all 0.3s ease;
}

/* ---- Lightbox ---- */
.lightbox-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.95);
z-index: 9999;
display: none;
align-items: center;
justify-content: center;
padding: 40px;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 60px rgba(0, 255, 209, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s;
    background: none;
    border: none;
    line-height: 1;
}

.lightbox-close:hover { color: var(--light-blue); }

/* ---- Divider line ---- */
.divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
    margin: 0 auto 40px;
}

/* ---- Tags / badges ---- */
.tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 255, 209, 0.15);
    color: var(--light-blue);
    border: 1px solid rgba(0, 255, 209, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ---- Alerts ---- */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: .95rem;
    font-weight: 500;
}
.alert-success {
    background: rgba(16,185,129,.12);
    border: 1px solid rgba(16,185,129,.35);
    color: #34d399;
}
.alert-error {
    background: rgba(239,68,68,.12);
    border: 1px solid rgba(239,68,68,.35);
    color: #f87171;
}

/* ---- Contact grid ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}

.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.contact-icon {
    width: 44px;
    height: 44px;
    background: rgba(59,130,246,.15);
    border: 1px solid rgba(59,130,246,.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-info-text strong {
    color: var(--text-white);
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.contact-info-text span,
.contact-info-text a {
    color: var(--text-muted);
    font-size: .95rem;
    text-decoration: none;
    transition: color .25s;
}

.contact-info-text a:hover { color: var(--light-blue); }

/* ---- Filter wrap ---- */
.filter-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(59,130,246,.25);
    border-radius: 30px;
    color: var(--text-muted);
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s;
    font-family: inherit;
}

.filter-btn:hover {
    background: rgba(59,130,246,.12);
    color: var(--text-light);
    border-color: rgba(59,130,246,.5);
}

.filter-btn.active {
    background: var(--gradient-accent);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(59,130,246,.35);
}

/* ---- Gallery grid ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    border: 1px solid rgba(59,130,246,.15);
    transition: all .3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    border-color: rgba(59,130,246,.5);
    box-shadow: 0 8px 30px rgba(0,0,0,.4);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

/* ---- Profile image ---- */
.profile-img-wrap {
    position: relative;
    display: inline-block;
}

.profile-img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(59,130,246,.4);
    box-shadow: 0 0 0 8px rgba(59,130,246,.08), 0 20px 60px rgba(0,0,0,.4);
    display: block;
}

.profile-img-placeholder {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(59,130,246,.1);
    border: 4px solid rgba(59,130,246,.3);
    box-shadow: 0 0 0 8px rgba(59,130,246,.06), 0 20px 60px rgba(0,0,0,.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
}

/* ---- Stats row ---- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-box {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(59,130,246,.18);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all .3s ease;
}

.stat-box:hover {
    border-color: rgba(59,130,246,.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,.3);
}

.stat-num {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

/* ---- Skill bars ---- */
.skill-bar-wrap {
    margin-bottom: 22px;
}

.skill-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: .9rem;
    font-weight: 600;
}

.skill-bar-track {
    height: 6px;
    background: rgba(255,255,255,.08);
    border-radius: 3px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 3px;
    width: 0;
    transition: width 1.2s cubic-bezier(.4,0,.2,1);
}

/* ---- Form group (frontend) ---- */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .4px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(59,130,246,.2);
    border-radius: 12px;
    color: var(--text-white);
    font-size: .95rem;
    font-family: inherit;
    outline: none;
    transition: all .25s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--light-blue);
    background: rgba(59,130,246,.08);
    box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select option { background: var(--primary-blue); }

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.4rem;
    }
    
    .hero-visual {
        transform: none;
        height: 320px;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .filter-wrap { justify-content: flex-start; }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 20px;
        left: auto;
        width: auto;
        min-width: 250px;
        background: rgba(7, 9, 15, 0.85);
        backdrop-filter: blur(40px) saturate(180%);
        -webkit-backdrop-filter: blur(40px) saturate(180%);
        border: 1px solid rgba(0, 255, 209, 0.2);
        border-radius: 20px;
        padding: 12px;
        transform: translateY(-10px) scale(0.95);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5),
                    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    }

    nav.open {
        transform: translateY(0) scale(1);
        opacity: 1;
        pointer-events: all;
    }

    nav ul {
        flex-direction: column;
        gap: 4px;
    }

    nav a {
        display: block;
        padding: 12px 20px;
        text-align: left;
        border-radius: 12px;
    }

    nav a.nav-cta {
        margin-left: 0 !important;
        margin-top: 8px !important;
        text-align: center;
    }

    .page-banner h1 {
        font-size: 2.2rem;
    }

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

    .profile-img, .profile-img-placeholder {
        width: 200px;
        height: 200px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ---- Hero floating badges ---- */
.hero-photo-wrap {
    position: relative;
    display: inline-block;
}

.hero-badge {
    position: absolute;
    background: rgba(7, 9, 15, 0.75);
    border: 1px solid rgba(0, 255, 209, 0.35);
    border-radius: 10px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 16px rgba(0,255,209,0.08);
    z-index: 10;
    white-space: nowrap;
}

.hero-badge-1 {
    bottom: 10px;
    left: -25px;
    animation: badgeFloat1 4s ease-in-out infinite;
}

.hero-badge-2 {
    top: 10px;
    right: -25px;
    animation: badgeFloat2 4.5s ease-in-out infinite 1.2s;
}

@keyframes badgeFloat1 {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-12px) rotate(0deg); }
}

@keyframes badgeFloat2 {
    0%, 100% { transform: translateY(0) rotate(1deg); }
    50% { transform: translateY(-10px) rotate(0deg); }
}

.hero-badge-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-accent);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(0,255,209,0.3);
}

.hero-badge-text {
    display: flex;
    flex-direction: column;
}

.hero-badge-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1px;
}

.hero-badge-value {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-white);
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 6px var(--cyan);
    flex-shrink: 0;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
