/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        padding: 6rem 1rem 3rem;
    }
    
    .contact-content {
        padding: 3rem 1rem 6rem;
    }
    
    .contact-content-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .contact-method {
        padding: 1.5rem;
    }
    
    .contact-faq {
        padding: 4rem 1rem;
    }
}

@media (max-width: 480px) {
    .contact-hero-title {
        font-size: 2rem;
    }
    
    .contact-hero-description {
        font-size: 1rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .faq-title {
        font-size: 2rem;
    }
    
    
    .contact-subtitle {
        font-size: 1rem;
    }
}

/* Contact CTA Section Styles */
.contact-cta {
    padding: 8rem 2rem;
    background: #fff;
    position: relative;
    z-index: 10;
}

.contact {
    padding: 10rem 0;
}

.contact-cta-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-cta-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.contact-cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 2rem 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    min-width: 100%;
}

.title-text {
    display: inline;
    white-space: nowrap;
    margin-right: 0.5em;
}

.title-text:last-child {
    margin-right: 0;
    margin-left: 0.5em;
}

.changing-word {
    display: inline-block;
    color: #667eea;
    font-weight: 600;
    position: relative;
    min-width: 500px;
    text-align: left;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
    white-space: nowrap;
    margin: 0 0.3em;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.changing-word::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.1;
    }
}

.changing-word:hover::before {
    opacity: 0.2;
}

.changing-word::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 2px;
}

.changing-word:hover::after {
    transform: scaleX(1);
}

.contact-cta-description {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0 0 3rem 0;
}

.contact-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}



.contact-cta-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #4a4a4a;
    font-weight: 500;
}

.contact-icon {
    font-size: 1.2rem;
}

/* Contact Header Improvements */
.contact-subtitle {
    font-size: 1.1rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin: 1rem 0 2rem 0;
    max-width: 600px;
}


/* Services field specific styles */
.form-input select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

.form-input select:focus {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

.form-input select option {
    padding: 8px 12px;
    background-color: white;
    color: #1a1a1a;
}

.cta-link {
    display: flex;
    align-items: center;
}

.work-with-us {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: opacity 0.2s ease;
}

.work-with-us:hover {
    opacity: 0.8;
}