/* ================================================
   CONTACT PAGE – PREMIUM STYLES
   ================================================ */

/* ---- HERO ---- */
.ct-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(140deg, #020a2e 0%, #082068 35%, #0b53c0 65%, #0e7fe8 90%, #00c8ff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 60px;
}

.ct-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.ct-hero-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: ctBannerZoom 30s ease-in-out infinite alternate;
}

.ct-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(2, 10, 46, 0.30) 0%,
            rgba(8, 32, 104, 0.22) 40%,
            rgba(11, 83, 192, 0.18) 70%,
            rgba(2, 10, 46, 0.45) 100%);
    z-index: 1;
}

@keyframes ctBannerZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

.ct-mesh {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.ct-m1 {
    width: 450px;
    height: 450px;
    background: rgba(0, 212, 255, 0.15);
    top: -20%;
    right: -5%;
    animation: ctF1 8s ease-in-out infinite alternate;
}

.ct-m2 {
    width: 300px;
    height: 300px;
    background: rgba(100, 180, 255, 0.10);
    bottom: -15%;
    left: -5%;
    animation: ctF2 10s ease-in-out infinite alternate;
}

@keyframes ctF1 {
    0% {
        transform: translate(0, 0) scale(1)
    }

    100% {
        transform: translate(-25px, 15px) scale(1.12)
    }
}

@keyframes ctF2 {
    0% {
        transform: translate(0, 0) scale(1)
    }

    100% {
        transform: translate(15px, -10px) scale(1.08)
    }
}

.ct-grid-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, transparent 70%);
}

.ct-hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.ct-hero .breadcrumb,
.ct-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.ct-hero .breadcrumb a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.ct-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
}

.ct-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.25);
    animation: ctPulse 2s infinite;
}

@keyframes ctPulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.25)
    }

    50% {
        box-shadow: 0 0 0 8px rgba(0, 212, 255, 0)
    }
}

.ct-hero h1 {
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 14px;
}

.ct-grad-text {
    background: linear-gradient(135deg, #fff, #82e4ff, #00d4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ct-hero p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.7;
}

/* ---- LAYOUT ---- */
.ct-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 28px;
    align-items: start;
}

/* ---- SIDEBAR ---- */
.ct-sidebar {
    display: grid;
    gap: 14px;
}

.ct-info-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(15, 40, 85, 0.06);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 18px rgba(10, 27, 51, 0.04);
    transition: all 0.35s ease;
}

.ct-info-card:hover {
    transform: translateX(4px);
    box-shadow: 0 12px 36px rgba(11, 94, 215, 0.10);
    border-color: rgba(11, 94, 215, 0.10);
}

.ct-info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 14px;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(11, 94, 215, 0.25);
}

.ct-info-icon svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.ct-info-card h4 {
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 2px;
    color: var(--text);
}

.ct-info-card p {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    color: var(--primary);
}

.ct-info-card span {
    font-size: 12px;
    color: var(--muted);
}

/* Quick actions */
.ct-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ct-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-radius: 16px;
    background: var(--grad);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 22px rgba(11, 94, 215, 0.28);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ct-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(11, 94, 215, 0.35);
}

.ct-action-btn svg {
    width: 18px;
    height: 18px;
}

/* ---- FORM CARD ---- */
.ct-form-card {
    padding: 36px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 40, 85, 0.06);
    backdrop-filter: blur(24px);
    box-shadow: 0 12px 48px rgba(10, 27, 51, 0.06);
}

.ct-form-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(15, 40, 85, 0.06);
}

.ct-form-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 16px;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(11, 94, 215, 0.28);
}

.ct-form-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.ct-form-header h2 {
    font-size: 20px;
    font-weight: 900;
    margin: 0 0 4px;
}

.ct-form-header p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}

/* Steps indicator */
.ct-steps {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 28px;
}

.ct-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    transition: color 0.3s ease;
}

.ct-step span {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: rgba(11, 94, 215, 0.06);
    border: 1px solid rgba(11, 94, 215, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    transition: all 0.3s ease;
}

.ct-step.active {
    color: var(--primary);
}

.ct-step.active span {
    background: var(--grad);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(11, 94, 215, 0.30);
}

.ct-step.done span {
    background: #10c962;
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(16, 201, 98, 0.30);
}

.ct-step.done {
    color: #10c962;
}

.ct-step-line {
    flex: 1;
    height: 2px;
    background: rgba(11, 94, 215, 0.08);
    margin: 0 14px;
    border-radius: 2px;
}

/* Step panels */
.ct-step-panel {
    display: none;
}

.ct-step-panel.active {
    display: block;
    animation: ctStepIn 0.35s ease;
}

@keyframes ctStepIn {
    from {
        opacity: 0;
        transform: translateX(20px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

/* Fields */
.ct-field {
    margin-bottom: 18px;
}

.ct-field label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}

.ct-req {
    color: #e63946;
}

.ct-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(11, 94, 215, 0.03);
    border: 1.5px solid rgba(11, 94, 215, 0.08);
    transition: all 0.3s ease;
}

.ct-input-wrap:focus-within {
    border-color: var(--primary);
    background: rgba(11, 94, 215, 0.06);
    box-shadow: 0 0 0 4px rgba(11, 94, 215, 0.08);
}

.ct-input-wrap svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    color: var(--primary);
    opacity: 0.5;
}

.ct-input-wrap:focus-within svg {
    opacity: 1;
}

.ct-input-wrap input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: var(--text);
}

.ct-input-wrap input::placeholder {
    color: var(--muted);
    font-weight: 500;
}

.ct-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Select */
.ct-select-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.ct-select-wrap select {
    width: 100%;
    padding: 14px 44px 14px 16px;
    border-radius: 14px;
    background: rgba(11, 94, 215, 0.03);
    border: 1.5px solid rgba(11, 94, 215, 0.08);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: var(--text);
    appearance: none;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ct-select-wrap select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(11, 94, 215, 0.08);
}

.ct-select-wrap svg {
    position: absolute;
    right: 14px;
    width: 18px;
    height: 18px;
    color: var(--primary);
    opacity: 0.5;
    pointer-events: none;
}

/* Textarea */
.ct-field textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(11, 94, 215, 0.03);
    border: 1.5px solid rgba(11, 94, 215, 0.08);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: var(--text);
    resize: vertical;
    outline: none;
    transition: all 0.3s ease;
    min-height: 120px;
}

.ct-field textarea::placeholder {
    color: var(--muted);
    font-weight: 500;
}

.ct-field textarea:focus {
    border-color: var(--primary);
    background: rgba(11, 94, 215, 0.06);
    box-shadow: 0 0 0 4px rgba(11, 94, 215, 0.08);
}

/* Buttons */
.ct-next-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    background: var(--grad);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    font-family: inherit;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(11, 94, 215, 0.28);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ct-next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(11, 94, 215, 0.35);
}

.ct-next-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.ct-next-btn:hover svg {
    transform: translateX(4px);
}

.ct-form-actions {
    display: flex;
    gap: 12px;
}

.ct-back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 14px;
    background: rgba(11, 94, 215, 0.05);
    border: 1px solid rgba(11, 94, 215, 0.10);
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ct-back-btn:hover {
    background: rgba(11, 94, 215, 0.10);
}

.ct-back-btn svg {
    width: 16px;
    height: 16px;
}

.ct-submit-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    background: var(--grad);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    font-family: inherit;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(11, 94, 215, 0.28);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ct-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(11, 94, 215, 0.35);
}

.ct-submit-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.ct-submit-btn:hover svg {
    transform: translate(3px, -3px);
}

/* Success */
.ct-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.ct-success.active {
    display: block;
    animation: ctStepIn 0.5s ease;
}

.ct-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10c962 0%, #0a8f3e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 12px 32px rgba(16, 201, 98, 0.30);
    animation: ctSuccessPop 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes ctSuccessPop {
    0% {
        transform: scale(0)
    }

    60% {
        transform: scale(1.15)
    }

    100% {
        transform: scale(1)
    }
}

.ct-success-icon svg {
    width: 32px;
    height: 32px;
    color: #fff;
}

.ct-success h3 {
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 8px;
    color: var(--text);
}

.ct-success p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 980px) {
    .ct-hero {
        padding: 120px 0 48px;
        min-height: 60vh;
    }

    .ct-layout {
        grid-template-columns: 1fr;
    }

    .ct-sidebar {
        order: 2;
    }

    .ct-form-card {
        order: 1;
    }
}

@media (max-width: 560px) {
    .ct-hero {
        padding: 0 0 36px;
        min-height: auto;
        flex-direction: column;
    }

    .ct-hero-bg {
        position: relative;
        width: 100%;
        aspect-ratio: 16/9;
    }

    .ct-hero-banner-img {
        object-fit: contain;
        animation: none;
    }

    .ct-hero-content {
        padding-top: 28px;
    }

    .ct-hero h1 {
        font-size: 26px;
    }

    .ct-form-card {
        padding: 24px 20px;
    }

    .ct-field-row {
        grid-template-columns: 1fr;
    }

    .ct-form-actions {
        flex-direction: column;
    }

    .ct-quick-actions {
        grid-template-columns: 1fr;
    }

    .ct-steps {
        flex-wrap: wrap;
        gap: 8px;
    }

    .ct-step-line {
        display: none;
    }
}