/* Contact Page Custom Styles */

/* Hero Section */
.contact-hero {
    position: relative;
    height: 400px;
    background-image: url('../wp-content/uploads/2025/banner_1a-scaled.jpg');
    /* Using a nice building image */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Dark overlay */
}

.contact-hero h1 {
    position: relative;
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    z-index: 1;
    text-transform: capitalize;
}

.contact-hero h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--wp--preset--color--vivid-green-cyan, #00d084);
    margin: 10px auto 0;
}

/* Clients Background Image Section */
.clients-bg-section {
    width: 100%;
    padding: 0;
    display: block;
    overflow: hidden;
}

.clients-bg-section .clients-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Contact Info Section */
.contact-info-section {
    padding: 60px 0;
    text-align: center;
    background: #fff;
    position: relative;
    /* Negative margin to pull up? No, let's keep it standard flow */
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-icon {
    font-size: 24px;
    color: var(--wp--preset--color--vivid-green-cyan, #00d084);
    margin-bottom: 15px;
}

.contact-label {
    font-weight: 600;
    color: var(--wp--preset--color--vivid-green-cyan, #00d084);
    margin-bottom: 10px;
    font-size: 16px;
}

.contact-value {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    max-width: 250px;
}

/* Form Section */
.contact-form-section {
    background-color: #f7f7f7;
    padding: 80px 0;
    display: flex;
    justify-content: center;
}

.contact-form-container {
    max-width: 700px;
    width: 100%;
    margin: 0 20px;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

.form-header p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

#manual-contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

#manual-contact-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#manual-contact-form label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

#manual-contact-form input,
#manual-contact-form select,
#manual-contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    width: 100%;
    background: #fff;
    box-sizing: border-box;
}

#manual-contact-form .submit-btn {
    width: 100%;
    background-color: #30a46c;
    /* Matching green */
    color: white;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

#manual-contact-form .submit-btn:hover {
    background-color: #268556;
}

/* Social Section */
.social-section {
    padding: 60px 0;
    text-align: center;
    background: #fff;
    position: relative;
    z-index: 1;
    /* Ensure it stays below sticky header */
    overflow: hidden;
    /* Prevent overflow issues */
}

/* ... existing ... */

.social-icons-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    /* Allow wrapping on small screens */
}

.social-icon-box {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    border: 1px solid #30a46c;
    border-radius: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #30a46c;
    font-size: 20px !important;
    transition: all 0.3s;
    text-decoration: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    /* Reset any elementor margins */
}

.social-icon-box i {
    font-size: 20px !important;
    line-height: 1 !important;
}

.social-icon-box:hover {
    background-color: #30a46c;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    #manual-contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    #manual-contact-form .form-group {
        margin-bottom: 20px;
    }
}