/* ================================
   Contact Page Styles - OPTIMIZED FOR 100% ZOOM
   File: contact-page.css
   Matching Homepage Hero Background
   ================================ */

/* ================================
   Variables & Base
   ================================ */
:root {
    /* Brand Colors */
    --color-blue-gray: #2B4150;
    --color-dark-teal: #207C7E;
    --color-bright-teal: #5CC2CF;
    --color-primary-blue: #1D95D1;
    --color-primary-green: #6EB510;
    --color-white: #FFFFFF;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 80px;
    --spacing-xxl: 100px;
    
    /* Container */
    --container-max: 1200px;
    --container-padding: 40px;
    
    /* Typography */
    --font-primary: 'Urbanist', sans-serif;
    --font-secondary: 'Inter', sans-serif;
}

/* ================================
   Page Container
   ================================ */
.contact-page-wrapper {
    width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
}

@media (min-width: 769px) {
    .container {
        padding: 0 var(--container-padding);
    }
}

/* ================================
   CONTACT HERO - WITH SVG PATTERN
   ================================ */

.contact-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0;
    background: radial-gradient(ellipse at 20% 30%, #2B4150 0%, #2B4150 25%, #207C7E 55%, #1D95D1 100%) !important;
}

/* Background Container */
.contact-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* SVG Pattern - UPDATED SIZE AND POSITIONING */
.contact-hero-pattern {
    position: absolute;
    top: -3%;
    left: 40%;
    right: -10%;
    bottom: -3%;
    overflow: hidden;
    background-image: url('https://arrowheadprstg.wpengine.com/wp-content/uploads/2026/01/subelement.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 750px;
    opacity: 1;
    z-index: 2;
}

/* Remove all pseudo-elements and animated elements */
.contact-hero::before,
.contact-hero::after {
    display: none;
}

.contact-hero-background::before {
    display: none;
}

.contact-hero-segmented-lines,
.contact-hero-segmented-lines::before,
.contact-hero-segmented-lines::after {
    display: none;
}

/* Hero Content Container - LEFT ALIGNED */
.contact-hero .container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .contact-hero .container {
        padding: 0 40px;
    }
}

/* Inner wrapper for content alignment */
.contact-hero__content {
    text-align: left;
    max-width: 750px;
    margin: 0;
}

/* Optional Label Above Heading */
.contact-hero__label {
    color: #6EB510;
    font-family: 'Inter', sans-serif;
    font-size: 14px !important;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
    animation: fadeInUp 0.6s ease-out;
}

/* Main Heading */
.contact-hero__heading {
    font-size: 52px;
    font-weight: 900;
    font-family: 'Urbanist', sans-serif;
    color: #FFFFFF;
    margin: 0 0 20px 0;
    line-height: 1.1;
    max-width: 650px !important;
    animation: fadeInTyping 1.5s ease-out;
}

/* Subtitle/Tagline */
.contact-hero__subtitle {
    font-size: 18px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    color: #F5F5F5;
    margin: 0 0 16px 0;
    line-height: 1.6;
    max-width: 750px !important;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Description Text */
.contact-hero__description {
    font-size: 16px;
    color: #F5F5F5;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    margin: 0 0 40px 0;
    opacity: 0.9;
    max-width: 750px !important;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* IMPORTANT: Remove bottom margin if description is last child (no button/links) */
.contact-hero__content > .contact-hero__description:last-child {
    margin-bottom: 0;
}

/* Also handle when quick-links exist but are hidden or removed */
.contact-hero__quick-links:empty,
.contact-hero__quick-links[style*="display: none"],
.contact-hero__quick-links[style*="display:none"] {
    display: none !important;
    margin: 0 !important;
}

/* If quick-links is the last visible child but empty/hidden */
.contact-hero__content > .contact-hero__quick-links:last-child:empty {
    display: none !important;
}

/* Remove margin from description if followed by hidden/empty quick-links */
.contact-hero__description:has(+ .contact-hero__quick-links:empty),
.contact-hero__description:has(+ .contact-hero__quick-links[style*="display: none"]) {
    margin-bottom: 0;
}

@keyframes fadeInTyping {
    0% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }
    100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   QUICK CONTACT LINKS - LEFT ALIGNED
   ================================ */
.contact-hero__quick-links {
    display: flex;
    justify-content: flex-start;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* NUCLEAR FIX: If quick-links is empty or has no visible children, hide it completely */
.contact-hero__quick-links:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
}

/* Also hide if it only contains hidden elements */
.contact-hero__quick-links:not(:has(.contact-hero__quick-link)) {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
}

/* Quick Link */
.contact-hero__quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 20px 32px;
    border-radius: 6px;
    background: rgba(92, 194, 207, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-hero__quick-link:hover {
    background: #2b4150;
    color: #FFFFFF;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Quick Link Icon */
.contact-hero__quick-link-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-hero__quick-link-icon svg {
    width: 22px;
    height: 22px;
    stroke: #FFFFFF;
    stroke-width: 2;
}

/* Quick Link Text */
.contact-hero__quick-link-text {
    font-size: 14px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* OPTION 2: Split Hero Layout (Text Left, Info Right) */
.contact-hero--split .container {
    text-align: left;
}

.contact-hero__split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-hero__text-side {
    /* Text content here */
}

/* Info Side */
.contact-hero__info-side {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-hero__info-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: 20px;
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-hero__info-item:last-child {
    border-bottom: none;
}

/* Info Icon */
.contact-hero__info-icon {
    width: 36px;
    height: 36px;
    background: #5CC2CF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-hero__info-content {
    flex: 1;
}

.contact-hero__info-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.8;
    margin-bottom: 4px;
}

/* Info Value */
.contact-hero__info-value {
    font-size: 16px;
    font-weight: 600;
}

/* OPTION 3: CTA Button - LEFT ALIGNED */
.contact-hero__cta {
    margin-top: var(--spacing-md);
    animation: fadeInUp 0.8s ease-out 0.5s both;
    text-align: left;
}

.contact-hero__cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: #5CC2CF;
    color: #FFFFFF;
    padding: 14px 36px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(92, 194, 207, 0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-hero__cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.contact-hero__cta-button:hover {
    background: #5CC2CF;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(92, 194, 207, 0.4);
}

.contact-hero__cta-button:hover::before {
    left: 100%;
}

.contact-hero__cta-button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.contact-hero__cta-button:hover svg {
    transform: translateX(4px);
}

/* ================================
   RESPONSIVE HERO PATTERN
   ================================ */

/* Small to Medium Desktop (1000px - 1400px) */
@media (min-width: 1000px) and (max-width: 1400px) {
    .contact-hero-pattern {
        left: 45% !important;
        right: -12% !important;
        background-position: 100% center !important;
    }
}

/* Hide SVG pattern on screens less than 1000px */
@media (max-width: 999px) {
    .contact-hero-pattern {
        display: none !important;
    }
    
    .contact-hero::before,
    .contact-hero::after,
    .contact-hero-background::before,
    .contact-hero-segmented-lines,
    .contact-hero-segmented-lines::before,
    .contact-hero-segmented-lines::after {
        display: none !important;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .contact-hero__heading {
        font-size: 42px;
        max-width: 550px;
    }
    
    .contact-hero__content {
        max-width: 650px;
    }
    
    .contact-hero__subtitle {
        font-size: 18px;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .contact-hero {
        min-height: auto;
        padding: 80px 0;
    }
    
    .contact-hero__content {
        max-width: 100%;
    }
    
    .contact-hero__label {
        font-size: 12px;
        margin-bottom: 24px;
    }
    
    .contact-hero__heading {
        font-size: 36px;
        margin-bottom: 24px;
        max-width: 100%;
    }
    
    .contact-hero__subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .contact-hero__description {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .contact-hero__quick-links {
        flex-direction: column;
        gap: 16px;
    }
    
    .contact-hero__quick-link {
        width: 100%;
        padding: 20px;
    }
    
    .contact-hero__cta-button {
        font-size: 16px;
        padding: 14px 32px;
    }
    
    .contact-hero__split-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .contact-hero__heading {
        font-size: 36px;
    }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
    .contact-hero__label,
    .contact-hero__heading,
    .contact-hero__subtitle,
    .contact-hero__description,
    .contact-hero__quick-links,
    .contact-hero__cta {
        animation: none;
    }
}

/* ================================
   Split Layout Section
   ================================ */
.contact-split {
    position: relative;
    padding: var(--spacing-xxl) 0;
    background: #F8F8F8;
    overflow: hidden;
}

/* Add floating rectangular color blocks behind form section */
.contact-split::before {
    content: '';
    position: hidden;
    top: -100px;
    left: 5%;
    width: 400px;
    height: 600px;
    background: linear-gradient(135deg, rgba(29, 149, 209, 0.08) 0%, rgba(92, 194, 207, 0.08) 100%);
    transform: rotate(22.5deg);
    animation: floatBlock1 8s ease-in-out infinite;
    z-index: 1;
}

.contact-split::after {
    content: '';
    position: hidden;
    bottom: -150px;
    right: 5%;
    width: 400px;
    height: 600px;
    background: linear-gradient(135deg, rgba(110, 181, 16, 0.08) 0%, rgba(92, 194, 207, 0.08) 100%);
    transform: rotate(22.5deg);
    animation: floatBlock2 10s ease-in-out infinite;
    z-index: 1;
}

.contact-split .container {
    position: relative;
    z-index: 2;
}

.contact-split__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ================================
   Form Column - Matching Service Page Style
   ================================ */
.contact-split__form {
    background: #F5F5F5;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(43, 65, 80, 0.08);
    transition: all 0.3s ease;
}

.contact-split__form:hover {
    box-shadow: 0 8px 30px rgba(43, 65, 80, 0.12);
}

.form-intro {
    margin-bottom: var(--spacing-lg);
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(92, 194, 207, 0.2);
}

/* Form Intro Text - REDUCED SIZE */
.form-intro p {
    font-size: 16px;
    line-height: 1.7;
    color: #2B4150;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

/* ================================
   Sidebar Column
   ================================ */
.contact-split__sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* ================================
   Contact Information Card
   ================================ */
.contact-info {
    background: #F5F5F5;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(43, 65, 80, 0.08);
    transition: all 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(43, 65, 80, 0.12);
}

.contact-info__item {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(43, 65, 80, 0.1);
}

.contact-info__item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Contact Info Label - REDUCED SIZE */
.contact-info__label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #6EB510;
    font-family: 'Inter', sans-serif;
    margin: 0 0 var(--spacing-sm) 0;
}

/* Contact Info Value - REDUCED SIZE */
.contact-info__value {
    font-size: 18px;
    font-weight: 600;
    color: #2B4150;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.contact-info__value--phone,
.contact-info__value--email {
    color: #1d95d1;
}

.contact-info__value--phone:hover,
.contact-info__value--email:hover {
    color: #2b4150;
    transform: translateX(4px);
}

.contact-info__value--address {
    font-style: normal;
    line-height: 1.7;
    font-weight: 500;
}

/* ================================
   Rebate Status Card
   ================================ */
.rebate-status {
    background: linear-gradient(135deg, #2B4150 0%, #207C7E 100%);
    color: #FFFFFF;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.rebate-status::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Rebate Status Heading - REDUCED SIZE */
.rebate-status__heading {
    font-size: 36px;
    font-weight: 900;
    font-family: 'Urbanist', sans-serif;
    margin: 0 0 20px 0;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

/* Rebate Status Description - REDUCED SIZE */
.rebate-status__description {
    font-size: 16px;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
    margin: 0 0 var(--spacing-lg) 0;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.rebate-status__button {
    display: inline-block;
    background: #6EB510;
    color: #FFFFFF;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.rebate-status__button:hover {
    background: #1d95d1;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ================================
   Gravity Forms Base Styling
   ================================ */
.gform_wrapper {
    max-width: 100%;
}

.gform_wrapper form {
    margin: 0;
}

.gform_wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gform_wrapper li {
    list-style: none;
}

/* ================================
   Form Fields - Matching Service Page
   ================================ */
.gform_wrapper .gfield {
    margin-bottom: 20px;
    clear: both;
}

.gform_wrapper .gfield_label {
    font-weight: 700;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #2B4150;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.gform_wrapper .gfield_required {
    color: #6EB510;
    margin-left: 4px;
    font-weight: 700;
}

.gform_wrapper .gfield_required_asterisk {
    color: #6EB510;
}

/* Input Fields */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="number"],
.gform_wrapper textarea,
.gform_wrapper select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(43, 65, 80, 0.2);
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: #2B4150;
    background: #FFFFFF;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.gform_wrapper input[type="text"]:focus,
.gform_wrapper input[type="email"]:focus,
.gform_wrapper input[type="tel"]:focus,
.gform_wrapper input[type="url"]:focus,
.gform_wrapper input[type="number"]:focus,
.gform_wrapper textarea:focus,
.gform_wrapper select:focus {
    outline: none;
    border-color: #5CC2CF;
    box-shadow: 0 0 0 3px rgba(92, 194, 207, 0.1);
}

.gform_wrapper textarea {
    min-height: 120px;
    max-height: 200px;
    resize: vertical;
    line-height: 1.6;
}

.gform_wrapper select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232B4150' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 45px;
}

/* Field Description */
.gform_wrapper .gfield_description {
    font-size: 14px;
    color: rgba(43, 65, 80, 0.7);
    font-family: 'Inter', sans-serif;
    margin-top: var(--spacing-xs);
    line-height: 1.6;
}

.gform_wrapper .gfield_description.validation_message {
    font-style: normal;
}

/* Half Width Fields */
.gform_wrapper .gfield.gfield--width-half {
    width: calc(50% - 12px);
    float: left;
    clear: none;
}

.gform_wrapper .gfield.gfield--width-half:nth-of-type(odd) {
    margin-right: 24px;
}

/* ================================
   Form Validation
   ================================ */
.gform_wrapper .gfield_error {
    background-color: rgba(110, 181, 16, 0.05);
    border: 2px solid rgba(110, 181, 16, 0.3);
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.gform_wrapper .gfield_error .gfield_label {
    color: #6EB510;
}

.gform_wrapper .validation_message {
    color: #6EB510;
    font-size: 14px;
    margin-top: var(--spacing-xs);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    display: block;
}

.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error textarea,
.gform_wrapper .gfield_error select {
    border-color: #6EB510;
}

.gform_wrapper .gfield_error input:focus,
.gform_wrapper .gfield_error textarea:focus,
.gform_wrapper .gfield_error select:focus {
    box-shadow: 0 0 0 3px rgba(110, 181, 16, 0.1);
}

/* Validation Summary */
.gform_wrapper .validation_error {
    background: rgba(110, 181, 16, 0.1);
    border: 2px solid #6EB510;
    border-left-width: 6px;
    color: #2B4150;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

/* ================================
   Submit Button - Matching Service Hero CTA
   ================================ */
.gform_wrapper .gform_footer {
    margin-top: var(--spacing-lg);
    padding-top: 20px;
    border-top: 2px solid rgba(92, 194, 207, 0.2);
    clear: both;
}

/* Submit Button - REDUCED SIZE */
.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"] {
    display: inline-block;
    background: #5CC2CF;
    color: #FFFFFF;
    padding: 14px 36px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(92, 194, 207, 0.3);
    position: relative;
    overflow: hidden;
}

.gform_wrapper .gform_button::before,
.gform_wrapper input[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.gform_wrapper .gform_button:hover,
.gform_wrapper input[type="submit"]:hover {
    background: #207C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(92, 194, 207, 0.4);
    color: #FFFFFF;
}

.gform_wrapper .gform_button:hover::before,
.gform_wrapper input[type="submit"]:hover::before {
    left: 100%;
}

.gform_wrapper .gform_button:active,
.gform_wrapper input[type="submit"]:active {
    transform: translateY(-1px);
}

.gform_wrapper .gform_button:disabled,
.gform_wrapper input[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ================================
   Form Confirmation
   ================================ */
.gform_confirmation_wrapper {
    margin: var(--spacing-lg) 0;
}

/* Confirmation Message - REDUCED SIZE */
.gform_confirmation_message {
    background: rgba(92, 194, 207, 0.1);
    border: 2px solid #5CC2CF;
    border-left-width: 6px;
    color: #2B4150;
    padding: 32px;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 2px 8px rgba(92, 194, 207, 0.15);
}

/* ================================
   Loading Spinner
   ================================ */
.gform_wrapper .gform_ajax_spinner {
    display: inline-block;
    margin-left: 12px;
    vertical-align: middle;
}

/* ================================
   Responsive Design
   ================================ */
@media screen and (max-width: 968px) {
    .contact-split__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .contact-hero {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }
    
    .contact-split__form {
        padding: 32px;
    }
    
    .contact-hero__split-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .contact-hero__quick-links {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}

@media screen and (max-width: 768px) {
    .contact-hero,
    .contact-split {
        padding: var(--spacing-xl) 0;
    }
    
    .contact-hero__heading {
        font-size: 36px !important;
    }
    
    .contact-hero__subtitle {
        font-size: 18px;
    }
    
    .contact-hero-segmented-lines {
        display: none;
    }
    
    .contact-split__form,
    .contact-info,
    .rebate-status {
        padding: 20px;
    }
    
    .rebate-status__heading {
        font-size: 28px;
    }
    
    .gform_wrapper .gfield.gfield--width-half {
        width: 100%;
        float: none;
        margin-right: 0;
    }
}

@media screen and (max-width: 480px) {
    .contact-hero {
        padding: var(--spacing-xl) 0;
    }
    
    .contact-hero__heading {
        font-size: 40px;
    }
    
    .rebate-status__heading {
        font-size: 24px;
    }
    
    .rebate-status__button {
        width: 100%;
        text-align: center;
    }
    
    .gform_wrapper .gform_button,
    .gform_wrapper input[type="submit"] {
        width: 100%;
        padding: 16px 24px;
    }
}

/* ================================
   Print Styles
   ================================ */
@media print {
    .contact-hero {
        background: none !important;
        color: #000;
        padding: 20px 0;
    }
    
    .contact-hero::before,
    .contact-hero::after,
    .contact-hero-background,
    .contact-hero-segmented-lines {
        display: none;
    }
    
    .rebate-status {
        background: none;
        color: #000;
        border: 2px solid #000;
    }
    
    .contact-split__form {
        box-shadow: none;
        border: 1px solid #000;
    }
}