/* Contact Page Template Styles */

.contact-template .main-content {
    padding: 0;
}

.contact-template .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Header - Moved to page-header.css */

/* Contact Content */
.contact-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.contact-info-section h5,
.contact-info-section p {
    margin-bottom: 0!important;
    font-size: 1.125rem;
    line-height: 1;
    margin: 0!important;
}

.contact-info-section h5{
    font-weight: bold;
}

/* Contact Form Section */
.contact-form-section {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-wrapper h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.form-wrapper p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 32px 0;
}

.contact-form {
    margin-top: 32px;
}

/* Contact Form 7 Styles */
.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.wpcf7-form label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    background: #ffffff;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

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

.wpcf7-form input[type="submit"] {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.wpcf7-form input[type="submit"]:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.wpcf7-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.wpcf7-checkbox input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
}

.wpcf7-checkbox label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Contact Information Section */
.contact-info-section {
    background: #f8fafc;
    border-radius: 16px;
    padding: 40px;
}

.contact-info-wrapper h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.contact-info-wrapper > p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 40px 0;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px 0;
}

.contact-content p {
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0 0 4px 0;
    font-weight: 500;
}

.contact-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-content span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Contact Social */
.contact-social {
    border-top: 1px solid var(--border-light);
    padding-top: 32px;
    display: none;
}

.contact-social h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 20px 0;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-link i {
    font-size: 1.125rem;
}

/* ===== Responsive Design - Mobile First ===== */

/* Base styles - Mobile (320px+) */
.contact-template .container {
    padding: 0 16px;
}


.contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
}

.contact-form-section,
.contact-info-section {
    padding: 20px;
}

.form-wrapper h2,
.contact-info-wrapper h2 {
    font-size: 1.5rem;
}

.form-wrapper p,
.contact-info-wrapper > p {
    font-size: 0.95rem;
}

.contact-item {
    padding: 16px;
    flex-direction: column;
    text-align: center;
}

.contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    align-self: center;
}

.social-links {
    flex-direction: column;
}

.social-link {
    justify-content: center;
}

/* Small mobile (576px+) */
@media (min-width: 576px) {
    .contact-content {
        gap: 35px;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 22px;
    }
    
    .form-wrapper h2,
    .contact-info-wrapper h2 {
        font-size: 1.6rem;
    }
    
    .form-wrapper p,
    .contact-info-wrapper > p {
        font-size: 1rem;
    }
}

/* Tablet (768px+) */
@media (min-width: 768px) {
    /* Page header styles moved to page-header.css */
    
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 24px;
    }
    
    .form-wrapper h2,
    .contact-info-wrapper h2 {
        font-size: 1.75rem;
    }
    
    .contact-item {
        flex-direction: row;
        text-align: left;
    }
    
    .contact-icon {
        align-self: flex-start;
    }
    
    .social-links {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .social-link {
        justify-content: flex-start;
    }
}

/* Desktop (992px+) */
@media (min-width: 992px) {
    /* Page header styles moved to page-header.css */
    
    .form-wrapper h2,
    .contact-info-wrapper h2 {
        font-size: 1.9rem;
    }
}

/* Large desktop (1200px+) */
@media (min-width: 1200px) {
    /* Page header styles moved to page-header.css */
    
    .form-wrapper h2,
    .contact-info-wrapper h2 {
        font-size: 2rem;
    }

    .contact-form-section,
    .contact-info-section {
        width: 50%;
    }
}

/* Extra large (1400px+) */
@media (min-width: 1400px) {
    /* Page header styles moved to page-header.css */
    
    .form-wrapper h2,
    .contact-info-wrapper h2 {
        font-size: 2.1rem;
    }
}
