/* Font Declarations - Add this at the top of your CSS file */
@font-face {
    font-family: 'Neue Haas Grotesk Display';
    src: url('../fonts/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayRoman.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Neue Haas Grotesk Display';
    src: url('../fonts/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayMediu.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Neue Haas Grotesk Display';
    src: url('../fonts/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Neue Haas Grotesk Display';
    src: url('../fonts/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayLight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

:root {
    --dark-bg: #041418; /* Slightly darker variant of primary for backgrounds */
    --bs-blue: #0d6efd;
    --bs-light-blue: #e3f5ff; /* A nice light blue tone */
    --bs-indigo: #6610f2;
    --bs-primary: #072024;    /* Dark teal - your primary */
    --bs-secondary: #e5b689;  /* Peachy tan - your secondary */
    --bs-success: #0cce6b;    /* Crypto-green */
    --bs-info: #00aeff;       /* Bright blue */
    --bs-warning: #ffb347;    /* Amber alert */
    --bs-danger: #ff2e63;     /* Neon pink-red */
    --bs-light: #fcfcfc;      /* Off-white with slight teal tint */
    --bs-dark: #041418;       /* Slightly darker variant of primary for backgrounds */
    --bs-primary-rgb: 7, 32, 36;       /* --bs-primary: #072024 */
    --bs-secondary-rgb: 229, 182, 137; /* --bs-secondary: #e5b689 */
    --bs-success-rgb: 12, 206, 107;    /* --bs-success: #0cce6b */
    --bs-info-rgb: 0, 174, 255;        /* --bs-info: #00aeff */
    --bs-warning-rgb: 255, 179, 71;    /* --bs-warning: #ffb347 */
    --bs-danger-rgb: 255, 46, 99;      /* --bs-danger: #ff2e63 */
    --bs-light-rgb: 252, 252, 252;     /* --bs-light: #e9f8fb */
    --bs-dark-rgb: 4, 20, 24;          /* --bs-dark: #041418 */
    --bs-primary-text-emphasis: #1a2766;    /* Darker shade of primary blue */
    --bs-secondary-text-emphasis: #333740;   /* Darker shade of secondary slate */
    --bs-success-text-emphasis: #025640;     /* Darker shade of success mint */
    --bs-info-text-emphasis: #0e6a85;        /* Darker shade of info cyan */
    --bs-warning-text-emphasis: #805a0b;     /* Darker shade of warning yellow */
    --bs-danger-text-emphasis: #a01b3c;      /* Darker shade of danger raspberry */
    --bs-light-text-emphasis: #495057;       /* Keeping as is */
    --bs-dark-text-emphasis: #0a0a14;        /* Darker shade of dark blue */
    --bs-primary-bg-subtle: #d8ddf9;         /* Lighter shade of primary blue */
    --bs-secondary-bg-subtle: #e1e3e7;       /* Lighter shade of secondary */
    --bs-success-bg-subtle: #c5f4e7;         /* Lighter shade of success mint */
    --bs-btn-hover-border-color: #e5b689; /* Default button hover border color */
    /* custom variables */
    --transtion: all 0.3s ease;
    --btn-hover-border-color: #536177;    /* Default button hover border color */

    /* Base colors from your settings */
    --primary: #072024;        /* Dark teal - your primary */
    --secondary: #e5b689;      /* Peachy tan - your secondary */
    
    /* Web3 expanded palette */
    --dark-surface: #0a2d33;   /* Lighter variant of primary for cards/surfaces */
    --accent-neon: #00f6ff;    /* Bright cyan for highlights/accents */
    --accent-glow: #09fbd3;    /* Mint green glow effect */
    --warm-accent: #ff7e5f;    /* Warm coral complement to secondary */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--dark-surface));
    --gradient-glow: linear-gradient(45deg, var(--accent-neon), var(--accent-glow));
    --gradient-warm: linear-gradient(135deg, var(--secondary), var(--warm-accent));
    
    /* Shadows with glow effects */
    --neon-shadow: 0 0 10px rgba(0, 246, 255, 0.5);
    --warm-shadow: 0 0 15px rgba(229, 182, 137, 0.4);
    
    /* Text colors */
    --text-primary: var(--primary);
    --text-secondary: var(--secondary);
    --text-success: var(--bs-success);
    --text-muted: #8b9ca1;
}

/* Make Neue Haas Grotesk Display the main font */
body {
    font-family: 'Neue Haas Grotesk Display', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    /*margin-top: 5.75rem; /* Adjusted margin for the body */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Neue Haas Grotesk Display', sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
}

p {
    font-family: 'Neue Haas Grotesk Display', sans-serif;
    font-weight: 400;
}

p.lead {
    color: var(--text-muted);
}

button, input, select, textarea {
    font-family: 'Neue Haas Grotesk Display', sans-serif;
}

.bg-primary {
    background-color: var(--bs-primary);
}
.bg-secondary {
    background-color: var(--bs-secondary);
}

.sticky-top {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.text-primary {
    color: var(--text-primary);
}
.text-secondary {
    color: var(--text-secondary);
}
.text-muted {
    color: var(--text-muted);
}
.text-primary-emphasis {
    color: var(--bs-primary-text-emphasis);
}

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

.btn {
    border-radius: .3rem;
    border: 1px solid rgba(100, 149, 237, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 2px rgba(66, 153, 225, 0.3) inset;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transition: var(--transtion);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: var(--transtion);
}

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

.btn:hover {
    filter: brightness(0.85);
    cursor: pointer;
    scale: 1.05;
    transition: var(--transtion);
    border-color: var(--btn-hover-border-color);
}

.btn:active {
    filter: brightness(0.95);
    transform: scale(0.95);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
    transition: var(--transtion);
}

.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    color: var(--bs-btn-disabled-color);
    pointer-events: none;
    background-color: var(--bs-primary);
    border-color: var(--bs-btn-primary);
    opacity: var(--bs-btn-disabled-opacity);
}

.btn-indigo {
    background-color: var(--bs-indigo);
    color: var(--bs-white);
    transition: var(--transtion);
}

.btn-indigo:hover {
    background-color: var(--bs-indigo);
    color: var(--bs-white);
}

.btn-indigo:active {
    background-color: var(--bs-indigo) !important;
    color: var(--bs-white) !important;
}

.btn-primary {
    background-color: var(--bs-primary);
    color: var(--bs-white);
    border-color: var(--bs-primary);
}

.btn-primary:hover {
    background-color: var(--bs-primary);
    color: var(--bs-secondary);
    border-color: var(--bs-secondary) !important;
}

.btn-primary:active {
    background-color: var(--bs-primary) !important;
    color: var(--bs-secondary);
    border-color: var(--bs-secondary) !important;
}

.btn-secondary {
    background-color: var(--bs-secondary);
    color: var(--bs-white);
    border-color: var(--bs-secondary);
}

.btn-secondary:hover {
    background-color: var(--bs-secondary);
    color: var(--bs-primary);
    border-color: var(--bs-primary) !important;
}

.btn-secondary:active {
    background-color: var(--bs-secondary) !important;
    color: var(--bs-primary);
    border-color: var(--bs-primary) !important;
}

.btn-success {
    background-color: var(--bs-success);
    color: var(--bs-white);
}

.btn-success:hover {
    background-color: var(--bs-success);
    color: var(--bs-white);
}

.btn-success:active {
    background-color: var(--bs-success) !important;
    color: var(--bs-white) !important;
}

.btn-info {
    background-color: var(--bs-info);
    color: var(--bs-white);
}

.btn-info:hover {
    background-color: var(--bs-info);
    color: var(--bs-white);
}

.btn-info:active {
    background-color: var(--bs-info) !important;
    color: var(--bs-white) !important;
}

.btn-warning {
    background-color: var(--bs-warning);
    color: var(--bs-white);
}

.btn-warning:hover {
    background-color: var(--bs-warning);
    color: var(--bs-white);
}

.btn-warning:active {
    background-color: var(--bs-warning) !important;
    color: var(--bs-white) !important;
}

.btn-danger {
    background-color: var(--bs-danger);
    color: var(--bs-white);
}

.btn-danger:hover {
    background-color: var(--bs-danger);
    color: var(--bs-white);
}

.btn-danger:active {
    background-color: var(--bs-danger) !important;
    color: var(--bs-white) !important;
}

.btn-light {
    background-color: var(--bs-light);
    color: var(--bs-dark);
}

.btn-light:hover {
    background-color: var(--bs-light);
    color: var(--bs-dark);
}

.btn-light:active {
    background-color: var(--bs-light) !important;
    color: var(--bs-dark) !important;
}

.btn-dark {
    background-color: var(--bs-dark);
    color: var(--bs-white);
}

.btn-dark:hover {
    background-color: var(--bs-dark);
    color: var(--bs-white);
}

.btn-dark:active {
    background-color: var(--bs-dark) !important;
    color: var(--bs-white) !important;
}

/* Outlined button styles */
.btn-outline-primary {
    background-color: transparent;
    color: var(--bs-primary);
    border: 1px solid var(--bs-primary);
}

.btn-outline-primary:hover {
    background-color: var(--bs-primary);
    color: var(--bs-secondary);
    border-color: #e5b689 !important;
}

.btn-outline-primary:active {
    background-color: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

.btn-outline-secondary {
    background-color: transparent;
    color: var(--bs-secondary);
    border: 1px solid var(--bs-secondary);
}

.btn-outline-secondary:hover {
    background-color: var(--bs-secondary);
    color: var(--bs-white);
}

.btn-outline-secondary:active {
    background-color: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

.btn-outline-success {
    background-color: transparent;
    color: var(--bs-success);
    border: 1px solid var(--bs-success);
}

.btn-outline-success:hover {
    background-color: var(--bs-success);
    color: var(--bs-white);
}

.btn-outline-success:active {
    background-color: var(--bs-success) !important;
    color: var(--bs-white) !important;
}

.btn-outline-info {
    background-color: transparent;
    color: var(--bs-info);
    border: 1px solid var(--bs-info);
}

.btn-outline-info:hover {
    background-color: var(--bs-info);
    color: var(--bs-white);
}

.btn-outline-info:active {
    background-color: var(--bs-info) !important;
    color: var(--bs-white) !important;
}

.btn-outline-warning {
    background-color: transparent;
    color: var(--bs-warning);
    border: 1px solid var(--bs-warning);
}

.btn-outline-warning:hover {
    background-color: var(--bs-warning);
    color: var(--bs-white);
}

.btn-outline-warning:active {
    background-color: var(--bs-warning) !important;
    color: var(--bs-white) !important;
}

.btn-outline-danger {
    background-color: transparent;
    color: var(--bs-danger);
    border: 1px solid var(--bs-danger);
}

.btn-outline-danger:hover {
    background-color: var(--bs-danger);
    color: var(--bs-white);
}

.btn-outline-danger:active {
    background-color: var(--bs-danger) !important;
    color: var(--bs-white) !important;
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--bs-dark);
    border: 1px solid var(--bs-dark);
}

.btn-outline-dark:hover {
    background-color: var(--bs-dark);
    color: var(--bs-white);
}

.btn-outline-dark:active {
    background-color: var(--bs-dark) !important;
    color: var(--bs-white) !important;
}

.btn-outline-light {
    background-color: transparent;
    color: var(--bs-light);
    border: 1px solid var(--bs-light);
}

.btn-outline-light:hover {
    background-color: var(--bs-light);
    color: var(--bs-dark);
}

.btn-outline-light:active {
    background-color: var(--bs-light) !important;
    color: var(--bs-dark) !important;
}

._bg-light-blue {
    background-color: var(--bs-light-blue);
    padding: 2rem 0;
}

/* Example button style with neon glow effect */
.btn-web3 {
    background-color: transparent;
    color: var(--warm-accent);
    border: 1px solid var(--warm-accent);
    box-shadow: var(--warm-shadow);
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.7);
    transition: all 0.3s ease;
}

.btn-web3:hover {
    background-color: rgba(250, 110, 110, 0.1);
    box-shadow: 0 0 20px rgba(238, 68, 68, 0.8);
    transform: translateY(-2px);
}

/* Card with gradient background */
.card-web3 {
    background: var(--gradient-primary);
    border: 1px solid rgba(0, 246, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
}

/* Glassmorphism effect for modals/overlays */
.glass-panel {
    background: rgba(7, 32, 36, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(229, 182, 137, 0.3);
    border-radius: 16px;
}


/* Navlink */
.nh-font {
    font-family: 'Neue Haas Grotesk Display', sans-serif;
}

.navbar-brand .brand-text {
    font-family: 'Neue Haas Grotesk Display', sans-serif;
    font-weight: 700;
    letter-spacing: 0.1rem;
}

.nav-link {
    font-family: 'Neue Haas Grotesk Display', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}


.nav-link:hover, .nav-link:focus {
    color: var(--secondary) !important;
}

/* Footer Styles */
.monarc-footer-section {
    color: #fff;
    position: relative;
    overflow: hidden;
}

.monarc-footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 95% 15%, rgba(229, 182, 137, 0.05), transparent 300px),
        radial-gradient(circle at 5% 85%, rgba(7, 32, 36, 0.08), transparent 300px);
    z-index: 0;
}

.monarc-footer-section .container {
    position: relative;
    z-index: 1;
}

/* Headings */
.monarc-footer-heading {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.75rem;
    color: var(--secondary);
}

.monarc-footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 30px;
    background: linear-gradient(to right, var(--secondary), transparent);
}

/* Links - Important: Correction des problèmes de style */
/* Cette approche utilise des sélecteurs plus spécifiques pour surmonter les styles par défaut */
.monarc-footer-section ul.monarc-footer-links {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.monarc-footer-section .monarc-footer-links li {
    margin-bottom: 0.75rem !important;
    display: block !important;
}

/* Sélecteur très spécifique pour s'assurer que les styles sont appliqués */
.monarc-footer-section .monarc-footer-links li a,
.monarc-footer-section ul.monarc-footer-links li a:link,
.monarc-footer-section ul.monarc-footer-links li a:visited {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    padding-left: 15px !important;
    display: inline-block !important;
}

.monarc-footer-section .monarc-footer-links li a::before {
    content: '→' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--secondary) !important;
    font-size: 0.8rem !important;
    opacity: 0.8 !important;
    transition: all 0.3s ease !important;
}

.monarc-footer-section .monarc-footer-links li a:hover,
.monarc-footer-section .monarc-footer-links li a:active {
    color: var(--secondary) !important;
    padding-left: 18px !important;
}

.monarc-footer-section .monarc-footer-links li a:hover::before {
    opacity: 1 !important;
}

/* Contact */
.monarc-footer-contact p {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.monarc-footer-contact a,
.monarc-footer-contact a:link,
.monarc-footer-contact a:visited {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.monarc-footer-contact a:hover,
.monarc-footer-contact a:active {
    color: var(--secondary) !important;
}

.monarc-footer-contact i {
    color: var(--secondary);
    width: 20px;
    text-align: center;
}

/* Newsletter */
.monarc-footer-newsletter .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(229, 182, 137, 0.2);
    color: #fff;
}

.monarc-footer-newsletter .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(229, 182, 137, 0.25);
    border-color: rgba(229, 182, 137, 0.5);
    background-color: rgba(255, 255, 255, 0.15);
}

.monarc-footer-newsletter .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-select {
    line-height: 2.3 !important;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.social-link:hover {
    background: var(--secondary) !important;
    color: var(--bs-primary) !important;
    transform: translateY(-3px);
}

/* Footer Bottom */
.monarc-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.monarc-footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.monarc-footer-legal a,
.monarc-footer-legal a:link,
.monarc-footer-legal a:visited {
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.monarc-footer-legal a:hover,
.monarc-footer-legal a:active {
    color: var(--secondary) !important;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .monarc-footer-heading {
        margin-top: 1rem;
    }
}

@media (max-width: 767px) {
    .monarc-footer-legal {
        margin-top: 1rem;
        justify-content: center;
    }
    
    .monarc-footer-legal a {
        margin: 0 0.75rem;
    }
    
    .monarc-footer-bottom .text-md-start,
    .monarc-footer-bottom .text-md-end {
        text-align: center !important;
    }
}

.approach-card {
    background: linear-gradient(145deg, #0a3038, #1c4c55);
}


table {
    font-size: .9rem;
    text-align: left;
}

/* --- Scroll to Top Button - Style Rectangulaire avec Blur --- */
.scroll-to-top-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    padding: 12px 20px;
    background: rgba(7, 32, 36, 0.75); /* fond teal avec transparence */
    color: var(--bs-secondary);
    border-radius: 8px;
    border: 1.5px solid var(--bs-secondary);
    box-shadow: 0 8px 24px rgba(7, 32, 36, 0.3);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: 
        opacity 0.35s ease,
        visibility 0.35s,
        background-color 0.3s,
        transform 0.3s;
    transform: translateY(20px);
    z-index: 1200;
    cursor: pointer;
    text-decoration: none;
}

.scroll-to-top-btn span {
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    color: var(--bs-secondary);
    transition: color 0.3s;
}

.scroll-to-top-btn i {
    font-size: 1.2rem;
    color: var(--bs-secondary);
    transition: all 0.3s;
}

.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover, .scroll-to-top-btn:focus {
    background: rgba(229, 182, 137, 0.6); /* fond secondary avec transparence */
    border-color: var(--bs-primary);
    transform: translateY(-4px);
    outline: none;
}

.scroll-to-top-btn:hover i, 
.scroll-to-top-btn:hover span,
.scroll-to-top-btn:focus i,
.scroll-to-top-btn:focus span {
    color: var(--bs-primary);
}

@media (max-width: 600px) {
    .scroll-to-top-btn {
        padding: 8px 16px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-to-top-btn span {
        display: none; /* Cacher le texte sur mobile */
    }
}


/* Honeypot input */
.hp-input {
    display: none;
}



