/* =========================================
   CONTACT PAGE — FRAMEWORK SOLUTIONS
   ========================================= */

/* Hero */
.ctc-hero {
    background: linear-gradient(135deg, #0a1628 0%, #0d2255 55%, #102c6e 100%);
    padding: 90px 24px 70px;
    min-height: 380px;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    text-align: center;
}
.ctc-hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(0,210,255,0.1) 0%, transparent 55%),
                radial-gradient(ellipse at 20% 80%, rgba(29,79,159,0.2) 0%, transparent 50%);
    pointer-events: none;
}
.ctc-hero-content {
    position: relative; z-index: 2;
    max-width: 640px; margin: 0 auto;
}
.ctc-breadcrumb {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; color: rgba(255,255,255,0.45);
    margin-bottom: 22px;
}
.ctc-breadcrumb a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color .2s; }
.ctc-breadcrumb a:hover { color: #fff; }
.ctc-breadcrumb i { font-size: 9px; }
.ctc-hero h1 {
    font-size: clamp(36px, 5.5vw, 62px);
    font-weight: 800; color: #fff;
    line-height: 1.1; margin-bottom: 16px;
    letter-spacing: -1px;
}
.ctc-gradient {
    background: linear-gradient(90deg, #00d2ff, #7b61ff);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ctc-hero p {
    font-size: 18px; color: rgba(255,255,255,0.6);
    line-height: 1.7;
}
/* Main */
.ctc-main {
    padding: 80px 0 100px;
    background: #f8faff;
}
.ctc-grid {
    display: grid; grid-template-columns: 1.3fr 1fr;
    gap: 36px; align-items: stretch;
}

/* Form Card */
.ctc-form-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 48px 44px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}
.ctc-form-header { margin-bottom: 32px; }
.ctc-form-header h2 {
    font-size: 26px; font-weight: 800; color: #111827;
    margin-bottom: 8px;
}
.ctc-form-header p {
    font-size: 14px; color: #6b7280; line-height: 1.6; margin: 0;
}

/* Form Fields */
.ctc-form { display: flex; flex-direction: column; gap: 20px; }
.ctc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ctc-field { display: flex; flex-direction: column; gap: 7px; }
.ctc-field label {
    font-size: 13px; font-weight: 700; color: #374151;
    letter-spacing: 0.2px;
}
.ctc-req { color: var(--primary); }
.ctc-input-wrap {
    position: relative;
    display: flex; align-items: center;
}
.ctc-input-wrap > i:first-child {
    position: absolute; left: 14px;
    font-size: 14px; color: #9ca3af;
    pointer-events: none; z-index: 1;
}
.ctc-input-wrap input,
.ctc-input-wrap select {
    width: 100%; padding: 13px 14px 13px 40px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-family: inherit; font-size: 14px;
    color: #111827; outline: none;
    transition: all 0.25s ease;
    appearance: none;
}
.ctc-input-wrap input:focus,
.ctc-input-wrap select:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(29, 79, 159, 0.08);
}
.ctc-input-wrap input::placeholder { color: #9ca3af; }
.ctc-select-wrap .ctc-select-arrow {
    position: absolute; right: 14px;
    font-size: 11px; color: #9ca3af;
    pointer-events: none;
}

/* ── Custom Service Select ── */
.ctc-custom-select { position: relative; }

.ctc-cs-trigger {
    width: 100%;
    display: flex; align-items: center; gap: 10px;
    padding: 13px 14px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit; font-size: 14px; font-weight: 400;
    color: #9ca3af;
    text-align: left;
    transition: all 0.25s ease;
    outline: none;
}
.ctc-cs-trigger.has-value { color: #111827; }
.ctc-cs-trigger:focus,
.ctc-custom-select.open .ctc-cs-trigger {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(29, 79, 159, 0.08);
}
.ctc-cs-icon {
    font-size: 14px; color: #9ca3af; flex-shrink: 0;
    transition: color 0.2s;
}
.ctc-custom-select.open .ctc-cs-icon { color: var(--primary); }
.ctc-cs-value { flex: 1; }
.ctc-cs-arrow {
    font-size: 11px; color: #9ca3af; flex-shrink: 0;
    transition: transform 0.3s ease, color 0.2s;
}
.ctc-custom-select.open .ctc-cs-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

/* Dropdown panel */
.ctc-cs-panel {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    z-index: 300;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.ctc-custom-select.open .ctc-cs-panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Options */
.ctc-cs-option {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s ease;
}
.ctc-cs-option:last-child { border-bottom: none; }
.ctc-cs-option:hover { background: rgba(29, 79, 159, 0.04); }
.ctc-cs-option.selected { background: rgba(29, 79, 159, 0.06); }

.ctc-cs-opt-icon {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(29, 79, 159, 0.07);
    border-radius: 9px;
    font-size: 13px; color: var(--primary);
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.ctc-cs-option:hover .ctc-cs-opt-icon,
.ctc-cs-option.selected .ctc-cs-opt-icon {
    background: var(--primary);
    color: #fff;
}
.ctc-cs-option span {
    font-size: 13px; font-weight: 500; color: #374151;
    line-height: 1.4;
    transition: color 0.15s;
}
.ctc-cs-option:hover span { color: var(--primary); font-weight: 600; }
.ctc-cs-option.selected span { color: var(--primary); font-weight: 700; }
.ctc-textarea-wrap textarea {
    width: 100%; padding: 14px 16px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-family: inherit; font-size: 14px;
    color: #111827; outline: none;
    resize: vertical; min-height: 130px;
    transition: all 0.25s ease;
    box-sizing: border-box;
}
.ctc-textarea-wrap textarea:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(29, 79, 159, 0.08);
}
.ctc-textarea-wrap textarea::placeholder { color: #9ca3af; }

/* Submit */
.ctc-submit-btn {
    padding: 13px 32px;
    background: var(--primary);
    color: #fff; border: 2px solid transparent;
    border-radius: 10px; cursor: pointer;
    font-family: inherit; font-size: 15px; font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(29, 79, 159, 0.3);
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.ctc-submit-btn:hover:not(:disabled) {
    background: #2a6fd6;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(29, 79, 159, 0.4);
}
.ctc-submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }
.ctc-btn-loading { display: inline-flex; align-items: center; gap: 8px; }

/* Success */
.ctc-success {
    display: flex; align-items: flex-start; gap: 14px;
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    border-radius: 14px; padding: 18px 20px;
    margin-top: 4px;
}
.ctc-success i { color: #10b981; font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.ctc-success strong { display: block; font-size: 15px; color: #065f46; margin-bottom: 4px; }
.ctc-success p { font-size: 13px; color: #047857; margin: 0; }

/* Info Column */
.ctc-info-col { display: flex; flex-direction: column; gap: 20px; height: 100%; }

.ctc-info-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px; padding: 36px 32px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}
.ctc-info-card h3 {
    font-size: 22px; font-weight: 800; color: #111827;
    margin-bottom: 10px;
}
.ctc-info-card > p {
    font-size: 14px; color: #6b7280; line-height: 1.65;
    margin-bottom: 28px;
}
.ctc-info-items { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.ctc-info-item {
    display: flex; align-items: flex-start; gap: 14px;
}
.ctc-info-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(29, 79, 159, 0.08);
    border-radius: 12px;
    font-size: 16px; color: var(--primary);
}
.ctc-info-label {
    display: block; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    color: #9ca3af; margin-bottom: 3px;
}
.ctc-info-value {
    display: block; font-size: 14px; font-weight: 600;
    color: #111827; text-decoration: none;
    transition: color 0.2s;
}
a.ctc-info-value:hover { color: var(--primary); }

.ctc-social-row {
    display: flex; align-items: center; gap: 14px;
    padding-top: 20px; border-top: 1px solid #f0f0f0;
}
.ctc-social-row > span {
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    color: #9ca3af; white-space: nowrap;
}
.ctc-socials { display: flex; gap: 8px; }
.ctc-socials a {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 9px;
    background: #f3f4f6; border: 1px solid #e5e7eb;
    color: #6b7280; font-size: 14px; text-decoration: none;
    transition: all 0.25s ease;
}
.ctc-socials a:hover {
    background: var(--primary); border-color: var(--primary);
    color: #fff; transform: translateY(-2px);
}

/* Why Card */
.ctc-why-card {
    background: linear-gradient(135deg, #0a1628 0%, #0d2255 100%);
    border-radius: 24px; padding: 32px 28px;
    flex: 1;
}
.ctc-why-card h4 {
    font-size: 16px; font-weight: 800; color: #fff;
    margin-bottom: 20px;
}
.ctc-why-list { display: flex; flex-direction: column; gap: 14px; }
.ctc-why-item {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 13px; color: rgba(255,255,255,0.7);
    line-height: 1.5; font-weight: 500;
}
.ctc-why-item i { color: #00d2ff; font-size: 14px; margin-top: 1px; flex-shrink: 0; }

/* Map */
.ctc-map-section {
    position: relative;
    height: 400px; overflow: hidden;
}
.ctc-map-section iframe {
    width: 100%; height: 100%; border: none;
    display: block;
}
.ctc-map-overlay {
    position: absolute; top: 20px; left: 20px; z-index: 10;
    pointer-events: none;
}
.ctc-map-pin {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.97);
    border-radius: 14px; padding: 12px 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.ctc-map-pin i { font-size: 22px; color: var(--primary); }
.ctc-map-label strong { display: block; font-size: 14px; color: #111827; }
.ctc-map-label span { font-size: 12px; color: #6b7280; }

/* Scroll Reveal */
.ctc-hidden { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.ctc-revealed { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
    .ctc-grid { grid-template-columns: 1fr; gap: 28px; }
    .ctc-form-card { padding: 36px 30px; }
}
@media (max-width: 768px) {
    .ctc-hero { padding: 70px 20px 60px; min-height: 320px; }
    .ctc-main { padding: 60px 0 80px; }
    .ctc-form-card { padding: 28px 20px; }
    .ctc-form-row { grid-template-columns: 1fr; }
    .ctc-info-card { padding: 28px 22px; }
    .ctc-why-card { padding: 24px 20px; }
    .ctc-map-section { height: 280px; }
}
