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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Gradient Backgrounds */
.gradient-dark {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.gradient-cyan {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
}

/* Navbar Styles */
nav {
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

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

nav a {
    position: relative;
    transition: all 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #00d4ff;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: #0a0e13;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 153, 204, 0.1) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    border-radius: 50%;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #00d4ff 0%, #00ffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
    margin-bottom: 0.5rem;
}

.hero-text h3 {
    font-size: clamp(1.3rem, 4vw, 2.5rem);
    margin-top: 1rem;
    font-weight: 700;
}

.span {
    background: linear-gradient(135deg, #00d4ff 0%, #00ffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

/* Profile Image */
.profile-image-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.profile-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #00d4ff, #00ffff, #00d4ff);
    padding: 3px;
    opacity: 0.8;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.profile-glow::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: inherit;
    background-color: #1a1a2e;
}

.profile-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00d4ff;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Sections */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.section:nth-child(even) {
    background: #0f1419;
}

.section:nth-child(odd) {
    background: #0a0e13;
}

/* Section Titles */
.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    color: white;
}

/* Service Cards */
.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.service-card i {
    font-size: 3rem;
    background: linear-gradient(135deg, #00d4ff 0%, #00ffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.service-card h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #b0b0b0;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

/* Skill Items */
.skill-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
}

.skill-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.2);
}

.skill-item i {
    font-size: 3rem;
    transition: transform 0.3s ease;
}

.skill-item:hover i {
    transform: scale(1.2);
}

.skill-item h2 {
    color: white;
    font-size: 1rem;
    margin-top: 1rem;
}

/* Project Cards */
.project-card {
    position: relative;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.3);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 212, 255, 0.8) 100%);
    opacity: 1;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem 1.5rem;
    color: white;
}

.project-card:hover .project-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 212, 255, 0.95) 100%);
}

.project-overlay h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-overlay p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.project-overlay a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: #00d4ff;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.project-overlay a:hover {
    background: #00d4ff;
    color: white;
    transform: scale(1.1);
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 2rem;
    border-radius: 15px;
}

.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: white;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #b0b0b0;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.contact-form button {
    width: 100%;
    padding: 12px;
    margin-top: 1rem;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

/* Social Links */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-5px);
}

.social-whatsapp {
    background: #25d366;
    color: white;
}

.social-whatsapp:hover {
    background: #1ead52;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.social-facebook {
    background: #1877f2;
    color: white;
}

.social-facebook:hover {
    background: #0a66c2;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.3);
}

.social-email {
    background: #ea4335;
    color: white;
}

.social-email:hover {
    background: #c5221f;
    box-shadow: 0 8px 20px rgba(234, 67, 53, 0.3);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 2rem;
    z-index: 40;
    animation: slideDown 0.3s ease-out;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: #00d4ff;
}

/* Footer */
footer {
    background: #050708;
    color: white;
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0f3460;
}

::-webkit-scrollbar-thumb {
    background: #00d4ff;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00ffff;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding-top: 100px;
    }

    .profile-image-wrapper {
        width: 200px;
        height: 200px;
        margin-top: 2rem;
    }

    .section {
        min-height: auto;
        padding: 40px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .project-overlay {
        opacity: 1;
    }

    .mobile-menu {
        display: none;
    }
}

.pourcentage {
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: #0099cc 0px 0px 10px 0px;
    padding: 2px 6px;
    border-radius: 80px;
    background: #11540591;
    color: #00d4ff;
}

.glass {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}