﻿
/* Main Container */
.container {
    max-width: 1400px;
}

/* Left Section */
.left-section {
    position: sticky;
    top: 50px;
}

.hero-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.map-box iframe {
    height: 320px;
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 6px 30px rgba(0, 74, 173, 0.25);
}


.contact-info {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

    .contact-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.contact-icon {
    width: 24px;
    height: 24px;
    color: #d4a574;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.contact-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Right Section Form */
.form-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

    .form-section h2 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 25px;
        color: #1a1a1a;
    }

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 8px;
        color: #333;
    }

        .form-group label span {
            color: #e74c3c;
        }

input, textarea, select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

    input:focus, textarea:focus, select:focus {
        outline: none;
        border-color: #d4a574;
    }

textarea {
    height: 120px;
    resize: vertical;
}

/* Submit Button */
.submit-btn {
    background: #d4a574;
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
    position: relative;
}

    .submit-btn:hover {
        background: #c9985f;
    }

    .submit-btn:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

    .submit-btn .spinner {
        display: none;
        width: 16px;
        height: 16px;
        border: 2px solid #fff;
        border-top-color: transparent;
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
        margin-left: 10px;
        vertical-align: middle;
    }

    .submit-btn.loading .spinner {
        display: inline-block;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Modal/Popup */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

    .modal-overlay.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
    animation: slideUp 0.3s ease;
    position: relative;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

    .modal-icon.success {
        background: #d4edda;
        color: #28a745;
    }

    .modal-icon.error {
        background: #f8d7da;
        color: #dc3545;
    }

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.modal-message {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.modal-close-btn {
    background: #d4a574;
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

    .modal-close-btn:hover {
        background: #c9985f;
    }

.close-modal-x {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

    .close-modal-x:hover {
        background: #f0f0f0;
        color: #333;
    }

/* Error message */
.field-validation-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.input-validation-error {
    border-color: #dc3545 !important;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .left-section {
        position: static;
        margin-bottom: 30px;
    }

    header {
        padding: 15px 20px;
    }

    .modal-content {
        padding: 30px 20px;
    }
}
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

    .page-loader .loader {
        width: 60px;
        height: 60px;
        border: 6px solid #f3f3f3;
        border-top: 6px solid #f59f00; 
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

