:root {
    --primary-color: rgb(57, 41, 66);
    --secondary-color: #755c73;
    --third-color: rgb(67, 27, 89);
    --heading-font: "Jockey One", sans-serif;
    --body-font: "Exo 2", sans-serif;
    --cursor: url('../images/cursor.png');
    --pointer: url('../images/pointer.png');
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    cursor: var(--cursor), default;
}

body {
    cursor: var(--cursor), default;
    margin: 0;
    font-family: var(--body-font);
    line-height: 1.6;
}

a, button, .card:hover, .btn:hover {
    cursor: var(--pointer), pointer;
}

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

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 10px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--third-color), black);
}

/* Navigation */
nav {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(57, 41, 66, 0.5);
    border-bottom: rgba(255, 255, 255, 0.566) 2px solid;
    padding: 1em;
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1em;
    margin: 0;
    padding: 0;
}

nav ul a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

nav ul a:hover {
    color: rgb(0, 0, 0);
}

.active {
    text-decoration: underline;
    text-decoration-color: whitesmoke;
}

.active:hover {
    text-decoration-color: rgb(0, 0, 0);
}

/* Presentation Section */

.presentation {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 6rem 2rem;
    box-sizing: border-box;
    border-bottom: none;
    overflow: hidden;
}

.presentation::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        135deg,
        var(--third-color),
        var(--secondary-color),
        var(--primary-color),
        var(--secondary-color),
        var(--third-color)
    );
    background-size: 400% 400%;
    animation: gradient-shift 25s ease infinite;
    z-index: 0;
}

.presentation::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

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

.me {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 0;
}

.profile-pic {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.6);
    margin-bottom: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
    animation: float 4s ease-in-out infinite;
    transition: all 0.3s ease;
    position: relative;
    z-index: 0;
}

.profile-pic:hover {
    border-color: white;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5),
                inset 0 0 20px rgba(255, 255, 255, 0.15);
}

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

.me h2 {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideInDown 0.8s ease-out;
}

.me p {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.2rem 1.8rem;
    margin-bottom: 2.5rem;
    font-size: 1.15rem;
    line-height: 1.6;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: slideInUp 0.8s ease-out 0.2s both;
    max-width: 600px;
}

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

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

.me a {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    display: inline-block;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.me a:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.35);
    background: white;
    color: var(--secondary-color);
}

.me a:active {
    transform: translateY(-1px);
}

.button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    line-height: 1;
    justify-content: center;
}

.btn {
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    display: inline-block;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.btn-primary {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.35);
    background: white;
    color: var(--secondary-color);
}

.btn-secondary {
    color: white;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    border-color: white;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.25);
}

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

/* About Section */
.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    background: white;
    position: relative;
}

.about h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.about h5 {
    display: none;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1100px;
    width: 100%;
    position: relative;
    z-index: 0;
}

.about-image {
    flex-shrink: 0;
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border: none;
    transition: all 0.4s ease;
    position: relative;
    z-index: 0;
}

.about-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-family: var(--heading-font);
    font-size: 2.8rem;
    margin: 0 0 2rem 0;
    color: var(--primary-color);
    line-height: 1.2;
}

.about-text p {
    color: #555;
    line-height: 1.8;
    margin: 1.2rem 0;
    font-size: 1rem;
    letter-spacing: 0.2px;
}

.about-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

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

.info-label {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.info-value {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.about-quote {
    margin-top: 2rem;
    padding: 1.5rem;
    border-left: 4px solid var(--secondary-color);
    background-color: rgba(117, 92, 115, 0.05);
    font-style: italic;
    color: #666;
    font-size: 0.95rem;
}

@media (max-width: 968px) {
    .about {
        padding: 4rem 1.5rem;
    }

    .about-container {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    
    .about-image {
        width: 280px;
        height: 280px;
    }
    
    .about-text h2 {
        font-size: 2.2rem;
    }

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

    .about-quote {
        text-align: left;
    }
}

/* Main Sections (Knowledge, Experience, Projects) */
.knowledge, .experience, .projects {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 235, 245, 0.98));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 5vh 2rem;
    margin: 0;
    border-top: 2px solid rgba(117, 92, 115, 0.2);
    border-bottom: 2px solid rgba(117, 92, 115, 0.2);
}

/* Section Titles */
.knowledge h3, .formations h3, .description h3,
.experience h3, .projects h3, .contact-section h3 {
    margin: 3rem 0 2rem 0;
    text-align: center;
    font-family: var(--heading-font);
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 235, 245, 0.98));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 60vh;
    padding: 5vh 2rem;
    margin: 0;
    border-top: 2px solid rgba(117, 92, 115, 0.2);
    border-bottom: 2px solid rgba(117, 92, 115, 0.2);
}

.contact-section h3 {
    width: 100%;
    margin-top: 0;
}

.formations h5, .projects h5, .knowledge h5 {
    margin: 0 0 3rem 0;
    text-align: center;
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 500;
    width: 100%;
}

/* Skills Grid */
.technologies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    width: 100%;
    max-width: 1200px;
}

.stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(57, 41, 66, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(117, 92, 115, 0.15);
}

.stack:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(57, 41, 66, 0.15);
    border-color: rgba(117, 92, 115, 0.3);
}

.stack span {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.stack ul {
    width: 100%;
    max-width: 500px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.stack ul li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(117, 92, 115, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stack ul li:last-child {
    border-bottom: none;
}

/* Skill Progress Bar */
.skill-bar {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
}

.skill-bar progress {
    flex: 1;
    height: 12px;
    border-radius: 10px;
    border: none;
    background: rgba(117, 92, 115, 0.15);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    -webkit-appearance: none;
    appearance: none;
}

.skill-bar progress::-webkit-progress-bar {
    background: rgba(117, 92, 115, 0.15);
    border-radius: 10px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.skill-bar progress::-webkit-progress-value {
    background: linear-gradient(90deg, var(--secondary-color), var(--third-color));
    border-radius: 10px;
    transition: width 0.3s ease;
}

.skill-bar progress::-moz-progress-bar {
    background: linear-gradient(90deg, var(--secondary-color), var(--third-color));
    border-radius: 10px;
    transition: width 0.3s ease;
}

.percentage {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 600;
    min-width: 40px;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 12px;
    line-height: 1;
}

/* Tools Section */
.tools {
    background-color: var(--primary-color);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 60vh;
    margin: 0;
    padding: 5vh 5vh 5vh 40vh;
}

.tools h3 {
    font-family: var(--heading-font);
    font-size: 2rem;
    color: whitesmoke;
    margin-bottom: 1rem;
    margin-top: 0;
}

/* Description Section */
.description ul {
    max-width: 700px;
    margin: 0 auto 2rem auto;
    padding: 0;
    list-style: none;
}

.description ul li {
    background: white;
    margin: 0.5rem 0;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Container (Home/Landing Page Grid) */
.container {
    position: relative;
    box-sizing: border-box;
    min-width: 100vh;
    background-color: var(--secondary-color);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.container div {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.container .formation {
    background: url("../images/formation.png") center/cover no-repeat;
    box-shadow: inset 0 0 1000px rgb(57, 41, 66, 1);
}

.container .experience {
    background: url("../images/experiences.png") center/cover no-repeat;
    box-shadow: inset 0 0 1000px rgb(57, 41, 66, 1);
}

.container .realisation {
    background: url("../images/projects.png") center/cover no-repeat;
    box-shadow: inset 0 0 1000px rgb(57, 41, 66, 1);
}

.container div:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.8);
}

.container a {
    text-decoration: none;
}

.container a span {
    display: block;
    position: relative;
    padding: 1.5rem;
    border-radius: 8%;
    background-color: rgba(211, 203, 212, 0.8);
    color: rgba(0, 0, 0, 0);
    -webkit-text-stroke: 2px var(--primary-color);
    font-weight: bold;
    font-size: 2rem;
}

/* Navigation Grid */
.navigation {
    display: grid;
}

.H {
    grid-template-columns: repeat(3, 1fr);
}

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

.navigation div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 30vh;
    margin: 1.5rem;
    background: var(--gradient);
    color: #fff;
    border-radius: 1rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    cursor: var(--pointer), pointer;
    overflow: hidden;
    position: relative;
}

.navigation div:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 25px rgb(0, 0, 0, 0.8);
}

.navigation p {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    margin: 2rem;
    background: rgba(0, 0, 0, 0.05);
    color: #666;
    font-size: 1.2rem;
    font-weight: 500;
    border-radius: 1rem;
    border: 2px dashed var(--primary-color);
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.navigation p:hover {
    background: rgba(0, 0, 0, 0.08);
    color: var(--primary-color);
}

/* Experience Card */
.experience-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    margin: 0;
    background: rgba(117, 92, 115, 0.15);
    color: var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    cursor: var(--pointer), pointer;
    border-left: 3px solid transparent;
}

.experience-card:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    border-left-color: var(--secondary-color);
    transform: translateX(4px);
}

.experience-header {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.experience-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.experience-status {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 0.25rem 0.7rem;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    width: fit-content;
}

/* Card Component */
.card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(117, 92, 115, 0.1);
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
    border-color: rgba(117, 92, 115, 0.2);
}

.card-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--gradient);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.card-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.card-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
}

.card-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.card-tag {
    display: inline-block;
    background: rgba(117, 92, 115, 0.15);
    color: var(--secondary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.card-badge {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 0.25rem 0.7rem;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    width: fit-content;
}

.card-date {
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
}

.card-footer {
    display: block;
    padding-top: 1rem;
    border-top: 1px solid rgba(117, 92, 115, 0.1);
}

.card-footer a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.card-list {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Vertical Navigation */
.V div {
    margin: 1rem;
    margin-left: 15rem;
    margin-right: 15rem;
    
    color: rgba(211, 203, 212, 0.8);
}

.info-window {
    overflow: hidden;
    z-index: 2;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-content {
    overflow-y: auto;
    position: relative;
    background-color: rgba(255, 255, 255, 0.6);
    margin: 2rem;
    border-radius: 10px;
    max-width: 180vh;
    max-height: 80vh;
    padding: 5% 2% 2% 5%;
}

.infoTitre {
    font-weight: bold;
}

.info-content .closeInfo {
    position: absolute;
    top: 5%;
    right: 5%;
}

.closeLogo {
    width: 20px;
    height: 20px;
    cursor: var(--pointer), pointer;
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 3rem;
    width: 100%;
    max-width: 1400px;
}

.contact {
    display: flex;
    flex: 1;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0;
    min-height: 0;
}

.contact form {
    width: 100%;
    padding: 3rem 2.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 250, 0.95));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-radius: 1.5rem;
    border: 1px solid rgba(117, 92, 115, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.other-contact {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0;
}

.contact form label {
    cursor: var(--cursor), default;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
}

.contact form input,
.contact form textarea {
    padding: 0.9rem 1.2rem;
    border: 2px solid rgba(117, 92, 115, 0.3);
    border-radius: 0.5rem;
    font-family: var(--body-font);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #333;
}

.contact form input:focus,
.contact form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(117, 92, 115, 0.1);
    transform: translateY(-2px);
}

.contact form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact form button {
    border: none;
    border-radius: 0.5rem;
    color: whitesmoke;
    background: var(--gradient);
    padding: 1rem 2rem;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(57, 41, 66, 0.3);
}

.contact form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(57, 41, 66, 0.4);
}

.contact form button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(57, 41, 66, 0.3);
}

.other-contact h3 {
    font-family: var(--heading-font);
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin: 0;
}

.other-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.other-contact ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(57, 41, 66, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    min-height: 120px;
}

.other-contact ul li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(57, 41, 66, 0.15);
}

.other-contact ul li h4 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-family: var(--heading-font);
    font-size: 1.3rem;
}

.other-contact ul li h4 a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.other-contact ul li h4 a:hover {
    color: var(--secondary-color);
}

.other-contact ul li p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.notification {
    position: fixed;
    top: 100px;
    right: 2rem;
    min-width: 300px;
    max-width: 450px;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    z-index: 1000;
    animation: slideIn 0.4s ease-out, fadeOut 0.4s ease-in 2.6s;
    display: flex;
    align-items: center;
    gap: 1rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.notification::before {
    content: '';
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.notification.success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.95), rgba(56, 142, 60, 0.95));
    border-left: 4px solid #2e7d32;
}

.notification.success::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
}

.notification.error {
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.95), rgba(183, 28, 28, 0.95));
    border-left: 4px solid #c62828;
}

.notification.error::before {
    content: '✕';
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

/* Legal Mentions & Footer */
.mentions {
    margin-top: 5rem;
    margin-left: 5rem;
    margin-bottom: 5rem;
}

.mentions .tiktok-embed {
    display: block !important;
    margin: 1em 0 !important;
    margin-left: 3rem !important;
    width: auto !important;
    max-width: 780px !important;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0;
    background: linear-gradient(180deg, rgba(57, 41, 66, 0.9), rgba(117, 92, 115, 0.95));
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
    color: white;
    gap: 2rem;
}

/* Fond décoratif pour le footer */
footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(117, 92, 115, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

footer > * {
    position: relative;
    z-index: 1;
}

footer p {
    margin: 0.5rem 0;
    font-size: 1rem;
    letter-spacing: 0.5px;
    font-weight: 500;
    text-align: center;
}

footer p:first-of-type {
    font-size: 1.1rem;
    color: #ffd700;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    color: whitesmoke;
    font-size: 1.8rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    position: relative;
    text-decoration: none !important;
}

.social-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--third-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: whitesmoke;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    color: white;
}

.social-link:hover::before {
    opacity: 1;
}

.legal-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    border: none;
    background: transparent !important;
    padding: 0.5rem 1.5rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.legal-link:hover {
    color: white;
    border-bottom-color: whitesmoke;
    background-color: transparent !important;
    transform: none;
}

/* Responsive */
@media (max-width: 768px) {
    footer {
        padding: 3rem 1.5rem;
        gap: 1.5rem;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .footer-links {
        gap: 1.5rem;
    }
}