.contact {
    padding: 120px 9% 50px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
    width: 100%;
    max-width: 1100px;
    margin-top: 3rem;
}

/* Bal oldal stílusa */
.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    border-left: 5px solid #5ca5ee;
    transition: 0.3s;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.info-item i {
    font-size: 30px;
    color: #5ca5ee;
}

.info-item h4 {
    color: #5ca5ee;
    font-size: 18px;
    margin-bottom: 5px;
}

.info-item p {
    color: #fff;
    font-size: 15px;
}

/* Form stílusa */
.contact-form {
    flex: 1.5;
    background: #2a2f3b;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.input-group {
    position: relative;
    margin-bottom: 30px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    color: #fff;
    background: transparent;
    border: none;
    border-bottom: 2px solid #555;
    outline: none;
    transition: 0.3s;
}

.input-group label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 12px 0;
    pointer-events: none;
    color: #999;
    transition: 0.3s;
}

/* Lebegő label effekt */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -20px;
    font-size: 12px;
    color: #5ca5ee;
}

.input-group input:focus,
.input-group textarea:focus {
    border-bottom-color: #5ca5ee;
}

.contact-form .btn {
    width: 100%;
    cursor: pointer;
}

@media (max-width: 600px) {
    .contact-container {
        flex-direction: column;
    }

    .contact .input-box input {
        width: 100%; /* Az inputok teljes szélességűek lesznek */
    }
    
    .contact-form {
        padding: 20px; /* Kevesebb belső hely, hogy ne legyen túl szűk a form */
    }
}