:root {
    color-scheme: light !important;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

a.text-decoration-none:hover,
a.text-decoration-none:focus {
    text-decoration: underline;
}
.display-7 {
    font-size: calc(1.1rem + 1.1vw);
    font-weight: 300;
    line-height: 1.2;
}

.custom-link {
    color: inherit; /* matches surrounding text */
    text-decoration: none;
    color: #df6706;
    font-weight: 500;
}

    .custom-link:hover,
    .custom-link:focus {
        text-decoration: underline;
        color: var(--bs-primary); /* shifts to brand color on interaction */
    }

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
}


/*Begin SyncFusion*/
.e-input-group, .e-input-group.e-control-wrapper {
    background: #ffffff !important;
    border-radius: 5px !important;
    border: 1px solid #ccc !important;
    padding: 2px 8px !important;
}

    /* Ensure the actual input text is dark and readable */
    .e-input,
    .e-input-group input,
    .e-input-group textarea {
        color: #000 !important;
    }




    .e-input-group.e-input-focus {
        border-color: #0078d4 !important; /* Microsoft blue */
        box-shadow: 0 0 0 2px rgba(0,120,212,0.25) !important;
    }

.e-float-text {
    padding-left: 10px !important;
}

.e-label-top {
    font-size: 14px !important;
    color: #FFF !important;
}


/* Hide until initialized */
.e-control-wrapper {
    opacity: 0;
    transition: opacity 0.18s ease;
}

    /* Reveal when Syncfusion has finished building the wrapper */
    .e-control-wrapper.e-input-group {
        opacity: 1;
    }




/*End SyncFusion*/
.fullbody,
.body-content,
.container {
    overflow: visible !important;
}
.mt-desktop {
    margin-top: 60px;
}
/* --- LOGO ---*/
.hc-logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-block; /* ensures the whole logo is clickable */
}

.hc-logo-block {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    line-height: 1;
    padding: 6px 0;
    width: fit-content;
    margin-left: 40px;
}

.logo-top {
    font-family: "Times New Roman", serif;
    font-size: 16pt;
    letter-spacing: 0.59em;
    line-height: .95;
    text-align: center;
    margin: 0;
    padding: 0;
}

.logo-line {
    width: 98%;
    height: 1px;
    background: #fff;
    margin: 2px 0;
    opacity: 0.85;
}

.logo-bottom {
    font-family: microsoft_yi_baitiregular;
    font-size: 12pt;
    letter-spacing: 0.17em;
    line-height: .8;
    margin: 0;
    padding: 0;
    text-align: center !important;
}
/* --- FIXED NAV BAR --- */
header {
    overflow: visible;
}
/* --- HERO --- */

.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%; /* matches your original background-position */
    z-index: -2;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.30) 100%);
    z-index: -1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    padding-top: 0;
}

.hero-section h1 {
    font-size: 3.4rem;
    line-height: 1.15;
}

.heropanel {
    background: rgba(0,0,0,0.22);
    border-radius: 14px;
    padding: 3rem 3rem;
    backdrop-filter: blur(1px);
}

section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

p.lead {
    /*max-width: 700px;*/
}

.bg-light .col-md-4 {
    padding: 1rem 0;
}

section p.lead {
    font-weight: 500;
    letter-spacing: 0.5px;
}

.btn-lg {
    padding: 1rem 2.6rem;
    font-size: 1.15rem;
}

.bg-light {
    background-color: #f8f9fa;
}

.lead.text-center {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18pt
}

.width-300 {
    max-width: 300px;
}

.page-placeholder {
    padding: 40px;
    font-size: 1.2rem;
    opacity: 0.7;
}

.footer-area {
    background: #363839;
    padding: 8px 0 4px;
    color: #C3C3C3;
    font-size: 0.95rem;
}
/* Phone + copyright */
.telebanner {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 44px;
}

.copybanner {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 4px;
}
/* Footer links */
.footer-area a {
    text-decoration: none;
    color: #C3C3C3;
    text-shadow: 1px 2px 1px #000;
    transition: color 0.2s ease;
}

    .footer-area a:hover {
        color: #FFF;
    }

.footer-area ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .footer-area ul li {
        margin-bottom: 2px;
    }

        .footer-area ul li a {
            padding: 4px 0;
        }

.footerleft, .footercenter, .footerright {
    padding-top: 0;
    padding-bottom: 5px;
}


.about-hero {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
}

    .about-hero .hero-bg-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        z-index: -2;
    }
    /* 2. Gradient overlay (top darker, bottom lighter) */
    .about-hero .overlay {
        position: absolute;
        /*
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        */
        inset: 0;
        background: linear-gradient( rgba(0, 0, 0, 0.55) 0%, /* top */
        rgba(0, 0, 0, 0.35) 40%, /* mid */
        rgba(0, 0, 0, 0.15) 70%, /* lower */
        rgba(0, 0, 0, 0.00) 100% /* bottom fade */
        );
        z-index: -1;
    }
    /* 3. Ensure hero text stays above overlays */
    .about-hero .hero-content {
        position: relative;
        z-index: 2;
    }

.we-section {
    display: flex;
    /*align-items: center;*/
    justify-content: space-between;
    gap: 1rem;
    /*margin: 4rem 0;*/
    margin-bottom: 1.6rem;
}

.we-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}


.we-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

    .we-list li {
        margin-bottom: 0.75rem;
        font-size: 1.02rem;
        line-height: 1.6;
    }

.we-image {
    align-self: flex-start;
    margin-top: auto;
    padding-bottom: 20px;
}

    .we-image img {
        width: 75%;
        height: auto;
        max-width: 420px;
        transform: translateY(2px);
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
/* -----------------------------------------------------------
   CONTACT PAGE — FORM CARD
----------------------------------------------------------- */
/* Contact HERO */
.contact-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

    .contact-hero .hero-bg-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        z-index: -2;
    }

    .contact-hero .overlay {
        position: absolute;
        /*
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        */
        inset: 0;
        background: rgba(0,0,0,0.15);
        backdrop-filter: blur(0px);
        z-index: -1;
    }
/* SIDE-BY-SIDE PANEL LAYOUT */
.contact-panels {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    max-width: 1100px;
    z-index: 2;
}
/* EXPANDABLE PANEL */
.expander {
    border-bottom: 1px solid rgba(255,255,255,0.25);
    padding-bottom: 10px;
    position: relative;
}

.expander-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 6px 0;
}

.chevron {
    transition: transform 0.25s ease;
    font-size: 1.2rem;
    margin-left: 20px;
}

.expander.open .chevron {
    transform: rotate(180deg);
}

.expander-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding-left: 4px;
    transform-origin: top;
}

.expander.open .expander-content {
    max-height: 500px; /* plenty of room */
}
/* Checkbox list styling */
.hc-accordion-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

    .hc-accordion-list li {
        padding: 8px 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        color: #fff;
    }

        .hc-accordion-list li:last-child {
            border-bottom: none;
        }

    .hc-accordion-list input[type="checkbox"] {
        margin-right: 8px;
    }

    .hc-accordion-list.databases {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 16px;
    }
/* PANEL CARDS */
.contact-panel-card {
    background: rgb(9,93,146,0.4);
    border-radius: 3px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 8px 28px rgba(0,0,0,0.35);
    display: block;
    height: auto;
}
/* CHECKBOX LIST */
.hc-accordion-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

    .hc-accordion-list li {
        padding: 8px 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        color: #fff;
    }

        .hc-accordion-list li:last-child {
            border-bottom: none;
        }

    .hc-accordion-list input[type="checkbox"] {
        margin-right: 8px;
    }

#message + .e-input-group.e-control-wrapper {
    width: 100% !important;
    min-height: 160px !important;
}

    #message + .e-input-group.e-control-wrapper textarea {
        padding: 14px !important;
        font-size: 1rem !important;
        line-height: 1.4 !important;
    }

#message {
    height: 100px !important;
}
/* CAPTCHA */
.captcha-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.captcha-text {
    font-weight: bold;
    color: #fff;
    font-size: 1.1rem;
}

.captcha-box .e-input-group,
.captcha-box .e-input-group.e-control-wrapper {
    max-width: 110px !important;
    min-width: 90px !important;
    flex-shrink: 0;
}

#sendBtn {
    background: #095d92;
}

.text-danger {
    color: rgb(255 0 24) !important;
    font-weight: bolder !important;
}

.sending-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.sending-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

.sending-text {
    margin-top: 16px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.contact-success {
    background: rgba(0, 128, 0, 0.25);
    border: 1px solid rgba(0, 255, 0, 0.35);
    padding: 20px;
    border-radius: 4px;
    color: #d4ffd4;
    font-size: 1.15rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    margin-top: 20px;
}
/* BUTTON */
.hc-btn {
    padding: 12px 28px;
    font-size: 1.1rem;
}
/* -----------------------------------------------------------
   Consulting PAGE 
----------------------------------------------------------- */
.overlay-fullwhite {
    background: rgb(9, 93, 146, 0.68); /* nearly opaque white */
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    color: #FFF;
}

.overlay-text {
    max-width: 700px;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 12px;
}
/* -----------------------------------------------------------
   Development Services Pages
----------------------------------------------------------- */
.bg-light {
    background-color: #f8f9fa !important; /* Bootstrap default */
}

.dev-page-title {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.spectrum-label {
    letter-spacing: 1.9px;
    margin: 0 0 6px 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #222;
    text-align: center;
}

.spectrum {
    display: flex;
    gap: 0;
    margin-bottom: 2px;
}

.dev-tag {
    flex: 1;
    padding: 10px 0;
    text-align: center;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: font-weight .2s ease;
    border-radius: 0;
}
    /* Hover effect for non-active links */
    .dev-tag:not(.active):hover {
        font-weight: 650;
    }
    /* Active page */
    .dev-tag.active {
        /*font-weight: 900;*/
        font-size:23px;
        text-shadow: 1px 5px 4px rgb(103 103 103 / 86%);
        cursor: default;
        letter-spacing: 0.7px;
    }

    /* Box 1 — Web */
    .dev-tag.web {
        background: linear-gradient(to right,#FFF 0%, #E74C3C 4%, #E74C3C 96%, #E95F2E 100% );
    }
    /* Box 2 — Desktop */
    .dev-tag.desktop {
        background: linear-gradient(to right, #E95F2E 0%, #E67E22 4%, #E67E22 96%, #EFAF1A 100% );
    }
    /* Box 3 — Mobile */
    .dev-tag.mobile {
        background: linear-gradient(to right, #EFAF1A 0%, #F1C40F 4%, #F1C40F 96%, #89D235 100% );
        color: #000;
    }
    /* Box 4 — IoT */
    .dev-tag.iot {
        background: linear-gradient(to right, #89D235 0%, #27AE60 4%, #27AE60 96%, #2FB48E 100% );
    }
    /* Box 5 — API */
    .dev-tag.api {
        background: linear-gradient(to right, #2FB48E 0%, #2980B9 4%, #2980B9 96%,#FFF 100% );
    }
.terminal img {
    background: #c7cdd3;
    padding: 10px;
    border-radius: 8px;
}
/* DESKTOP */
@media (min-width: 769px) {
    html {
        font-size: 16px;
    }
}
/* MOBILE */
@media (max-width: 900px) {
    .we-section {
        flex-direction: column;
        gap: 2rem;
    }

    .we-image {
        order: -1; /* optional: move image above text on mobile */
    }
}

@media (max-width: 768px) {
    .mt-desktop {
        margin-top: 0;
    }
    .lead.text-center {
        font-size: 15pt;
    }
    .btn-lg {
        padding: 1rem 2.6rem;
        font-size: 1.25rem;
    }
    .hero-section {
        height: 100vh;
        position: relative;
        overflow: hidden;
    }

    .hero-bg-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 22%; /* matches your original background-position */
        z-index: -2;
    }
    /* Keep your gradient overlay */
    .hero-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.30) 100%);
        z-index: -1;
    }

    .hero-section h1 {
        font-size: 1.9rem !important;
        line-height: 1.25 !important;
    }

    .hero-section .lead {
        font-size: 1.05rem !important;
        line-height: 1.45 !important;
    }

    .hero-section .fs-5 {
        font-size: 1rem !important;
        line-height: 1.45 !important;
    }

    .heropanel {
        padding: 2rem 3rem !important;
    }
    /* Footer Start */
    .footer-area {
        padding: 6px 0 !important;
    }

    .telebanner {
        margin-bottom: 0px;
    }

    .copybanner {
        margin-bottom: 0 !important;
    }

    .footer-area ul li a {
        padding: 2px 0 !important;
    }

    .footerleft, .footerright {
        padding-top: 10px !important;
    }

    .footercenter {
        display: none;
    }
    /*Footer End */
    .about-hero {
        height: 300px;
        background-attachment: scroll; /* disable parallax for mobile */
    }

    .contact-hero {
        height: auto !important;
        padding-bottom: 10px !important;
    }
    /* Collapse the bottom of the panel stack */
    .contact-panels {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
    }

    .contact-panel-card {
        width: 100% !important;
        /* Reduce the Syncfusion textarea wrapper height */
        #message + .e-input-group.e-control-wrapper {
            min-height: 110px !important;
        }
    }
    /* Development Begin*/
    .spectrum-label {
        line-height: 13px;
    }
    .dev-tag.active {
    font-size:16px;}
    /* Development End*/
}
