/*==================================================
CONTACT PAGE — "ENGINEERING CONSULTATION CENTER"
Prefix: ct-
==================================================*/
/* Tells the browser to use its dark-mode native widget rendering
   (dropdown popups, checkboxes, date pickers) instead of defaulting
   to light/white, which is what caused the white-on-white dropdown. */
.ct-form {
    color-scheme: dark;
}

/*---------- SHARED SECTION SHELL ----------*/

.ct-section {
    padding: clamp(80px, 12vw, 140px) 6%;
}

.ct-section.alt {
    background: #070B11;
}

.ct-section-header {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.ct-section-header h2 {
    margin-top: 22px;
    font-size: clamp(30px, 4.2vw, 52px);
    line-height: 1.12;
}

.ct-section-header p {
    margin-top: 22px;
    color: #9FB1C2;
    line-height: 1.85;
    font-size: clamp(14.5px, 1.6vw, 17px);
}

.ct-data-note {
    max-width: 700px;
    margin: 18px auto 0;
    text-align: center;
    color: #7F93A6;
    font-size: 12.5px;
    line-height: 1.7;
    font-style: italic;
}

/*---------- 1. HERO ----------*/

.ct-hero {
    position: relative;
    padding: clamp(150px, 18vw, 200px) 6% clamp(90px, 12vw, 130px);
    min-height: 72vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(70% 60% at 50% 0%, #0B1420 0%, #05070B 60%);
}

.ct-hero .section-particles {
    z-index: 1;
}

.ct-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(55% 55% at 15% 20%, rgba(66, 165, 255, .14), transparent 70%),
        radial-gradient(50% 50% at 90% 90%, rgba(79, 246, 255, .08), transparent 70%);
}

.ct-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.ct-hero-inner h1 {
    margin-top: 22px;
    font-size: clamp(34px, 5.6vw, 66px);
    line-height: 1.08;
}

.ct-hero-inner>p {
    margin: 20px auto 0;
    max-width: 660px;
    color: #9FB1C2;
    line-height: 1.9;
    font-size: clamp(15px, 1.7vw, 17.5px);
}

.ct-hero-sub {
    color: #7F93A6 !important;
    font-size: clamp(13.5px, 1.4vw, 15px) !important;
}

.ct-hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 42px;
}

/*---------- 2. ENGINEERING SUPPORT ----------*/

.ct-support-grid {
    max-width: 1150px;
    margin: clamp(50px, 8vw, 80px) auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ct-support-card {
    padding: 28px 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(79, 246, 255, .1);
    transition: .35s;
}

.ct-support-card:hover {
    border-color: rgba(79, 246, 255, .3);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(66, 165, 255, .12);
}

.ct-support-icon {
    display: block;
    font-size: 26px;
    margin-bottom: 16px;
}

.ct-support-card h3 {
    font-size: 15.5px;
    margin-bottom: 14px;
}

.ct-support-card ul {
    list-style: none;
    padding: 0;
}

.ct-support-card ul li {
    color: #9FB1C2;
    font-size: 13px;
    padding: 4px 0 4px 16px;
    position: relative;
    line-height: 1.6;
}

.ct-support-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cyan);
}

@media(max-width:900px) {
    .ct-support-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:560px) {
    .ct-support-grid {
        grid-template-columns: 1fr;
    }
}

/*---------- 3. GLOBAL ENGINEERING NETWORK ----------*/

.ct-region-grid {
    max-width: 1000px;
    margin: clamp(50px, 8vw, 80px) auto 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.ct-region-card {
    padding: 26px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(79, 246, 255, .1);
    text-align: center;
    transition: .35s;
}

.ct-region-card:hover {
    border-color: rgba(79, 246, 255, .35);
    transform: translateY(-5px);
}

.ct-region-dot {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 16px rgba(79, 246, 255, .8);
    margin: 0 auto 14px;
    animation: ct-pulse 2.4s ease-in-out infinite;
}

@keyframes ct-pulse {

    0%,
    100% {
        opacity: .6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

.ct-region-card h3 {
    font-size: 13.5px;
}

@media(max-width:800px) {
    .ct-region-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:520px) {
    .ct-region-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/*---------- 4–11. FORM LAYOUT ----------*/

.ct-form-layout {
    max-width: 1250px;
    margin: clamp(50px, 7vw, 70px) auto 0;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 34px;
    align-items: start;
}

.ct-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ct-fieldset {
    padding: 28px clamp(20px, 3vw, 32px);
    border-radius: 20px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(79, 246, 255, .1);
}

.ct-fieldset legend {
    padding: 0 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--cyan);
}

.ct-fieldset-note {
    color: #8DA4B8;
    font-size: 12.5px;
    line-height: 1.7;
    margin: 4px 0 18px;
}

.ct-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
    margin-top: 8px;
    margin-bottom: 20px
}

.ct-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ct-field.ct-field-full {
    grid-column: 1 / -1;
}

.ct-field label {
    color: #9FB1C2;
    font-size: 12.5px;
    letter-spacing: .3px;
}

.ct-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234FF6FF' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 36px;
    cursor: pointer;
}

/* the dropdown popup itself — without this, most browsers ignore the
   select's own dark background/color and render this list with OS
   defaults (usually white bg + white/black text) */
.ct-field select option {
    background: #0B1420;
    color: #E7EEF4;
}

.ct-field input[type="text"],
.ct-field input[type="email"],
.ct-field input[type="tel"],
.ct-field input[type="number"],
.ct-field input[type="date"],
.ct-field select,
.ct-form>.ct-fieldset .ct-field textarea,
textarea#message {
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(79, 246, 255, .15);
    color: #E7EEF4;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    transition: .3s;
}

.ct-field input:focus,
.ct-field select:focus,
textarea#message:focus {
    outline: none;
    border-color: rgba(79, 246, 255, .5);
    background: rgba(79, 246, 255, .04);
}

.ct-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234FF6FF' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 36px;
    cursor: pointer;
}

textarea#message {
    resize: vertical;
    min-height: 120px;
    line-height: 1.7;
}

.ct-fieldset>.ct-field {
    margin-top: 8px;
}

/*----- radio / checkbox groups -----*/

.ct-group-label {
    display: block;
    color: #7F93A6;
    font-size: 11px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    margin: 20px 0 12px;
}

.ct-radio-group,
.ct-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.ct-radio-group:last-child,
.ct-checkbox-group:last-child {
    margin-bottom: 0;
}

.ct-radio,
.ct-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(79, 246, 255, .12);
    color: #C7D3DE;
    font-size: 12.5px;
    cursor: pointer;
    transition: .25s;
    flex: 0 1 auto;
    max-width: 100%;
}

.ct-radio:hover,
.ct-checkbox:hover {
    border-color: rgba(79, 246, 255, .35);
}

.ct-radio input,
.ct-checkbox input {
    accent-color: var(--cyan);
    width: 14px;
    height: 14px;
}

.ct-radio:has(input:checked),
.ct-checkbox:has(input:checked) {
    border-color: var(--cyan);
    background: rgba(79, 246, 255, .08);
    color: white;
}

@media(max-width:560px) {

    .ct-radio-group,
    .ct-checkbox-group {
        flex-direction: column;
        gap: 8px;
    }

    .ct-radio,
    .ct-checkbox {
        width: 100%;
        border-radius: 12px;
    }

}
/*----- honeypot (hidden from real users) -----*/

.ct-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/*----- file dropzone -----*/

.ct-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 36px 20px;
    border-radius: 16px;
    border: 1.5px dashed rgba(79, 246, 255, .3);
    background: rgba(255, 255, 255, .02);
    text-align: center;
    cursor: pointer;
    transition: .3s;
    position: relative;
}

.ct-dropzone:hover,
.ct-dropzone.ct-dragover {
    border-color: var(--cyan);
    background: rgba(79, 246, 255, .05);
}

.ct-dropzone-icon {
    font-size: 24px;
    color: var(--cyan);
}

.ct-dropzone-text {
    color: #9FB1C2;
    font-size: 13.5px;
}

.ct-dropzone-filename {
    color: var(--cyan);
    font-size: 12.5px;
    font-family: 'Orbitron', sans-serif;
}

.ct-dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/*----- submit -----*/

.ct-submit-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 10px;
}

.ct-submit-btn {
    width: 100%;
    max-width: 420px;
}

.ct-form.disabled {
    opacity: .6;
    pointer-events: none;
}

.ct-status {
    display: none;
    font-size: 13.5px;
    text-align: center;
}

/*----- smart configurator panel -----*/

.ct-configurator {
    position: sticky;
    top: 120px;
}

.ct-configurator-inner {
    padding: 28px 26px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(79, 246, 255, .18);
    box-shadow: 0 25px 60px rgba(66, 165, 255, .1);
}

.ct-configurator-inner h3 {
    margin-top: 14px;
    font-size: 19px;
}

.ct-configurator-sub {
    margin-top: 8px;
    color: #7F93A6;
    font-size: 12px;
    line-height: 1.6;
}

.ct-config-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.ct-config-row span {
    color: #8DA4B8;
    font-size: 10.5px;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.ct-config-row b {
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-size: 14.5px;
}

.ct-config-accessories {
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.ct-config-accessories>span {
    display: block;
    color: #8DA4B8;
    font-size: 10.5px;
    letter-spacing: .8px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ct-config-accessories ul {
    list-style: none;
    padding: 0;
}

.ct-config-accessories ul li {
    color: #D3DEE8;
    font-size: 13px;
    padding: 3px 0 3px 20px;
    position: relative;
}

.ct-config-accessories ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-size: 10.5px;
}

.ct-config-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .06);
    font-family: 'Orbitron', sans-serif;
    font-size: 11.5px;
    letter-spacing: .5px;
    color: #9FB1C2;
}

.ct-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #7F93A6;
    transition: .3s;
}

.ct-status-dot.ct-status-ready {
    background: var(--cyan);
    box-shadow: 0 0 10px rgba(79, 246, 255, .8);
    animation: ct-pulse 2s ease-in-out infinite;
}

@media(max-width:1000px) {
    .ct-form-layout {
        grid-template-columns: 1fr;
    }

    .ct-configurator {
        position: static;
        order: -1;
    }
}

@media(max-width:640px) {
    .ct-field-grid {
        grid-template-columns: 1fr;
    }
}

/*---------- 12. ENGINEERING WORKFLOW (reuses pr-flow visual language) ----------*/

.ct-flow {
    max-width: 620px;
    margin: clamp(50px, 8vw, 80px) auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ct-flow-step {
    width: 100%;
    padding: 20px 26px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(79, 246, 255, .15);
    transition: .35s;
    display: flex;
    align-items: center;
    gap: 18px;
}

.ct-flow-step:hover {
    border-color: rgba(79, 246, 255, .4);
    box-shadow: 0 10px 30px rgba(66, 165, 255, .12);
}

.ct-flow-index {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    background: linear-gradient(135deg, rgba(66, 165, 255, .25), rgba(79, 246, 255, .12));
    color: var(--cyan);
}

.ct-flow-text b {
    display: block;
    color: white;
    font-size: 15px;
    margin-bottom: 3px;
}

.ct-flow-text span {
    color: #9FB1C2;
    font-size: 13.5px;
    line-height: 1.6;
}

.ct-flow-arrow {
    width: 2px;
    height: 30px;
    margin: 3px auto;
    background: linear-gradient(180deg, rgba(79, 246, 255, .5), rgba(79, 246, 255, .1));
    position: relative;
}

.ct-flow-arrow::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid rgba(79, 246, 255, .6);
}

@media(max-width:600px) {
    .ct-flow-step {
        flex-direction: column;
        text-align: center;
    }
}

/*---------- 13. WHY CHOOSE US ----------*/

.ct-why-grid {
    max-width: 1100px;
    margin: clamp(50px, 8vw, 80px) auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.ct-why-card {
    padding: 26px 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(79, 246, 255, .1);
    transition: .35s;
}

.ct-why-card:hover {
    border-color: rgba(79, 246, 255, .3);
    transform: translateY(-5px);
}

.ct-why-card h3 {
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--cyan);
}

.ct-why-card p {
    color: #9FB1C2;
    font-size: 13px;
    line-height: 1.7;
}

@media(max-width:900px) {
    .ct-why-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:560px) {
    .ct-why-grid {
        grid-template-columns: 1fr;
    }
}

/*---------- 14. DOWNLOAD CENTER ----------*/

.ct-download-grid {
    max-width: 1100px;
    margin: clamp(40px, 6vw, 60px) auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ct-download-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(79, 246, 255, .1);
    color: #D3DEE8;
    font-size: 13.5px;
    transition: .3s;
}

.ct-download-card span {
    font-size: 18px;
}

.ct-download-card:hover {
    border-color: rgba(79, 246, 255, .35);
    background: rgba(79, 246, 255, .04);
    transform: translateY(-3px);
}

@media(max-width:800px) {
    .ct-download-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:520px) {
    .ct-download-grid {
        grid-template-columns: 1fr;
    }
}

/*---------- 15. FAQ ACCORDION ----------*/

.ct-faq-list {
    max-width: 800px;
    margin: clamp(50px, 8vw, 80px) auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ct-faq-item {
    border-radius: 14px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(79, 246, 255, .1);
    overflow: hidden;
    transition: border-color .3s;
}

.ct-faq-item.ct-faq-open {
    border-color: rgba(79, 246, 255, .35);
}

.ct-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
}

.ct-faq-toggle {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 246, 255, .08);
    border: 1px solid rgba(79, 246, 255, .25);
    color: var(--cyan);
    font-size: 15px;
    transition: transform .3s;
}

.ct-faq-item.ct-faq-open .ct-faq-toggle {
    transform: rotate(45deg);
}

.ct-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.ct-faq-answer p {
    padding: 0 24px 20px;
    color: #9FB1C2;
    font-size: 13.5px;
    line-height: 1.8;
}

/*---------- 16. CONTACT INFORMATION ----------*/

.ct-dept-grid {
    max-width: 1000px;
    margin: clamp(50px, 8vw, 80px) auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ct-dept-card {
    padding: 26px 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(79, 246, 255, .1);
}

.ct-dept-card h3 {
    font-size: 15.5px;
    margin-bottom: 14px;
    color: var(--cyan);
}

.ct-dept-card ul {
    list-style: none;
    padding: 0;
}

.ct-dept-card ul li {
    color: #9FB1C2;
    font-size: 13px;
    padding: 4px 0;
}

.ct-hours {
    max-width: 600px;
    margin: 40px auto 0;
    padding: 24px 28px;
    border-radius: 18px;
    background: rgba(79, 246, 255, .05);
    border: 1px solid rgba(79, 246, 255, .18);
    text-align: center;
}

.ct-hours-label {
    display: block;
    color: #7F93A6;
    font-size: 11px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ct-hours b {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 15px;
    color: white;
}

.ct-hours-note {
    display: block;
    margin-top: 10px;
    color: #8DA4B8;
    font-size: 12.5px;
}

@media(max-width:800px) {
    .ct-dept-grid {
        grid-template-columns: 1fr;
    }
}

/*---------- SCROLL REVEAL ----------*/

.ct-support-card,
.ct-region-card,
.ct-flow-step,
.ct-why-card,
.ct-download-card,
.ct-faq-item,
.ct-dept-card {

    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;

}

.ct-support-card.in-view,
.ct-region-card.in-view,
.ct-flow-step.in-view,
.ct-why-card.in-view,
.ct-download-card.in-view,
.ct-faq-item.in-view,
.ct-dept-card.in-view {

    opacity: 1;
    transform: translateY(0);

}

/*---------- RESPONSIVE FIXES ----------*/

@media(max-width:480px) {

    .ct-hero,
    .ct-section {
        padding-left: 5%;
        padding-right: 5%;
    }
}