/* Contact Us Page Styles */
.contact-us-page-container {
    max-width: 100%;
    margin: 0 auto;
}

/* Hero Section */
.contact-hero-section {
    background-color: #f8f9fa;
    padding: 110px 0 60px 0;
    text-align: center;
}

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

.contact-hero-section h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-hero-subtitle {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Contact Section */
.contact-main-section {
    padding: 40px 0;
    background-color: #fff;
}

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

.contact-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Form Section */
.contact-form-section {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-form-section h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 30px;
}

.contact-form-container {
    /* Gravity Forms styling will be handled by WordPress */
}

/* Contact Information Section */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #047727;
}

.contact-info-item h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #047727;
    margin-bottom: 15px;
}

.contact-info-item p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-info-item a {
    color: #047727;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: #035a1e;
    text-decoration: underline;
}

/* Send a Fax Button */
.fax-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.send-fax-button {
    display: inline-block;
    background-color: #047727;
    color: white !important;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.3);
}

.send-fax-button:hover {
    background-color: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.4);
    color: white !important;
    text-decoration: none !important;
}

/* Map and Company Info Section */
.contact-map-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.map-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Map Section */
.map-section {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-placeholder iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 10px;
}

/* Company Info Section */
.company-info-section {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.company-logo {
    margin-bottom: 30px;
}

.contact-logo {
    max-width: 200px;
    height: auto;
}

.company-mission {
    margin-bottom: 30px;
}

.company-mission p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link.facebook {
    background-color: #1877f2;
}

.social-link.linkedin {
    background-color: #0077b5;
}

.social-link.twitter {
    background-color: #1da1f2;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Fax Modal */
.fax-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.fax-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
}

.fax-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    z-index: 10000;
}

.fax-modal-close:hover,
.fax-modal-close:focus {
    color: #000;
    text-decoration: none;
}

.fax-modal-container {
    padding: 40px;
}

.fax-modal-container h3 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero-section h1 {
        font-size: 2.5rem;
    }
    
    .contact-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-section {
        padding: 30px 20px;
    }
    
    .contact-info-item {
        padding: 20px;
    }
    
    .map-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .company-info-section {
        padding: 30px 20px;
    }
    
    .contact-main-section,
    .contact-map-section {
        padding: 60px 0;
    }
    
    .fax-modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .fax-modal-container {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .contact-hero-section h1 {
        font-size: 2rem;
    }
    
    .contact-hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-form-section h2 {
        font-size: 1.6rem;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .map-placeholder iframe {
        height: 300px;
    }
}
