/* ============================================
   Main Section Styles
   ============================================ */
.hubspot-audit-section {
    position: relative;
    overflow: visible;
    padding: 120px 20px 0;
    background-color: var(--rp-bright-red);
}

.hubspot-audit-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    background-image: url(../images/bg-texture-hero.webp);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hubspot-audit-section > .container {
    position: relative;
    z-index: 1;
}

.hubspot-audit-section .hubspot-audit-row {
    max-width: 1230px;
    padding: 0;
}

.hubspot-audit-section .hubspot-audit-row {
    gap: 76px;
    /* flex-direction: row;
    flex-wrap: nowrap; */
}

.hubspot-audit-section .hubspot-audit-row > * {
    padding: 0;
    max-width: calc(50% - 38px);
}

/* ============================================
   Testimonial Card Styles
   ============================================ */
.hubspot-testimonial-card {
    color: var(--rp-white);
    position: relative;
    z-index: 1;
    background-color: var(--rp-headlines);
    padding: 40px 38px 82px 38px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 24px;
}

/* Logo Styling */
.grasshopper-logo {
    width: 100%;
    max-width: 240px;
    height: auto;
    display: block;
}

/* Star Rating */
.star-rating {
    margin-bottom: 10px;
}

.star-rating i {
    font-size: 1rem;
    margin-right: 2px;
}

/* Testimonial Quote */
.testimonial-quote-wrapper {
    margin-bottom: 24px;
}
.testimonial-quote-wrapper p {
    margin-bottom: 0px;
    color: var(--rp-background);
}

/* Benefits List - Chevron Icons */
.chevron-icon-wrapper {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.chevron-icon-wrapper i {
    font-size: 0.75rem;
    line-height: 0.5;
    display: block;
}

.hubspot-audit-section .logo-wrapper {
    margin-bottom: 40px;
}

.benefit-text p{
    font-size: var(--heading-sm-size) ;
    line-height: 1.4;
}

.benefit-text::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 42px;
    margin-right: 20px;
    background-image: url('../icons/arrow-book.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.benefits-list .benefit-item {
    margin-bottom: 18px;
}

.benefits-list .benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-item p {
    display: flex;
    font-size: var(--heading-sm-size);
    font-family: var(--font-heading);
}


/* ============================================
   Arrow Decoration (Desktop)
   ============================================ */
.arrow-decoration {
    top: -25px;
    right: -50px;
    transform: translateY(-50%);
    z-index: 10;
}

.curved-arrow {
    width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
}

/* ============================================
   Form Section Styles
   ============================================ */
.section-heading {
    font-size: var(--heading-lg-size);
    line-height: 1.2;
}

.section-description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Submit Button */
.submit-btn {
margin-top: 5px;
}

.submit-btn:hover {

}

/* ============================================
   "Let's Talk" Bottom Image
   ============================================ */
.lets-talk-wrapper {
    margin-top: 3rem;
}

.lets-talk-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ============================================
   Responsive Styles
   ============================================ */

/* Large Desktops (1400px+) */
@media (min-width: 1400px) {
    .arrow-decoration {
    }
    
    .curved-arrow {
        width: 200px;
    }
}

/* Desktop (992px - 1399px) */
@media (min-width: 992px) and (max-width: 1399px) {
    .arrow-decoration {
        right: -60px;
    }
    
    .curved-arrow {
        width: 160px;
    }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
    
    .hubspot-testimonial-card {
        margin-bottom: 2rem;
    }
    
    .benefit-text {
        font-size: 1rem;
    }
    
    .testimonial-quote {
        font-size: 1rem;
    }
}

@media (max-width: 1024px) and (min-width: 768px) {
    .hubspot-audit-section .hubspot-audit-row .hubspot-audit-right {
        order: 1;
    }
    
    .hubspot-audit-section .hubspot-audit-row .hubspot-audit-left {
        order: 2;
    }
}

/* Mobile Landscape & Small Tablets (576px - 767px) */
@media (max-width: 767px) {
    .hubspot-audit-section {
        padding-top: 60px !important;
        padding-bottom: 0 !important;
    }

    .arrow-decoration {
        display: block !important;
        top: inherit;
        bottom: -60px;
        right: 0;
        rotate: 145deg;
        transform: translateY(-50%);
        z-index: 10;
    }
    
    .section-heading {
        font-size: var(--heading-mobile-lg-size);
        line-height: var(--heading-mobile-lg-line);
    }
    
    .section-description {
        font-size: var(--paragraph-lg-size);
        line-height: var(--paragraph-lg-line);
    }
    
    .hubspot-testimonial-card {
        padding: 1.5rem !important;
    }
    
    
    .star-rating i {
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .lets-talk-wrapper {
        margin-top: 2rem;
        padding: 0;
    }

    .hubspot-audit-section .hubspot-audit-row {
        gap: 30px;
    }

    .hubspot-audit-section .hubspot-audit-row > * {
    max-width: 100%;
} 
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
    
    .section-description {
        font-size: 0.9rem;
    }
    
    .hubspot-testimonial-card {
        padding: 1.25rem !important;
    }
    
    .testimonial-quote {
        font-size: 0.95rem;
    }
    
    .benefit-text {
        font-size: 0.95rem;
    }
    
    .chevron-icon-wrapper {
        width: 20px;
        height: 20px;
    }
    
    .chevron-icon-wrapper i {
        font-size: 0.65rem;
    }
    
    .audit-input {
        padding: 0.65rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.8rem;
    }
    
    .lets-talk-image {
        max-width: 100%;
    }
}

/* Extra Small Mobile (up to 400px) */
@media (max-width: 400px) {
    
    .section-description {
        font-size: 0.85rem;
    }
    
    .star-rating i {
        font-size: 0.8rem;
    }
    
    .testimonial-quote {
        font-size: 0.9rem;
    }
    
    .benefit-text {
        font-size: 0.875rem;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .hubspot-audit-section {
        background-color: white !important;
    }
    
    .arrow-decoration,
    .lets-talk-wrapper {
        display: none !important;
    }
}