/* style.css - Version Féminine & Interactive */

:root {
    /* Nouvelle palette de couleurs féminine et élégante */
    --primary: #e91e63;      /* Rose vif */
    --primary-light: #f06292;
    --primary-dark: #c2185b;
    --secondary: #9c27b0;    /* Violet */
    --secondary-light: #ce93d8;
    --accent: #ff6e7f;       /* Rose pêche */
    --accent-gradient: linear-gradient(135deg, #e91e63, #9c27b0, #ff6e7f);
    
    --dark: #1a1a2e;
    --darker: #0f0f1a;
    --light: #f8f9fa;
    --gray: #a0a0b0;
    --gray-dark: #6c6c7a;
    
    --card-bg: rgba(30, 30, 50, 0.8);
    --card-bg-solid: #1e1e32;
    --border: rgba(233, 30, 99, 0.2);
    --border-glow: rgba(233, 30, 99, 0.5);
    
    --glass-effect: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(233, 30, 99, 0.2);
    
    --success: #00bcd4;
    --warning: #ff9800;
    
    /* Animation */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: default;
}

/* Custom cursor */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease;
}

.cursor-follower {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.3s var(--transition-smooth);
}

/* Loader amélioré */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--darker), var(--dark));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-circle {
    width: 60px;
    height: 60px;
    position: relative;
    margin: 0 auto 1rem;
}

.loader-circle::before,
.loader-circle::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-circle::before {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    animation-delay: 0s;
}

.loader-circle::after {
    width: 80%;
    height: 80%;
    background: var(--darker);
    top: 10%;
    left: 10%;
    animation-delay: 0.5s;
}

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

.loader-text {
    font-size: 0.875rem;
    letter-spacing: 3px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
}

/* Navigation améliorée */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.4s var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(15px);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s;
}

.logo:hover::after {
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-light);
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light);
}

/* Hero Section améliorée */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(233,30,99,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(233, 30, 99, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
    animation: fadeInUp 0.6s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.gradient-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(135deg, transparent, var(--primary), transparent);
    filter: blur(4px);
    z-index: -1;
}

.hero-desc {
    color: var(--gray);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 500px;
    animation: fadeInUp 0.6s ease 0.2s backwards;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    border: none;
    box-shadow: 0 5px 20px rgba(233,30,99,0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(233,30,99,0.4);
}

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

.btn-outline:hover {
    background: rgba(233, 30, 99, 0.1);
    transform: translateY(-3px);
    border-color: var(--primary-light);
    color: var(--primary-light);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease;
}

.image-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
}

.image-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(233,30,99,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.hero-avatar {
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 0 25px 50px -12px rgba(233,30,99,0.4);
    animation: floatAvatar 6s ease-in-out infinite;
}

@keyframes floatAvatar {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.hero-avatar img {
    width: 95%;
    height: 95%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.2);
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: floatIcon 4s ease-in-out infinite;
    z-index: 3;
}

.cloud-icon { top: -20px; right: -20px; animation-delay: 0s; }
.code-icon { bottom: -20px; left: -20px; animation-delay: 1s; }
.db-icon { top: 50%; right: -40px; animation-delay: 2s; }

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--gray);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Sections communes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header.left-align {
    text-align: left;
}

.section-tag {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 3px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    position: relative;
}

.section-tag::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-gradient);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.4s var(--transition-smooth);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(233,30,99,0.1), transparent);
    transition: left 0.6s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(233,30,99,0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(233,30,99,0.2), rgba(156,39,176,0.2));
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2.2rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-desc {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-flags {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.flag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(233,30,99,0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--primary-light);
}

/* Languages Section */
.languages-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--border);
}

.languages-section h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--primary-light);
}

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

.language-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(233,30,99,0.08);
    border-radius: 12px;
    transition: all 0.3s;
}

.language-card:hover {
    transform: translateX(5px);
    background: rgba(233,30,99,0.15);
}

.language-flag {
    font-size: 2rem;
}

.language-info {
    display: flex;
    flex-direction: column;
}

.language-name {
    font-weight: 600;
    color: var(--light);
}

.language-level {
    font-size: 0.75rem;
    color: var(--primary-light);
}

.about-info {
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--gray);
    transition: transform 0.3s;
}

.info-item:hover {
    transform: translateX(5px);
}

.info-item i {
    width: 24px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Stats circles */
.about-stats {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.stat-card {
    text-align: center;
}

.stat-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
    transition: transform 0.3s;
}

.stat-card:hover .stat-circle {
    transform: scale(1.05);
}

.stat-circle::before {
    content: '';
    position: absolute;
    inset: 8px;
    background: var(--card-bg-solid);
    border-radius: 50%;
}

.stat-value {
    position: relative;
    z-index: 2;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-card p {
    color: var(--gray);
    font-weight: 500;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(233,30,99,0.15);
}

.project-carousel {
    width: 100%;
    height: 250px;
    position: relative;
}

.project-carousel .swiper-slide img,
.project-carousel .swiper-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-carousel .swiper-button-next,
.project-carousel .swiper-button-prev {
    width: 35px;
    height: 35px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
}

.project-carousel .swiper-button-next:after,
.project-carousel .swiper-button-prev:after {
    font-size: 14px;
    color: white;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-light);
}

.project-content p {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-tech span {
    background: rgba(233,30,99,0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--primary-light);
}

.project-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.project-links a:hover {
    color: var(--primary);
}

.project-placeholder {
    height: 200px;
    background: linear-gradient(135deg, rgba(233,30,99,0.1), rgba(156,39,176,0.1));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.project-placeholder i {
    font-size: 3.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.project-placeholder p {
    color: var(--gray);
}

/* Achievements Grid */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s var(--transition-smooth);
}

.achievement-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(233,30,99,0.15);
}

.achievement-carousel {
    width: 100%;
    height: 250px;
    position: relative;
}

.achievement-carousel .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.achievement-carousel .swiper-button-next,
.achievement-carousel .swiper-button-prev {
    width: 30px;
    height: 30px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
}

.achievement-carousel .swiper-button-next:after,
.achievement-carousel .swiper-button-prev:after {
    font-size: 12px;
    color: white;
}

.achievement-content {
    padding: 1.5rem;
}

.achievement-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-light);
}

.achievement-content p {
    color: var(--gray);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.achievement-tag {
    display: inline-block;
    background: rgba(233,30,99,0.15);
    color: var(--primary-light);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--secondary), transparent);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: 12px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--accent-gradient);
    border-radius: 50%;
    border: 2px solid var(--dark);
    z-index: 2;
    animation: pulse 2s infinite;
}

.timeline-date {
    font-size: 0.875rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.3s;
}

.timeline-content:hover {
    transform: translateX(5px);
    border-color: var(--primary);
}

.timeline-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--primary-light);
}

.timeline-content h4 {
    color: var(--gray);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--gray);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.timeline-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-tech span {
    background: rgba(233,30,99,0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--primary-light);
}

/* Certifications */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.cert-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.cert-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(233,30,99,0.15);
}

.cert-card i {
    font-size: 2.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.cert-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.cert-card p {
    color: var(--gray);
    font-size: 0.75rem;
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-text p {
    color: var(--gray);
    margin: 1.5rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(233,30,99,0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-item h4 {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-item span {
    color: var(--gray);
    font-size: 0.875rem;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--light);
    font-family: inherit;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(233,30,99,0.2);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--gray);
}

.form-response {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
}

.form-response.success {
    background: rgba(0, 188, 212, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.form-response.error {
    background: rgba(233, 30, 99, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
}

/* Footer */
.footer {
    background: var(--darker);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-logo p {
    color: var(--gray);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(233,30,99,0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gray);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--gray);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .image-wrapper {
        width: 280px;
        height: 280px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--card-bg-solid);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-top: 1px solid var(--border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-btn {
        display: block;
    }
    
    .projects-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .certs-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Smooth scroll */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* ==================== TYPED TEXT EFFECT ==================== */
.hero-typed-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.15s backwards;
}

.typed-prefix {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--gray);
}

.typed-word {
    font-size: 1.5rem;
    font-weight: 600;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    min-width: 200px;
}

.typed-cursor {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary);
    animation: blink 0.8s infinite;
}

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

@media (max-width: 768px) {
    .typed-prefix,
    .typed-word,
    .typed-cursor {
        font-size: 1.2rem;
    }
}

/* ==================== ROTATING TEXT ANIMATION ==================== */
.hero-rotating-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.15s backwards;
}

.static-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--gray);
}

.rotating-words {
    position: relative;
    height: 2.5rem;
    overflow: hidden;
    min-width: 240px;
}

.rotating-word {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 1.5rem;
    font-weight: 600;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.rotating-word.active {
    opacity: 1;
    transform: translateY(0);
}

.rotating-word.exit {
    opacity: 0;
    transform: translateY(-30px);
}

@media (max-width: 768px) {
    .hero-rotating-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .static-text,
    .rotating-word {
        font-size: 1.1rem;
    }
    
    .rotating-words {
        height: 1.8rem;
        min-width: 200px;
    }
}

/* ==================== ROTATING TITLES - Style Aziz ==================== */
.rotating-titles {
    display: inline-block;
    position: relative;
    height: 4rem;
    overflow: visible;
}

.title-item {
    display: block;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    animation: fadeRotate 12s ease-in-out infinite;
    font-size: inherit;
    font-weight: inherit;
}

/* Animation pour chaque titre */
.title-item:nth-child(1) { animation-delay: 0s; }
.title-item:nth-child(2) { animation-delay: 2.4s; }
.title-item:nth-child(3) { animation-delay: 4.8s; }
.title-item:nth-child(4) { animation-delay: 7.2s; }
.title-item:nth-child(5) { animation-delay: 9.6s; }

@keyframes fadeRotate {
    0%, 8% {
        opacity: 0;
        transform: translateY(15px);
    }
    12%, 28% {
        opacity: 1;
        transform: translateY(0);
    }
    32%, 100% {
        opacity: 0;
        transform: translateY(-15px);
    }
}

/* Ajustement responsive */
@media (max-width: 768px) {
    .rotating-titles {
        height: 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .rotating-titles {
        height: 4.5rem;
    }
    
    .title-item {
        white-space: normal;
        word-break: keep-all;
    }
}

/* ==================== CUSTOM CURSOR PREMIUM ==================== */
/* Cache le curseur par défaut sur les éléments interactifs */
/* ==================== CUSTOM CURSOR - VERSION SIMPLE ET FIABLE ==================== */
/* Cache le curseur par défaut sur tout le site */
* {
    cursor: none !important;
}

/* Curseur personnalisé - cercle principal */
.custom-cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid #e91e63;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transition: transform 0.15s ease, width 0.2s, height 0.2s, background 0.2s;
    transform: translate(-50%, -50%);
    background: rgba(233, 30, 99, 0.05);
    box-shadow: 0 0 10px rgba(233, 30, 99, 0.3);
}

/* Petit point central */
.custom-cursor-dot {
    position: fixed;
    width: 4px;
    height: 4px;
    background: #e91e63;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transition: transform 0.1s ease;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 4px #e91e63;
}

/* Effet au survol */
.custom-cursor.hover {
    width: 55px;
    height: 55px;
    background: rgba(233, 30, 99, 0.15);
    border-color: #f06292;
}

.custom-cursor-dot.hover {
    transform: translate(-50%, -50%) scale(1.5);
    background: #f06292;
}

/* Effet au clic */
.custom-cursor.click {
    transform: translate(-50%, -50%) scale(0.7);
}

/* Effet sur les boutons */
.btn-primary:hover ~ .custom-cursor {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}