.icon-sm {
    width: 16px;
    height: 16px;
}

.icon-xs {
    width: 8px;
    height: 8px;
}

.hero-container {
    padding-bottom: 80px;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    margin: 40px 40px;
}

.hero-content-wrapper {
    position: relative;
    width: 100%;
    min-height: 474px;
}

.hero-bg {
    position: absolute;
    top: 0;
    height: 100%;
    background-color: var(--primary-pink);
    z-index: 0;
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    transform: translateX(-50%);
}

.hero-text-block {
    position: relative;
    z-index: 1;
    padding: 40px 40px;
    max-width: 824px;
    color: #ffffff;
}

.hero-text-block h2 {
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
}

.hero-text-block h3 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 20px;
}

.hero-text-block p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 700px;
}

.btn-primary {
    background-color: var(--primary-red);
    color: white;
    padding: 20px 32px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

.arrow-group {
    display: flex;
    gap: -12px; /* Overlap effect */
}

.arrow-group img {
    width: 24px;
    height: 24px;
}

.hero-images {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.image-cluster {
    background-image: url("/static/images/Group7.png");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-img {
    position: absolute;
    object-fit: cover;
}

/* Positioning based on Figma absolute coordinates relative to the 765x474 container */
.img-1 {
    top: 208px;
    left: 52px;
    width: 186px;
    height: 146px;
}

.img-2 {
    top: 24px;
    left: 132px;
    width: 320px;
    height: 128px;
}

.img-3 {
    top: 229px;
    left: 445px;
    width: 51px;
    height: 222px;
}

.img-4 {
    top: 166px;
    left: 253px;
    width: 152px;
    height: 134px;
}

.img-5 {
    top: 474px;
    left: 228px;
    width: 243px;
    height: 158px;
}

.img-6 {
    top: 0px;
    left: 485px;
    width: 280px;
    height: 237px;
}

.img-7 {
    top: 258px;
    left: 493px;
    width: 272px;
    height: 195px;
}

.img-8 {
    top: 399px;
    left: 59px;
    width: 158px;
    height: 75px;
}

#benefits {
    margin-top: -50px; /* Overlap with Hero */
    position: relative;
    z-index: 2;
    margin-bottom: 100px;
}

.benefits-card {
    background-color: #ffffff;
    box-shadow: 0px 4px 60px 0px rgba(12, 7, 36, 0.04);
    padding: 80px 50px;
    margin: 0 auto;
}

.benefits-title {
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 50px;
    text-align: left;
}

.benefits-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 217px;
}

.benefit-icon {
    margin-bottom: 20px;
    height: 45px;
    display: flex;
    align-items: center;
}

.benefit-icon img {
    max-height: 100%;
}

.benefit-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.2;
}

.benefit-text p {
    font-size: 14px;
    color: rgba(41, 35, 31, 0.6);
    line-height: 1.4;
}

#partners {
    margin-bottom: 100px;
}

.partners-tags {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-bottom: 80px;
}

.tag-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    padding: 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
    text-transform: lowercase;
}

.blue-border {
    border: 1px solid rgba(58, 179, 240, 0.5);
}

.purple-border {
    border: 1px solid rgba(149, 105, 240, 0.5);
}

.client-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

#form-section {
    margin-bottom: 0;
}

.form-wrapper {
    position: relative;
    height: 721px;
    background-image: url("/static/images/Group457.png");
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    padding-left: 40px;
    overflow: hidden;
}

.form-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.form-card {
    position: relative;
    z-index: 1;
    background-color: #ffffff;
    width: 958px;
    padding: 40px 20px;
    box-sizing: border-box;
}

.form-header {
    margin-bottom: 20px;
}

.form-logo {
    height: 40px;
    width: fit-content;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.input-group {
    flex: 1;
}

.input-group.full-width {
    flex: 1 1 100%;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background-color: rgba(41, 35, 31, 0.04);
    border: none;
    border-radius: 12px;
    padding: 19px 20px;
    font-size: 16px;
    color: var(--text-dark);
    box-sizing: border-box;
    font-family: inherit;
}

.input-group textarea {
    height: 160px;
    resize: none;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.disclaimer {
    font-size: 14px;
    color: rgba(41, 35, 31, 0.6);
    max-width: 635px;
}

.btn-submit {
    background-color: var(--primary-red);
    color: white;
    padding: 20px 32px;
    border-radius: 16px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.section-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    margin-top: 50px;

}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

.section-title-line {
    height: 1px;
    flex: 1;
    max-width: 200px;
}

/* Mobile Responsive Styles */
@media (max-width: 990px) {
    .page-title {
        font-size: 32px;
        padding: 10px;
        margin: 0;
    }

    .hero-container {
        padding-bottom: 40px;
    }

    .hero-content-wrapper {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .hero-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        min-height: 100%;
        height: auto;
        transform: none;
    }

    .hero-text-block {
        padding: 20px;
        max-width: 100%;
        order: 1;
        position: relative;
        z-index: 2;
    }

    .hero-text-block h2 {
        font-size: 28px;
    }

    .hero-text-block h3 {
        font-size: 20px;
    }

    .hero-text-block p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .btn-primary {
        padding: 16px 24px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }

    .arrow-group {
        gap: -8px;
    }

    .arrow-group img {
        width: 20px;
        height: 20px;
    }

    /* Hero images - move to bottom on mobile */
    .hero-images {
        position: relative;
        width: 100%;
        height: 300px;
        margin-top: 20px;
        order: 2;
        z-index: 1;
    }

    .image-cluster {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .hero-img {
        position: relative;
        width: auto;
        height: auto;
        max-width: 30%;
        max-height: 80px;
        object-fit: contain;
    }

    /* Reset absolute positioning on mobile */
    .img-1, .img-2, .img-3, .img-4, .img-5, .img-6, .img-7, .img-8 {
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        height: auto;
        max-width: 30%;
        max-height: 80px;
    }

    /* Benefits section */
    #benefits {
        margin-top: 0;
        margin-bottom: 50px;
    }

    .benefits-card {
        width: 100%;
        padding: 40px 20px;
        margin: 0;
    }

    .benefits-title {
        font-size: 24px;
        margin-bottom: 30px;
        text-align: center;
    }

    .benefits-grid {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .benefit-item {
        width: 100%;
        max-width: 300px;
    }

    .benefit-text h3 {
        font-size: 18px;
    }

    .benefit-text p {
        font-size: 14px;
    }

    /* Partners section */
    #partners {
        margin-bottom: 50px;
    }

    .section-title {
        font-size: 30px;
    }

    .section-title-line {
        max-width: 50px;
    }

    .partners-tags {
        margin-bottom: 40px;
    }

    .tag {
        padding: 12px 16px;
        font-size: 14px;
    }

    /* Form section */
    .form-wrapper {
        height: auto;
        min-height: 600px;
        padding: 20px;
        flex-direction: column-reverse;
    }

    .form-bg-image {
        width: 100%;
        height: 200px;
        position: relative;
    }

    .form-card {
        width: 100%;
        padding: 30px 20px;
        margin-top: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .form-footer {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .disclaimer {
        max-width: 100%;
        font-size: 12px;
    }

    .btn-submit {
        width: 100%;
        padding: 16px 24px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 32px;
        padding: 10px;
        margin: 0;
    }

    .hero-text-block {
        padding: 15px;
    }

    .hero-text-block h2 {
        font-size: 24px;
    }

    .hero-text-block h3 {
        font-size: 18px;
    }

    .hero-images {
        height: 250px;
    }

    .hero-img {
        max-width: 25%;
        max-height: 60px;
    }

    .benefits-card {
        padding: 30px 15px;
    }

    .benefits-title {
        font-size: 20px;
    }

    .section-title {
        font-size: 30px;
    }

    .form-wrapper {
        padding: 15px;
    }

    .form-card {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 32px;
        padding: 10px;
        margin: 0;
    }

    .hero-text-block h2 {
        font-size: 20px;
    }

    .hero-text-block h3 {
        font-size: 16px;
    }

    .hero-text-block p {
        font-size: 14px;
    }

    .btn-primary {
        padding: 12px 20px;
        font-size: 12px;
    }

    .hero-images {
        height: 200px;
    }

    .hero-img {
        max-width: 20%;
        max-height: 50px;
    }

    .benefits-card {
        padding: 20px 10px;
    }

    .benefits-title {
        font-size: 18px;
    }

    .benefit-item {
        max-width: 100%;
    }

    .tag {
        padding: 10px 12px;
        font-size: 12px;
    }

    .form-wrapper {
        padding: 10px;
    }

    .form-card {
        padding: 15px 10px;
    }

    .input-group input,
    .input-group textarea {
        padding: 15px;
        font-size: 14px;
    }

    .btn-submit {
        padding: 12px 20px;
        font-size: 12px;
    }
}
