﻿
:root {
    --brand: #5FB4FD; /* primary blue */
    --brand-dk: #3A8EDB;
    --brand-alt: #7C58FA; /* purple */
    --brand-lt: #EEF6FF;
    --dark: #4D4D4D;
    --mid: #6b7280;
    --border: #e5e7eb;
    --bg: #f8fafc;
    --white: #ffffff;
    --radius: 14px;
}

/* ── FIX TEXT LAYOUT ── */
.ct-info-text {
    display: flex;
    flex-direction: column; /* يخلي القيمة تحت العنوان */
    gap: 2px;
}

/* label */
.ct-label {
    font-size: 11px;
    color: var(--mid);
    letter-spacing: 0.3px;
}

/* value */
.ct-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

    /* links */
    .ct-value a {
        color: var(--dark);
        text-decoration: none;
    }

        .ct-value a:hover {
            color: var(--brand-alt);
        }

/* alignment fix */
.ct-info-row {
    align-items: flex-start; /* مهم جداً */
}

/* ── SECTION ── */
.contact-section {
    background: var(--bg);
    padding: 55px 0 70px;
}

/* ── ALERTS ── */
.ct-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    max-width: 860px;
}

.ct-alert-success {
    background: #eafaf1;
    border: 1px solid #27ae60;
    color: #1e8449;
}

.ct-alert-error {
    background: #fdf2f2;
    border: 1px solid #e74c3c;
    color: #c0392b;
}

/* ── LAYOUT ── */
.ct-grid {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.ct-form-col {
    flex: 1;
}

.ct-info-col {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ── CARDS ── */
.ct-card,
.ct-info-card,
.ct-hours-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 6px 25px rgba(0,0,0,0.05);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.5s ease forwards;
}

.ct-info-card {
    animation-delay: 0.1s;
}

.ct-hours-card {
    animation-delay: 0.2s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── CARD HEADER ── */
.ct-card-header {
    padding: 28px 30px 0;
}

.ct-eyebrow {
    display: inline-block;
    background: rgba(124,88,250,0.1);
    color: var(--brand-alt);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.ct-card-header h2,
.ct-card-header h3 {
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 6px;
}

.ct-card-header h2 {
    font-size: 22px;
}

.ct-card-header h3 {
    font-size: 18px;
}

.ct-card-header p {
    font-size: 13px;
    color: var(--mid);
    margin: 0 0 22px;
}

/* ── FORM ── */
.ct-form {
    padding: 0 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ct-row {
    display: flex;
    flex-direction: column;
}

    .ct-row.two-col {
        flex-direction: row;
        gap: 16px;
    }

        .ct-row.two-col .ct-field {
            flex: 1;
        }

.ct-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .ct-field label {
        font-size: 12px;
        font-weight: 600;
        color: var(--mid);
        text-transform: uppercase;
    }

.ct-form input,
.ct-form select,
.ct-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--dark);
    background: var(--bg);
    transition: all 0.2s ease;
}

    .ct-form input:focus,
    .ct-form select:focus,
    .ct-form textarea:focus {
        outline: none;
        border-color: var(--brand);
        box-shadow: 0 0 0 3px rgba(96,180,253,0.2);
        background: var(--white);
    }

/* select */
.ct-select-wrap {
    position: relative;
}

    .ct-select-wrap select {
        appearance: none;
        padding-right: 36px;
    }

.ct-select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 11px;
}

/* ── BUTTON ── */
.ct-submit {
    width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(90deg, var(--brand), var(--brand-alt));
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

    .ct-submit:hover {
        background: linear-gradient(90deg, var(--brand-dk), var(--brand-alt));
        transform: translateY(-2px);
    }

/* ── INFO ── */
.ct-info-list {
    padding: 0 24px;
}

.ct-info-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.ct-info-icon {
    width: 42px;
    height: 42px;
    background: rgba(96,180,253,0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ct-info-icon i {
        color: var(--brand-alt);
        font-size: 16px;
    }

.ct-info-text span {
    font-size: 11px;
    color: var(--mid);
}

.ct-info-text strong {
    font-size: 13px;
    color: var(--dark);
}

    .ct-info-text strong a {
        color: var(--dark);
        text-decoration: none;
    }

        .ct-info-text strong a:hover {
            color: var(--brand-alt);
        }

/* ── WHATSAPP ── */
.ct-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 20px 24px 24px;
    padding: 12px;
    background: #25d366;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

    .ct-wa-btn:hover {
        background: #1ebe5c;
        transform: translateY(-2px);
    }

/* ── HOURS ── */
.ct-hours-card {
    padding: 20px 24px;
}

.ct-hours-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
}

    .ct-hours-title i {
        color: var(--brand);
    }

.ct-hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--mid);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

    .ct-hours-row:last-child {
        border-bottom: none;
    }

    .ct-hours-row .closed {
        color: #e74c3c;
        font-weight: 600;
    }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .ct-grid {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .ct-row.two-col {
        flex-direction: column;
    }

    .ct-card-header {
        padding: 20px;
    }

    .ct-form {
        padding: 20px;
    }
}

