/* Contact Page Specific Styles */
.contact-hero {
    background: linear-gradient(135deg, #006bc7, #004080);
    padding: 6rem 2rem;
}

.contact-hero h1 {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

.contact-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.breadcrumb {
    background-color: #f5f5f5;
    padding: 10px 0;
    margin-bottom: 30px;
}

.breadcrumb .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb span {
    color: var(--gray);
}

/* Contact Form and Info Styles */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
}

.contact-info-container {
    flex: 0 0 350px;
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 2rem;
}

.contact-form h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.required-field::after {
    content: "*";
    color: #e74c3c;
    margin-left: 3px;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-select {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: var(--secondary-color);
}

/* Google Form Container Styles */
.google-form-container {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
}

.google-form-container iframe {
    width: 100%;
    max-width: 640px;
    border: none;
    overflow: hidden;
}

/* Contact Info Styles */
.contact-info h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.contact-method {
    margin-bottom: 2rem;
}

.contact-method h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-method p {
    margin-bottom: 0.3rem;
    line-height: 1.6;
}

.contact-method a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-method a:hover {
    color: var(--primary-color);
}

/* Telegram options styles */
.telegram-options {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.telegram-option h4 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 0.3rem;
    font-weight: 600;
    display: flex;
    gap: 0.5rem;
}

.telegram-option h4 span {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.telegram-option h4 .lang-zh {
    background-color: #f5f5f5;
    color: #d32f2f;
}

.telegram-option h4 .lang-en {
    background-color: #e3f2fd;
    color: #1565c0;
}

.telegram-option h4 .lang-es {
    background-color: #fff8e1;
    color: #ff8f00;
}

.telegram-option p {
    margin: 0;
}

.telegram-option a {
    display: inline-block;
    color: var(--text-color);
    transition: color 0.3s;
    padding: 0.2rem 0;
}

.telegram-option a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-map {
    margin-top: 2rem;
}

.contact-map iframe {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    border: none;
}

/* Customer Service Widget Styles */
.customer-service-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.cs-widget-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.cs-widget-button img {
    width: 30px;
    height: 30px;
}

.cs-widget-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 220px;
    padding: 1rem;
    display: none;
}

.cs-widget-button:hover .cs-widget-menu,
.cs-widget-menu:hover {
    display: block;
}

.cs-menu-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    text-decoration: none;
    color: var(--text-color);
    border-radius: 4px;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s;
}

.cs-menu-item:hover {
    background-color: #f5f5f5;
}

.cs-menu-item img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        padding: 4rem 1rem;
    }
    
    .contact-hero h1 {
        font-size: 2.2rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .google-form-container {
        max-width: 100%;
    }
    
    .google-form-container iframe {
        max-width: 100%;
        height: 1200px; /* Increase height on mobile for better scrolling */
    }
    
    .telegram-options {
        gap: 1rem;
    }
    
    .telegram-option h4 {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .submit-button {
        width: 100%;
    }
    
    .customer-service-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .google-form-container iframe {
        height: 1300px; /* Further increase height on smaller screens */
    }
} 