
/* Layout container */
.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 30px;
    padding: 60px 5%;
}

/* Left side (cards) */
.contact-left {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 25px;
}

/* Right side (Google Map) */
.contact-right {
    flex: 1;
    min-width: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    height: 550px; /* makes it same height as cards */
}

.contact-right iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact cards */
.contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    padding: 35px 25px;
    flex: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    /* Corrected box-shadow syntax from the original code */
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.5); /* Using #003366 with opacity */
}

/* Circle icons */
.icon-circle {
    width: 70px;
    height: 70px;
    border: 2px dashed #CC0000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
}

/* **UPDATED CSS FOR IMAGE ICON** */
.icon-circle img {
    /* Ensures the image is correctly sized within the 70x70 circle */
    max-width: 60%;
    max-height: 60%;
    height: auto; /* Maintains aspect ratio */
}
/* **REMOVED THE OLD .icon-circle i STYLE** */


h2 {
    font-size: 20px;
    color: #003366;
    margin-bottom: 10px;
}

p {
    font-size: 15px;
    color: #131111;
    line-height: 1.6;
}
/* --- CONTACT FORM STYLES (New Section) --- */

.form-section {
    background-color: #f0f4f8; 
    padding: 60px 5%;
}

.form-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 32px;
    color: #CC0000;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    font-size: 16px;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    flex: 1 1 calc(50% - 10px); 
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    flex: 1 1 100%;
}

.form-group label {
    font-weight: 600;
    color: #003366; 
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    width: 100%;
    box-sizing: border-box; 
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #CC0000;
    outline: none;
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
}

.contact-form textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background-color: #CC0000;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s, transform 0.1s;
}

.submit-btn:hover {
    background-color: #a30000;
}

/* Responsive layout */
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-right {
        width: 100%;
        height: 400px;
    }

    .contact-row {
        flex-direction: column;
    }
}

    .form-status {
            display: none;
            padding: 14px 20px;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            margin-top: 16px;
            text-align: center;
        }
        .form-status.success {
            display: block;
            background: #e6f4ea;
            color: #1a7c3e;
            border: 1px solid #a8d5b5;
        }
        .form-status.error {
            display: block;
            background: #fce8e8;
            color: #c0392b;
            border: 1px solid #f0b3b3;
        }
        .submit-btn:disabled {
            background-color: #999;
            cursor: not-allowed;
            transform: none;
        }
        .submit-btn .btn-spinner {
            display: none;
        }
        .submit-btn.loading .btn-text {
            display: none;
        }
        .submit-btn.loading .btn-spinner {
            display: inline-block;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        .spinner-icon {
            display: inline-block;
            width: 18px;
            height: 18px;
            border: 3px solid rgba(255,255,255,0.4);
            border-top-color: #fff;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            vertical-align: middle;
        }