﻿/* Contact Section */
.contact-section {
    background: linear-gradient(to right, #6edaff 50%, #fff 50%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    margin-top: 7rem;
}

.contact-container {
    width: 90%;
    max-width: 1100px;
    display: flex;
    flex-wrap: wrap;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Left Side */
.contact-left {
    flex: 1 1 500px;
    padding: 40px;
    background: #f9f9f9;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    transition: background 0.3s ease;
}
.contact-left:hover { background: #eef6ff; }

.contact-left-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-form-group input,
.contact-form-group textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #aaa;
    padding: 8px 4px;
    font-size: 14px;
    outline: none;
    background: transparent;
    transition: border-color 0.3s ease, transform 0.2s ease;
}
.contact-form-group input:focus,
.contact-form-group textarea:focus {
    border-bottom: 1px solid #0a3fa4;
    transform: scale(1.02);
}

.contact-submit-btn {
    background: #0a3fa4;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}
.contact-submit-btn:hover {
    background: #072c7a;
    transform: translateY(-2px);
}

/* Right Side */
.contact-right {
    flex: 1 1 500px;
    padding: 40px;
    background: #f46300;
    color: #fff;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.contact-right-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 15px;
}
.contact-right-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.contact-map iframe {
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}
.contact-map iframe:hover { transform: scale(1.02); }

.contact-socials {
    display: flex;
    justify-content: end;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
}
.contact-socials i {
    color: white;
    font-size: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}
.contact-socials i:hover {
    color: #0a3fa4;
    transform: scale(1.2);
}

.contact-note {
    font-size: 14px;
    margin-top: 15px;
    font-weight: 400;
    color: #0a3fa4;
    text-align: center;
}

/* Error */
.error-message {
    color: red;
    font-size: 0.9rem;
    margin-top: 4px;
    text-align: center;
}

/* Simple Animations (like About Us page) */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 5s ease, transform 5s ease;
}
.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 5s ease, transform 5s ease;
}
.slide-in-left.show {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 5s ease, transform 5s ease;
}
.slide-in-right.show {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 900px) {
    .contact-container { flex-direction: column; }
    .contact-left, .contact-right {
        border-radius: 12px;
        margin-bottom: 20px;
    }
    .contact-section {
        background: linear-gradient(to bottom, #6edaff 50%, #fff 50%);
    }
}
@media (max-width: 375px) {
    .contact-left, .contact-right { padding: 20px; }
}