/* New Hero Section Styles V4 */
.banner-wrapper.h-banner {
    background-color: #0c0a18;
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

.banner-wrapper.h-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1200px;
    height: 1200px;
    background-image: radial-gradient(circle, rgba(116, 79, 255, 0.15) 0%, rgba(116, 79, 255, 0) 50%);
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hero-main-content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* MODIFIED */
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-text-content {
    flex: 1 1 60%;
    max-width: 60%;
    text-align: left; /* MODIFIED */
}

.hero-text-content .legendText {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(255, 212, 13, 0.3);
    border-radius: 50px;
    color: #ffd40d;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    background-color: rgba(255, 212, 13, 0.05);
    backdrop-filter: blur(10px);
}

.hero-text-content .title {
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.typewrite.highlighted-text > .wrap {
    color: #ffd40d;
}

.hero-text-content .sub-text {
    max-width: 650px;
    font-size: 1.1rem;
    color: #a39bbf;
    margin: 0 0 2.5rem; /* MODIFIED */
    text-align: left; /* MODIFIED */
}

.hero-text-content .btn-primary {
    background: linear-gradient(90deg, #744fff, #532ce6);
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(116, 79, 255, 0.3);
}

.hero-text-content .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(116, 79, 255, 0.4);
}

.hero-reviews {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: start;
    gap: 20px 30px;
    margin-top: 50px;
}
.review-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #a39bbf;
    font-size: 0.95rem;
    font-weight: 500;
}
.review-item .stars {
    color: #ffd40d;
    font-size: 1.2rem;
}

.review-item .rating {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.review-link {
    color: inherit; /* default color */
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.review-link:hover {
    text-decoration: underline;
}

.review-link.product-hunt {
    color: #da552f;
}
.review-link.google {
    color: #fff;
}
.review-link.trustpilot {
    color: #00b67a;
}
.review-link.crozdesk {
    color: #4285f4;
}

/* New Form Styles */
.hero-form-container {
    flex: 1 1 35%;
    max-width: 420px;
    background-color: #ffffff; /* MODIFIED */
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1); /* MODIFIED */
    z-index: 5;
}

.hero-form-container .form-title {
    color: #0c0a18; /* MODIFIED */
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
}

.hero-form-container .form-row {
    display: flex;
    gap: 16px;
}

.hero-form-container .form-row .form-group {
    flex: 1;
}

.hero-form-container .form-group {
    margin-bottom: 16px;
}

.hero-form-container .form-group input,
.hero-form-container .form-group select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #dcdce0; /* MODIFIED */
    background-color: #f9f9fb; /* MODIFIED */
    color: #0c0a18; /* MODIFIED */
    font-size: 0.95rem;
}

.hero-form-container .form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23333333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); /* MODIFIED */
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.hero-form-container .form-group input::placeholder {
    color: #6a6a7c; /* MODIFIED */
}
.hero-form-container .form-group label {
    display: block;
    margin-bottom: 6px;
    color: #1f2937;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: left;
}
.hero-form-container .form-group select:required:invalid {
    color: #6a6a7c; /* MODIFIED */
}
.hero-form-container .form-group option {
    color: #0c0a18; /* Color for dropdown options */
}

.hero-form-container .form-submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    margin-top: 10px;
    background-color: #3B82F6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    border: none;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
}
.hero-form-container .form-submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

.hero-text-content .btn-outline-primary {
    background-color: #ffd40d;
    border: 2px solid #ffd40d;
    color: #000000;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}
.hero-text-content .btn-outline-primary:hover {
    background-color: #eab308;
    border-color: #eab308;
    color: #000000;
    transform: translateY(-2px);
}

.hero-form-container .form-group label.error{
    color: red;
    font-style: italic;
    margin: 5px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-main-content {
        flex-direction: column;
        text-align: left; /* MODIFIED */
        gap: 50px;
    }
    .hero-text-content {
        text-align: left; /* MODIFIED */
        max-width: 100%;
    }
    .hero-text-content .title {
        font-size: 3rem;
    }
    .hero-form-container {
        max-width: 500px;
        width: 100%;
    }
}
@media (max-width: 767.98px) {
    .hero-text-content .title {
        font-size: 2.4rem;
    }
    .hero-text-content .sub-text {
        font-size: 1rem;
    }
    .hero-reviews {
        grid-template-columns: 1fr;
        gap: 15px;
        justify-items: start;
    }
}
