/* RESET ET FOND */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}


:root {
    /* Couleurs de fond */
    --bg-color: #14100e;
    --second-bg-color: #1a1512;
    --bg-tertiary: #221b16;
    --card-bg: #1d1713;
    
    /* Couleurs d'accent - Terracotta & Sable */
    --main-color: #d97a5a;
    --accent-color: #d9b48f;
    --accent-tertiary: #c98e6d;
    
    /* Couleurs de texte */
    --text-color: #fafafa;
    --text-secondary: #a0a0a0;
    --text-muted: #6b6b6b;
    
    /* Couleurs dégradées */
    --gradient: linear-gradient(135deg, #d97a5a 0%, #d9b48f 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(217, 122, 90, 0.15) 0%, transparent 70%);
    
    /* Ombres */
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 60px rgba(232, 180, 184, 0.2);
    
    /* Border */
    --border-color: rgba(232, 180, 184, 0.2);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(232, 180, 184, 0.2);
    
    /* Header */
    --header-bg: rgba(20, 16, 14, 0.92);
    --input-border: rgba(232, 180, 184, 0.3);
    
    /* Typographie */
    --font-display: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'Space Grotesk', monospace;
    
    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    --spacing-2xl: 12rem;
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --radius-full: 50%;
}

/* Light Mode Variables */
:root.light-mode {
    --bg-color: #f7f2ec;
    --second-bg-color: #efe7dd;
    --bg-tertiary: #e6dacd;
    --card-bg: #fffdfa;
    
    --main-color: #c25a38;
    --accent-color: #b07a4a;
    --accent-tertiary: #a86a45;
    
    --text-color: #2a1f18;
    --text-secondary: #5c4f45;
    --text-muted: #8a7a6d;
    
    --gradient: linear-gradient(135deg, #c25a38 0%, #c98e5a 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(194, 90, 56, 0.1) 0%, transparent 70%);
    
    --shadow: 0 4px 30px rgba(80, 50, 30, 0.08);
    --shadow-soft: 0 4px 30px rgba(80, 50, 30, 0.08);
    --shadow-medium: 0 8px 40px rgba(80, 50, 30, 0.12);
    --shadow-glow: 0 0 60px rgba(194, 90, 56, 0.15);
    
    --border-color: rgba(120, 80, 50, 0.22);
    --border-subtle: rgba(80, 50, 30, 0.08);
    --border-accent: rgba(194, 90, 56, 0.3);
    
    --header-bg: rgba(247, 242, 236, 0.97);
    --input-border: rgba(120, 80, 50, 0.25);
}

/* Chiffres fantômes : plus présents et lisibles en mode clair */
:root.light-mode .bold-ghost-num,
:root.light-mode .about::before,
:root.light-mode .services::before,
:root.light-mode .projects::before,
:root.light-mode .competencies::before,
:root.light-mode .contact::before {
    opacity: 0.12;
    -webkit-text-stroke-width: 2px;
}
/* Photo : retirer l'assombrissement en mode clair */
:root.light-mode .photo-frame img,
:root.light-mode .mcard-img img,
:root.light-mode .project-image-wrapper img { filter: none; }

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: none;
    color: var(--accent-color);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-left: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.theme-toggle:hover {
    background: rgba(232, 180, 184, 0.1);
    transform: scale(1.1);
}

.theme-toggle i {
    transition: transform 0.3s ease;
}

/* Smooth transitions for theme changes */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

html {
    font-size: 55%;
    overflow-x: hidden;
}

body {
    background: linear-gradient(-45deg, var(--bg-color), var(--second-bg-color), var(--second-bg-color), var(--bg-color));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: var(--text-color);
    position: relative;
    overflow-x: hidden;
}


body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(232, 180, 184, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 165, 116, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(201, 168, 124, 0.05) 0%, transparent 50%);
    animation: floatingOrbs 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes floatingOrbs {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-40px) rotate(180deg);
        opacity: 0.7;
    }
    75% {
        transform: translateY(-20px) rotate(270deg);
        opacity: 0.5;
    }
}

.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 2rem 10%;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.logo {
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    letter-spacing: 1px;
}

.logo:hover {
    transform: scale(1.1);
}

span {
    background: linear-gradient(90deg, #e8b4b8 0%, #d4a574 50%, #c9a87c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

#menu-icon {
    font-size: 1rem;
    color: var(--accent-color);
    display: none;
    cursor: pointer;
}

.navbar a {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-left: 2.5rem;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    position: relative;
}

.navbar a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -5px;
    background: linear-gradient(90deg, var(--accent-color), var(--main-color));
    transition: width 0.3s ease;
}

.navbar a:hover::after {
    width: 100%;
}

.navbar a:hover {
    color: var(--accent-color);
}

.gradient-btn {
    padding: 1rem 2.8rem;
    border: none;
    border-radius: 30px;
    background: var(--gradient);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.gradient-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: left 0.5s;
}

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

.gradient-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.6);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--second-bg-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--main-color), var(--accent-color));
    border-radius: 10px;
}

section {
    min-height: 100vh;
    padding: 10rem 15%;
}

/* MAGAZINE LAYOUT STYLES */
.magazine-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.magazine-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.magazine-badge {
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(232, 180, 184, 0.3);
    letter-spacing: 1px;
}

.magazine-title {
    font-size: 8rem;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.magazine-title .highlight {
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.magazine-title .subtitle {
    color: var(--text-color);
    font-size: 6rem;
    font-weight: 300;
    display: block;
    margin-top: 1rem;
}

.magazine-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--main-color), var(--accent-color));
    margin: 3rem 0;
    border-radius: 2px;
}


.magazine-description {
    font-size: 1.8rem;
    line-height: 1.6;
    color: rgba(245, 245, 245, 0.9);
    margin-bottom: 3rem;
    max-width: 500px;
}

.signature-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    margin: 2.2rem 0 3.2rem;
}

.highlight-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 1.4rem;
    padding: 1.4rem 1.2rem;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.highlight-pill:hover {
    transform: translateY(-4px);
    border-color: var(--main-color);
    box-shadow: 0 12px 24px rgba(232, 180, 184, 0.15);
}

.highlight-title {
    display: block;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.highlight-sub {
    display: block;
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.magazine-cta {
    display: flex;
    gap: 2rem;
}

.magazine-btn {
    padding: 1.5rem 3rem;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.magazine-btn.primary {
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
    color: white;
    box-shadow: 0 8px 25px rgba(232, 180, 184, 0.4);
}

.magazine-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(232, 180, 184, 0.6);
}

.magazine-btn.secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid var(--main-color);
}

.magazine-btn.secondary:hover {
    background: var(--main-color);
    color: #ffffff;
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.6s ease;
}

.image-frame:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 0 40px var(--main-color),
                0 25px 50px rgba(0, 0, 0, 0.4);
}

.image-frame img {
    width: 400px;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(232, 180, 184, 0.2), rgba(212, 165, 116, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-frame:hover .image-overlay {
    opacity: 1;
}

/* Floating card for about section */
.about-card {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: floatCard 6s ease-in-out infinite;
}

.about-card i {
    font-size: 2rem;
    color: var(--main-color);
}

.about-card span {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(232, 180, 184, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    animation: floatCard 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 2rem;
    color: var(--main-color);
}

.floating-card span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    left: -15%;
    animation-delay: 2s;
}

.card-3 {
    top: 60%;
    right: -5%;
    animation-delay: 4s;
}

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

.magazine-social {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.social-line {
    width: 2px;
    height: 100px;
    background: linear-gradient(180deg, var(--main-color), var(--accent-color));
    border-radius: 1px;
}

.magazine-social .social-icons {
    display: flex;
    gap: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(232, 180, 184, 0.3);
    border-radius: 50%;
    color: var(--main-color);
    font-size: 2rem;
    transition: all 0.4s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--main-color);
    color: black;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(232, 180, 184, 0.4);
}

.btn-group {
    display: flex;
    gap: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gradient);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    border-radius: 3rem;
    font-size: 1.8rem;
    color: white;
    border: 2px solid transparent;
    font-weight: 600;
    transition: 0.4s ease-in-out;
    position: relative;
    overflow: hidden;
}

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

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

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.6);
}

.btn-group a:nth-of-type(2) {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0 25px transparent;
}

.btn-group a:nth-of-type(2):hover {
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
    color: black;
    transform: translateY(-3px);
}

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
    background: var(--bg-color);
}

.about-img img {
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    transition: 0.6s ease-in-out;
    position: relative;
}

.about-img img:hover {
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color),
                0 0 100px var(--main-color);
    transform: scale(1.05) rotate(-5deg);
}

.about-content h2 {
    font-size: 7rem;
}

.about-content p {
    font-size: 1.8rem;
}

.about-content .btn {
    margin: 3rem 0;
}

.heading {
    text-align: center;
    font-size: 7rem;
    margin: 5rem 0;
}

.services {
    background-color: var(--bg-color);
    color: black;
}

.services h2 {
    color: var(--text-color);
}

.services-container {
    display: flex;                
    justify-content: space-between; 
    align-items: flex-start;        
    gap: 2.5rem;                    
    flex-wrap: nowrap;             
}

.service-box {
    flex: 1;
    max-width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--gradient);
    height: 500px;
    border-radius: 2rem;
    cursor: pointer;
    border: 4px solid transparent;
    transition: 0.5s ease-in-out;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-box::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.6s;
}

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

.service-box:hover {
    background-color: var(--second-bg-color);
    color: var(--main-color);
    border: 5px solid var(--main-color);
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.service-info {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 5rem;
}

.service-info h4 {
    font-size: 3rem;
    margin: 2rem 0;
    font-weight: 800;
}

.service-info p {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.7;
}

.service-info i {
    font-size: 6rem;
}

.projects {
    background-color: var(--bg-color);
}

.projects-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    place-items: center;
    gap: 2rem;
}

@media (max-width: 1024px) {
    .projects-box {
        grid-template-columns: repeat(2, 1fr);
    }

    .magazine-hero {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .magazine-title {
        font-size: 6rem;
    }

    .magazine-title .subtitle {
        font-size: 4rem;
    }

    .signature-highlights {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .highlight-pill {
        width: 100%;
        max-width: 520px;
    }

    .magazine-cta {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .image-frame img {
        width: 300px;
        height: 400px;
    }

    .about-content h2 {
        font-size: 6rem;
    }

    .heading {
        font-size: 6rem;
    }

    .services-container {
        flex-direction: column;
        align-items: center;
    }

    .service-box {
        max-width: 80%;
    }

    /* TABLET - Show hamburger menu */
    .header {
        padding: 1rem 5%;
    }

    .logo {
        font-size: 2rem;
    }

    #menu-icon {
        display: block;
        font-size: 2.5rem;
        cursor: pointer;
        color: var(--accent-color);
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 5%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(15px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        display: none;
        z-index: 999;
    }

    .navbar.active {
        display: block;
    }

    .navbar a {
        display: block;
        margin: 1rem 0;
        font-size: 1.6rem;
        padding: 0.5rem 0;
    }
}

@media (max-width: 600px) {
    html {
        font-size: 50%;
    }

    section {
        padding: 8rem 5%;
    }

    .magazine-layout {
        padding: 6rem 5% 10rem;
    }

    .magazine-hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .magazine-title {
        font-size: 5rem;
    }

    .magazine-title .subtitle {
        font-size: 3rem;
    }

    .magazine-description {
        font-size: 1.4rem;
    }

    .signature-highlights {
        gap: 0.9rem;
    }

    .highlight-pill {
        text-align: left;
        padding: 1.2rem 1rem;
    }

    .highlight-title {
        font-size: 1.4rem;
    }

    .highlight-sub {
        font-size: 1.15rem;
    }

    .magazine-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .magazine-btn {
        padding: 1.2rem 2rem;
        font-size: 1.4rem;
    }

    .hero-image {
        order: -1;
    }

    .image-frame img {
        width: 250px;
        height: 350px;
    }

    .floating-card {
        padding: 1rem;
    }

    .floating-card i {
        font-size: 1.5rem;
    }

    .floating-card span {
        font-size: 1rem;
    }

    .magazine-social {
        bottom: 2rem;
    }

    .social-line {
        height: 50px;
    }

    .magazine-social .social-icons {
        gap: 1rem;
    }

    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .cube-container {
        display: none;
    }

    .about {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .about-img img {
        width: 25vw;
    }

    .about-content h2 {
        font-size: 5rem;
    }

    .about-content p {
        font-size: 1.5rem;
    }

    .services-container {
        flex-direction: column;
        align-items: center;
    }

    .service-box {
        max-width: 90%;
        height: auto;
        padding: 2rem;
    }

    .service-info h4 {
        font-size: 2.5rem;
    }

    .service-info p {
        font-size: 1.1rem;
    }

    .service-info i {
        font-size: 5rem;
    }

    .projects-box {
        grid-template-columns: 1fr;
    }

    .project-card h3 {
        font-size: 2rem;
    }

    .project-card p {
        font-size: 1.4rem;
    }

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

    .input-group {
        flex-direction: column;
        gap: 1rem;
    }

    .input-box {
        width: 100%;
    }

    .footer ul {
        flex-direction: column;
        gap: 1rem;
    }

    .footer ul li {
        margin: 0;
    }
}

.project-card {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(22, 22, 22, 0.9) 100%);
    border: 2px solid var(--main-color);
    border-radius: 3rem;
    gap: 1.5rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: 0.5s ease;
    position: relative;
}

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

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

.project-card:hover {
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color),
                0 20px 40px rgba(0, 0, 0, 0.7);
    transform: translateY(-10px) scale(1.02);
}

.project-card img {
    max-width: 90%;
    border-radius: 1rem;
    transition: 0.4s ease;
}

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

.project-card h3 {
    font-size: 2.4rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-card p {
    font-size: 1.6rem;
}

.project-card:hover {
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color);
    transform: scale(1.02);
}

.project-card img {
    max-width: 90%;
}

.project-card h3 {
    font-size: 2.4rem;
}

.project-card p {
    font-size: 1.6rem;
}

/* MAGAZINE SECTIONS */
.magazine-section {
    padding: 12rem 0;
    background: var(--bg-color);
    position: relative;
}

.magazine-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-badge {
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 3rem;
    box-shadow: 0 8px 25px rgba(232, 180, 184, 0.3);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    font-size: 6rem;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.section-title .highlight {
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title .subtitle {
    color: var(--text-color);
    font-size: 4rem;
    font-weight: 300;
    display: block;
    margin-top: 1rem;
}

/* ABOUT SECTION - PREMIUM DARK DESIGN */
.about {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5%;
    background: var(--bg-color);
    position: relative;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 5rem;
    align-items: center;
}

/* Image Side */
.about-visual {
    position: relative;
}

.image-container {
    position: relative;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.image-container::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: -1rem;
    bottom: -1rem;
    border: 1px solid var(--main-color);
    border-radius: 4px;
    z-index: -1;
    opacity: 0.3;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    transition: transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.03);
}

.image-caption {
    position: absolute;
    bottom: -1.5rem;
    right: 2rem;
    background: var(--main-color);
    color: var(--bg-color);
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(232, 180, 184, 0.3);
}

/* Content Side */
.about-details {
    padding: 1rem 0;
}

.section-tag {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--main-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--main-color);
}

.about-heading {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.about-heading span {
    display: block;
    font-weight: 300;
    font-size: 3rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    letter-spacing: 0;
}

.about-bio {
    font-size: 1.7rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.highlight-text {
    color: var(--main-color);
    font-weight: 500;
}

.about-divider {
    width: 60px;
    height: 3px;
    background: var(--gradient);
    margin: 2rem 0;
    border-radius: 2px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.info-box {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 4px;
    border-left: 3px solid var(--main-color);
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(232, 180, 184, 0.2);
}

.info-box h4 {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.info-box p {
    font-size: 1.6rem;
    color: var(--text-color);
    font-weight: 600;
}

/* ============================================
   RESPONSIVE DESIGN - TOUS LES ÉCRANS
   ============================================ */

/* Desktop Large (1400px+) */
@media (max-width: 1600px) {
    .about-wrapper {
        gap: 4rem;
    }
    
    .about-heading {
        font-size: 4rem;
    }
    
    .about-heading span {
        font-size: 2.8rem;
    }
}

/* Laptop (1024px - 1200px) */
@media (max-width: 1200px) {
    .about-wrapper {
        gap: 3.5rem;
    }
    
    .about-heading {
        font-size: 3.5rem;
    }
    
    .about-heading span {
        font-size: 2.5rem;
    }
    
    .about-bio {
        font-size: 1.6rem;
    }
}

/* Tablet Landscape (768px - 1024px) - Style Hamburger */
@media (max-width: 1024px) {
    .about {
        padding: 6rem 4%;
        min-height: auto;
    }
    
    .about-wrapper {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .about-visual {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .image-container {
        padding: 1rem;
    }
    
    .image-container::before {
        top: 0.5rem;
        left: 0.5rem;
        right: -0.5rem;
        bottom: -0.5rem;
    }
    
    .image-container img {
        width: 100%;
    }
    
    .image-caption {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        right: 1rem;
        bottom: -0.8rem;
    }
    
    .about-details {
        width: 100%;
        padding: 0.5rem 0;
        text-align: center;
    }
    
    .section-tag {
        font-size: 0.9rem;
        letter-spacing: 3px;
        margin-bottom: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-heading {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
    }
    
    .about-heading span {
        font-size: 2rem;
        margin-top: 0.3rem;
    }
    
    .about-bio {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }
    
    .about-divider {
        width: 50px;
        height: 3px;
        margin: 1.5rem auto;
    }
    
    /* Style Hamburger - Info boxes en colonne */
    .info-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
        justify-content: center;
    }
    
    .info-box {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.2rem;
        border-left: none;
        border-bottom: 3px solid var(--main-color);
        border-radius: 4px;
    }
    
    .info-box:hover {
        transform: translateY(-3px);
    }
    
    .info-box h4 {
        font-size: 1.1rem;
        margin-bottom: 0;
    }
    
    .info-box p {
        font-size: 1.3rem;
    }
}

/* Mobile Large (576px - 768px) */
@media (max-width: 768px) {
    .about-heading {
        font-size: 2.5rem;
    }
    
    .about-heading span {
        font-size: 1.8rem;
    }
    
    .about-bio {
        font-size: 1.4rem;
    }
}

/* Mobile Medium (480px - 576px) */
@media (max-width: 576px) {
    .about {
        padding: 5rem 3%;
    }
    
    .about-wrapper {
        gap: 2rem;
    }
    
    .image-container {
        padding: 0.8rem;
    }
    
    .image-caption {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .about-heading {
        font-size: 2rem;
        letter-spacing: 0;
    }
    
    .about-heading span {
        font-size: 1.5rem;
    }
    
    .about-bio {
        font-size: 1.3rem;
    }
    
    .section-tag {
        font-size: 0.8rem;
    }
    
    .info-box {
        padding: 0.8rem 1rem;
    }
    
    .info-box h4 {
        font-size: 1rem;
    }
    
    .info-box p {
        font-size: 1.2rem;
    }
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
    .about {
        padding: 4rem 2%;
    }
    
    .about-heading {
        font-size: 1.8rem;
    }
    
    .about-heading span {
        font-size: 1.3rem;
    }
    
    .about-bio {
        font-size: 1.2rem;
    }
    
    .info-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .info-box p {
        font-size: 1.1rem;
    }
}

/* Extra Small (below 320px) */
@media (max-width: 320px) {
    .about-heading {
        font-size: 1.5rem;
    }
    
    .about-bio {
        font-size: 1.1rem;
    }
    
    .image-container {
        padding: 0.5rem;
    }
}


/* Light mode adjustments */
:root.light-mode .image-container {
    background: var(--card-bg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

:root.light-mode .info-box {
    background: var(--second-bg-color);
}

/* SERVICES MAGAZINE STYLE */

.services-magazine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
}

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

.service-magazine-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(232, 180, 184, 0.05), transparent);
    transition: left 0.6s;
}

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

.service-magazine-card:hover {
    transform: translateY(-10px);
    border-color: var(--main-color);
    box-shadow: 0 20px 40px rgba(232, 180, 184, 0.2);
}

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

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(232, 180, 184, 0.3);
}

.service-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-quote {
    font-size: 1.6rem;
    font-style: italic;
    color: var(--main-color);
    line-height: 1.4;
}

.service-description {
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgba(245, 245, 245, 0.8);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-tags span {
    background: rgba(232, 180, 184, 0.1);
    color: var(--main-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 500;
}

/* PROJECTS MAGAZINE STYLE */
.projects-magazine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
}

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

.project-magazine-card:hover {
    transform: translateY(-15px);
    border-color: var(--main-color);
    box-shadow: 0 25px 50px rgba(232, 180, 184, 0.2);
}

.project-image-wrapper {
    position: relative;
    overflow: hidden;
}

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

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

.project-overlay {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.project-category {
    font-size: 1.2rem;
    color: var(--main-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-content {
    padding: 3rem;
}

.project-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.project-description {
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgba(245, 245, 245, 0.8);
    margin-bottom: 2rem;
}

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

.project-tech span {
    background: rgba(212, 165, 116, 0.1);
    color: var(--accent-color);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

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

.project-link {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-link:first-child {
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
    color: white;
}

.project-link:last-child {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--main-color);
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 180, 184, 0.3);
}

/* CONTACT MAGAZINE STYLE */
.contact-magazine-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: start;
    position: relative;
}

/* Effet spotlight subtil qui suit la souris */
.contact-magazine-grid::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 180, 184, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    transform: translate(-50%, -50%);
    left: var(--mouse-x, 50%);
    top: var(--mouse-y, 50%);
}

.contact-magazine-grid:hover::before {
    opacity: 1;
}

/* ============================================
   CURSEUR LUXE - Design premium multi-couches
   ============================================ */

/* Masquer curseur natif sur tout le site */
body, a, button, input, textarea, .magazine-btn, .gradient-btn, 
.service-box, .project-card, .contact-item, .social-link,
.info-box, .competency-card, .service-magazine-card, 
.project-magazine-card, .theme-toggle, #menu-icon {
    cursor: none !important;
}

/* Curseur principal - Cercle extérieur */
.cursor-luxe {
    width: 40px;
    height: 40px;
    border: 2px solid var(--main-color);
    background: transparent;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                width 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                height 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                opacity 0.3s ease;
    opacity: 0;
}

/* Curseur visible */
.cursor-luxe.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Point central */
.cursor-luxe::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--main-color);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
                width 0.3s ease,
                height 0.3s ease;
}

.cursor-luxe.visible::before {
    transform: translate(-50%, -50%) scale(1);
}

/* Anneau extérieur pulsant */
.cursor-luxe::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        opacity: 0.1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

/* État hover - Expansion élégante */
.cursor-luxe.hover {
    width: 70px;
    height: 70px;
    border-color: var(--accent-color);
    background: transparent;
}

.cursor-luxe.hover::before {
    width: 12px;
    height: 12px;
    background: var(--accent-color);
}

/* État click - Impact visuel */
.cursor-luxe.click {
    transform: translate(-50%, -50%) scale(0.9);
}

.cursor-luxe.click::before {
    transform: translate(-50%, -50%) scale(1.5);
}

/* Trail de particules */
.cursor-trail {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    border-radius: 50%;
    background: radial-gradient(circle, var(--main-color) 0%, transparent 70%);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.cursor-trail.active {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1);
}

/* Effet magnétique sur les éléments interactifs */
.magnetic-hover {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Curseur sur texte sélectionnable */
.cursor-luxe.text-hover {
    width: 3px;
    height: 24px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--main-color), var(--accent-color));
    mix-blend-mode: difference;
}

.cursor-luxe.text-hover::before,
.cursor-luxe.text-hover::after {
    display: none;
}

/* Animation d'entrée fluide */
@keyframes cursorEnter {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(-180deg);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 1;
    }
}

.cursor-luxe.visible {
    animation: cursorEnter 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Mode sombre/clair adaptation */
:root.light-mode .cursor-luxe {
    mix-blend-mode: normal;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--main-color), var(--accent-color)) border-box;
}

:root.light-mode .cursor-luxe::before {
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
}

/* Mobile - Restaurer curseur natif */
@media (pointer: coarse), (max-width: 1024px) {
    body, a, button, input, textarea {
        cursor: auto !important;
    }
    
    .cursor-luxe,
    .cursor-trail {
        display: none !important;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-intro h3 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    line-height: 1.2;
}

.contact-intro p {
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    padding: 1.2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(232, 180, 184, 0.15), rgba(212, 165, 116, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.contact-item:hover::before {
    opacity: 1;
}

.contact-item:hover {
    border-color: var(--main-color);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(232, 180, 184, 0.2);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(232, 180, 184, 0.4);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(232, 180, 184, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.contact-text h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-color);
}

.contact-text p {
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.contact-form {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--main-color), var(--accent-color));
}

.form-header {
    margin-bottom: 2.5rem;
}

.form-header h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-color);
}

.form-header p {
    font-size: 1.4rem;
    color: var(--text-secondary);
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.input-wrapper {
    position: relative;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 1.4rem 1.2rem;
    font-size: 1.5rem;
    color: var(--text-color);
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 120px;
}

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

.input-wrapper input:hover,
.input-wrapper textarea:hover {
    border-color: rgba(232, 180, 184, 0.5);
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 3px rgba(232, 180, 184, 0.1);
}

.full-width {
    grid-column: 1 / -1;
}

.magazine-btn.full-width {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1.6rem;
    font-size: 1.6rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(232, 180, 184, 0.3);
    position: relative;
    overflow: hidden;
}

.magazine-btn.full-width::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 ease;
}

.magazine-btn.full-width:hover::before {
    left: 100%;
}

.magazine-btn.full-width:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(232, 180, 184, 0.4);
}

.magazine-btn.full-width i {
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.magazine-btn.full-width:hover i {
    transform: translateX(4px);
}

/* Contact responsive */
@media (max-width: 1024px) {
    .contact-magazine-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .contact-info {
        order: 1;
    }
    
    .contact-form {
        order: 0;
    }
}

@media (max-width: 768px) {
    .contact-magazine-grid {
        gap: 3rem;
    }
    
    .contact-intro h3 {
        font-size: 2.4rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
    }
    
    .contact-form {
        padding: 2.5rem;
        border-radius: 20px;
    }
    
    .form-group {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .form-header h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .contact-intro h3 {
        font-size: 2rem;
    }
    
    .contact-text h4 {
        font-size: 1.4rem;
    }
    
    .contact-text p {
        font-size: 1.2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .input-wrapper input,
    .input-wrapper textarea {
        padding: 1.2rem 1rem;
        font-size: 1.4rem;
    }
    
    .magazine-btn.full-width {
        padding: 1.4rem;
        font-size: 1.5rem;
    }
}

/* EDITORIAL HERO - OUT OF ORDINARY */
.editorial-home {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.editorial-grid {
    max-width: 1380px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.editorial-main {
    position: relative;
    z-index: 2;
}

.editorial-kicker {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    font-size: 1.2rem;
    letter-spacing: 2px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, rgba(232, 180, 184, 0.95), rgba(212, 165, 116, 0.95));
    box-shadow: 0 10px 30px rgba(232, 180, 184, 0.35);
    margin-bottom: 2rem;
}

.editorial-title {
    font-size: clamp(4.6rem, 7vw, 9.2rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 2.2rem;
    text-transform: uppercase;
    color: var(--text-color);
}

.editorial-title span {
    background: linear-gradient(90deg, #f6c5cc 0%, #e8b4b8 45%, #d4a574 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.editorial-lead {
    font-size: 1.9rem;
    line-height: 1.75;
    color: rgba(245, 245, 245, 0.9);
    max-width: 62ch;
    margin-bottom: 3rem;
}

.editorial-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.editorial-btn {
    padding: 1.4rem 2.4rem;
    border-radius: 999px;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    transition: all 0.35s ease;
    border: 1px solid transparent;
}

.editorial-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #e8b4b8 0%, #d4a574 100%);
    box-shadow: 0 14px 35px rgba(232, 180, 184, 0.35);
}

.editorial-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
}

.editorial-btn-ghost {
    color: var(--text-color);
    border-color: rgba(232, 180, 184, 0.5);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.editorial-btn-ghost:hover {
    border-color: var(--main-color);
    background: rgba(232, 180, 184, 0.08);
}

.editorial-signature {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 1.45rem;
}

.editorial-signature .line {
    width: 54px;
    height: 2px;
    background: linear-gradient(90deg, var(--main-color), var(--accent-color));
    border-radius: 2px;
}

.editorial-side {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(232, 180, 184, 0.22);
    border-radius: 28px;
    padding: 2.2rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.38);
}

.editorial-photo-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.6rem;
}

.editorial-photo-wrap img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.photo-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(232, 180, 184, 0.26), rgba(212, 165, 116, 0.12));
}

.editorial-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.editorial-tags span {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(232, 180, 184, 0.2);
    border: 1px solid rgba(232, 180, 184, 0.3);
}

.editorial-note {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    color: var(--text-secondary);
    font-size: 1.35rem;
    line-height: 1.6;
}

.editorial-note i {
    font-size: 1.8rem;
    color: var(--main-color);
    margin-top: 0.1rem;
}

.editorial-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(55px);
    pointer-events: none;
    z-index: -1;
}

.blob-left {
    width: 360px;
    height: 360px;
    left: -10%;
    top: 12%;
    background: rgba(232, 180, 184, 0.24);
}

.blob-right {
    width: 320px;
    height: 320px;
    right: -8%;
    bottom: 12%;
    background: rgba(212, 165, 116, 0.2);
}

@media (max-width: 1024px) {
    .editorial-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .editorial-actions {
        justify-content: center;
    }

    .editorial-signature {
        justify-content: center;
    }

    .editorial-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .editorial-side {
        max-width: 560px;
        margin: 0 auto;
        text-align: left;
    }
}

@media (max-width: 600px) {
    .editorial-title {
        font-size: 4.4rem;
        line-height: 1.02;
    }

    .editorial-lead {
        font-size: 1.55rem;
    }

    .editorial-btn {
        width: 100%;
        text-align: center;
    }

    .editorial-photo-wrap img {
        height: 340px;
    }

    .editorial-side {
        padding: 1.6rem;
    }
}

/* FOOTER MAGAZINE STYLE */
.magazine-footer {
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--second-bg-color) 100%);
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.magazine-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(232,180,184,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(212,165,116,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
    pointer-events: none;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 6rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    font-size: 1.6rem;
    color: rgba(245, 245, 245, 0.7);
    margin-bottom: 2rem;
}

.footer-quote {
    font-size: 1.8rem;
    font-style: italic;
    color: var(--main-color);
    padding-left: 2rem;
    border-left: 3px solid var(--main-color);
}

.footer-links h4,
.footer-social h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(245, 245, 245, 0.7);
    text-decoration: none;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--main-color);
    transform: translateX(5px);
}

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

.footer-social .social-link {
    width: 50px;
    height: 50px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(232, 180, 184, 0.3);
    border-radius: 50%;
    color: var(--main-color);
    font-size: 1.8rem;
    transition: all 0.4s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social .social-link:hover {
    background: var(--main-color);
    color: black;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(232, 180, 184, 0.4);
}

.footer-bottom {
    position: relative;
}

.footer-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--main-color), transparent);
    margin-bottom: 3rem;
}

.copyright-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 1.4rem;
    color: rgba(245, 245, 245, 0.6);
}

.footer-actions {
    display: flex;
    gap: 3rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(245, 245, 245, 0.7);
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--main-color);
    transform: translateY(-2px);
}

.back-to-top {
    cursor: pointer;
}

/* RESPONSIVE MAGAZINE DESIGN */
@media (max-width: 1200px) {
    .magazine-hero {
        gap: 6rem;
    }

    .about-grid,
    .contact-grid {
        gap: 6rem;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .magazine-section {
        padding: 10rem 0;
    }

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

    .section-title .subtitle {
        font-size: 3.5rem;
    }

    .magazine-hero {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .services-magazine-grid,
    .projects-magazine-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 3rem;
    }

    .service-magazine-card,
    .project-magazine-card {
        padding: 3rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-links ul {
        padding: 0;
    }

    .footer-links a:hover {
        transform: none;
    }
}

@media (max-width: 768px) {
    .magazine-section {
        padding: 8rem 0;
    }

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

    .section-title .subtitle {
        font-size: 3rem;
    }

    .magazine-badge {
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
    }

    .text-quote {
        font-size: 1.8rem;
    }

    .text-quote::before {
        font-size: 6rem;
        top: -1.5rem;
        left: -2rem;
    }

    .services-magazine-grid,
    .projects-magazine-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-magazine-card,
    .project-magazine-card {
        padding: 2.5rem;
    }

    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .service-icon-wrapper {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .service-header h3 {
        font-size: 2rem;
    }

    .project-content {
        padding: 2rem;
    }

    .project-content h3 {
        font-size: 1.8rem;
    }

    .project-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .contact-form {
        padding: 3rem;
    }

    .form-group {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-content {
        padding: 0 3%;
    }

    .footer-main {
        margin-bottom: 3rem;
    }

    .footer-brand h3 {
        font-size: 2.5rem;
    }

    .footer-quote {
        font-size: 1.6rem;
        padding-left: 1.5rem;
    }

    .copyright-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-actions {
        justify-content: center;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .magazine-section {
        padding: 6rem 0;
    }

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

    .section-title .subtitle {
        font-size: 2.5rem;
    }

    .magazine-badge {
        font-size: 0.9rem;
        padding: 0.5rem 1.2rem;
    }

    .text-quote {
        font-size: 1.6rem;
    }

    .text-quote::before {
        font-size: 4rem;
        top: -1rem;
        left: -1.5rem;
    }

    .text-description {
        font-size: 1.4rem;
    }

    .highlight-number {
        font-size: 2.5rem;
    }

    .highlight-label {
        font-size: 1.2rem;
    }

    .service-magazine-card,
    .project-magazine-card {
        padding: 2rem;
    }

    .service-header h3 {
        font-size: 1.8rem;
    }

    .service-quote {
        font-size: 1.4rem;
    }

    .service-description {
        font-size: 1.3rem;
    }

    .project-content h3 {
        font-size: 1.6rem;
    }

    .project-description {
        font-size: 1.3rem;
    }

    .contact-intro h3 {
        font-size: 2.5rem;
    }

    .contact-intro p {
        font-size: 1.4rem;
    }

    .contact-item {
        gap: 1.5rem;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .contact-text h4 {
        font-size: 1.6rem;
    }

    .contact-text p {
        font-size: 1.3rem;
    }

    .contact-form {
        padding: 2.5rem;
    }

    .form-header h3 {
        font-size: 2rem;
    }

    .form-header p {
        font-size: 1.3rem;
    }

    .input-wrapper input,
    .input-wrapper textarea {
        font-size: 1.5rem;
        padding: 1.2rem 0;
    }

    .footer-brand h3 {
        font-size: 2rem;
    }

    .footer-brand p {
        font-size: 1.4rem;
    }

    .footer-quote {
        font-size: 1.4rem;
        padding-left: 1rem;
    }

    .footer-links h4,
    .footer-social h4 {
        font-size: 1.8rem;
    }

    .footer-links a {
        font-size: 1.5rem;
    }

    .footer-social .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
    }

    .copyright {
        font-size: 1.3rem;
    }

    .footer-link {
        font-size: 1.3rem;
    }
}

/* COMPETENCIES SECTION */
.competencies {
    background: var(--bg-color);
}

.competencies-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 6rem;
}

.competencies-intro p {
    font-size: 1.8rem;
    line-height: 1.6;
    color: rgba(245, 245, 245, 0.8);
}

.competency-block {
    margin-bottom: 8rem;
}

.block-header {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(232, 180, 184, 0.2);
}

.block-number {
    font-size: 6rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.block-header h3 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-color);
    flex: 1;
}

.competency-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

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

.competency-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(232, 180, 184, 0.05), transparent);
    transition: left 0.6s;
}

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

.competency-card:hover {
    transform: translateY(-10px);
    border-color: var(--main-color);
    box-shadow: 0 20px 40px rgba(232, 180, 184, 0.2);
}

.competency-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(232, 180, 184, 0.3);
}

.competency-card h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.competency-progress {
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(232, 180, 184, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--main-color), var(--accent-color));
    border-radius: 10px;
    transition: width 1s ease;
    box-shadow: 0 0 10px rgba(232, 180, 184, 0.5);
}

.progress-label {
    font-size: 1.3rem;
    color: var(--accent-color);
    font-weight: 600;
}

.competency-description {
    font-size: 1.5rem;
    line-height: 1.6;
    color: rgba(245, 245, 245, 0.8);
    margin-bottom: 2rem;
}

.competency-projects {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.project-tag {
    background: rgba(212, 165, 116, 0.1);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 500;
    border: 1px solid rgba(212, 165, 116, 0.3);
}

.competency-evidence {
    font-size: 1.3rem;
    color: rgba(245, 245, 245, 0.7);
    padding: 1.5rem;
    background: rgba(232, 180, 184, 0.05);
    border-left: 3px solid var(--main-color);
    border-radius: 5px;
}

.competency-evidence strong {
    color: var(--main-color);
    font-weight: 600;
}

/* SELF ASSESSMENT */
.self-assessment {
    margin-top: 8rem;
    padding: 4rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.self-assessment h3 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Centered title for self-assessment */
.centered-title {
    text-align: center;
    display: block;
    width: 100%;
}

.assessment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

/* 4 columns for self-assessment */
.assessment-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.assessment-item {
    padding: 2rem;
    background: rgba(232, 180, 184, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(232, 180, 184, 0.1);
}

.assessment-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 2rem;
}

.assessment-item h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.assessment-item ul {
    list-style: none;
    padding: 0;
}

.assessment-item li {
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgba(245, 245, 245, 0.8);
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.assessment-item li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--main-color);
    font-weight: bold;
}

/* CV DOWNLOAD SECTION */
.cv-download-section {
    margin-top: 6rem;
    text-align: center;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(232, 180, 184, 0.1), rgba(212, 165, 116, 0.1));
    border-radius: 20px;
    border: 2px solid rgba(232, 180, 184, 0.3);
}

.cv-download-section h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.cv-download-section p {
    font-size: 1.6rem;
    color: rgba(245, 245, 245, 0.8);
    margin-bottom: 3rem;
}

.cv-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    font-size: 1.6rem;
}

.cv-btn i {
    font-size: 2rem;
}

/* RESPONSIVE COMPETENCIES */
@media (max-width: 1400px) {
    .competency-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .competency-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .block-header {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .block-number {
        font-size: 5rem;
    }

    .block-header h3 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .competencies-intro p {
        font-size: 1.6rem;
    }

    .competency-block {
        margin-bottom: 6rem;
    }

    .block-number {
        font-size: 4rem;
    }

    .block-header h3 {
        font-size: 2rem;
    }

    .competency-card {
        padding: 2.5rem;
    }

    .competency-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .competency-card h4 {
        font-size: 1.8rem;
    }

    .competency-description {
        font-size: 1.4rem;
    }

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

    .self-assessment {
        padding: 3rem;
    }

    .self-assessment h3 {
        font-size: 2.5rem;
    }

    .cv-download-section {
        padding: 3rem;
    }

    .cv-download-section h3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .competencies-intro p {
        font-size: 1.4rem;
    }

    .competency-block {
        margin-bottom: 4rem;
    }

    .block-header {
        gap: 1.5rem;
    }

    .block-number {
        font-size: 3rem;
    }

    .block-header h3 {
        font-size: 1.8rem;
    }

    .competency-card {
        padding: 2rem;
    }

    .competency-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }

    .competency-card h4 {
        font-size: 1.6rem;
    }

    .competency-description {
        font-size: 1.3rem;
    }

    .project-tag {
        font-size: 1.1rem;
        padding: 0.4rem 0.8rem;
    }

    .competency-evidence {
        font-size: 1.2rem;
        padding: 1.2rem;
    }

    .self-assessment {
        padding: 2rem;
    }

    .self-assessment h3 {
        font-size: 2rem;
    }

    .assessment-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }

    .assessment-item h4 {
        font-size: 1.8rem;
    }

    .assessment-item li {
        font-size: 1.3rem;
    }

    .cv-download-section {
        padding: 2.5rem;
    }

    .cv-download-section h3 {
        font-size: 2rem;
    }

    .cv-download-section p {
        font-size: 1.4rem;
    }

    .cv-btn {
        padding: 1.2rem 2rem;
        font-size: 1.4rem;
    }
}

/* FADE-IN */
.fade-in {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    animation: fadeInUp 1.2s forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* PAGE TRANSITION OVERLAY */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-transition.active {
    opacity: 1;
    visibility: visible;
}

.page-transition.slide-up {
    animation: slideUp 0.6s ease-in-out forwards;
}

.page-transition.slide-down {
    animation: slideDown 0.6s ease-in-out forwards;
}

@keyframes slideUp {
    0% {
        transform: translateY(100%);
        opacity: 1;
        visibility: visible;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
}

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

/* Page entrance animation */
.page-content {
    opacity: 0;
    transform: translateY(20px);
    animation: pageEnter 0.6s ease-out 0.3s forwards;
}

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

/* Prevent scroll during transition */
body.transitioning {
    overflow: hidden;
}

/* LIGHT MODE OVERRIDES - Fix hardcoded color */

:root.light-mode {
    /* Override hardcoded white colors */
}

:root.light-mode .magazine-description,
:root.light-mode .text-quote,
:root.light-mode .text-description,
:root.light-mode .service-description,
:root.light-mode .project-description,
:root.light-mode .competency-description,
:root.light-mode .competencies-intro p,
:root.light-mode .contact-intro p,
:root.light-mode .form-header p,
:root.light-mode .cv-download-section p,
:root.light-mode .footer-brand p,
:root.light-mode .footer-links a,
:root.light-mode .footer-quote,
:root.light-mode .copyright,
:root.light-mode .footer-link,
:root.light-mode .contact-text p,
:root.light-mode .image-caption,
:root.light-mode .stat-label,
:root.light-mode .highlight-label,
:root.light-mode .project-tech span,
:root.light-mode .competency-evidence,
:root.light-mode .assessment-item li {
    color: var(--text-muted);
}

:root.light-mode .floating-card,
:root.light-mode .social-link,
:root.light-mode .project-overlay,
:root.light-mode .floating-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

:root.light-mode .navbar {
    background: var(--header-bg);
}

@media (max-width: 600px) {
    :root.light-mode .navbar {
        background: var(--card-bg);
    }
}

/* Light mode contact form adjustments */
:root.light-mode .contact-form {
    background: var(--card-bg);
}

:root.light-mode .input-wrapper input,
:root.light-mode .input-wrapper textarea {
    background: var(--second-bg-color);
    border-color: var(--border-color);
}

:root.light-mode .input-wrapper input:focus,
:root.light-mode .input-wrapper textarea:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.15);
}
