
html {
    box-sizing: border-box;
    min-width: 0; /* Already present, good */
}
*, *::before, *::after {
    box-sizing: inherit;
}

.address_map {
    color: #001833;
}

.contact-header {
    padding: 20px 20px;
    background-color: #f7f3f3;
    color: #333;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-align: center;
    width: 100%;
}

.contact-header h1 {
    font-size: 2.8em;
    color: #d32f2f;
    margin-bottom: 15px;
}

.contact-header p {
    font-size: 1.15em;
    color: #001833;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 15px;
}

/* New styles for the contact content section */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 30px auto;
    width: 100%;
}

/* Styling for the 'Get in Touch' info column */
.contact-info {
    flex: 1;
    min-width: 350px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
    font-size: 1.8em;
    color: #d32f2f;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info p {
    font-size: 1em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-item i {
    font-size: 1.5em;
    margin-right: 15px;
    margin-top: 5px;
    min-width: 25px;
}

.info-item h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: #333;
}

.info-item p {
    font-size: 0.95em;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.phone-bg {
    background-color: #e8f5e8;
}

.phone-bg i {
    color: #4caf50;
}

.email-bg {
    background-color: #e3f2fd;
}

.email-bg i {
    color: #2196f3;
}

.address-bg {
    background-color: #fff3e0;
}

.address-bg i {
    color: #ff9800;
}

.hours-bg {
    background-color: #f3e5f5;
}

.hours-bg i {
    color: #9c27b0;
}

/* Styling for the 'Send us a Message' form column */
.contact-form-container {
    flex: 1;
    min-width: 350px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
    font-size: 1.8em;
    color: #d32f2f;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#contactForm {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.form-group.full-width {
    flex: 1 1 100%;
}

#sendBtn {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1em;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#sendBtn:hover {
    background: linear-gradient(135deg, #b71c1c, #8f1419);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

#sendBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 5px;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Maps */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%; /* Explicitly set width to 100% to fill parent */
}

.map-section {
    padding: 60px 0;
    background-color: #f7f3f3;
    text-align: center;
    width: 100%; /* Ensure map section takes full width */
}

.map-section h2 {
    font-size: 2.2em;
    color: #d32f2f;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.map-section p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .contact-content {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 40px 15px;
    }

    .contact-info,
    .contact-form-container {
        min-width: unset;
        width: 100%;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 2.2em;
    }

    .contact-header p {
        font-size: 1em;
    }

    .contact-info h2,
    .contact-form-container h2 {
        font-size: 1.5em;
    }

    #contactForm {
        flex-direction: column;
    }

    .form-group {
        flex: 1 1 100%;
    }

    .map-section {
        padding: 40px 0;
    }

    .map-section h2 {
        font-size: 1.8em;
    }

    .map-container {
        padding-bottom: 75%;
        max-width: calc(100% - 30px);
    }
}

@media (max-width: 600px) {
    .contact-header h1 {
        font-size: 2em;
    }

    .contact-header p {
        font-size: 1em;
    }

    .contact-info h2,
    .contact-form-container h2 {
        font-size: 1.7em;
    }

    .form-group {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .map-section h2 {
        font-size: 1.5em;
    }

    .map-container {
        padding-bottom: 100%;
        max-width: calc(100% - 20px);
    }
}

html, body {
    min-width: 0;
}