
/*==================================================
FOOTER
==================================================*/

.footer {
    background: #0f172a;
    color: #cbd5e1;
}

.footer-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #22c55e;
    transform: translateX(5px);
}

.social-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1e293b;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #22c55e;
    color: #fff;
    transform: translateY(-5px);
}

#backToTop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    border-radius: 50%;
}

.footer input {
    border-radius: 30px 0 0 30px;
}

.footer .btn {
    border-radius: 0 30px 30px 0;
}

/*==================================================
HERO SECTION
==================================================*/

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    background: linear-gradient(
        135deg,
        #071321 0%,
        #0f172a 50%,
        #0b8f4d 100%
    );
    color: #fff;
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("../images/pattern.png") center center repeat;
    opacity: 0.05;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
    max-width: 650px;
}

.gradient-text {
    background: linear-gradient(90deg, #22c55e, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-buttons .btn {
    border-radius: 50px;
    padding: 15px 35px;
    font-weight: 600;
}

.hero-image {
    max-width: 100%;
    animation: float 4s ease-in-out infinite;
}

/*==================================================
CLIENTS
==================================================*/

.clients {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.client-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 18px;
    border-radius: 30px;
    backdrop-filter: blur(12px);
}

/*==================================================
ANIMATIONS
==================================================*/

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

/*==================================================
FLOATING CARDS
==================================================*/

.hero-image-wrapper {
    position: relative;
    display: inline-block;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 230px;

    padding: 15px;
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.96);

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);

    animation: float 5s ease-in-out infinite;
}

.floating-card .icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #22c55e;
    color: #fff;

    font-size: 22px;
}

.floating-card h6 {
    margin: 0;
    font-weight: 700;
    color: #0f172a;
}

.floating-card small {
    color: #64748b;
}

.card-one {
    top: 40px;
    left: -60px;
}

.card-two {
    right: -60px;
    bottom: 60px;
    animation-delay: 1s;
}

.card-three {
    left: 30px;
    bottom: -40px;
    animation-delay: 2s;
}

/*==================================================
STATISTIQUES
==================================================*/

.hero-stats {
    position: relative;
    z-index: 5;
    margin-top: -70px;
    padding-bottom: 80px;
}

.stat-card {
    height: 100%;
    padding: 40px;
    text-align: center;

    background: #fff;
    border-radius: 20px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);

    transition: all 0.35s ease;
}

.stat-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 75px;
    height: 75px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #22c55e;
    color: #fff;

    font-size: 28px;
}

.stat-card h2 {
    font-size: 42px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.stat-card p {
    margin: 0;
    color: #64748b;
    font-weight: 600;
}

/*==================================================
RESPONSIVE
==================================================*/

@media (max-width: 992px) {

    .hero-title {
        font-size: 2.8rem;
    }

    .floating-card {
        display: none;
    }

    .hero-stats {
        margin-top: 0;
    }

    .hero-section {
        text-align: center;
    }
}

@media (max-width: 768px) {

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}
