.hero {
    background: linear-gradient(to bottom right, #1a237e, #303f9f);
    position: relative;
    padding: 80px 20px 70px;
    color: #fff;
    text-align: center;
}

@media screen and (min-width: 740px) {
    .hero::after {
        display: none;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 0.4rem;
}

.hero-content p {
    font-size: 1.05rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 70px 20px;
    background-color: #f9faff;
    text-align: center;
    min-height: 100%;
}

.feature {
    flex: 1 1 300px;
    margin: 20px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    background: #ffffff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(87, 99, 236, 0.2);
}

.feature i {
    font-size: 36px;
    color: #5763ec;
    margin-bottom: 15px;
    display: block;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
    max-width: 530px;
    margin: 2rem auto;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-img {
    width: 100%;
    flex: 0 0 100%;
    object-fit: cover;
}

.cta-button {
    margin-top: 2rem;
    text-align: center;
}

.btn-primary {
    background-color: #5763ec;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(87, 99, 236, 0.3);
}

.btn-primary:hover {
    background-color: #303f9f;
}

.feature h3 {
    margin-bottom: 1px;
}