/* ============================================
   COMPONENTS.CSS - Composants réutilisables
   ============================================ */

/* ========== NAVBAR HELPIFY ========== */
.navbar-helpify {
    background-color: rgb(255, 255, 255);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.208);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-helpify .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    width: 100px;
    align-items: center;
    gap: 0.5rem;
}

.navbar-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.navbar-menu a {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--primary-color);
}

/* ========== BOUTONS HELPIFY ========== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
}

.btn-secondary {
    background-color: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--bg-light);
}

.btn-secondary:hover {
    background-color: white;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-outline-white {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ========== CARDS ========== */
.card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.card h4 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.card p {
    color: var(--text-light);
    font-size: var(--font-sm);
}

/* ========== FORMULAIRES ========== */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-dark);
}

.form-input {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid var(--bg-light);
    border-radius: var(--radius-md);
    font-size: var(--font-sm);
    transition: border-color var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

/* ========== FOOTER HELPIFY ========== */
.footer-helpify {
    background-color: var(--bg-dark);
    color: white;
    padding: 3rem 0 1.5rem;

    margin-bottom: -90px;
    width: 100vw ;
    max-width: none ;
    margin-left: calc(-50vw + 50%) ;
    margin-right: calc(-50vw + 50%) ;
    position: relative;
    left: 0;
    right: 0;
}

.devwise-logo{
    width:50px
}

.footer-logo {
    width: 150px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 0fr 0fr 0fr;
    gap: 3rem;
    margin-bottom: 5rem;
}

.footer-col p {
    color: rgba(255,255,255,0.8);
    margin-right: 300px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
}

.footer-bottom p {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom p2 {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    font-size: 1.25rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
}