/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    background: linear-gradient(135deg, rgba(63,63,149,0.1) 0%, rgba(44,62,80,0) 100%), url(/assets/img/nacala.jpg) center/cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(50,50,120,0.85) 0%, rgba(30,42,60,0.75) 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.05) 0.5px, transparent 0.5px);
    background-size: 15px 15px;
    z-index: 0;
    opacity: 0.7;
}

.hero-title {
    font-weight: 800;
    line-height: 1.25;
    font-size: 3.8rem;
    text-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

.hero-title-highlight {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

    .hero-title-highlight:after {
        content: '';
        position: absolute;
        bottom: 8px;
        left: 0;
        width: 100%;
        height: 10px;
        background: rgba(255, 241, 18, 0.3);
        z-index: -1;
        border-radius: var(--border-radius-sm);
    }

.hero-section .lead {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255,255,255,0.85);
}

/* Cards */
.card-hover {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    border-radius: var(--border-radius-lg) !important;
    overflow: hidden;
}

    .card-hover:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15) !important;
    }

/* Stats Cards - Hero */
.stats-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border-radius: var(--border-radius-md);
    padding: 25px;
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

    .stats-card:hover {
        transform: translateY(-6px) scale(1.02);
        background: rgba(255, 255, 255, 0.18);
        box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    }

    .stats-card .stats-icon i {
        font-size: 2.5rem;
        color: var(--secondary-color);
        opacity: 0.9;
    }

    .stats-card .stats-content .stats-number {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--light-color);
        line-height: 1.1;
    }

    .stats-card .stats-content .stats-label {
        font-size: 0.9rem;
        color: rgba(255,255,255,0.8);
        font-weight: 300;
    }

/* Sections */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 60px;
    font-weight: 700;
    color: var(--primary-color);
}

    .section-title:after {
        content: '';
        position: absolute;
        width: 60px;
        height: 4px;
        background: var(--secondary-color);
        bottom: -15px;
        left: 0;
        border-radius: 2px;
    }

    .section-title.text-center:after {
        left: 50%;
        transform: translateX(-50%);
    }



/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

    .animate-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

.hero-section .animate-fadein {
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.hero-section .animate-fadein-delay {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hover-scale {
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

    .hover-scale:hover {
        transform: scale(1.05);
    }

.feature-icon-bg {
    width: 70px;
    height: 70px;
    border-radius: var(--border-radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .feature-icon-bg i {
        font-size: 2rem;
        color: var(--light-color);
    }

.card-hover:hover .feature-icon-bg {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .hero-section {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .back-to-top {
        right: 20px;
        bottom: 90px;
    }

    .navbar-nav {
        padding-top: 1rem;
    }
}

@media (max-width: 768px) {
    body {
        line-height: 1.6;
    }

    .navbar-brand img {
        height: 50px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .top-bar .col-md-6 {
        text-align: center !important;
    }

        .top-bar .col-md-6:last-child span {
            display: block;
            margin-top: 5px;
        }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
        bottom: 20px;
        right: 20px;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        bottom: 85px;
        right: 20px;
    }

    .stats-card {
        padding: 20px;
        gap: 10px;
    }

        .stats-card .stats-icon i {
            font-size: 2rem;
        }

        .stats-card .stats-content .stats-number {
            font-size: 1.5rem;
        }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}