/* HERO SECTION */
.hero-section {
    background: var(--secondary-color);
    color: var(--bg-color);
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(https://images.pexels.com/photos/1410226/pexels-photo-1410226.jpeg) top /cover;
    opacity: 0.5;
}

.hero-section h1 {
    color: var(--bg-color);
    font-size: var(--title);
    font-weight: var(--f-weight-2);
}

.hero-section .btn {
    border: solid 1px var(--bg-color);
}

.list-unstyled i {
    color: var(--primary-color);
}

.card-title {
    font-weight: var(--f-weight-2);
    font-size: var(--title-small);
    color: var(--secondary-color);
}

.feature-card {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--b-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    position: relative;
    z-index: 1;
    background-color: var(--light-color);
    font-size: var(--f-size);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--b-shadow)
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card .card-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover .card-icon {
    transform: scale(1.1);
}

/* BADGES */
.info-badge {
    color: var(--primary-color);
    font-weight: var(--f-weight-2);
    padding: 0.5rem 1rem;
    border: solid 1px var(--primary-color);
    border-radius: 50px;
    display: inline-block;
    margin: 0.5rem 0;
    transition: all 0.3s ease;
}

.info-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--b-shadow);
}

/* FOOTER */
footer i {
    font-size: var(--social-icon-footer);
}

/* MODAL CUSTOM */
.custom-modal .modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--b-shadow);
}

.custom-modal .modal-header {
    border-bottom: none;
    background-color: var(--primary-color);
    color: var(--bg-color);
    border-radius: var(--border-radius);
}

.custom-modal .btn-close {
    filter: invert(1);
    color: var(--bg-color);
}

/* Responsividade */

@media (min-width: 769px) and (max-width: 992px) {
    .hero-section h1 {
        font-size: var(--title-small);
    }

    .section-title .title {
        font-size: var(--title-small);
    }

    .what-is {
        text-align: center;
    }

    .list-unstyled {
        text-align: left;
    }

    .badges {
        text-align: center;
    }

    .cards {
        text-align: center;
    }

    .importance-section {
        text-align: center;
    }

    .modal-body {
        font-size: var(--text-small);
    }
}

@media (max-width: 768px) {
    * i {
        font-size: var(--social-icon-small);
    }

    .hero-section h1 {
        font-size: var(--title-small);
    }

    .section-title .title {
        font-size: var(--title-small);
    }

    .what-is {
        text-align: center;
    }

    .list-unstyled {
        text-align: left;
    }

    .badges {
        text-align: center;
    }

    .cards {
        text-align: center;
    }

    .importance-section {
        text-align: center;
    }

    footer {
        font-size: var(--f-small);
    }

    .modal-body {
        font-size: var(--text-small);
    }
}