/* ========================================
   CONTACT PAGE — Styles
   ======================================== */

/* ---- Shared ---- */
.ct-section-title {
    text-align: center;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 12px;
}

.ct-section-sub {
    text-align: center;
    font-size: 1rem;
    color: var(--color-text-gray);
    margin-bottom: 48px;
}

/* ---- Hero ---- */
.ct-hero {
    position: relative;
    padding: 140px 0 60px;
    overflow: hidden;
}

.ct-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(0, 108, 53, 0.12) 0%, transparent 55%),
        linear-gradient(180deg, #0A0A0F 0%, #0F0F18 100%);
    z-index: 0;
}

.ct-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.ct-hero__title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 12px;
    animation: fadeInUp 0.7s ease both;
}

.ct-hero__subtitle {
    font-size: 1.1rem;
    color: var(--color-text-gray);
    animation: fadeInUp 0.7s ease 0.1s both;
}

/* ==============================================================
   THREE CONTACT OPTIONS
   ============================================================== */
.ct-options {
    background: var(--color-bg-dark);
    padding: 80px 0;
}

.ct-options__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ct-opt {
    text-align: center;
    background: var(--color-card-bg);
    border-radius: var(--border-radius);
    padding: 44px 24px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all var(--transition-base);
}

.ct-opt:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.08);
}

.ct-opt__icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 20px;
}

.ct-opt__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 8px;
}

.ct-opt__desc {
    font-size: 0.9rem;
    color: var(--color-text-gray);
    margin-bottom: 24px;
}

.ct-opt__btn {
    display: inline-flex;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.ct-opt__btn--green {
    background: var(--color-primary);
    color: var(--color-text-white);
    border-color: var(--color-primary);
}

.ct-opt__btn--green:hover {
    background: #005a2c;
}

.ct-opt__btn--gold {
    background: transparent;
    color: var(--color-secondary);
    border: 1px solid var(--color-secondary);
}

.ct-opt__btn--gold:hover {
    background: rgba(212, 175, 55, 0.1);
}

.ct-opt__btn--teal {
    background: transparent;
    color: var(--color-accent-teal);
    border: 1px solid var(--color-accent-teal);
}

.ct-opt__btn--teal:hover {
    background: rgba(20, 184, 166, 0.1);
}

/* ==============================================================
   DEMO REQUEST FORM
   ============================================================== */
.ct-demo {
    background: var(--color-bg-section);
    padding: 100px 0;
}

.ct-form {
    max-width: 720px;
    margin: 0 auto;
}

.ct-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.ct-form__group {
    margin-bottom: 16px;
}

.ct-form__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-white);
    margin-bottom: 8px;
}

.ct-form__req {
    color: #ef4444;
}

.ct-form__input,
.ct-form__select,
.ct-form__textarea {
    width: 100%;
    background: var(--color-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 12px 16px;
    color: var(--color-text-white);
    font-family: var(--font-ar);
    font-size: 0.92rem;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    outline: none;
}

.ct-form__input:focus,
.ct-form__select:focus,
.ct-form__textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 108, 53, 0.1);
}

.ct-form__input::placeholder,
.ct-form__textarea::placeholder {
    color: var(--color-text-muted);
}

.ct-form__select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-left: 36px;
}

.ct-form__textarea {
    resize: vertical;
    min-height: 100px;
}

.ct-form__submit {
    background: var(--color-primary);
    color: var(--color-text-white);
    border: none;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    transition: all var(--transition-base);
}

.ct-form__submit:hover {
    background: #005a2c;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 108, 53, 0.3);
}

/* ==============================================================
   CONTACT INFO
   ============================================================== */
.ct-info {
    background: var(--color-bg-dark);
    padding: 100px 0;
}

.ct-info__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.ct-info__group-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ct-info__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.ct-info__item:last-child {
    border-bottom: none;
}

.ct-info__item svg {
    flex-shrink: 0;
}

.ct-info__item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ct-info__label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.ct-info__item a {
    font-family: var(--font-en);
    font-size: 0.9rem;
    color: var(--color-text-gray);
    text-decoration: none;
    transition: color var(--transition-base);
}

.ct-info__item a:hover {
    color: var(--color-primary);
}

.ct-info__other {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ct-info__card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--color-card-bg);
    border-radius: var(--border-radius);
    padding: 24px;
    border: 1px solid rgba(0, 108, 53, 0.08);
}

.ct-info__card svg {
    flex-shrink: 0;
}

.ct-info__card div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ct-info__card-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

.ct-info__card a,
.ct-info__card span {
    font-size: 0.95rem;
    color: var(--color-text-gray);
    text-decoration: none;
}

.ct-info__card a:hover {
    color: var(--color-primary);
}

/* ==============================================================
   CAREERS
   ============================================================== */
.ct-careers {
    background: var(--color-bg-section);
    padding: 100px 0;
}

.ct-jobs {
    max-width: 700px;
    margin: 0 auto 40px;
}

.ct-job {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--color-card-bg);
    border-radius: var(--border-radius);
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 12px;
    transition: all var(--transition-base);
}

.ct-job:hover {
    border-color: rgba(0, 108, 53, 0.15);
    transform: translateX(4px);
}

.ct-job__info {
    flex: 1;
}

.ct-job__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 8px;
}

.ct-job__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ct-job__tag {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--border-radius-pill);
}

.ct-job__tag--type {
    background: rgba(0, 108, 53, 0.1);
    color: var(--color-primary);
}

.ct-job__tag--loc {
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text-gray);
}

.ct-job__btn {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: all var(--transition-base);
}

.ct-job__btn:hover {
    background: var(--color-primary);
    color: var(--color-text-white);
}

.ct-careers__general {
    text-align: center;
    background: var(--color-card-bg);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    max-width: 500px;
    margin: 0 auto;
    border: 1px dashed rgba(255, 255, 255, 0.08);
}

.ct-careers__general p {
    font-size: 0.92rem;
    color: var(--color-text-gray);
    margin: 0 0 8px;
}

.ct-careers__general p:last-child {
    margin-bottom: 0;
}

.ct-careers__general a {
    color: var(--color-primary);
    font-family: var(--font-en);
    font-weight: 600;
    text-decoration: none;
}

.ct-careers__general a:hover {
    text-decoration: underline;
}

/* ==============================================================
   MAP
   ============================================================== */
.ct-map {
    background: var(--color-bg-dark);
    padding: 0;
}

.ct-map__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 280px;
    background:
        linear-gradient(135deg, rgba(0, 108, 53, 0.04) 0%, rgba(20, 184, 166, 0.03) 100%),
        var(--color-card-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ct-map__placeholder span {
    font-size: 1rem;
    color: var(--color-text-gray);
    font-weight: 500;
}

.ct-map__coords {
    font-family: var(--font-en);
    font-size: 0.78rem !important;
    color: var(--color-text-muted) !important;
    font-weight: 400 !important;
    letter-spacing: 1px;
}

/* ==============================================================
   SUPPORT
   ============================================================== */
.ct-support {
    background: var(--color-bg-section);
    padding: 80px 0;
}

.ct-support__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.ct-support__card {
    text-align: center;
    background: var(--color-card-bg);
    border-radius: var(--border-radius);
    padding: 32px 18px;
    border: 1px solid rgba(20, 184, 166, 0.08);
    transition: all var(--transition-base);
}

.ct-support__card:hover {
    transform: translateY(-4px);
    border-color: rgba(20, 184, 166, 0.2);
}

.ct-support__card svg {
    margin-bottom: 14px;
}

.ct-support__label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.ct-support__card a,
.ct-support__value {
    font-family: var(--font-en);
    font-size: 0.9rem;
    color: var(--color-text-white);
    text-decoration: none;
    font-weight: 600;
}

.ct-support__card a:hover {
    color: var(--color-accent-teal);
}

.ct-support__value {
    font-family: var(--font-ar);
    color: var(--color-accent-teal);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .ct-info__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ct-hero {
        padding: 120px 0 40px;
    }

    .ct-options {
        padding: 60px 0;
    }

    .ct-options__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .ct-demo,
    .ct-info,
    .ct-careers,
    .ct-support {
        padding: 70px 0;
    }

    .ct-form__row {
        grid-template-columns: 1fr;
    }

    .ct-support__grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }

    .ct-job {
        flex-direction: column;
        align-items: flex-start;
    }

    .ct-map__placeholder {
        height: 200px;
    }
}