.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: -50px;
    position: relative;
    z-index: 5;
}

.info-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: 0.4s;
}

.info-card:hover .info-icon {
    background: var(--secondary);
    transform: rotateY(180deg);
}

.info-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.info-card p {
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.6;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.location-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    transition: 0.3s;
}

.location-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.location-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.loc-content {
    padding: 25px;
}

.loc-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.loc-content p {
    color: var(--text-body);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.loc-content a {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.loc-content a:hover {
    gap: 10px;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.contact-form {
    flex: 1;
    padding: 60px;
    min-width: 350px;
}

.contact-map {
    flex: 1;
    min-width: 350px;
    min-height: 500px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.input-group {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 1rem;
    color: var(--text-heading);
    transition: 0.3s;
    font-family: 'Manrope', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 10px rgba(60, 114, 252, 0.1);
}

textarea.form-control {
    resize: none;
    margin-bottom: 0;
}

.form-control.success {
    border-color: #2ecc71;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="%232ecc71"><path d="M173.898 439.404l-166.416-166.35c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
}

.form-control.error {
    border-color: #e74c3c;
    animation: shake 0.3s;
}

.error-msg {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 5px;
    margin-bottom: 5px;
    visibility: hidden;
    font-weight: 600;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

.routing-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
}

.routing-card {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.routing-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
}

.routing-card h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.divider {
    width: 2px;
    height: 150px;
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .divider {
        width: 100%;
        height: 1px;
    }
}

.input-group {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.form-control.success {
    border-color: #2ecc71;
}

.form-control.error {
    border-color: #e74c3c;
}

.error-msg {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 5px;
    margin-bottom: 10px;
    visibility: hidden;
    font-weight: 600;
    text-align: left;
}

.form-row {
    align-items: flex-start;
}