/* ==========================================================
   Variables Globales & Thème (Vert, Argent, Noir)
========================================================== */
:root {
    --color-bg: #0a0a0a;
    /* Noir profond/élégant */
    --color-bg-darker: #050505;
    /* Noir pur */
    --color-surface: #121212;
    /* Gris très foncé pour les éléments/cartes */
    --color-primary: #046b4c;
    /* Vert Émeraude Profond */
    --color-primary-hover: #058f65;
    /* Vert Émeraude plus clair au survol */
    --color-silver: #c0c5ce;
    /* Argent / Gris Métallique */
    --color-text: #e0e0e0;
    /* Texte clair */
    --color-white: #ffffff;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================
   Reset & Base
========================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    /* Supprime le carré bleu au clic sur mobile */
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================
   Custom Scrollbar
========================================================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(4, 107, 76, 0.5);
    /* Vert émeraude adouci pour être visible */
    border-radius: 5px;
    border: 2px solid var(--color-bg);
    transition: var(--transition-smooth);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
    /* Vert émeraude brillant */
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-weight: 700;
}

span {
    color: var(--color-primary);
}

a {
    text-decoration: none;
    color: var(--color-white);
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section {
    padding: 6rem 0;
    scroll-margin-top: 80px;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--color-silver);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.bg-darker {
    background-color: var(--color-bg-darker);
    position: relative;
}

/* Transition ultra-douce entre fond noir et fond gris foncé (300px pour un fondu invisible) */
.bg-darker::before {
    content: "";
    position: absolute;
    top: -300px;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to bottom, var(--color-bg), var(--color-bg-darker));
    z-index: 1;
    /* Plus bas que .container (z-index: 2) */
    pointer-events: none;
}

.mt-4 {
    margin-top: 2rem;
}

/* ==========================================================
   Boutons
========================================================== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(4, 107, 76, 0.3);
}

.btn-primary:hover {
    background-color: #035a40;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(4, 107, 76, 0.3);
}

.btn-outline {
    border: 1px solid var(--color-silver);
    color: var(--color-silver);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(4, 107, 76, 0.05);
    box-shadow: 0 5px 15px rgba(4, 107, 76, 0.1);
}

.w-100 {
    width: 100%;
}

/* ==========================================================
   Navigation (Glassmorphism effect) & Logo
========================================================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 1.5rem 0;
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 80px;
    /* Ajustez la taille selon votre préférence */
    width: auto;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    background: transparent;
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 10px rgba(4, 107, 76, 0.5));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links li a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-silver);
    display: inline-block;
    /* Nécessaire pour que transform fonctionne */
    transition: var(--transition-smooth);
    /* Animation fluide */
}

.nav-links li a:hover {
    color: var(--color-primary);
    /* Devient vert */
    transform: scale(1.1);
    /* S'agrandit légèrement de 10% */
}

.nav-links .btn-nav {
    display: inline-block;
    /* Requis pour que le transform: scale fonctionne sur un lien 'a' */
    border: 1px solid var(--color-primary);
    padding: 0.6rem 1.8rem;
    border-radius: 30px;
    color: var(--color-white);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-links .btn-nav:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: scale(1.05);
    /* L'agrandissement va maintenant fonctionner ! */
    box-shadow: 0 4px 15px rgba(4, 107, 76, 0.4);
}

.nav-links li a.nav-social-icon {
    font-size: 1.95rem;
    color: var(--color-silver);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    transition: var(--transition-smooth);
}

.nav-links li a.nav-social-icon:hover {
    color: var(--color-primary);
    transform: scale(1.15);
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-white);
}

/* ==========================================================
   Hero Section
========================================================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('hero-bg.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Double dégradé : un pour l'ambiance sombre, un pour le fondu au noir vers le bas */
    background:
        linear-gradient(to bottom, transparent 60%, var(--color-bg) 100%),
        linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

.hero-watermark {
    position: absolute;
    /* Aligne sur la position X globale du logo du site (qui est repoussé par du padding à l'écran) */
    left: -200px;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);

    font-family: var(--font-heading);
    /* Augmente la taille et l'espace entre les lettres pour qu'il prenne plus de place verticalement */
    font-size: 10rem;
    font-weight: 800;

    /* Technique Premium d'Incrustation (Etched/Engraved) */
    /* On rend le texte lui-même PRESQUE INVISIBLE */
    color: rgba(255, 255, 255, 0.03);

    /* Mix blend mode overlay works best for subtle effects */
    mix-blend-mode: overlay;

    /* Ombre hyper douce juste pour deviner les contours */
    text-shadow:
        -1px -1px 1px rgba(0, 0, 0, 0.5),
        /* Creux très très léger */
        1px 1px 1px rgba(255, 255, 255, 0.03);
    /* Reflet imperceptible */

    /* Écarte beaucoup plus les lettres pour allonger le mot */
    letter-spacing: 1.5rem;
    pointer-events: none;
    user-select: none;
    z-index: -1;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-silver);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* ==========================================================
   Services Section
========================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--color-surface);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.5s cubic-bezier(0.2, 1, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
}

.service-card:hover {
    border-color: rgba(4, 107, 76, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    background-color: rgba(255, 255, 255, 0.02);
}

.service-card .icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.2, 1);
    transform: translateZ(50px);
}

.service-card:hover .icon {
    transform: translateZ(60px) scale(1.15) translateY(-5px);
    color: var(--color-primary-hover);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    transform: translateZ(30px);
    transition: transform 0.3s ease;
}

.service-card:hover h3 {
    transform: translateZ(40px);
}

.service-card p {
    color: var(--color-silver);
    font-size: 0.95rem;
    transform: translateZ(20px);
    transition: transform 0.3s ease;
}

.service-card:hover p {
    transform: translateZ(30px);
}

/* ==========================================================
   A Propos Section
========================================================== */
.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
}

.image-placeholder {
    height: 500px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* Pour positionner l'effet ::before derrière le logo */

    /* Image du logo fixe au-dessus et dégradé faible EN DESSOUS */
    background: url('logoo.png') center/contain no-repeat, radial-gradient(circle at center, rgba(4, 107, 76, 0.2) 0%, transparent 70%);
}

/* Pseudo-élément contenant uniquement le dégradé lumineux fort */
.image-placeholder::before {
    content: '';
    position: absolute;
    /* On l'agrandit beaucoup plus loin que sa boîte parente pour laisser la place au dégradé complet */
    top: -100px;
    left: -100px;
    right: -100px;
    bottom: -100px;

    /* Le dégradé éclatant (rond) */
    background: radial-gradient(circle at center, rgba(4, 107, 76, 0.6) 0%, transparent 60%);

    /* Éteint par défaut, avec une transition très fluide sur l'opacité */
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
    /* Derrière le logo */
}

/* Au survol, on allume la lumière forte en douceur */
.image-placeholder:hover::before {
    opacity: 1;
    /* S'éclaire progressivement en rond */
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--color-silver);
    margin-bottom: 1.5rem;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.2rem;
    display: inline-block;
}

.stat-item span {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-item p {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* ==========================================================
   Témoignages Section
========================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--color-surface);
    padding: 3rem;
    border-radius: 8px;
    position: relative;
    border-left: 3px solid var(--color-primary);
}

.quote-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.03);
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.client-info strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--color-white);
}

.client-info span {
    font-size: 0.85rem;
    color: var(--color-silver);
}

/* ==========================================================
   Contact Section
========================================================== */
.contact-container {
    display: flex;
    gap: 4rem;
}

.contact-form-wrapper {
    flex: 1.5;
    background-color: var(--color-surface);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form-wrapper h2 {
    margin-bottom: 0.5rem;
}

.contact-form-wrapper>p {
    color: var(--color-silver);
    margin-bottom: 2.5rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--color-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-bg-darker);
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.25rem;
    color: var(--color-primary);
    width: 40px;
    margin-top: 0.3rem;
}

.info-item strong {
    font-family: var(--font-heading);
    display: block;
    margin-bottom: 0.2rem;
}

.info-item p {
    color: var(--color-silver);
    font-size: 0.95rem;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: var(--color-surface);
    border-radius: 50%;
    margin-right: 1rem;
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

/* Styles pour le chargement du bouton */
#submit-btn {
    position: relative;
    /* Removed flexbox to ensure maximum compatibility */
}

#submit-btn .fa-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Styles pour le message de succès (AJAX) */
.success-message {
    text-align: center;
    padding: 2rem 1rem;
}

.success-icon {
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(4, 107, 76, 0.3));
}

.success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.success-message p {
    color: var(--color-silver);
    font-size: 1rem;
    line-height: 1.6;
}

/* Animation d'apparition du message de succès/erreur */
.animate-success {
    animation: successPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes successPop {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Styles pour le message d'erreur (similaire au succès mais en rouge/avertissement) */
.error-message {
    text-align: center;
    padding: 2rem 1rem;
}

.error-icon {
    font-size: 3.5rem;
    color: #e74c3c;
    /* Rouge élégant */
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(231, 76, 60, 0.3));
}

.error-message h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.error-message p {
    color: var(--color-silver);
    font-size: 1rem;
    line-height: 1.6;
}

.error-message a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
}

.error-message a:hover {
    color: var(--color-primary-hover);
}

/* ==========================================================
   F.A.Q Section
========================================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(4, 107, 76, 0.3);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    font-family: var(--font-body);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question i {
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--color-silver);
    margin: 0;
}

/* ==========================================================
   Footer
========================================================== */
footer {
    background-color: #000;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-silver);
    font-size: 0.9rem;
}

.legal-links a {
    color: var(--color-silver);
    margin-left: 1.5rem;
    font-size: 0.85rem;
}

.legal-links a:hover {
    color: var(--color-primary);
}

/* ==========================================================
   Badge de Notification
========================================================== */
.notification-badge {
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 8px;
    display: inline-block;
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.5);
}

/* ==========================================================
   Animations globales
========================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================
   Cookie Banner
========================================================== */
#cookie-banner {
    position: fixed;
    bottom: -400px;
    /* Caché au départ pour l'animation */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(18, 18, 18, 0.95);
    /* Surface color with opacity */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(4, 107, 76, 0.3);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: bottom 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 90%;
    max-width: 900px;
}

#cookie-banner.show {
    bottom: 30px;
}

.cookie-content {
    flex: 1;
}

.cookie-content h4 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-content h4 i {
    color: var(--color-primary);
}

.cookie-content p {
    color: var(--color-silver);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--color-primary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    #cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
        gap: 1.5rem;
    }

    .cookie-content h4 {
        justify-content: center;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-buttons .btn {
        width: 100%;
    }
}

/* Délai pour les éléments consécutifs */
.services-grid .service-card:nth-child(2) {
    transition-delay: 0.1s;
}

.services-grid .service-card:nth-child(3) {
    transition-delay: 0.2s;
}

.services-grid .service-card:nth-child(4) {
    transition-delay: 0.3s;
}

/* ==========================================================
   Responsive Design / Media Queries
========================================================== */
@media (max-width: 992px) {

    .about-container,
    .contact-container {
        flex-direction: column;
        gap: 3rem;
    }

    .about-image {
        width: 100%;
        /* Empêche l'image de se compresser en une colonne */
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .logo-link {
        padding: 0;
        margin: 0;
        background: transparent;
        border: none;
        overflow: visible;
    }

    .logo-img {
        height: 55px;
        /* Plus petit sur mobile pour éviter de couper */
        max-width: 100%;
        object-fit: contain;
        background: transparent;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-bg);
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.5rem;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        /* Caché par défaut */
        transition: var(--transition-smooth);
    }

    .nav-links.nav-active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        /* Affiché */
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .mobile-menu-icon {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .legal-links a {
        margin: 0 0.5rem;
    }
}

@media (max-width: 1200px) {
    .hero-watermark {
        left: -80px;
        font-size: 6rem;
    }
}

@media (max-width: 768px) {
    .hero-watermark {
        display: none;
    }
}

/* ==========================================================
   Premium Loader
========================================================== */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-bg);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}

.loader-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
}

.loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(4, 107, 76, 0.1);
    border-left-color: var(--color-primary);
    border-right-color: var(--color-primary);
    animation: spin-ring 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    box-shadow: 0 0 20px rgba(4, 107, 76, 0.2), inset 0 0 20px rgba(4, 107, 76, 0.1);
}

.loader-ring::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--color-primary-hover);
    border-bottom-color: var(--color-primary-hover);
    animation: spin-ring-reverse 2s linear infinite;
    opacity: 0.5;
}

.loader-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    animation: pulse-logo 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(4, 107, 76, 0.4));
}

.loader-text {
    margin-top: 2rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--color-silver);
    text-transform: uppercase;
    animation: breathe-text 2s ease-in-out infinite;
}

@keyframes spin-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin-ring-reverse {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes pulse-logo {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
        filter: drop-shadow(0 0 15px rgba(4, 107, 76, 0.8));
    }
}

@keyframes breathe-text {

    0%,
    100% {
        opacity: 0.4;
        letter-spacing: 4px;
    }

    50% {
        opacity: 1;
        letter-spacing: 6px;
        color: var(--color-white);
        text-shadow: 0 0 10px rgba(4, 107, 76, 0.6);
    }
}