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

:root {
    --primary-blue: #00B8D4;
    --secondary-blue: #0BB4D4;
    --light-blue: #5CD5E8;
    --dark-blue: #0098B3;
    --cyan: #00B8D4;
    --purple: #E91E8C;
    --magenta: #E91E8C;
    --orange: #FDB813;
    --green: #00C896;
    --text-dark: #1f2937;
    --text-light: #6b7280;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #f0fdff 0%, #fff5f8 50%, #fffbf0 100%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 3rem;
}

/* Header avec animation */
header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInDown 1s ease;
    position: relative;
}

/* Sélecteur de langue - Position fixe en haut à droite */
.language-selector {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
}

.lang-dropdown-custom {
    position: relative;
    width: 90px;
}

.lang-selected {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    background: white;
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.15);
}

.lang-selected:hover {
    border-color: var(--cyan);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
    transform: translateY(-1px);
}

.lang-selected .flag {
    font-size: 1.2rem;
    line-height: 1;
}

.lang-selected .lang-code {
    font-size: 0.85rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-dark);
}

.lang-selected .arrow {
    font-size: 0.6rem;
    margin-left: auto;
    transition: transform 0.3s ease;
    color: var(--primary-blue);
}

.lang-dropdown-custom.open .arrow {
    transform: rotate(180deg);
}

.lang-options {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: 100%;
    background: white;
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.lang-dropdown-custom.open .lang-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: rgba(37, 99, 235, 0.05);
}

.lang-option.active {
    background: rgba(37, 99, 235, 0.1);
}

.lang-option .flag {
    font-size: 1.2rem;
    line-height: 1;
    transition: filter 0.3s ease;
}

.lang-option:not(.active) .flag {
    filter: grayscale(100%) opacity(0.5);
}

.lang-option.active .flag {
    filter: grayscale(0%) opacity(1);
}

.lang-option .lang-code {
    font-size: 0.85rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.lang-option:not(.active) .lang-code {
    opacity: 0.5;
}

.lang-option.active .lang-code {
    opacity: 1;
    color: var(--primary-blue);
}

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

/* Logo */
.logo {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--magenta), var(--cyan), var(--orange), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 15px;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--green));
    border-radius: 10px;
}

/* Logo Image */
.logo-img {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 184, 212, 0.15));
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.02);
}

/* Author */
.author {
    font-size: 1.3rem;
    color: var(--text-dark);
    letter-spacing: 1.5px;
    font-weight: 500;
    margin: 2rem 0 1rem;
}

.author a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.author a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.author a:hover {
    color: var(--cyan);
}

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

/* Tagline */
.tagline {
    font-size: 1.8rem;
    color: var(--text-dark);
    letter-spacing: 2px;
    font-weight: 400;
    margin-top: 1.5rem;
    line-height: 1.6;
}

.tagline-sub {
    /*font-size: 1.6rem;*/
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-top: 0.5rem;
}

/* Keywords */
.keywords {
    margin-top: 2rem;
    font-size: 1.4rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.keywords span {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.3rem;
    background: linear-gradient(135deg, var(--cyan), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    transition: all 0.3s ease;
}

.keywords span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--green));
    transition: width 0.3s ease;
}

.keywords span:hover::after {
    width: 100%;
}

.tagline strong {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 2rem;
}

/* Section */
.section {
    margin-bottom: 6rem;
    animation: fadeInUp 1s ease;
}

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

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 4rem;
    letter-spacing: 5px;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--magenta), var(--cyan), var(--green));
    border-radius: 10px;
}

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

.project-item {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
    border: 2px solid transparent;
}

.project-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-blue), var(--cyan));
    transition: width 0.4s ease;
}

.project-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 50px 0;
    border-color: transparent rgba(37, 99, 235, 0.1) transparent transparent;
    transition: all 0.4s ease;
}

.project-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.25);
    border-color: var(--light-blue);
}

.project-item:hover::before {
    width: 100%;
    opacity: 0.05;
}

.project-item:hover::after {
    border-width: 0 100px 100px 0;
}

/* Variation de couleurs pour chaque projet */
.project-item:nth-child(1) { border-left-color: var(--cyan); }
.project-item:nth-child(2) { border-left-color: var(--magenta); }
.project-item:nth-child(3) { border-left-color: var(--orange); }
.project-item:nth-child(4) { border-left-color: var(--green); }
.project-item:nth-child(5) { border-left-color: var(--cyan); }
.project-item:nth-child(6) { border-left-color: var(--magenta); }
.project-item:nth-child(7) { border-left-color: var(--orange); }
.project-item:nth-child(8) { border-left-color: var(--green); }
.project-item:nth-child(9) { border-left-color: var(--cyan); }
.project-item:nth-child(10) { border-left-color: var(--magenta); }
.project-item:nth-child(11) { border-left-color: var(--orange); }
.project-item:nth-child(12) { border-left-color: var(--green); }
.project-item:nth-child(13) { border-left-color: var(--cyan); }

.project-item p {
    font-size: 1.15rem;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    line-height: 1.7;
    font-weight: 500;
}

.project-category {
    display: inline-block;
    font-size: 0.7rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--cyan), var(--green));
    padding: 0.5rem 1rem;
    margin-top: 1.2rem;
    letter-spacing: 1.5px;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 184, 212, 0.3);
    transition: all 0.3s ease;
}

.project-item:hover .project-category {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 184, 212, 0.5);
}

/* Location */
.location {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    padding: 4rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
    border: 2px solid var(--light-blue);
    position: relative;
    overflow: hidden;
}

/* Contact Section */
.contact-section {
    margin-bottom: 4rem;
}

.contact-info {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
    border: 2px solid var(--light-blue);
}

.phone-number {
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.2));
    transition: transform 0.3s ease;
}

.phone-number:hover {
    transform: scale(1.05);
}

.location::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.location-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: bounce 2s ease infinite;
}

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

.location-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--cyan), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: 4px;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.location-text {
    font-size: 1.4rem;
    color: var(--text-dark);
    letter-spacing: 1px;
    font-weight: 500;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

.location-text a {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}

.location-text a:hover {
    color: var(--green);
    border-bottom-color: var(--green);
}

.location-region {
    display: inline-block;
    margin-top: 0.8rem;
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem 0 2rem;
    color: var(--text-light);
    font-size: 1rem;
    letter-spacing: 1px;
    margin-top: 4rem;
    border-top: 2px solid rgba(37, 99, 235, 0.1);
}

.footer p {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 2rem 1.5rem;
    }

    .language-selector {
        top: 1rem;
        right: 1rem;
    }

    .lang-dropdown-custom {
        width: 80px;
    }

    .lang-selected {
        padding: 0.4rem 0.6rem;
    }

    .lang-selected .flag {
        font-size: 1rem;
    }

    .lang-selected .lang-code {
        font-size: 0.75rem;
    }

    .lang-option {
        padding: 0.5rem 0.6rem;
    }

    .lang-option .flag {
        font-size: 1rem;
    }

    .lang-option .lang-code {
        font-size: 0.75rem;
    }

    .logo {
        font-size: 2.2rem;
        letter-spacing: 8px;
    }

    .logo-img {
        max-width: 140px;
    }

    .author {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .tagline {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .tagline-sub {
        font-size: 1.1rem;
        letter-spacing: 0.8px;
    }

    .tagline strong {
        font-size: 1.4rem;
    }

    .keywords {
        font-size: 1rem;
        letter-spacing: 2px;
        margin-top: 1.5rem;
    }

    .keywords span {
        padding: 0.3rem 0.6rem;
        margin: 0.2rem;
    }

    .section {
        margin-bottom: 4rem;
    }

    .section-title {
        font-size: 1.5rem;
        letter-spacing: 3px;
    }

    .projects-list {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-item {
        padding: 2rem 1.5rem;
    }

    .project-item p {
        font-size: 1rem;
    }

    .location {
        padding: 2.5rem 1.5rem;
    }

    .contact-info {
        padding: 2rem 1rem;
    }

    .phone-number {
        width: 260px;
        height: 40px;
    }

    .phone-number text {
        font-size: 17px;
    }

    .location-icon {
        font-size: 2.5rem;
    }

    .location-text {
        font-size: 1.1rem;
    }

    .location-region {
        font-size: 0.95rem;
        margin-top: 0.6rem;
    }

    .location-title {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
}

/* Animations de scroll */
@media (prefers-reduced-motion: no-preference) {
    .project-item {
        animation: slideInUp 0.6s ease backwards;
    }

    .project-item:nth-child(1) { animation-delay: 0.1s; }
    .project-item:nth-child(2) { animation-delay: 0.2s; }
    .project-item:nth-child(3) { animation-delay: 0.3s; }
    .project-item:nth-child(4) { animation-delay: 0.4s; }
    .project-item:nth-child(5) { animation-delay: 0.5s; }
    .project-item:nth-child(6) { animation-delay: 0.6s; }
    .project-item:nth-child(7) { animation-delay: 0.7s; }
    .project-item:nth-child(8) { animation-delay: 0.8s; }
    .project-item:nth-child(9) { animation-delay: 0.9s; }
    .project-item:nth-child(10) { animation-delay: 1.0s; }
    .project-item:nth-child(11) { animation-delay: 1.1s; }
    .project-item:nth-child(12) { animation-delay: 1.2s; }
    .project-item:nth-child(13) { animation-delay: 1.3s; }
}

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


#cliquez_ici{
  width:33%;
  margin:0 auto;
  text-align: center;
}


#a_href{
  text-align: center;
}
