/* CSS Variables for easy customization - Digital créatif Palette */
:root {
    /* Background Colors */
    --bg-dark: #0F1020;
    --bg-dark-lighter: #1A1B2E;
    --bg-card: rgba(20, 21, 35, 0.85);
    --bg-card-light: rgba(30, 31, 50, 0.7);
    --bg-card-hover: rgba(35, 36, 55, 0.9);

    /* Primary Color - Violet électrique */
    --accent-purple: #6C4CF1;
    --accent-purple-light: #8B6FF5;
    --accent-purple-dark: #5A3FE0;
    --accent-purple-deep: #4A35D0;

    /* Secondary Color - Turquoise */
    --accent-teal: #00C2D1;
    --accent-teal-light: #20D2E1;
    --accent-teal-dark: #00A8B5;

    /* Accent Color - Ambre */
    --accent-amber: #FFB84D;
    --accent-amber-light: #FFC86D;
    --accent-amber-dark: #E8A435;

    /* Additional Colors */
    --accent-rose: #FF6B8A;
    --accent-cyan: #00D9F5;
    --accent-blue: #4A90E2;

    /* Text Colors */
    --text-primary: #F5F6FA;
    --text-secondary: #A3A6BE;
    --text-muted: #787C9A;
    --text-dark: #1E1F35;

    /* Gradients */
    --gradient-bg: linear-gradient(180deg, #0F1020 0%, #1A1B2E 50%, #25263E 100%);
    --gradient-purple: linear-gradient(135deg, #5A3FE0 0%, #6C4CF1 50%, #8B6FF5 100%);
    --gradient-teal: linear-gradient(135deg, #00A8B5 0%, #00C2D1 50%, #20D2E1 100%);
    --gradient-amber: linear-gradient(135deg, #E8A435 0%, #FFB84D 50%, #FFC86D 100%);
    --gradient-rose: linear-gradient(135deg, #E8557A 0%, #FF6B8A 50%, #FF85A0 100%);

    /* Glassmorphism */
    --glassmorphism: rgba(255, 255, 255, 0.06);
    --glassmorphism-strong: rgba(255, 255, 255, 0.1);
    --glassmorphism-purple: rgba(108, 76, 241, 0.1);
    --glassmorphism-teal: rgba(0, 194, 209, 0.1);

    /* UI Elements */
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-glow: 0 0 30px rgba(108, 76, 241, 0.25);
    --shadow-glow-teal: 0 0 30px rgba(0, 194, 209, 0.25);
    --shadow-glow-amber: 0 0 30px rgba(255, 184, 77, 0.25);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-card-hover: 0 20px 60px rgba(0, 0, 0, 0.5);

    /* Borders */
    --border-light: rgba(255, 255, 255, 0.06);
    --border-purple: rgba(108, 76, 241, 0.3);
    --border-teal: rgba(0, 194, 209, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--gradient-bg);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(108, 76, 241, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 194, 209, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 184, 77, 0.06) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 16, 32, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-purple);
    text-decoration: none;
    position: relative;
    letter-spacing: -0.5px;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-purple);
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-purple);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-purple);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 20px 50px;
    background: var(--gradient-bg);
    position: relative;
    overflow: hidden;
}

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

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 10s ease-in-out infinite reverse;
}

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

.hero-content {
    animation: fadeInLeft 1s ease;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--accent-purple);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-info {
    list-style: none;
    margin-bottom: 2rem;
}

.hero-info li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
}

.hero-info li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-purple);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: var(--glassmorphism);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.3rem;
}

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

.btn {
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--accent-purple);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    letter-spacing: 0.3px;
    min-height: 48px;
    min-width: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary {
    border-color: var(--accent-purple);
}

.btn::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: var(--transition);
}

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

.btn-primary {
    background: var(--accent-amber);
    color: var(--bg-dark);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 184, 77, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: var(--accent-amber-light);
    box-shadow: 0 8px 25px rgba(255, 184, 77, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-purple);
}

.btn-secondary:hover {
    background: var(--accent-purple);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 76, 241, 0.4);
}

.btn-cta {
    background: var(--accent-teal);
    color: var(--bg-dark);
    border-color: var(--accent-teal);
}

.btn-cta:hover {
    background: var(--accent-teal-light);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 194, 209, 0.4);
}

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

.profile-shape {
    position: relative;
    width: 350px;
    height: 350px;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: var(--glassmorphism-strong);
    border: 2px solid var(--accent-purple);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 0;
    left: 0;
    animation: morph 8s ease-in-out infinite;
}

.circle-2 {
    width: 250px;
    height: 250px;
    top: 100px;
    left: 100px;
    z-index: 2;
    animation: morph 10s ease-in-out infinite reverse;
}

.profile-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-purple);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.floating-icon {
    position: absolute;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--accent-purple-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    will-change: transform;
}

.floating-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--text-primary);
}

.icon-js {
    top: -25px;
    right: 15px;
    animation-delay: 0s;
    background: var(--accent-amber);
    box-shadow: 0 4px 15px rgba(255, 184, 77, 0.3);
}

.icon-js svg {
    fill: var(--bg-dark);
}

.icon-python {
    bottom: 15px;
    left: -25px;
    animation-delay: 1.5s;
    background: var(--accent-teal);
    box-shadow: 0 4px 15px rgba(0, 194, 209, 0.3);
}

.icon-python svg {
    fill: var(--bg-dark);
}

/* About Section */
.about {
    padding: 100px 20px;
    background: var(--gradient-bg);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 15%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 194, 209, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 16s ease-in-out infinite;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-intro {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.7;
}

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

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.highlight-item svg {
    width: 20px;
    height: 20px;
    fill: var(--accent-teal);
    flex-shrink: 0;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.detail-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-glow), var(--shadow-card-hover);
}

.detail-card h3 {
    color: var(--accent-purple);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.detail-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-card ul li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-left: 1.5rem;
    position: relative;
}

.detail-card ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-teal);
}

/* Skills Section */
.skills {
    padding: 100px 20px;
    background: var(--gradient-bg);
    position: relative;
}

.skills::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 12s ease-in-out infinite;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.skill-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.skill-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-purple);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-glow), var(--shadow-card-hover);
}

/* Backend Card - Teal Accent */
.skills-grid .skill-card:nth-child(1) .skill-header h3 {
    color: var(--accent-teal);
}

.skills-grid .skill-card:nth-child(1):hover {
    border-color: var(--accent-teal);
    box-shadow: var(--shadow-glow-teal), var(--shadow-card-hover);
}

.skills-grid .skill-card:nth-child(1) .skill-percent {
    color: var(--accent-teal);
}

.skills-grid .skill-card:nth-child(1) .skill-bar {
    background: rgba(255, 255, 255, 0.06);
}

.skills-grid .skill-card:nth-child(1) .skill-progress {
    background: var(--accent-teal);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.skill-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    filter: drop-shadow(0 0 10px rgba(167, 139, 250, 0.5));
}

.skill-icon svg {
    width: 100%;
    height: 100%;
}

.skill-header h3 {
    font-size: 1.4rem;
    color: var(--accent-purple);
    font-weight: 700;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-percent {
    color: var(--accent-purple);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(167, 139, 250, 0.3);
}

.skill-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.skill-progress {
    height: 100%;
    background: var(--accent-purple-dark);
    border-radius: 5px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Resume Section */
.resume {
    padding: 100px 20px;
    background: var(--gradient-bg);
    position: relative;
}

.resume::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 15s ease-in-out infinite;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--accent-purple);
    position: relative;
    z-index: 1;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-purple);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-purple);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-purple);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.5);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--accent-purple-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
    border: 4px solid var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.timeline-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--text-primary);
}

.timeline-content {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex: 1;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.timeline-content:hover {
    border-color: var(--accent-purple);
    transform: translateX(8px);
    box-shadow: var(--shadow-glow), var(--shadow-card);
}

.timeline-content h3 {
    color: var(--accent-purple);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.timeline-date {
    color: var(--accent-teal);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 194, 209, 0.1);
    border-radius: 20px;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 20px;
    background: var(--gradient-bg);
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 14s ease-in-out infinite;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.filter-btn {
    padding: 12px 28px;
    background: transparent;
    border: 2px solid var(--accent-purple);
    color: var(--text-primary);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-purple-dark);
    transition: var(--transition);
    z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    left: 0;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--text-primary);
    border-color: var(--accent-purple-dark);
}

.portfolio-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 1;
}

.carousel-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--glassmorphism-strong);
    border: 2px solid var(--accent-purple);
    color: var(--accent-purple);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: var(--gradient-purple);
    color: var(--bg-dark);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    flex: 1;
    overflow: hidden;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.portfolio-item:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: var(--shadow-glow), var(--shadow-card);
}

.portfolio-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.95) 0%, rgba(236, 72, 153, 0.9) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

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

.portfolio-overlay h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    padding: 0 1rem;
}

.portfolio-overlay p {
    color: var(--accent-purple-light);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Services Section */
.services {
    padding: 100px 20px;
    background: var(--gradient-bg);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 15%;
    right: 8%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 16s ease-in-out infinite;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-purple);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-glow), var(--shadow-card-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    filter: blur(15px);
    opacity: 0.5;
    z-index: -1;
}

.service-icon.orange {
    background: rgba(255, 184, 77, 0.2);
    color: var(--accent-amber);
    box-shadow: 0 0 20px rgba(255, 184, 77, 0.3);
}

.service-icon.orange svg {
    fill: var(--accent-amber);
}

.service-icon.green {
    background: rgba(0, 194, 209, 0.2);
    color: var(--accent-teal);
    box-shadow: 0 0 20px rgba(0, 194, 209, 0.3);
}

.service-icon.green svg {
    fill: var(--accent-teal);
}

.service-icon.pink {
    background: rgba(108, 76, 241, 0.2);
    color: var(--accent-purple);
    box-shadow: 0 0 20px rgba(108, 76, 241, 0.3);
}

.service-icon.pink svg {
    fill: var(--accent-purple);
}

.service-icon.blue {
    background: rgba(255, 107, 138, 0.2);
    color: var(--accent-rose);
    box-shadow: 0 0 20px rgba(255, 107, 138, 0.3);
}

.service-icon.blue svg {
    fill: var(--accent-rose);
}

.service-card h3 {
    color: var(--accent-purple);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

/* Service cards with different accent colors */
.services-grid .service-card:nth-child(1):hover {
    border-color: var(--accent-amber);
    box-shadow: var(--shadow-glow-amber), var(--shadow-card-hover);
}

.services-grid .service-card:nth-child(1) h3 {
    color: var(--accent-amber);
}

.services-grid .service-card:nth-child(2):hover {
    border-color: var(--accent-teal);
    box-shadow: var(--shadow-glow-teal), var(--shadow-card-hover);
}

.services-grid .service-card:nth-child(2) h3 {
    color: var(--accent-teal);
}

.services-grid .service-card:nth-child(3):hover {
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-glow), var(--shadow-card-hover);
}

.services-grid .service-card:nth-child(3) h3 {
    color: var(--accent-purple);
}

.services-grid .service-card:nth-child(4):hover {
    border-color: var(--accent-rose);
    box-shadow: 0 0 30px rgba(255, 107, 138, 0.25), var(--shadow-card-hover);
}

.services-grid .service-card:nth-child(4) h3 {
    color: var(--accent-rose);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.services-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--glassmorphism);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
}

.services-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 20px;
    background: var(--gradient-bg);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 184, 77, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 20s ease-in-out infinite;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-amber);
    box-shadow: var(--shadow-glow-amber), var(--shadow-card-hover);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glassmorphism);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-amber);
}

.testimonial-avatar svg {
    width: 30px;
    height: 30px;
    fill: var(--accent-amber);
}

.testimonial-info h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-info span {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-rating svg {
    fill: var(--accent-amber);
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    background: var(--gradient-bg);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(108, 76, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 18s ease-in-out infinite;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.contact-info {
    padding: 2rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--accent-purple);
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    fill: var(--accent-purple);
    flex-shrink: 0;
}

.contact-item span,
.contact-item a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-item a:hover {
    color: var(--accent-purple);
}

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

.contact-form-wrapper {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-dark-lighter);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(108, 76, 241, 0.1);
}

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

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

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    transition: var(--transition);
    text-decoration: none;
    background: var(--glassmorphism-strong);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-purple);
    border-radius: 50%;
    transform: scale(0);
    transition: var(--transition);
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link svg {
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.social-link:hover {
    border-color: transparent;
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.6);
}

.social-link:hover svg {
    color: var(--bg-dark);
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

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

@keyframes morph {
    0%, 100% {
        border-radius: 50%;
        transform: scale(1);
    }
    25% {
        border-radius: 45% 55% 55% 45%;
        transform: scale(1.02);
    }
    50% {
        border-radius: 55% 45% 45% 55%;
        transform: scale(0.98);
    }
    75% {
        border-radius: 45% 55% 55% 45%;
        transform: scale(1.01);
    }
}

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

/* Scroll Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-container {
        gap: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-details {
        flex-direction: row;
    }

    .detail-card {
        flex: 1;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

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

    .hero-stats {
        gap: 2rem;
        padding: 1rem 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        padding: 2rem;
        gap: 1.5rem;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .about-details {
        flex-direction: column;
    }

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

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

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

    .timeline::before {
        left: 10px;
    }

    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 15px 30px;
    }

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

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .profile-shape {
        width: 280px;
        height: 280px;
    }

    .circle-1 {
        width: 230px;
        height: 230px;
    }

    .circle-2 {
        width: 180px;
        height: 180px;
        top: 70px;
        left: 70px;
    }

    .profile-placeholder {
        width: 170px;
        height: 170px;
    }

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

    .stat-number {
        font-size: 1.3rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-info {
        padding: 0;
    }

    .portfolio-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .services-cta {
        padding: 1.5rem;
    }

    .services-cta p {
        font-size: 0.95rem;
    }
}
