.contact-section {
    display: flex;
    width: 100%;
    min-height: 600px;
    background: #f8f9fa38;
}

.contact-left,
.contact-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0px 40px 40px;
}

.contact-form {
    width: 100%;
    max-width: 450px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.3);
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #0084b4;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.contact-form label {
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border-radius: 12px;
    border: none;
    font-size: 1rem;
    background: rgba(255,255,255,0.6);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 4px 12px rgba(0,172,237,0.3);
}

.contact-form button.btn {
    background: linear-gradient(135deg, #00aced, #0084b4);
    color: white;
    padding: 12px 35px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0,172,237,0.3);
}

.contact-right {
    text-align: left;
    padding-left: 60px;
}

.contact-right h2 {
    font-size: 2rem;
    color: #0084b4;
    margin-bottom: 20px;
}

.contact-right p {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .contact-section {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .contact-left {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .contact-form {
        max-width: 650px;
        padding: 50px 40px;
        max-height: 1024px;
    }

    .contact-form h2 {
        font-size: 2.2rem;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 1.1rem;
        padding: 14px 18px;
    }

    .contact-form button.btn {
        font-size: 1.1rem;
        padding: 14px 40px;
    }

    .contact-right {
        text-align: center;
        padding-left: 0;
        padding-top: 50px;
        width: 100%;
        max-width: 700px;
    }

    .contact-right h2 {
        font-size: 1.9rem;
    }

    .contact-right p {
        font-size: 1.3rem;
    }
}

.flash-messages {
    position: fixed;
    top: 45%;
    left: 70%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 90%;
    max-width: 400px;
}

.flash {
    padding: 15px 20px;
    border-radius: 10px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: fadeInOut 3s forwards;
}

.flash.success {
    background-color: #28a745;
}

.flash.error {
    background-color: #dc3545;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    10% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    90% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
}

@media (max-width: 480px) {
    .flash-messages {
        width: 90%;
    }
    .flash {
        font-size: 14px;
        padding: 12px 15px;
    }
}

