/* ===============================
   CONTACT US SECTION
================================= */

.contact-section {
    width: 100%;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-container {
    max-width: 1400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* ---------- Header ---------- */
.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h2 {
    font-size: 2.8rem;
    color: var(--color-dark-blue);
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease forwards;
}

.contact-header p {
    font-size: 1.1rem;
    color: var(--color-gray);
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto;
    animation: fadeInUp 1s ease forwards;
}

/* ---------- Grid ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* ---------- Contact Form ---------- */
.contact-form-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    animation: fadeInRight 1s ease forwards;
}

.contact-form-card form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-card .form-group {
    position: relative;
    margin-bottom: 0;
}

.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    padding: 16px 14px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    background: #fafafa;
    transition: all 0.4s ease;
}

.contact-form-card textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    border-color: var(--color-blue);
    background: #fff;
    box-shadow: 0 4px 12px rgba(37, 95, 241, 0.15);
}

.contact-form-card label {
    position: absolute;
    left: 16px;
    top: 16px;
    font-size: 0.95rem;
    color: #888;
    background: #fafafa;
    padding: 0 6px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.contact-form-card input:focus+label,
.contact-form-card input:not(:placeholder-shown)+label,
.contact-form-card textarea:focus+label,
.contact-form-card textarea:not(:placeholder-shown)+label {
    top: -10px;
    left: 12px;
    font-size: 0.8rem;
    color: var(--color-blue);
    background: #fff;
}

/* ---------- Submit Button ---------- */
.contact-form-card button {
    padding: 16px;
    font-size: 1.05rem;
    border-radius: 12px;
    font-weight: 600;
    background: var(--color-blue);
    color: var(--color-white);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.contact-form-card button:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 18px rgba(37, 95, 241, 0.25);
}

/* ---------- Contact Info Card ---------- */
.contact-info-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    animation: fadeInLeft 1s ease forwards;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    color: var(--color-dark-blue);
    margin-bottom: 15px;
}

.contact-info-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.contact-info-card ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--color-black);
}

.contact-info-card .social-icons {
    display: flex;
    gap: 15px;
}

.contact-info-card .social-icons a img {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.contact-info-card .social-icons a img:hover {
    transform: scale(1.2);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }

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

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }

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

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-header h2 {
        font-size: 2.3rem;
    }

    .contact-header p {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .contact-header h2 {
        font-size: 1.8rem;
    }

    .contact-header p {
        font-size: 0.95rem;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 30px 20px;
    }

    .contact-form-card input,
    .contact-form-card textarea {
        padding: 14px 12px;
    }

    .contact-info-card .social-icons a img {
        width: 35px;
        height: 35px;
    }
}
