/* Contact Page - Completely New Layout */

/* Main Layout Container */
.contact-new-layout {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 60px;
}

/* Horizontal Contact Cards */
.contact-cards-horizontal {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
    height: 100%;
}

.contact-card-horizontal {
    background: transparent;
    border: none;
    border-radius: 14px;
    padding: 28px 38px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    height: 90px;
    min-height: 90px;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
    flex: 1;
}

.contact-card-horizontal:hover {
    background: rgba(0, 0, 0, 0.04);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
}

.card-icon {
    width: 55px;
    height: 55px;
    background: #6c757d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(108, 117, 125, 0.4);
}

.card-content {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
    flex: 1;
}

.card-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    margin: 0;
    line-height: 1;
    display: inline;
    padding: 0;
    margin-right: 0;
}

.card-content span {
    font-size: 16px;
    color: #666666;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline;
    padding: 0;
    margin-left: 0;
}

.card-link {
    font-size: 16px;
    color: #666666;
    margin: 0;
    line-height: 1;
    display: inline;
    padding: 0;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-link:hover {
    text-decoration: underline;
}

/* Square Contact Form */
.contact-form-square {
    background: transparent;
    border: none;
    border-radius: 14px;
    padding: 35px;
    width: 500px;
    height: 500px;
    min-height: 500px;
    max-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    flex: 0 0 auto;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-form-square:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    transform: translateY(-3px);
}

.contact-form-new {
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: 100%;
    width: 100%;
}

.form-row {
    display: flex;
    gap: 25px;
    align-items: center;
}

.form-group-half {
    flex: 1;
    margin: 0;
}

.form-group-full {
    flex: 1;
    margin: 0;
}

.contact-form-new input,
.contact-form-new select,
.contact-form-new textarea {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    background: white;
    margin: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.contact-form-new input:focus,
.contact-form-new select:focus,
.contact-form-new textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.contact-form-new textarea {
    resize: none;
    min-height: 90px;
}

.submit-btn-new {
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 18px 36px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

.submit-btn-new:hover {
    background: #5a6268;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.5);
}

.submit-btn-new:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

/* Hide labels for cleaner look */
.contact-form-new label {
    display: none;
}

/* Hide honeypot */
.honeypot {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-new-layout {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-form-square {
        width: 100%;
        height: auto;
        min-height: auto;
        max-height: none;
        padding: 30px;
    }
    
    .contact-cards-horizontal {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .contact-card-horizontal {
        flex: 1 1 calc(50% - 10px);
        min-width: 200px;
        height: 80px;
        min-height: 80px;
        padding: 20px 30px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .card-content h4 {
        font-size: 18px;
    }
    
    .card-content span {
        font-size: 15px;
    }
    
    .contact-form-new {
        gap: 22px;
    }
    
    .contact-form-new input,
    .contact-form-new select,
    .contact-form-new textarea {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .submit-btn-new {
        padding: 16px 32px;
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .contact-new-layout {
        gap: 20px;
    }
    
    .contact-cards-horizontal {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-card-horizontal {
        flex: 1 1 100%;
        min-width: auto;
        height: 75px;
        min-height: 75px;
        padding: 18px 25px;
        gap: 20px;
    }
    
    .card-icon {
        width: 48px;
        height: 48px;
        font-size: 21px;
    }
    
    .card-content h4 {
        font-size: 17px;
    }
    
    .card-content span {
        font-size: 14px;
    }
    
    .contact-form-square {
        padding: 25px;
    }
    
    .contact-form-new {
        gap: 20px;
    }
    
    .contact-form-new input,
    .contact-form-new select,
    .contact-form-new textarea {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .submit-btn-new {
        padding: 14px 28px;
        font-size: 16px;
    }
}

.map-overlay-link:hover .map-overlay h4 {
    color: #6c757d !important;
}

.map-overlay-link:hover .map-overlay {
    background: transparent !important;
}

.map-overlay {
    background: rgba(0, 0, 0, 0.35) !important;
    padding: 14px 22px !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    border-radius: 12px !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.map-overlay-text-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.map-overlay-text-link h4 {
    color: #ffffff !important;
    font-size: 20px !important;
    margin: 0 !important;
}

.map-overlay-text-link:hover {
    text-decoration: none;
}

.node-popup .discover-more-btn {
    background: #ffffff !important;
}

.node-popup .discover-more-btn:hover {
    background: #ffffff !important;
}
