@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --orange: #FF6F20;
    --orange-hover: #ff9547;
    --bg-nav-link: rgba(255, 127, 39, 0.1);
    --bg-nav-link-active : rgba(255, 127, 39, 0.2);
}

body, h1, .hero-title, .hero-subtitle, .newsletter-title, .how-it-works-title, .btn, .form-control, .form-label, .navbar, .navbar-brand, .nav-link, .dropdown-item
{
    font-family: var(--font-family);
}

/* GLOBAL */
.card {
    margin:100px auto !important; 
    background: rgba(255,255,255,0.5) !important;
    border-radius: 25px;
    backdrop-filter: blur(15px);
}

/* BUTTONS */
.btn-orange {
    background: linear-gradient(45deg, var(--orange), var(--orange-hover));
    border: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
}
.btn-orange:hover {
    background: linear-gradient(45deg, var(--orange-hover), #ffb366);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 127, 39, 0.3);
    color: #000 !important;
}

/* NAVBAR */
.navbar {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    width: 95%; 
    margin: 0 auto; 
    margin-top: 7px; 
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.95), rgba(35, 39, 43, 0.75)); 
    backdrop-filter: blur(10px);
}
.navbar-nav {
    align-items: center;
    font-size: 15px;
}
.navbar-brand:hover .text-orange {
    color: var(--orange-hover) !important;
    transition: color 0.3s ease;
}
.navbar-brand span {
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 22px;
}
.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 0.5rem 0.75rem !important;
}
.nav-link:hover {
    background: var(--bg-nav-link);
    color: var(--orange) !important;
    transform: translateY(-1px);
}
.nav-link.active {
    background: var(--bg-nav-link-active);
    color: var(--orange) !important;
}
.nav-item.dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.dropdown-menu {
    background: rgba(35, 39, 43, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 127, 39, 0.3);
    border-radius: 10px;
}
.dropdown-menu-dark {
    background: rgba(35, 39, 43, 0.95);
    backdrop-filter: blur(10px);
}
.dropdown-item {
    font-weight: 400;
    transition: all 0.3s ease;
}
.dropdown-item:hover {
    background: var(--bg-nav-link);
    color: var(--orange) !important;
}
.dropdown-item.active {
    background: var(--bg-nav-link-active);
    color: var(--orange) !important;
}


/* ********************************* */
/************ Responsive ************/
/* ********************************* */

/* RESPONSIVE - MOYENS ECRANS */
@media (max-width: 991.98px) {
    /* BUTTONS */
    .btn-orange {
        margin-top: 0.5rem;
        display: inline-block;
    }
    
    /* NAVBAR */
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    .nav-item {
        margin: 0.25rem 0;
        margin-top: 0.8rem;
    }
    .dropdown-menu {
        --bs-dropdown-min-width: auto;
    }
    .navbar-nav .dropdown-menu {
        position: absolute;
        top: 55px;
        left: 10px;
    }
    .nav-item.dropdown {
        padding: .5rem .75rem !important;
    }
    .nav-link {
        padding: .5rem .5rem !important;
    }
}

/* RESPONSIVE - TABLETTE */
@media (max-width: 768px) {
    /* NAVBAR */
    .navbar {
        width: 95%;
    }
    .navbar > .container, .navbar > .container-fluid, .navbar > .container-lg, .navbar > .container-md, .navbar > .container-sm, .navbar > .container-xl, .navbar > .container-xxl {
        min-width: 90%;
    }
    .navbar .bi::before {
        width: 95%;
    }
    .navbar-expand-lg .navbar-nav {
        align-items: flex-start;
        justify-content: space-around;
    }
    .nav-link.dropdown-toggle {
        margin-top: .9rem;
    }
}

/* RESPONSIVE - MOBILE */
@media (max-width: 575.98px) {
    /* NAVBAR */
    .navbar-nav {
        flex-wrap: wrap;
    }
}