.contact-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin-top: 2rem;
}

@media (min-width: 1024px) {
    .contact-wrapper {
        flex-direction: row;
        gap: 5rem;
    }
}

.contact-info {
    max-width: 24rem;
    margin: 0 auto;
    position: relative;
}

.contact-info::after {
    content: '';
    position: absolute;
    right: -2.5rem;
    top: 0;
    height: 100%;
    width: 1px;
    background: var(--primary-color);
    display: none;
}

@media (min-width: 1024px) {
    .contact-info {
        margin: 0;
    }
    
    .contact-info::after {
        display: block;
    }
}

.contact-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
    background: var(--primary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .contact-title {
        font-size: 3.75rem;
    }
}

.contact-description {
    color: #666;
    line-height: 1.6;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-details {
    margin-top: 2.5rem;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e5e7eb;
}

.details-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.details-title::before {
    content: '📞';
    font-size: 1.2rem;
}

.details-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.details-list li {
    margin-bottom: 1rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.details-list li:hover {
    transform: translateX(5px);
}

.details-list a {
    color: #4ECCA3;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.details-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.details-list a:hover::after {
    width: 100%;
}

.contact-form-wrapper {
    flex: 1;
    max-width: 48rem;
    margin: 0 auto;
}

.contact-form {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #374151;
    transition: all 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(78, 204, 163, 0.1);
}

.form-group textarea {
    min-height: 8rem;
    resize: vertical;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #F7374F;
}

.form-group.error .error-message {
    color: #F7374F;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.submit-button {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-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: 0.5s;
}

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

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(78, 204, 163, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Spinner styles */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    display: none;
}

.submit-button.loading .spinner {
    display: inline-block;
}

.submit-button.loading .button-icon {
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Toast Notification Styles */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.toast {
    padding: 1rem 2rem;
    border-radius: 10px;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideIn 0.3s ease-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast.success {
    background: linear-gradient(45deg, #4ECCA3, #3db890);
}

.toast.error {
    background: linear-gradient(45deg, #F7374F, #e62e45);
}

.toast-icon {
    font-size: 1.25rem;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Loading State */
.submit-button.loading {
    pointer-events: none;
    opacity: 0.8;
}

.submit-button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-wrapper {
        padding: 2rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-title {
        font-size: 2.5rem;
    }
} 