/* Letstalk Page Styles */

/* Hero Section */
.conversion-hero {
    color: var(--white);
    padding: 122px 0 23px;
    text-align: center;
    position: relative;
    background-size: cover; 
    background-position: center;
    background-blend-mode: soft-light;
}

.conversion-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.conversion-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.conversion-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.conversion-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Form Section */
.form-section {
    background-color: var(--white);
    padding: 60px 0;
}

.form-container {
    max-width: 1099px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.form-content {
    flex: 1;
    min-width: 300px;
}

.form-title {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.form-description {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.conversion-form {
    flex: 1;
    min-width: 300px;
    background-color: var(--light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-label {
    display: block;
    margin-bottom: 5px;
    color: var(--secondary);
    font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.form-submit:hover {
    background-color: #16a085;
}

/* Trust Section */
.trust-section {
    background-color: var(--light);
    padding: 50px 0;
}

.trust-container {
    max-width: 1000px;
    margin: 0 auto;
}

.trust-title {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 30px;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.benefit-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: inline-block;
}

.benefit-title {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.benefit-description {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Testimonial Slider */
.testimonial-slider {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.testimonial-slide {
    text-align: center;
}

.testimonial-content {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    padding: 0 30px;
}

.testimonial-content::before,
.testimonial-content::after {
    content: '"';
    position: absolute;
    font-size: 3rem;
    color: rgba(26, 188, 156, 0.2);
    font-family: serif;
}

.testimonial-content::before {
    left: 0;
    top: -20px;
}

.testimonial-content::after {
    right: 0;
    bottom: -40px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--secondary);
}

.testimonial-company {
    color: var(--gray);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    background-color: var(--white);
    padding: 50px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-title {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 30px;
    text-align: center;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 20px;
}

.faq-letstalk-question {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 10px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.faq-letstalk-question::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-letstalk-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-letstalk-answer {
    display: none;
    color: var(--gray);
    line-height: 1.6;
    padding-top: 10px;
}

.faq-letstalk-answer.show {
    display: block;
}

/* Hidden content containers */
.content-container {
    display: none;
}

.content-container.active {
    display: block;
}

/* Content specific hero backgrounds */
.contact-bg {
    background-image: url('../img/mapblue.jpg');
}
.consult-bg {
    background-image: url('../img/mapblue.jpg');
}

/* Helper classes */
.text-center {
    text-align: center;
}

.required-field::after {
    content: '*';
    color: #e74c3c;
    margin-left: 3px;
}

/* Loading indicator */
.loading-indicator {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--light-gray);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form element transitions */
.form-input,
.form-select,
.form-textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.2);
}

/* Form submission success message */
.form-success {
    display: none;
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid #2ecc71;
    color: #27ae60;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.form-success.show {
    display: block;
}

/* Form submission error message */
.form-error {
    display: none;
    background-color: rgba(231, 76, 60, 0.1);
    border: 1px solid #e74c3c;
    color: #c0392b;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.form-error.show {
    display: block;
}

/* Page transition animations */
.content-container {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.content-container.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .conversion-hero-title {
        font-size: 2.2rem;
    }
    
    .conversion-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .form-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .conversion-hero-title {
        font-size: 1.8rem;
    }
    
    .conversion-hero-subtitle {
        font-size: 1rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .benefit-card {
        padding: 20px;
    }
    
    .faq-letstalk-question {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .conversion-hero {
        padding: 120px 0 60px;
    }
    
    .form-section,
    .trust-section,
    .faq-section {
        padding: 40px 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Additional styles for updated forms */

/* Process steps */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
    gap: 15px;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-weight: 600;
    margin-right: 10px;
}

.step-text {
    color: var(--secondary);
    font-size: 0.95rem;
}

/* Form section titles */
.form-section-title {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--light-gray);
}

/* Improved form styles */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.2);
    outline: none;
}

/* Style dropdown arrows */
.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9L12 15L18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

/* Multi-column layout for non-mobile */
@media (min-width: 768px) {
    .consult-form {
        max-width: 100%;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
    }
    
    .form-section-title {
        font-size: 1.1rem;
    }
}

/* Fix for double dropdown arrows */
.form-select {
    /* Remove the default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    /* Add a custom arrow with proper positioning */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9L12 15L18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    padding-right: 35px;
}

/* For Firefox - needs special handling */
.form-select::-ms-expand {
    display: none;
}

/* Increase width of form labels */
.form-label {
    display: block;
    margin-bottom: 5px;
    color: var(--secondary);
    font-weight: 500;
    white-space: nowrap; /* Prevent wrapping when possible */
}

/* Create a wider form layout */
.conversion-form {
    flex: 1;
    min-width: 340px; /* Increased from 300px */
    background-color: var(--light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-content {
    flex: 1;
    min-width: 340px; /* Increased from 300px */
}

/* Improve consultant CTA in contact form */
.consultant-cta {
    background-color: rgba(26, 188, 156, 0.1);
    padding: 20px;
    border-radius: 6px;
    margin: 25px 0;
    text-align: center;
}

.consultant-cta p {
    margin-bottom: 10px;
    color: var(--secondary);
    font-weight: 500;
}

/* Expertise Section (replacing benefit cards) */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Wider cards */
    gap: 25px;
    margin-bottom: 40px;
}

.expertise-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.expertise-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.expertise-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.expertise-card:hover .expertise-image img {
    transform: scale(1.05);
}

.expertise-title {
    font-size: 1.2rem;
    color: var(--secondary);
    margin: 20px 20px 10px;
}

.expertise-description {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 20px 20px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .form-label {
        white-space: normal; /* Allow wrapping on smaller screens */
    }
}

@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile */
    }
}

