/* contact-styles.css */

.contact-hero {
    background: url('images/usine 2.png') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 8rem 0;
    height: 500px;
    /* Fixed height for the hero section */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #FACC15;
    /* Yellow color for the heading */
}

.contact-hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    color: white;
    line-height: 1.6;
}

/* Request a Quote Section */
.request-quote-section {
    padding: 4rem 2rem;
    background-color: #F8F8F8;
}

.request-quote-section .container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    /* Space between form and contact info */
    justify-content: center;
    align-items: flex-start;
}

.quote-form-container {
    background-color: #FFFFFF;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex: 2;
    /* Takes more space than contact info */
    min-width: 300px;
    /* Minimum width before wrapping */
}

.quote-form-container h2 {
    font-size: 2rem;
    color: #2D3748;
    margin-bottom: 1rem;
}

.quote-form-container p {
    font-size: 0.95rem;
    color: #4A5568;
    margin-bottom: 1.5rem;
}

.quote-form .form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.quote-form .form-group {
    flex: 1;
    /* Distribute space evenly */
    min-width: 250px;
    /* Ensure inputs don't get too small */
    display: flex;
    flex-direction: column;
}

.quote-form .form-group.full-width {
    flex: 1 1 100%;
    /* Take full width */
}

.quote-form label {
    font-size: 0.85rem;
    color: #2D3748;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form textarea,
.quote-form select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #CBD5E0;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #4A5568;
    background-color: #F7FAFC;
    transition: border-color 0.3s ease;
}

.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
    border-color: #4299E1;
    outline: none;
    box-shadow: 0 0 0 2px rgba(66, 153, 225, 0.2);
}

.quote-form textarea {
    resize: vertical;
    /* Allow vertical resizing */
    min-height: 100px;
}

.send-message-btn {
    background-color: #FACC15;
    /* Yellow button */
    color: #2D3748;
    /* Dark text for readability */
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.send-message-btn:hover {
    background-color: #EBB300;
    /* Slightly darker yellow on hover */
    transform: translateY(-2px);
}

.send-message-btn i {
    font-size: 1.1rem;
}

.privacy-text {
    font-size: 0.75rem;
    color: #718096;
    margin-top: 1rem;
}

/* Contact Info Section (Yellow Block) */
.contact-info-section {
    background-color: #FACC15;
    /* Yellow background */
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex: 1;
    /* Takes less space than form */
    min-width: 300px;
   
    /* Minimum width before wrapping */
    color: #2D3748;
    /* Dark text for readability */
}

.contact-info-section h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #2D3748;
    font-weight: 700;
}

.contact-info-section p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.contact-info-section .info-block {
    margin-bottom: 20px;
}

.contact-info-section .info-block:last-child {
    margin-bottom: 0;
}

.contact-info-section .social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.8rem;
}

.contact-info-section .social-icon-link {
    display: inline-flex;
    background-color: transparent;
    color: #2c3e50;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-info-section .social-icon-link:hover {
    background-color: #2D3748;
    color: #FACC15;
    /* Yellow on hover */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .contact-hero {
        padding: 6rem 0;
        height: 400px;
    }

    .contact-hero h1 {
        font-size: 3rem;
    }

    .contact-hero p {
        font-size: 1.3rem;
    }

    .request-quote-section {
        padding: 3rem 1.5rem;
    }

    .request-quote-section .container {
        flex-direction: column;
        /* Stack form and contact info vertically */
        align-items: stretch;
        /* Stretch items to fill width */
    }

    .quote-form-container,
    .contact-info-section {
        flex: none;
        /* Remove flex sizing */
        width: 100%;
        /* Take full width when stacked */
        min-width: unset;
        /* Remove min-width constraint */
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 350px;
        padding: 4rem 0;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .request-quote-section {
        padding: 2rem 1rem;
    }

    .quote-form-container {
        padding: 1.5rem;
    }

    .contact-info-section {
        padding: 1.5rem;
    }

    .quote-form .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .quote-form .form-group {
        min-width: unset;
    }
}

/* Footer styles from styles.css */
.new-footer {
    background-color: #2D3748 !important;
    /* Dark background color */
    color: #F8F8F8;
    /* Light text color */
    padding: 4rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.new-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 3rem;
    /* Space above the bottom bar */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-info {
    display: flex;
    flex-direction: column;
}

.footer-logo h1 {
    background: linear-gradient(to right, #2a69c0, #14a38b);
    /* Gradient color from image */
    color: white;
    padding: 8px 16px;
    font-weight: 400;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.footer-brand-info p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #94a3b8;
}

.footer-bullet-points {
    list-style: none;
    padding: 0;
}

.footer-bullet-points li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    color: #94a3b8;
}

.footer-bullet-points i {
    margin-right: 0.8rem;
    color: #facc15;
    /* Yellow icon color */
}

.footer-section h3 {
    font-size: 1.2rem;
    color: #facc15;
    /* Yellow heading color */
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #facc15;
}

.contact-block {
    margin-bottom: 1.5rem;
}

.contact-block h4 {
    font-size: 1rem;
    color: #facc15;
    /* Yellow subheading color */
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-block p {
    color: #cbd5e0;
    line-height: 1.6;
}

.contact-block p i {
    margin-right: 0.5rem;
    color: #94a3b8;
}

.contact-block p span {
    float: right;
    color: #cbd5e0;
}

.footer-bottom-bar {
    border-top: 1px solid #2d3748;
    /* Darker border for separation */
    padding: 1.5rem 0;
    margin-top: 2rem;
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-social-media a {
    color: #cbd5e0;
    text-decoration: none;
    margin-right: 1.5rem;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-social-media a:hover {
    color: #facc15;
}

.footer-social-media i {
    margin-right: 0.5rem;
}

.footer-copyright p {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.6;
}

.footer-copyright a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: #facc15;
}

/* Responsive adjustments for footer */
@media (max-width: 768px) {
    .footer-content-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand-info {
        align-items: center;
    }

    .footer-bullet-points li {
        justify-content: center;
    }

    .footer-section ul li {
        display: inline-block;
        margin: 0 0.5rem 0.5rem;
        /* Arrange links horizontally */
    }

    .contact-block p span {
        float: none;
        display: block;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-social-media {
        margin-bottom: 1rem;
    }
}