@import url('home.css');

/* Animations */
.contact-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-card:nth-child(3) { animation-delay: 0.3s; }
.contact-card:nth-child(4) { animation-delay: 0.4s; }

.form-container {
    opacity: 0;
    animation: slideInRight 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.map-container {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

body {
    background-color: var(--white);
}

.page-banner {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 0 50px;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

.banner-tag {
    animation: fadeInUp 0.6s ease-out;
}

.banner-title {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.banner-ar {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.page-banner .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.banner-tag {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 999px;
    background-color: rgba(250, 203, 35, 0.18);
    color: var(--accent-color) !important;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-size: 13px;
}

.banner-title {
    font-size: 44px;
    font-family: var(--font-heading-en);
    line-height: 1.05;
    color: var(--white) !important;
    margin-top: 4px;
}

.banner-ar {
    font-family: var(--font-body-ar);
    font-size: 22px;
    direction: rtl;
    text-align: center;
    color: var(--white) !important;
    margin-top: 2px;
}

.contact-form-section {
    padding: 90px 0 60px;
    background: linear-gradient(180deg, rgba(250, 203, 35, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
}

.contact-form-section .container {
    max-width: 1400px;
    padding: 0 40px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.contact-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    height: 100%;
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.contact-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-color);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(250, 203, 35, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-card:hover .contact-icon {
    background: linear-gradient(135deg, rgba(250, 203, 35, 0.2) 0%, rgba(0, 0, 0, 0.08) 100%);
    transform: scale(1.1);
    color: var(--accent-color);
}

.contact-title {
    font-size: 18px;
    font-family: var(--font-heading-en);
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.contact-title-ar {
    font-family: var(--font-body-ar);
    font-size: 15px;
    color: var(--text-gray);
    direction: rtl;
    margin-bottom: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.contact-link {
    display: inline-block;
    font-size: 15px;
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    margin-top: 4px;
    transition: color 0.3s ease;
    word-break: break-word;
}

.contact-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-container {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.map-section {
    padding: 0 0 90px;
}

.map-section .container {
    max-width: 1400px;
    padding: 0 40px;
}

.map-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(250, 203, 35, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    border: 2px dashed rgba(0, 0, 0, 0.1);
}

.map-placeholder i {
    font-size: 64px;
    color: var(--primary-color);
    margin-bottom: 16px;
    opacity: 0.5;
}

.map-placeholder p {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.map-note {
    font-size: 14px;
    color: var(--text-gray);
    font-style: italic;
}

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

.form-title {
    font-size: 28px;
    font-family: var(--font-heading-en);
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 6px;
}

.form-title-ar {
    font-family: var(--font-body-ar);
    font-size: 18px;
    color: var(--text-gray);
    direction: rtl;
    margin-bottom: 24px;
    font-weight: 500;
}


.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-ar {
    font-family: var(--font-body-ar);
    font-size: 14px;
    color: var(--text-gray);
    direction: rtl;
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--font-body-en);
    color: var(--primary-color);
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(250, 203, 35, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    padding: 16px 28px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-heading-en);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 4px;
}

.submit-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(250, 203, 35, 0.3);
}

.btn-ar {
    font-family: var(--font-body-ar);
    direction: rtl;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-banner {
        padding: 50px 0 50px;
    }

    .banner-title {
        font-size: 38px;
    }

    .contact-form-section .container,
    .map-section .container {
        padding: 0 24px;
    }

    .contact-layout {
        gap: 36px;
    }

    .contact-cards-wrapper {
        gap: 20px;
    }

    .contact-card {
        padding: 28px 20px;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 16px;
    }

    .contact-title {
        font-size: 16px;
    }

    .contact-title-ar {
        font-size: 14px;
    }

    .contact-link {
        font-size: 14px;
    }

    .map-container {
        height: 400px;
    }

    .form-container {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 80px 0 60px;
    }

    .banner-title {
        font-size: 30px;
    }

    .banner-ar {
        font-size: 18px;
    }

    .contact-overview {
        padding: 70px 0 40px;
    }

    .contact-form-section {
        padding: 40px 0 70px;
    }

    .contact-form-section .container,
    .map-section .container {
        padding: 0 20px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-cards-wrapper {
        order: 1;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .contact-card {
        padding: 28px 20px;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 16px;
    }

    .contact-title {
        font-size: 16px;
    }

    .contact-title-ar {
        font-size: 14px;
    }

    .contact-link {
        font-size: 14px;
    }

    .map-container {
        height: 350px;
    }

    .form-container {
        order: 2;
        padding: 32px 24px;
    }

    .form-title {
        font-size: 28px;
    }

    .form-title-ar {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .contact-cards-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-card {
        padding: 24px 18px;
    }

    .contact-icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
        margin-bottom: 14px;
    }

    .contact-title {
        font-size: 15px;
    }

    .contact-title-ar {
        font-size: 13px;
    }

    .contact-link {
        font-size: 13px;
    }

    .map-container {
        height: 300px;
    }

    .form-container {
        padding: 28px 20px;
    }

    .form-title {
        font-size: 24px;
    }

    .form-title-ar {
        font-size: 16px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 14px 24px;
        font-size: 15px;
    }

    .map-section {
        padding: 0 0 70px;
    }
}
