/* ══════════════════════════════════════════════════════════════
   Contact Page — contact.css
   ══════════════════════════════════════════════════════════════ */

/* ── Hero ───────────────────────────────────────────────────── */
.ct-hero {
    background: linear-gradient(135deg, #07426a 0%, #117098 60%, #1990c0 100%);
    padding: 40px 0 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ct-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.ct-hero__inner {
    position: relative;
    z-index: 1;
}
.ct-hero__crumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: DIN-Regular, sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,.65);
    margin-bottom: 20px;
}
.ct-hero__crumb a {
    color: rgba(255,255,255,.75);
    text-decoration: none;
}
.ct-hero__crumb a:hover { color: #fff; }
.ct-hero__crumb-sep { font-size: 10px; color: rgba(255,255,255,.4); }
.ct-hero__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 2px solid rgba(255,255,255,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    color: #fff;
}
.ct-hero__title {
    font-family: DIN-Bold, sans-serif;
    font-size: 28px;
    color: #fff;
    margin: 0 0 8px;
}
.ct-hero__subtitle {
    font-family: DIN-Regular, sans-serif;
    font-size: 15px;
    color: rgba(255,255,255,.75);
    margin: 0;
}

/* ── Layout ──────────────────────────────────────────────────── */
.ct-body {
    padding: 40px 0 60px;
    background: #f5f7fa;
    min-height: 400px;
}
.ct-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}

/* ── Card base ────────────────────────────────────────────────── */
.ct-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    overflow: hidden;
}
.ct-card__head {
    background: linear-gradient(90deg, #07426a, #117098);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.ct-card__head i {
    font-size: 22px;
    color: #fff;
}
.ct-card__head h2 {
    font-family: DIN-Bold, sans-serif;
    font-size: 17px;
    color: #fff;
    margin: 0;
}
.ct-card__body {
    padding: 28px 24px;
}

/* ── Form ─────────────────────────────────────────────────────── */
.ct-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.ct-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}
.ct-form-group:last-child { margin-bottom: 0; }
.ct-label {
    font-family: DIN-Bold, sans-serif;
    font-size: 13px;
    color: #334155;
}
.ct-label span { color: #e53e3e; margin-right: 2px; }
.ct-input,
.ct-select,
.ct-textarea {
    font-family: DIN-Regular, sans-serif;
    font-size: 14px;
    color: #1e293b;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 9px;
    padding: 10px 14px;
    width: 100%;
    transition: border-color .2s, box-shadow .2s;
    direction: rtl;
    outline: none;
}
.ct-input:focus,
.ct-select:focus,
.ct-textarea:focus {
    border-color: #117098;
    box-shadow: 0 0 0 3px rgba(17,112,152,.1);
    background: #fff;
}
.ct-input.is-invalid,
.ct-select.is-invalid,
.ct-textarea.is-invalid {
    border-color: #e53e3e;
}
.ct-textarea {
    resize: vertical;
    min-height: 130px;
}
.ct-select { appearance: none; cursor: pointer; }
.ct-char-count {
    font-family: DIN-Regular, sans-serif;
    font-size: 11px;
    color: #94a3b8;
    text-align: left;
}
.ct-error-msg {
    font-family: DIN-Regular, sans-serif;
    font-size: 12px;
    color: #e53e3e;
}

/* ── Submit button ────────────────────────────────────────────── */
.ct-submit-btn {
    background: linear-gradient(90deg, #07426a, #117098);
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    font-family: DIN-Bold, sans-serif;
    font-size: 15px;
    padding: 12px 32px;
    width: 100%;
    transition: opacity .2s, transform .1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ct-submit-btn:hover { opacity: .9; }
.ct-submit-btn:active { transform: scale(.98); }
.ct-submit-btn:disabled { opacity: .6; cursor: not-allowed; }

/* ── Alerts ───────────────────────────────────────────────────── */
.ct-alert {
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 22px;
    font-family: DIN-Regular, sans-serif;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.ct-alert--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}
.ct-alert--error {
    background: #fff5f5;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.ct-alert i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

/* ── Sidebar info cards ───────────────────────────────────────── */
.ct-info-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    overflow: hidden;
    margin-bottom: 22px;
}
.ct-info-card:last-child { margin-bottom: 0; }
.ct-info-head {
    background: linear-gradient(90deg, #07426a, #117098);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ct-info-head i { font-size: 18px; color: #fff; }
.ct-info-head h3 {
    font-family: DIN-Bold, sans-serif;
    font-size: 15px;
    color: #fff;
    margin: 0;
}
.ct-info-body {
    padding: 20px;
}

/* ── Contact info items ───────────────────────────────────────── */
.ct-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}
.ct-contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.ct-contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(17,112,152,.1);
    color: #117098;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.ct-contact-text {
    flex: 1;
}
.ct-contact-label {
    font-family: DIN-Bold, sans-serif;
    font-size: 12px;
    color: #94a3b8;
    display: block;
    margin-bottom: 2px;
}
.ct-contact-value {
    font-family: DIN-Regular, sans-serif;
    font-size: 14px;
    color: #1e293b;
    text-decoration: none;
    word-break: break-all;
}
.ct-contact-value:hover { color: #117098; }

/* ── Social icons in sidebar ──────────────────────────────────── */
.ct-social-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 0 0;
}
.ct-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    color: #fff;
    transition: transform .2s, opacity .2s;
    background: #117098;
}
.ct-social-btn:hover { transform: scale(1.1); color: #fff; opacity: .9; }
.ct-social-btn--fb   { background: #1877f2; }
.ct-social-btn--tw   { background: #000; }
.ct-social-btn--ig   { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.ct-social-btn--yt   { background: #ff0000; }
.ct-social-btn--tk   { background: #010101; }
.ct-social-btn--wa   { background: #25d366; }
.ct-social-btn--li   { background: #0a66c2; }

/* ── Type selector custom───────────────────────────────────────── */
.ct-type-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.ct-type-btn {
    flex: 1;
    min-width: 100px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    cursor: pointer;
    padding: 10px 12px;
    text-align: center;
    transition: border-color .2s, background .2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.ct-type-btn i { font-size: 20px; color: #94a3b8; transition: color .2s; }
.ct-type-btn span {
    font-family: DIN-Regular, sans-serif;
    font-size: 13px;
    color: #64748b;
    transition: color .2s;
}
.ct-type-btn.active,
.ct-type-btn:hover {
    border-color: #117098;
    background: rgba(17,112,152,.06);
}
.ct-type-btn.active i,
.ct-type-btn:hover i { color: #117098; }
.ct-type-btn.active span,
.ct-type-btn:hover span { color: #117098; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
    .ct-grid {
        grid-template-columns: 1fr;
    }
    .ct-form-row {
        grid-template-columns: 1fr;
    }
    .ct-hero__title { font-size: 22px; }
    .ct-hero { padding: 30px 0 26px; }
}
@media (max-width: 600px) {
    .ct-card__body { padding: 20px 16px; }
    .ct-info-body  { padding: 16px; }
    .ct-type-grid  { gap: 8px; }
    .ct-type-btn   { min-width: 90px; }
}
