/* Contact Sales Page Styles */

/* ===== CONSENT FIELD ===== */
.form-group--consent { margin-top: 16px; }
.form-consent-label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 400; color: #374151; cursor: pointer; line-height: 1.5; }
.form-consent-label input[type=checkbox] { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; accent-color: #4B63FC; }
.form-consent-label a { color: #4B63FC; text-decoration: underline; }
.form-consent-label .required { color: #dc2626; margin-left: 2px; }

/* ===== PILL BUTTON VARIANT ===== */
.submit-button--pill { width: auto !important; align-self: flex-start; border-radius: 50px !important; padding-left: 40px !important; padding-right: 40px !important; font-weight: 600; }

/* ===== NAME / FIELD ROWS ===== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== PHONE ROW (country code + number) ===== */
.form-row--phone { display: grid; grid-template-columns: 2fr 3fr; gap: 10px; }

/* ===== SHORTCODE: strip white box/shadow when embedded in Elementor ===== */
.uxarmy-contact-sales-shortcode .hero-form-container { background: transparent; box-shadow: none; padding: 0; border-radius: 0; }
.form-phone-code { padding: 10px 32px 10px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 15px; background: #f8f9fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center; appearance: none; -webkit-appearance: none; color: #1f2937; cursor: pointer; width: 100%; box-sizing: border-box; }

/* ===== ACCESSIBILITY UTILITIES ===== */

/* Skip link for keyboard navigation */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #4a90e2;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===== HERO SECTION ===== */

.hero-section {
    padding: 60px 20px;
    background-color: #F0FAFF;
}

.hero-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Left Column */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #00d9ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-text {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.hero-media {
    margin-top: 40px;
}

.product-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    background-color: #000;
}

/* Call to Action */
.hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 20px;
}

.cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-right: 6px;
}

.cta-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.cta-text {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.cta-phone {
    font-size: 14px;
    font-weight: 700;
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.cta-phone:hover {
    color: #357abd;
    text-decoration: underline;
}

.cta-phone:focus-visible {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Trust & Testimonials Section */
.trust-testimonials-section {
    padding: 80px 20px;
}

.logo-carousel-section {
    max-width: 1200px;
    margin: 0 auto 40px;
}

.carousel-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 60px 0;
    color: #1a1a1a;
}

.logo-carousel {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.carousel-container {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 40px;
    flex-wrap: nowrap;
    animation: logo-scroll 20s linear infinite;
    width: max-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes logo-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.carousel-item {
    flex: 0 0 auto;
    min-width: 140px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.carousel-item::after {
    content: '';
    position: absolute;
    right: -20px;
    height: 30px;
    width: 1px;
    background-color: #d0d0d0;
}

.carousel-item img {
    width: 138px;
    height: 50px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 1;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.carousel-item:hover img {
    opacity: 1;
    filter: grayscale(100%);
}


/* Testimonials Section */
.testimonials-section {
    padding: 40px 0;
    background-color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-carousel {
    display: flex;
    position: relative;
}

.testimonial-slide {
    display: none;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    opacity: 1;
}

.testimonial-card {
    display: flex;
}

.testimonial-content {
    background-color: #FFF9EB;
    padding: 40px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.quote-icon {
    display: block;
    width: 40px;
    height: 32px;
    margin-bottom: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='32' viewBox='0 0 40 32' fill='none'%3E%3Cpath d='M0 20.8C0 13.6 2.4 8.4 7.2 5.2C9.2 3.6 11.2 2.4 13.2 1.6L15.2 5.2C10.8 7.6 8.4 11.2 8 16H14.4C15.6 16 16 16.4 16 17.6V28.8C16 30 15.6 30.4 14.4 30.4H1.6C0.4 30.4 0 30 0 28.8V20.8ZM24 20.8C24 13.6 26.4 8.4 31.2 5.2C33.2 3.6 35.2 2.4 37.2 1.6L39.2 5.2C34.8 7.6 32.4 11.2 32 16H38.4C39.6 16 40 16.4 40 17.6V28.8C40 30 39.6 30.4 38.4 30.4H25.6C24.4 30.4 24 30 24 28.8V20.8Z' fill='%23F5D983'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.author-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.author-location {
    font-size: 13px;
    color: #999;
    margin: 0;
}

/* Pagination Controls */
.testimonials-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d0d0d0;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 0;
}

.pagination-dot:hover {
    background-color: #b0b0b0;
}

.pagination-dot:focus-visible {
    outline: 2px solid #4a90e2;
    outline-offset: 3px;
}

.pagination-dot.active {
    background-color: #4a90e2;
}

.mobile-pagination {
    display: none;
}

/* Right Column */
.hero-right {
    display: flex;
    justify-content: center;
}

.hero-form-container {
    width: 100%;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1a1a1a;
}

/* Form required field indicator */
.form-required-note {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

.required {
    color: #e74c3c;
    font-weight: 700;
}

.hero-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.form-group .form-consent-label {
    font-weight: 400;
}

.form-group .form-consent-label span {
    font-weight: 400;
}

.form-help-text {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    display: none;
}

.form-error {
    font-size: 12px;
    color: #e74c3c;
    margin-top: 4px;
    display: none;
}

.hero-form input[type="text"],
.hero-form input[type="email"],
.hero-form input[type="tel"],
.hero-form textarea {
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    background: #f8f9fb;
    color: #1f2937;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-form input[type="text"]:hover,
.hero-form input[type="email"]:hover,
.hero-form input[type="tel"]:hover,
.hero-form textarea:hover {
    border-color: #b0b0b0;
}

.hero-form input[type="text"]:focus,
.hero-form input[type="email"]:focus,
.hero-form input[type="tel"]:focus,
.hero-form textarea:focus {
    outline: none;
    border-color: #4B63FC;
    box-shadow: 0 0 0 3px rgba(75, 99, 252, 0.15);
}

.hero-form textarea {
    resize: vertical;
    font-family: inherit;
}

.checkbox-group {
    flex-direction: column;
    gap: 16px;
}

.checkbox-group legend {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.checkbox-item input[type="checkbox"] {
    cursor: pointer;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
}

.checkbox-item label {
    font-size: 13px;
    font-weight: 400;
    color: #333;
    cursor: pointer;
    margin: 0;
    line-height: 1.5;
}

.submit-button {
    padding: 10px 28px;
    background-color: #4B63FC;
    color: #ffffff;
    border: 2px solid #4B63FC;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
    display: inline-block;
}

.submit-button:hover {
    background-color: #3a50e0;
    border-color: #3a50e0;
}

.submit-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
}

.submit-button:active {
    transform: scale(0.98);
}

.form-note {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.form-note-avatar {
    width: 95px;
    height: 35px;
    flex-shrink: 0;
    object-fit: cover;
}

.form-note p {
    font-size: 13px;
    color: #666;
    margin: 0;
    text-align: left;
}

/* Form Message (Success/Error) */
.form-message {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 6px;
    font-size: 14px;
    display: none;
}

.form-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.form-message.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: 24px;
    }
    
    .hero-form-container {
        padding: 24px;
    }
    
    .form-title {
        font-size: 20px;
    }
    
    .carousel-title {
        font-size: 24px;
        margin: 0 0 40px 0;
    }
    
    .carousel-item {
        min-width: 120px;
    }
    
    .carousel-track {
        gap: 24px;
    }
    
    /* Flatten slide wrappers so individual cards are controllable */
    .testimonial-slide,
    .testimonial-slide.active {
        display: contents !important;
    }

    /* Hide all cards by default, show only the active one */
    .testimonial-card {
        display: none;
    }

    .testimonial-card.mobile-active {
        display: flex;
    }

    .testimonial-content {
        padding: 24px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    .desktop-pagination {
        display: none;
    }

    .mobile-pagination {
        display: flex;
    }

    .pagination-dot {
        width: 12px;
        height: 12px;
    }
}
