* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0f0f23;
    --secondary-color: #00d4ff;
    --accent-color: #ff006e;
    --accent-2: #8f00ff;
    --dark-bg: #0f0f23;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-light: #ffffff;
    --text-muted: #b0b0c0;
    --text-dark: #e8e8f0;
    --border-radius: 12px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 212, 255, 0.1);
    
    /* Typographie */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3a 50%, #0f1730 100%);
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.8;
    position: relative;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(143, 0, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    background: linear-gradient(180deg, rgba(15, 15, 35, 0.95) 0%, rgba(26, 26, 58, 0.8) 100%);
    padding: 1.2rem 0;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container h2 {
    background: linear-gradient(135deg, #00d4ff, #8f00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    position: relative;
    font-size: 0.95rem;
}

.nav-links a::before,
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #8f00ff);
    bottom: 0;
    transition: width 0.3s ease;
}

.nav-links a::before {
    left: 0;
}

.nav-links a::after {
    right: 0;
}

.nav-links a:hover {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
}

.nav-links a:hover::before {
    width: 50%;
}

.nav-links a:hover::after {
    width: 50%;
}

.nav-links a.active {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 2rem 50px;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(143, 0, 255, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0f0f23 0%, #1a1a3a 100%);
    overflow: hidden;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(0, 212, 255, 0.03) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(143, 0, 255, 0.03) 50%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #00d4ff 0%, #8f00ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -2px;
    animation: slideInDown 0.8s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.8rem;
    color: #00d4ff;
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.9;
    animation: fadeIn 0.8s ease-out 0.4s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease-out 0.6s both;
}

.btn {
    padding: 0.9rem 2.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #0f0f23;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
    box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.2), 0 0 20px rgba(0, 212, 255, 0.3);
}

.hero-image {
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.image-placeholder {
    width: 320px;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--card-bg);
    border: 2px solid rgba(0, 212, 255, 0.3);
    margin: 0 auto;
    position: relative;
    box-shadow: var(--shadow-lg), inset 0 0 20px rgba(0, 212, 255, 0.2);
}

.image-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 212, 255, 0.1) 100%);
    pointer-events: none;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.hero-image:hover .image-placeholder img {
    transform: scale(1.05);
}

/* Section Common */
.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #00d4ff, #8f00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

.page-title {
    font-size: 3.5rem;
    text-align: center;
    margin-top: 9rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00d4ff, #8f00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.page-subtitle {
    font-size: 1.3rem;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* About Section */
.about-section {
    padding: 5rem 2rem;
    position: relative;
    z-index: 2;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.3px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.stat {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.stat::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3), transparent);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(0, 212, 255, 0.08);
}

.stat:hover::before {
    top: -25%;
    right: -25%;
}

.stat h3 {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #00d4ff, #8f00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.stat p {
    color: var(--text-muted);
    font-weight: 500;
}

.about-image {
    text-align: center;
}

.image-container {
    width: 280px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--card-bg);
    border: 2px solid rgba(0, 212, 255, 0.3);
    margin: 0 auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 212, 255, 0.15) 100%);
    pointer-events: none;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover .image-container img {
    transform: scale(1.08) rotate(1deg);
}

/* Services Section */
.services-section {
    padding: 5rem 2rem;
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    transform: translateX(-100%);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: translateX(100%);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.2);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.service-card h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Projects Section */
.projects-section {
    padding: 5rem 2rem;
    position: relative;
    z-index: 2;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.3), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.3), inset 0 0 20px rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.5);
}

.project-card:hover::before {
    opacity: 1;
}

.project-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(143, 0, 255, 0.1));
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1) rotate(2deg);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d4ff;
    font-weight: 600;
    font-size: 1.1rem;
}

.project-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.project-content h3 {
    color: #00d4ff;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.project-type {
    color: #ff006e;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-description {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
    flex-grow: 1;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 212, 255, 0.1));
    color: #00d4ff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.825rem;
    border: 1px solid rgba(0, 212, 255, 0.4);
    transition: var(--transition);
    font-weight: 600;
    display: inline-block;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    cursor: default;
    letter-spacing: 0.3px;
}

.tag::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tag:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.35), rgba(0, 212, 255, 0.2));
    border-color: rgba(0, 212, 255, 0.7);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.tag:hover::before {
    opacity: 1;
}

.btn-detail {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #0f0f23;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    transition: var(--transition);
    text-align: center;
}

.btn-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
}

.no-projects {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

/* Compétences Section */
.competences-section {
    padding: 5rem 2rem;
    position: relative;
    z-index: 2;
}

.competence-group {
    margin-bottom: 4rem;
}

.competence-group h2 {
    color: #00d4ff;
    margin-bottom: 2.5rem;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.competence-group h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #8f00ff);
    border-radius: 10px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.skill-item {
    background: var(--card-bg);
    padding: 2.2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.skill-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(0, 212, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.skill-header h3 {
    color: #00d4ff;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.level {
    background: linear-gradient(135deg, #00d4ff, #8f00ff);
    color: #0f0f23;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    transition: var(--transition);
}

.skill-bar {
    height: 10px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #8f00ff);
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.skill-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.competences-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
}

.competence-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    text-align: center;
}

.competence-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(0, 212, 255, 0.1);
}

.competence-badge {
    display: inline-block;
    background: linear-gradient(135deg, #00d4ff, #8f00ff);
    color: #0f0f23;
    padding: 0.7rem 1.4rem;
    border-radius: 25px;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
    transition: var(--transition);
    text-transform: uppercase;
}

.competence-item p {
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.2px;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Réalisations Section */
.realisations-section {
    padding: 5rem 2rem;
    position: relative;
    z-index: 2;
}

.realisations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.realisation-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
}

.realisation-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.2), transparent);
    transition: var(--transition);
    z-index: 1;
}

.realisation-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.3);
}

.realisation-card:hover::before {
    top: 0;
}

.realisation-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(143, 0, 255, 0.1));
    position: relative;
    z-index: 0;
}

.placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(143, 0, 255, 0.1));
    color: #00d4ff;
    font-weight: 700;
    font-size: 1.1rem;
}

.realisation-content {
    padding: 2.2rem;
    position: relative;
    z-index: 2;
}

.realisation-content h3 {
    color: #00d4ff;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.realisation-date {
    color: #ff006e;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.realisation-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.realisation-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.realisation-tags span {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 212, 255, 0.1));
    color: #00d4ff;
    padding: 0.45rem 0.95rem;
    border-radius: 25px;
    font-size: 0.82rem;
    border: 1px solid rgba(0, 212, 255, 0.4);
    transition: var(--transition);
    font-weight: 600;
    display: inline-block;
    backdrop-filter: blur(8px);
    letter-spacing: 0.2px;
}

.realisation-tags span:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.35), rgba(0, 212, 255, 0.2));
    border-color: rgba(0, 212, 255, 0.7);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.realisation-details {
    background: rgba(0, 212, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.realisation-details p {
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.realisation-details strong {
    color: #00d4ff;
}

.stats-section {
    margin-top: 5rem;
}

.stats-section h2 {
    color: #00d4ff;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.stat-box {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    transition: left 0.6s ease;
}

.stat-box:hover::before {
    left: 100%;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(0, 212, 255, 0.1);
}

.stat-box h3 {
    font-size: 3rem;
    background: linear-gradient(135deg, #00d4ff, #8f00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.stat-box p {
    color: var(--text-muted);
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    padding: 5rem 2rem;
    position: relative;
    z-index: 2;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h2 {
    color: #00d4ff;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.info-item {
    margin-bottom: 2.5rem;
}

.info-item h3 {
    color: #00d4ff;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.info-item p,
.info-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 400;
    letter-spacing: 0.2px;
    line-height: 1.7;
}

.info-item a:hover {
    color: #00d4ff;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(143, 0, 255, 0.2));
    color: #00d4ff;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(0, 212, 255, 0.3);
    font-weight: 600;
}

.social-link:hover {
    background: linear-gradient(135deg, #00d4ff, #8f00ff);
    color: #0f0f23;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
}

.contact-form-wrapper {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
}

.success-message {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
    padding: 1.2rem;
    border-radius: 10px;
    border: 1px solid rgba(76, 175, 80, 0.3);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.error-message {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
    padding: 1.2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 107, 0.3);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #00d4ff;
    margin-bottom: 0.7rem;
    font-weight: 700;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: var(--text-light);
    padding: 0.9rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(176, 176, 192, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Project Detail */
.project-detail-section {
    padding: 5rem 2rem;
    position: relative;
    z-index: 2;
}

.project-detail {
    margin-top: 5rem;
}

.project-header h1 {
    color: #00d4ff;
    margin-bottom: 0.5rem;
    font-size: 2.8rem;
    font-weight: 800;
}

.project-detail-image {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    background: var(--card-bg);
    margin: 2.5rem 0;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
}

.project-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-large {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d4ff;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(143, 0, 255, 0.1));
}

.project-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2.5rem;
}

.project-section {
    margin-bottom: 3rem;
}

.project-section h2 {
    color: #00d4ff;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.project-section p {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.detail-item {
    background: var(--card-bg);
    padding: 1.3rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: var(--transition);
}

.detail-item:hover {
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(0, 212, 255, 0.08);
}

.detail-item h4 {
    color: #00d4ff;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.detail-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.info-box {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.info-box:hover {
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(0, 212, 255, 0.08);
}

.info-box h3 {
    color: #00d4ff;
    margin-bottom: 1.2rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.tags-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.tags-list .tag {
    display: inline-block;
    width: fit-content;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
}

.footer p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.footer .social-links {
    justify-content: center;
}

.footer .social-link {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.footer .social-link:hover {
    background: linear-gradient(135deg, #00d4ff, #8f00ff);
    color: #0f0f23;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1440px) {
    .hero-text h1 {
        font-size: 4rem;
    }

    .section-title {
        font-size: 3.2rem;
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content {
        grid-template-columns: 1.3fr 1fr;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2.8rem;
        margin-bottom: 2.5rem;
    }

    .page-title {
        font-size: 2.8rem;
        margin-top: 8rem;
    }

    .about-content,
    .contact-container {
        gap: 3rem;
    }

    .image-placeholder,
    .image-container {
        width: 260px;
        height: 260px;
    }

    .services-grid,
    .projects-grid,
    .skills-grid {
        gap: 2rem;
    }

    .stat h3 {
        font-size: 2.5rem;
    }

    .stat-box h3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 100px 2rem 2rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .image-placeholder {
        width: 280px;
        height: 280px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .project-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .page-title {
        font-size: 2.5rem;
        margin-top: 7rem;
    }

    .stat-box h3 {
        font-size: 2.2rem;
    }

    .nav-links {
        gap: 0.3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --border-radius: 10px;
    }

    .navbar {
        padding: 1rem 0;
    }

    .nav-container {
        padding: 0 1rem;
        flex-wrap: wrap;
    }

    .nav-container h2 {
        font-size: 1.5rem;
    }

    .nav-links {
        width: 100%;
        gap: 0.25rem;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0.5rem 0;
    }

    .nav-links a {
        padding: 0.5rem 0.9rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .hero-section {
        padding: 120px 1.5rem 3rem;
        min-height: 90vh;
    }

    .hero-text h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        gap: 1rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }

    .image-placeholder {
        width: 240px;
        height: 240px;
    }

    .container {
        padding: 0 1.5rem;
        max-width: 100%;
    }

    .about-section,
    .services-section,
    .projects-section,
    .competences-section,
    .realisations-section,
    .contact-section,
    .project-detail-section {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .page-title {
        font-size: 2rem;
        margin-top: 6rem;
        margin-bottom: 0.8rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .services-grid,
    .projects-grid,
    .skills-grid,
    .realisations-grid,
    .stats-grid,
    .competences-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .stat {
        padding: 1.8rem;
    }

    .stat h3 {
        font-size: 2.2rem;
    }

    .stat p {
        font-size: 0.95rem;
    }

    .stat-box {
        padding: 2rem;
    }

    .stat-box h3 {
        font-size: 2rem;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-detail-image {
        height: 300px;
        margin: 1.5rem 0;
    }

    .project-header h1 {
        font-size: 2rem;
    }

    .competence-group h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .about-text p,
    .project-section p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .info-item {
        margin-bottom: 1.5rem;
    }

    .tag,
    .realisation-tags span {
        padding: 0.4rem 0.85rem;
        font-size: 0.77rem;
    }

    .btn-detail {
        padding: 0.65rem 1.3rem;
        font-size: 0.95rem;
    }

    .level {
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }

    .competence-badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .image-container {
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 640px) {
    .nav-container h2 {
        font-size: 1.3rem;
    }

    .nav-links a {
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
    }

    .hero-section {
        padding: 100px 1rem 2rem;
        min-height: 85vh;
    }

    .hero-text h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.8rem;
        letter-spacing: 1px;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        display: block;
    }

    .hero-image {
        display: block !important;
        margin-top: 1.5rem;
    }

    .image-placeholder {
        width: 220px;
        height: 220px;
        margin: 0 auto;
    }

    .container {
        padding: 0 1rem;
    }

    .about-section,
    .services-section,
    .projects-section,
    .competences-section,
    .realisations-section,
    .contact-section,
    .project-detail-section {
        padding: 2.5rem 1rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .page-title {
        font-size: 1.6rem;
        margin-top: 5rem;
        margin-bottom: 0.5rem;
    }

    .page-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .service-card {
        padding: 1.8rem;
    }

    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .service-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .project-card {
        min-height: auto;
    }

    .project-image {
        height: 180px;
    }

    .project-content {
        padding: 1.5rem;
    }

    .project-content h3 {
        font-size: 1.2rem;
    }

    .project-type {
        font-size: 0.85rem;
    }

    .project-description {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .tag {
        padding: 0.35rem 0.75rem;
        font-size: 0.75rem;
    }

    .btn-detail {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        display: block;
        width: 100%;
        text-align: center;
    }

    .skill-item {
        padding: 1.8rem;
    }

    .skill-header h3 {
        font-size: 1.1rem;
    }

    .skill-item p {
        font-size: 0.9rem;
    }

    .competence-badge {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .realisation-card {
        min-height: auto;
    }

    .realisation-image {
        height: 180px;
    }

    .realisation-content {
        padding: 1.5rem;
    }

    .realisation-content h3 {
        font-size: 1.1rem;
    }

    .realisation-date {
        font-size: 0.85rem;
    }

    .realisation-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .realisation-tags span {
        padding: 0.35rem 0.75rem;
        font-size: 0.75rem;
    }

    .stat h3 {
        font-size: 2rem;
    }

    .stat p {
        font-size: 0.9rem;
    }

    .stat-box {
        padding: 1.5rem;
    }

    .stat-box h3 {
        font-size: 1.8rem;
    }

    .stat-box p {
        font-size: 0.9rem;
    }

    .contact-info h2,
    .competence-group h2 {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }

    .info-item h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-form {
        gap: 1.3rem;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .project-header h1 {
        font-size: 1.6rem;
    }

    .project-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .project-section p {
        font-size: 0.9rem;
    }

    .detail-item {
        padding: 1rem;
    }

    .detail-item h4 {
        font-size: 0.95rem;
    }

    .detail-item p {
        font-size: 0.85rem;
    }

    .info-box {
        padding: 1.5rem;
    }

    .info-box h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .footer {
        padding: 2rem 1rem;
    }

    .footer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .nav-container h2 {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 0.15rem;
    }

    .nav-links a {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
        border-radius: 6px;
    }

    .hero-section {
        padding: 90px 0.8rem 1.5rem;
        min-height: 80vh;
    }

    .hero-text h1 {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 0.6rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
        letter-spacing: 1px;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.6;
    }

    .image-placeholder {
        width: 200px;
        height: 200px;
    }

    .container {
        padding: 0 0.8rem;
    }

    .about-section,
    .services-section,
    .projects-section,
    .competences-section,
    .realisations-section,
    .contact-section,
    .project-detail-section {
        padding: 2rem 0.8rem;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
        letter-spacing: -0.5px;
    }

    .page-title {
        font-size: 1.4rem;
        margin-top: 4.5rem;
        margin-bottom: 0.4rem;
    }

    .page-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .services-grid {
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        font-size: 2.2rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    .project-image,
    .realisation-image {
        height: 160px;
    }

    .project-content,
    .realisation-content {
        padding: 1.2rem;
    }

    .project-content h3,
    .realisation-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .project-type {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .project-description {
        font-size: 0.85rem;
        margin-bottom: 0.7rem;
    }

    .tag,
    .realisation-tags span {
        padding: 0.3rem 0.65rem;
        font-size: 0.7rem;
    }

    .btn-detail {
        padding: 0.55rem 1rem;
        font-size: 0.85rem;
    }

    .skill-item {
        padding: 1.5rem;
    }

    .skill-header h3 {
        font-size: 1rem;
    }

    .skill-item p {
        font-size: 0.85rem;
    }

    .level {
        padding: 0.25rem 0.7rem;
        font-size: 0.7rem;
    }

    .competence-badge {
        padding: 0.45rem 0.9rem;
        font-size: 0.8rem;
    }

    .stat,
    .stat-box {
        padding: 1.2rem;
    }

    .stat h3,
    .stat-box h3 {
        font-size: 1.6rem;
    }

    .stat p,
    .stat-box p {
        font-size: 0.85rem;
    }

    .contact-info h2,
    .competence-group h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .info-item {
        margin-bottom: 1.2rem;
    }

    .info-item h3 {
        font-size: 0.95rem;
    }

    .info-item p,
    .info-item a {
        font-size: 0.85rem;
    }

    .contact-form-wrapper {
        padding: 1.2rem;
    }

    .contact-form {
        gap: 1rem;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
    }

    .footer p {
        font-size: 0.85rem;
    }
}
