/* Main Container */
.contact-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 70px 70px 70px;
}

/* Breadcrumb */
.contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 0;
    font-size: 14px;
}
.contact-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.contact-breadcrumb a:hover {
    color: var(--secondary-color);
}
.contact-breadcrumb i {
    font-size: 12px;
    color: var(--text-muted);
}
.contact-breadcrumb span {
    color: var(--primary-color);
    font-weight: 500;
}

/* Hero Section */
.contact-hero {
    text-align: center;
    margin-bottom: 56px;
    border-radius: 32px;
}
.contact-hero h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.contact-hero p {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Two Column Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

/* Contact Form Section */
.contact-form-section {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 40px;
}

.contact-form-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-form-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* Form Groups */
.contact-form-group {
    margin-bottom: 20px;
}

.contact-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-light);
}

.contact-form-group label i {
    margin-right: 6px;
    color: var(--button-primary);
}

.contact-form-group input,
.contact-form-group textarea,
.contact-form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    font-family: var(--main-font);
    font-size: 15px;
    transition: all 0.2s;
    background: var(--bg-light);
}

.contact-form-group input:focus,
.contact-form-group textarea:focus,
.contact-form-group select:focus {
    outline: none;
    border-color: var(--button-primary);
    box-shadow: 0 0 0 3px rgba(17, 155, 51, 0.1);
}

.contact-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Form Messages */
.contact-success {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: <?php echo $success_message ? 'flex' : 'none'; ?>;
    align-items: center;
    gap: 12px;
}

.contact-success i {
    font-size: 20px;
}

.contact-error {
    background: #ffebee;
    color: #c62828;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: <?php echo $error_message ? 'flex' : 'none'; ?>;
    align-items: center;
    gap: 12px;
}

.contact-error i {
    font-size: 20px;
}

/* Submit Button */
.contact-submit-btn {
    background: var(--button-primary);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 48px;
    font-family: var(--main-font);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-submit-btn:hover {
    background: #0d852b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-submit-btn i {
    font-size: 14px;
}

/* Contact Info Section */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-info-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 32px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: var(--faded-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--button-primary);
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info-text p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.contact-info-text a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info-text a:hover {
    color: var(--secondary-color);
}

/* Map Section */
.contact-map-section {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    margin-bottom: 20px;
}

.contact-map-section iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* Toast */
.contact-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #1a1a1a;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 14px;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-wrapper {
        padding: 0 24px 50px 24px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .contact-hero {
        padding: 40px 24px;
    }
    .contact-hero h1 {
        font-size: 36px;
    }
    .contact-form-section {
        padding: 28px;
    }
    .contact-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact-wrapper {
        padding: 0 16px 40px 16px;
    }
    .contact-hero h1 {
        font-size: 28px;
    }
    .contact-hero p {
        font-size: 16px;
    }
    .contact-form-section {
        padding: 20px;
    }
    .contact-info-card,
    .contact-hours,
    .contact-social {
        padding: 24px;
    }
    .contact-submit-btn {
        width: 100%;
        justify-content: center;
    }
}