
/* Map Section */
.map-section {
    padding: 60px 0 0 0;
    background: white;
    margin-bottom: 0;
}

.map-container {
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-bottom: 0;
}

.map-container iframe {
    border: none;
    display: block;
    vertical-align: top;
}

/* Add space between map and cards */
.map-section + .contact-cards-section {
    margin-top: 40px;
}

/* Address Popup */
.address-popup {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 20px;
    max-width: 300px;
    border-left: 4px solid #dc3545;
}

.popup-content h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.popup-content h5 i {
    color: #dc3545;
}

.popup-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

/* Contact Cards Section */
.contact-cards-section {
    padding: 0 0 60px 0;
    background: white;
    margin-top: 0;
}

.contact-card {
    background: white;
    border-radius: 0;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: transparent;
    border: 2px solid #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #666;
    font-size: 24px;
    transition: all 0.3s ease;
    position: relative;
}

.card-icon i {
    position: relative;
    z-index: 2;
    -webkit-text-stroke: 1px #666;
    color: transparent;
}

.contact-card:hover .card-icon {
    border-color: #333;
    transform: scale(1.1);
}

.contact-card:hover .card-icon i {
    -webkit-text-stroke: 1px #333;
}

.card-content h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 18px;
}

.contact-info {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 500;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    width: 100%;
    white-space: nowrap;
    min-height: 45px;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: white;
}

.contact-form-container {
    background: white;
    padding: 50px;
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
    color: #333;
    font-weight: 700;
    font-size: 32px;
}

.contact-form-container p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

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

.form-group label {
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 0;
    padding: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    background: white;
}

.form-control::placeholder {
    color: #999;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    background: #23243a;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    min-width: 200px;
}

.contact-submit-btn:hover {
    transform: translateY(-3px);
    background: #181924;
    box-shadow: 0 15px 30px rgba(35, 36, 58, 0.4);
}

/* Additional Info Section */
.additional-info-section {
    padding: 60px 0;
    background: white;
}

.info-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid #667eea;
    border: 1px solid #e9ecef;
}

.info-box h4 {
    color: #333;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 24px;
}

.info-box h5 {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 18px;
}

.info-box p {
    color: #666;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
}

.info-box strong {
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .map-section {
        padding: 40px 0 0 0;
    }
    
    .address-popup {
        top: 15px;
        left: 15px;
        padding: 15px;
        max-width: 250px;
    }
    
    .popup-content h5 {
        font-size: 14px;
    }
    
    .popup-content p {
        font-size: 12px;
    }
    
    .contact-cards-section {
        padding: 0 0 40px 0;
    }
    
    /* Adjust spacing for mobile */
    .map-section + .contact-cards-section {
        margin-top: 30px;
    }
    
    .contact-card {
        padding: 25px;
        margin-bottom: 20px;
        min-height: 280px;
    }
    
    .contact-info {
        min-height: 40px;
        justify-content: center;
        text-align: center;
    }
    
    .card-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
        border-width: 2px;
    }
    
    .card-icon i {
        -webkit-text-stroke: 1px #666;
        color: transparent;
    }
    
    .contact-form-section {
        padding: 50px 0;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .contact-form-container h2 {
        font-size: 24px;
    }
    
    .additional-info-section {
        padding: 40px 0;
    }
    
    .info-box {
        padding: 25px 20px;
    }
}

@media (max-width: 576px) {
    .address-popup {
        top: 10px;
        left: 10px;
        padding: 12px;
        max-width: 200px;
    }
    
    .popup-content h5 {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .popup-content p {
        font-size: 11px;
    }
    
    .contact-card {
        padding: 20px;
        min-height: 260px;
    }
    
    .contact-info {
        min-height: 36px;
        justify-content: center;
        text-align: center;
    }
    
    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-width: 1px;
    }
    
    .card-icon i {
        -webkit-text-stroke: 1px #666;
        color: transparent;
    }
    
    .contact-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .contact-submit-btn {
        padding: 12px 30px;
        font-size: 16px;
        min-width: 180px;
    }
    
    /* Adjust spacing for small mobile */
    .map-section + .contact-cards-section {
        margin-top: 25px;
    }
}

/* Animation for cards */
.contact-card {
    animation: fadeInUp 0.6s ease-out;
}

.contact-card:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-card:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-card:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form validation styles */
.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 14px;
    color: #dc3545;
}

/* Loading state for submit button */
.contact-submit-btn.loading {
    position: relative;
    color: transparent;
}

.contact-submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
