/* === Hero Section === */

.hero {
    padding-top: 5%;
    padding-bottom: 60px;
    width: 100%;
    z-index: 3;
}

.hero_memo {
    width: 70%;
    margin: 0 auto;
    text-align: center;
}

.hero_title {
    font-size: 3rem;
    font-weight: bold;
    opacity: 0;
    transform: translateY(0);
    white-space: pre-line;
    transition: opacity 0.8s ease;
}

.hero_title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hero_para {
    font-size: 1.5rem;
    color: #ccc;
    margin-top: 10px;
}


/* === Trust Row === */

.trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.circle-row {
    display: flex;
    align-items: center;
}

.circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-left: -15px;
    z-index: 3;
}

.circle:first-child {
    margin-left: 0;
}


/* Colors */

.dark-gray {
    background-image: url('../image/1.png');
}

.gray {
    background-image: url('../image/2.png');
}

.orange {
    background-image: url('../image/3.png');
}

.violet {
    background-image: url('../image/4.png');
}

.aqua-blue {
    background-image: url('../image/5.png');
}

.trust-text {
    font-size: 0.95rem;
    text-align: justify;
    justify-content: left;
}


/* === Buttons === */

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
    z-index: 3;
}

.hero-btn {
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    z-index: 3;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.primary-btn {
    background-color: rgba(47, 188, 243, 0.856);
    color: white;
}

.secondary-btn {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(47, 188, 243, 0.856);
}

.hero-btn:hover {
    transform: scale(1.05);
    cursor: pointer;
}


/* === Mobile Responsive Hero Section (max-width: 768px) === */

@media screen and (max-width: 768px) {
    .hero {
        padding-top: 20%;
    }
    .hero_memo {
        width: 90%;
        padding: 0 10px;
    }
    .hero_title {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    .hero_para {
        font-size: 0.9rem;
    }
    .trust-row {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        align-items: center;
        /* center everything vertically */
    }
    .circle-row {
        display: flex;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
        margin-top: 0.5rem;
    }
    .circle {
        width: 35px;
        height: 35px;
        margin-left: 0;
        /* reset negative margin for mobile */
    }
    .trust-text {
        font-size: 0.75rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    .hero-btn {
        width: 100%;
        padding: 0.55rem 0.9rem;
        font-size: 0.85rem;
    }
}


/* === Extra Small Mobile (<480px) === */

@media screen and (max-width: 480px) {
    .hero {
        padding-top: 30%;
    }
    .hero_memo {
        width: 95%;
        padding: 0 8px;
    }
    .hero_title {
        font-size: 1.2rem;
        line-height: 1.1;
    }
    .hero_para {
        font-size: 0.8rem;
    }
    .trust-row {
        flex-direction: column;
        gap: 0.6rem;
        text-align: center;
        align-items: center;
    }
    .circle-row {
        justify-content: center;
        gap: 6px;
    }
    .circle {
        width: 30px;
        height: 30px;
    }
    .trust-text {
        font-size: 0.7rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 0.4rem;
    }
    .hero-btn {
        width: 100%;
        padding: 0.45rem 0.8rem;
        font-size: 0.75rem;
    }
}