/* ==========================================================================
   Hero Section Component
   ========================================================================== */

.hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Content Container */
.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 27px;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.hero-metrics-bar-container {
    position: relative;
    background: linear-gradient(180deg, rgba(226, 224, 255, 0) 5.58%, #E2E0FF 50%);
    padding: 50px 100px;
}

/* Clients/Trust Badge */
.hero-trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(90deg, rgba(8, 0, 102, 0.13) 0%, rgba(8, 0, 102, 0.04) 100%);
    border: 0.94px solid #08006626;
    backdrop-filter: blur(10px);
    border-radius: 50px;
    margin-bottom: 2rem;
    padding-top: 15.08px;
    padding-right: 23.56px;
    padding-bottom: 15.08px;
    padding-left: 23.56px;
}

.hero-trust-avatars {
    display: flex;
    align-items: center;
}

.hero-trust-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: -12px;
    object-fit: cover;
}

.hero-trust-avatars img:first-child {
    margin-left: 0;
}

.hero-trust-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.21rem;
}

.hero-trust-stars {
    display: flex;
    color: var(--primary-900);
}

.hero-trust-stars svg {
    width: 15px;
    height: 15px;
}

.hero-trust-text {
    color: #080066A6;
    font-weight: 400;
    font-size: 18px;
    line-height: 21.76px;
    letter-spacing: -0.36px;

}

/* Main Typography */
.hero-title {
    color: var(--primary-900);
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    display: flex;
    flex-direction: column;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.6;
    max-width: 791px;
    font-weight: 400;
    font-size: 22px;
    text-align: center;
    color: #080066B2;

}

/* Stats/Metrics Bar */
.hero-metrics-bar {
    display: flex;
    justify-content: space-around;
    width: 100%;
    border-radius: 30px;
    padding: 40px 115px;
    box-shadow: 2px 3px 8px 0px #4d4c4c29;
    border: 1.5px solid #211F541A;
    align-items: center;
    /* ensures dividers stretch correctly and items center vertically */
}

.hero-metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    flex: 1;
    /* let items take up equal space */
}

.hero-metric-divider {
    width: 1px;
    height: 70px;
    /* set a fixed height for the divider */
    background: rgba(33, 31, 84, 0.15);
}

.hero-metric-label {
    color: var(--primary-700);
    font-size: 19px;
    line-height: 100%;
    font-weight: 400;
}

.hero-metric-value {
    color: var(--primary-900);
    font-size: 46px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: -0.02em;
}

/* Media Queries for Responsive Layouts */

@media (max-width: 768px) {
    .hero-content {
        padding: 0 15px
    }
    .hero-metrics-bar {
        margin: 0 auto;
        flex-direction: column;
        padding: 30px;
        width: fit-content;
    }

    .hero-metric-item {
        padding: 20px;
    }

    .hero-metric-divider {
        width: 100%;
        height: 1px;
        max-width: 80%;
    }
}

@media (min-width: 768px) {
    .hero-metrics-bar {
        gap: 20px;
        padding: 20px 10px;
    }
    .hero-metrics-bar-container {
        padding: 40px;
    }
}

@media (max-width: 420px) {
    .hero-metrics-bar-container {
        padding: 30px;
    }

    .hero-trust-badge {
        flex-direction: column;
        align-items: center;
        border-radius: 20px;
    }

    .hero-trust-info {
        align-items: center;
    }
}