/* ════════════════════════════════════════════
   CADDAM TECHNOLOGIES — NEW CONTACT PAGE CSS
   ════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg-section: #F8FAFC;
    --navy: #0A1128;
    --navy-mid: #1E293B;
    --crimson: #E3171C;
    --crimson-hover: #B51015;
    --teal: #00C9B1;
    --blue: #3B82F6;
    --purple: #8B5CF6;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-500: #64748B;
    --gray-700: #334155;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(10, 17, 40, 0.08);
    --shadow-lg: 0 20px 40px rgba(10, 17, 40, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --trans: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Trust Strip ── */
.ct-trust-strip {
    background: #FFFFFF;
    border-bottom: 1px solid var(--gray-200);
    padding: 18px 0;
}

.ct-trust-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.ct-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
}

.ct-trust-item i {
    color: var(--crimson);
    font-size: 1.1rem;
}

.ct-trust-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gray-300);
}

/* ── Main Grid ── */
.ct-main-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 40px;
    align-items: start;
}

/* ── Info Column ── */
.ct-info-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ct-info-card {
    background: #FFFFFF;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--trans);
}

.ct-info-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(10, 17, 40, 0.1);
}

.ct-card-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--crimson);
    margin-bottom: 16px;
}

.ct-card-label i {
    font-size: 0.9rem;
}

.ct-card-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 6px;
}

.ct-card-sub {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 24px;
}

/* Contact List */
.ct-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ct-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.ct-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.ct-icon-red {
    background: rgba(227, 23, 28, 0.1);
    color: var(--crimson);
}

.ct-icon-blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue);
}

.ct-icon-teal {
    background: rgba(0, 201, 177, 0.1);
    color: var(--teal);
}

.ct-icon-purple {
    background: rgba(139, 92, 246, 0.1);
    color: var(--purple);
}

.ct-contact-list strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy-mid);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.ct-contact-list p,
.ct-contact-list a {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.2s;
}

.ct-contact-list a:hover {
    color: var(--crimson);
}

/* Dept Grid */
.ct-dept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ct-dept-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--gray-100);
    border-radius: var(--radius);
    color: var(--navy-mid);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--trans);
    border: 1px solid transparent;
}

.ct-dept-btn i {
    color: var(--blue);
    font-size: 1.1rem;
}

.ct-dept-btn:hover {
    background: #FFFFFF;
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

/* Social Row */
.ct-social-row {
    display: flex;
    gap: 12px;
}

.ct-social-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 10px;
    background: var(--gray-100);
    border-radius: var(--radius);
    color: var(--gray-700);
    text-decoration: none;
    transition: var(--trans);
    border: 1px solid transparent;
}

.ct-social-btn i {
    font-size: 1.4rem;
}

.ct-social-btn span {
    font-size: 0.75rem;
    font-weight: 600;
}

.ct-social-btn.ct-linkedin:hover {
    background: #0077b5;
    color: #fff;
}

.ct-social-btn.ct-youtube:hover {
    background: #ff0000;
    color: #fff;
}

.ct-social-btn.ct-instagram:hover {
    background: #e1306c;
    color: #fff;
}

.ct-social-btn.ct-facebook:hover {
    background: #1877f2;
    color: #fff;
}

/* Map Wrap */
.ct-map-wrap {
    height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}


/* ── Form Column ── */
.ct-form-card {
    background: #FFFFFF;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.ct-form-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
}

.ct-form-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    color: #FFFFFF;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.ct-form-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 4px;
}

.ct-form-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin: 0;
}

/* Form Layout */
.ct-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.ct-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ct-field-full {
    grid-column: span 2;
}

.ct-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy-mid);
}

.ct-label span {
    color: var(--crimson);
    margin-left: 2px;
}

/* Inputs with Icons */
.ct-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.ct-input-wrap i {
    position: absolute;
    left: 16px;
    color: var(--gray-500);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.ct-input {
    width: 100%;
    padding: 13px 16px 13px 44px;
    background: var(--gray-100);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.95rem;
    color: var(--navy);
    font-family: 'Inter', sans-serif;
    transition: var(--trans);
}

.ct-input::placeholder {
    color: #94A3B8;
}

.ct-input:focus {
    outline: none;
    background: #FFFFFF;
    border-color: var(--crimson);
    box-shadow: 0 0 0 4px rgba(227, 23, 28, 0.1);
}

.ct-input-wrap:focus-within i {
    color: var(--crimson);
}

.ct-textarea-wrap {
    align-items: flex-start;
}

.ct-textarea-wrap i {
    top: 16px;
}

.ct-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Scope Chips (Checkboxes) */
.ct-scope-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ct-scope-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: #FFFFFF;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy-mid);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    user-select: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.ct-scope-chip input[type="checkbox"] {
    display: none;
}

.ct-scope-chip i {
    color: var(--gray-500);
    font-size: 1.1rem;
    transition: var(--trans);
}

.ct-scope-chip:hover {
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
}

.ct-scope-chip:hover i {
    color: var(--blue);
}

.ct-scope-chip.selected {
    background: linear-gradient(135deg, var(--blue), #1e3a8a);
    border-color: transparent;
    color: #FFFFFF;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.ct-scope-chip.selected i {
    color: #FFFFFF;
}

.ct-scope-chip.selected::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 6px;
    color: #34d399;
    /* Mint green check */
}

/* Select */
.ct-select {
    appearance: none;
    cursor: pointer;
}



/* Submit Button */
.ct-submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--crimson);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--trans);
    box-shadow: 0 4px 15px rgba(227, 23, 28, 0.25);
}

.ct-submit-btn:hover {
    background: var(--crimson-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(227, 23, 28, 0.35);
}

.ct-submit-btn:disabled {
    background: var(--gray-500);
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

.ct-form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 16px;
    margin-bottom: 0;
}

.ct-form-note i {
    color: #10B981;
    margin-right: 4px;
}

/* Alert */
.ct-alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ct-alert-danger {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.ct-alert-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}


/* ── Why Grid ── */
.ct-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ct-why-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--trans);
}

.ct-why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.ct-why-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--teal);
    margin-bottom: 20px;
}

.ct-why-card h4 {
    color: #FFFFFF;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.ct-why-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .ct-main-grid {
        grid-template-columns: 1fr;
    }

    .ct-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ct-trust-row {
        justify-content: center;
    }

    .ct-trust-sep {
        display: none;
    }
}

@media (max-width: 768px) {
    .ct-form-row {
        grid-template-columns: 1fr;
    }

    .ct-form-card {
        padding: 32px 20px;
    }

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

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