html {
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}
:root {
    --primary-color: #f80;
    --bg-dark: #0a0a0a;
    --text-white: #ffffff;
    --transition: all 0.3s ease;
}
body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    margin: 0;
}


.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    box-shadow: 0 0 20px 2px #a30;
}
/* Scroll effect via JS */
.main-header.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
}



.logo {
    font-size: 24px;
    letter-spacing: 2px;
    color: var(--text-white);
    cursor: pointer;
}
.logo-bold { 
  font-weight: 800; color: var(--primary-color); }
.nav-links {
    display: flex;
    justify-content: space-around;
    width: 30%;
    list-style: none;
}
.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}
.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}
.btn-primary:hover {
    background: #0086cc;
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.4);
}

/* Mobile Design */
.burger {
    display: none;
    cursor: pointer;
}
.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    margin: 5px;
    transition: var(--transition);
    position: relative;
}
.line1.line1-active {
    margin: 0;
    transform: rotate(45deg);
}
.line2.line2-active {
    margin: 0;
    transform: rotate(-45deg);
}
@media screen and (max-width: 1024px) {
    .nav-links { 
        width: 50%; }
}
@media screen and (max-width: 768px) {
    body { 
        overflow-x: hidden; }
    .nav-links {
        position: absolute;
        right: 0px;
        height: 600px;
        top: 60px;
        background-color: var(--bg-dark);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 80px;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }
    .header-cta { 
        display: none; }
    .burger { 
        display: block; }
}
.nav-active { 
  transform: translateX(0%); }



.hero-section {
    position: relative;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(10, 10, 0, 0.85), rgba(10, 10, 0, 0.85)), 
                url('/images/background-presentation.jpeg');
    background-size: cover;
    background-position: center;
    padding-top: 80px; /* Espace pour le header fixe */
    overflow: hidden;
    animation: her;
}
.hero-container {
    width: 80%; /* Your specific request */
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hero-content {
    flex: 1;
    color: var(--text-white);
    padding-right: 50px;
}
.hero-subtitle {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 20px;
}
.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
}
.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(0, 168, 255, 0.5);
}
.hero-description {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.6;
}
.hero-btns {
    display: flex;
    gap: 20px;
}
.btn-fill {
    background: var(--primary-color);
    padding: 15px 30px;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}
.btn-outline {
    border: 2px solid #ffffff;
    padding: 13px 28px;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}
.btn-outline:hover {
    background: white;
    color: black;
}

/* Image Section */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
.image-wrapper {
    position: relative;
    width: 450px;
    height: 550px;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 10px solid var(--primary-color);
    top: 20px;
    right: -20px;
    z-index: 1;
    animation: imgprofilbefore 1s ease-in;
}
@keyframes imgprofilbefore {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    filter: grayscale(20%);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: imgprofil 5s infinite;
    animation: imgprofilin 1s ease-in;
}
@keyframes imgprofil {
    0% {
        filter: grayscale(20%);
    }
    50% {
        filter: grayscale(80%);
    }
    100% {
        filter: grayscale(20%);
    }
}
@keyframes imgprofil {
    0% {
        filter: grayscale(20%);
    }
    50% {
        filter: grayscale(80%);
    }
    100% {
        filter: grayscale(20%);
    }
}
/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        width: 80%;
        flex-direction: column-reverse;
        text-align: center;
    }
    .hero-content { 
        padding-right: 0; 
        margin-top: 50px; }
    .hero-title { 
        font-size: 2.5rem; }
    .hero-btns { 
        flex-direction: column;
        justify-content: center; }
    .image-wrapper { 
        width: 300px; 
        height: 380px; }
}



/* ... (Include CSS styles here) ... */
.works-section {
    padding: 80px 0;
    display: flex;
    justify-content: center;
}
.works-container {
    width: 80%;
    max-width: 1400px;
}
.works-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
}
.filter-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}
.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.video-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    aspect-ratio: 16 / 9; /* For normal videos */
}
.video-item.short {
    grid-row: span 2; /* The shorts occupy two rows to be longer */
    aspect-ratio: 9 / 16; /* For shorts */
}
.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-item {
    display: flex;
    justify-content: center;
    align-items: center;
}
iframe {
    width: 550px;
    height: 780px;
}



.services-section {
    padding: 100px 0;
    display: flex;
    justify-content: center;
    background: #0d0d0d;
}
.services-container {
    width: 80%;
    max-width: 1400px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
/* --- STARTING ANIMATION (REVEAL) --- */
.section-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}
.section-reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* --- SERVICE CARDS --- */
.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    border-color: var(--primary-color);
    background: rgba(0, 168, 255, 0.05);
    transform: translateY(-10px);
}
/* --- LOOPING ANIMATION (PULSE) --- */
.icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
}
.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: ripple 2s infinite ease-out;
}
@keyframes ripple {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}
.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}
.service-card p {
    color: #aaa;
    line-height: 1.6;
}



.main-footer {
    background: #080808;
    color: #fff;
    padding: 80px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}
/* Information */
.footer-info, .footer-form { 
    flex: 1;
    min-width: 300px; }
.footer-logo { 
    font-size: 2rem; 
    margin-bottom: 20px; }
.footer-logo span { 
    color: var(--primary-color); }
.footer-desc { 
    color: #888; 
    margin-bottom: 30px; 
    line-height: 1.6; }
.contact-details a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    transition: 0.3s;
}
.contact-details i { 
    color: var(--primary-color); 
    margin-right: 10px; }
/* Social Networks */
.social-links { 
    display: flex; 
    gap: 15px;
    margin-top: 25px; }
.social-icon {
    width: 45px; height: 45px;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: #fff; text-decoration: none;
    font-size: 1.2rem; transition: 0.4s;
}
.social-icon:hover {
    background: var(--primary-color); 
    transform: translateY(-5px); }
/* Form */
.footer-form h3 { 
    margin-bottom: 25px; 
    font-size: 1.5rem; }
.input-group { 
    margin-bottom: 15px; }
.input-group input, .input-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    outline: none;
}
.input-group input:focus, .input-group textarea:focus { 
    border-color: var(--primary-color); }
.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}
.btn-submit:hover {
    background: #0086cc; 
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.3); }
.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #555;
    font-size: 0.85rem;
}
.footer-form {
    display: none;
}