/* =============================================
   Up Hi Tech - Custom Styles
   ============================================= */

/* Brand Colors */
:root {
    --uht-primary: #0054ff;
    --uht-primary-dark: #0040cc;
    --uht-secondary: #00c4ff;
    --uht-dark: #0a1628;
    --uht-gray: #f4f7fb;
    --uht-text: #4a5568;
    --uht-white: #ffffff;
}

/* Logo text styling for when no SVG logo is used */
.header-logo a.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--uht-primary);
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.header-logo a.logo-text span {
    color: var(--uht-secondary);
}

/* Preloader logo text styling */
#preloader .loader .logo-text {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.5px;
    text-align: center;
}

#preloader .loader .logo-text span {
    color: var(--uht-secondary);
}

#preloader .loader .logo-text.dark {
    color: var(--uht-white);
}

#preloader .loader .logo-text.dark span {
    color: var(--uht-secondary);
}

/* Appointment Page Styles */
.appointment-sec {
    padding: 80px 0;
}

.appointment-form-wrapper {
    background: var(--uht-white);
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.appointment-form-wrapper h4.title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--uht-dark);
}

.appointment-form-wrapper > p {
    color: var(--uht-text);
    margin-bottom: 32px;
}

.appointment-form .form-group {
    margin-bottom: 24px;
}

.appointment-form .form-group label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
    color: var(--uht-dark);
}

.appointment-form .form-group input,
.appointment-form .form-group select,
.appointment-form .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
    background: #f8fafc;
    color: #1a202c;
}

.appointment-form .form-group input:focus,
.appointment-form .form-group select:focus,
.appointment-form .form-group textarea:focus {
    outline: none;
    border-color: var(--uht-primary);
    box-shadow: 0 0 0 3px rgba(0, 84, 255, 0.1);
}

.appointment-form .form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.appointment-form .form-row {
    display: flex;
    gap: 20px;
}

.appointment-form .form-row .form-group {
    flex: 1;
}

.appointment-sidebar {
    background: linear-gradient(135deg, var(--uht-dark) 0%, #162040 100%);
    border-radius: 16px;
    padding: 40px;
    color: var(--uht-white);
    height: 100%;
}

.appointment-sidebar h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--uht-white);
}

.appointment-sidebar > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    line-height: 1.7;
}

.sidebar-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.sidebar-info-item .info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(0, 84, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-info-item .info-icon svg {
    width: 22px;
    height: 22px;
    color: var(--uht-secondary);
}

.sidebar-info-item .info-text h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--uht-white);
}

.sidebar-info-item .info-text p,
.sidebar-info-item .info-text a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-decoration: none;
    margin: 0;
}

.sidebar-info-item .info-text a:hover {
    color: var(--uht-secondary);
}

/* Service detail cards */
.service-detail-card {
    background: var(--uht-white);
    border-radius: 16px;
    padding: 36px;
    height: 100%;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #edf2f7;
}

.service-detail-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 84, 255, 0.12);
    border-color: rgba(0, 84, 255, 0.2);
}

.service-detail-card .service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(0, 84, 255, 0.1), rgba(0, 196, 255, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-detail-card .service-icon svg {
    width: 30px;
    height: 30px;
    color: var(--uht-primary);
}

.service-detail-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--uht-dark);
}

.service-detail-card p {
    color: var(--uht-text);
    line-height: 1.7;
    margin-bottom: 0;
}

/* About page values section */
.value-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--uht-white);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
}

.value-card .value-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(0, 84, 255, 0.1), rgba(0, 196, 255, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-card .value-icon svg {
    width: 32px;
    height: 32px;
    color: var(--uht-primary);
}

.value-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--uht-dark);
}

.value-card p {
    color: var(--uht-text);
    line-height: 1.7;
}

/* Timeline / Story section */
.story-timeline {
    position: relative;
    padding-left: 40px;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--uht-primary), var(--uht-secondary));
}

.story-item {
    position: relative;
    margin-bottom: 40px;
}

.story-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--uht-primary);
    border-radius: 50%;
    border: 3px solid var(--uht-white);
    box-shadow: 0 0 0 3px var(--uht-primary);
}

.story-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--uht-dark);
    margin-bottom: 8px;
}

.story-item p {
    color: var(--uht-text);
    line-height: 1.7;
}

/* Stats counter boxes */
.stat-box {
    text-align: center;
    padding: 30px 20px;
}

.stat-box .stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--uht-primary);
    line-height: 1;
    margin-bottom: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.stat-box .stat-label {
    font-size: 15px;
    color: var(--uht-text);
    font-weight: 500;
}

/* Quick info cards on contact page */
.quick-info-card {
    background: var(--uht-white);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: transform 0.3s ease;
}

.quick-info-card:hover {
    transform: translateY(-4px);
}

.quick-info-card .qi-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(0, 84, 255, 0.1), rgba(0, 196, 255, 0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-info-card .qi-icon svg {
    width: 26px;
    height: 26px;
    color: var(--uht-primary);
}

.quick-info-card h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--uht-dark);
}

.quick-info-card p,
.quick-info-card a {
    color: var(--uht-text);
    text-decoration: none;
    font-size: 15px;
}

.quick-info-card a:hover {
    color: var(--uht-primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .appointment-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .appointment-form-wrapper {
        padding: 28px 20px;
    }

    .appointment-sidebar {
        margin-top: 30px;
        padding: 28px 20px;
    }

    .stat-box .stat-number {
        font-size: 36px;
    }
}

/* =============================================
   Up Hi Tech editorial refresh
   A calmer, more specific visual system for the public site.
   ============================================= */
:root {
    --uht-ink: #251047;
    --uht-ink-soft: #442573;
    --uht-paper: #fcfaff;
    --uht-line: #eadff4;
    --uht-cyan: #43baff;
    --uht-cyan-dark: #2864d6;
    --uht-purple: #7a2da9;
    --uht-magenta: #e91cff;
}

body.it-solution {
    background: var(--uht-paper);
    color: var(--uht-ink-soft);
}

body.it-solution .carousel-container {
    max-width: 1220px;
}

body.it-solution .header-main {
    background: var(--uht-paper);
    border-bottom: 1px solid var(--uht-line);
    position: relative;
    z-index: 10;
}

body.it-solution .header-bottom {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 24px 0;
}

body.it-solution .header-main.sticky .header-bottom {
    background: transparent;
    box-shadow: none;
}

body.it-solution #darkModeBtn { display: none; }

body.it-solution .header-logo .logo-brand {
    display: block;
    line-height: 0;
    width: 142px;
}

body.it-solution .header-logo .logo-brand img {
    display: block;
    height: auto;
    width: 100%;
}

body.it-solution .main-menu11 ul { gap: 34px; }
body.it-solution .main-menu11 ul li a {
    color: var(--uht-ink-soft);
    font-size: 14px;
    font-weight: 650;
    letter-spacing: .01em;
}
body.it-solution .main-menu11 ul li a:hover { color: var(--uht-cyan-dark); }
body.it-solution .search-btn { display: none; }
body.it-solution .sign-btn.menu-btn {
    background: var(--uht-purple);
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    letter-spacing: .02em;
    padding: 13px 20px;
}
body.it-solution .sign-btn.menu-btn:hover { background: var(--uht-magenta); }

body.it-solution .main-sec {
    background: linear-gradient(115deg, #2a0d53 0%, #4d1684 52%, #1f55b7 100%);
    overflow: hidden;
    position: relative;
}
body.it-solution .main-sec::before {
    background: radial-gradient(circle, rgba(67, 186, 255, .34), transparent 66%);
    content: '';
    height: 620px;
    position: absolute;
    right: -140px;
    top: -190px;
    width: 620px;
}
body.it-solution .hero-style1 { padding: 94px 0 80px; }
body.it-solution .hero-content .sub-title,
body.it-solution .sec-title .sub-title {
    color: var(--uht-cyan-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
}
body.it-solution .main-sec .hero-content .sub-title { color: var(--uht-cyan); }
body.it-solution .hero-content .title {
    color: #fff;
    font-size: clamp(52px, 7vw, 94px);
    letter-spacing: -.065em;
    line-height: .96;
    margin-top: 20px;
    max-width: 760px;
}
body.it-solution .hero-content .title span { color: #f391ff; }
body.it-solution .hero-content-info { padding: 74px 0 0 28px; }
body.it-solution .hero-content-info p {
    color: #b7cad7;
    font-size: 17px;
    line-height: 1.75;
    max-width: 430px;
}
body.it-solution .hero-btn { gap: 12px; }
body.it-solution .btn-style1 {
    align-items: center;
    background: linear-gradient(100deg, var(--uht-magenta), var(--uht-cyan));
    border-radius: 4px;
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    gap: 16px;
    letter-spacing: .01em;
    padding: 15px 18px;
}
body.it-solution .btn-style1 span { background: transparent; }
body.it-solution .btn-style1.v2 {
    background: transparent;
    border: 1px solid rgba(255,255,255,.32);
    color: #fff;
}
body.it-solution .btn-style1.v2:hover { border-color: #f391ff; color: #f391ff; }
body.it-solution .hero-img {
    border-top: 1px solid rgba(255,255,255,.16);
    margin-top: 80px;
    padding-top: 28px;
}
body.it-solution .hero-img::before {
    color: rgba(255,255,255,.42);
    content: '01 / A steadier way to work';
    display: block;
    font-size: 11px;
    letter-spacing: .13em;
    margin-bottom: 18px;
    text-transform: uppercase;
}
body.it-solution .hero-img .hero-photo {
    border-radius: 8px;
    display: block;
    height: 460px;
    object-fit: cover;
    object-position: center;
    width: 100%;
}
body.it-solution .marquee-style1 { background: linear-gradient(90deg, var(--uht-magenta), var(--uht-cyan)); }
body.it-solution .marquee-style1 span { color: #fff; font-weight: 800; }

body.it-solution .space { padding: 116px 0; }
body.it-solution .sec-title .title {
    color: var(--uht-ink);
    font-size: clamp(34px, 4vw, 56px);
    letter-spacing: -.045em;
    line-height: 1.05;
}
body.it-solution .sec-title .title span { color: var(--uht-purple); }
body.it-solution .about-us-sec { background: #fff; }
body.it-solution .about-info { position: relative; }
body.it-solution .about-content { max-width: 720px; }
body.it-solution .about-img img {
    aspect-ratio: 1 / 1;
    filter: saturate(.9);
    object-fit: cover;
    object-position: right center;
}

body.it-solution .service-sec { background: #fff; padding-bottom: 116px; }
body.it-solution .service-sec .row { border-top: 1px solid var(--uht-line); }
body.it-solution .ser-block {
    border-right: 1px solid var(--uht-line);
    min-height: 230px;
    padding: 34px 26px 20px 0;
}
body.it-solution .ser-block img { height: 42px; margin-bottom: 26px; }
body.it-solution .ser-block .title { color: var(--uht-ink); font-size: 20px; letter-spacing: -.02em; }
body.it-solution .ser-block p { color: #63788a; font-size: 14px; line-height: 1.65; }

body.it-solution .choose-us-sec { background: var(--uht-paper); }
body.it-solution .choose-block,
body.it-solution .ser-info2 {
    background: #fff;
    border: 1px solid var(--uht-line);
    border-radius: 4px;
    box-shadow: none;
}
body.it-solution .choose-img { display: none; }
body.it-solution .choose-block { padding: 38px 36px; }
body.it-solution .choose-content { padding: 0; }

/* The original template's process ornament is a gray placeholder asset. */
body.it-solution .process-info::before { display: none; }
body.it-solution .choose-block:hover,
body.it-solution .ser-info2:hover { box-shadow: 0 16px 34px rgba(8,26,45,.08); transform: translateY(-4px); }
body.it-solution .choose-content .title,
body.it-solution .ser-block-content .title { color: var(--uht-ink); }
body.it-solution .choose-content p,
body.it-solution .ser-block-content p { color: #63788a; }
body.it-solution .service-sec2 { background: #fff; padding-top: 116px; }
body.it-solution .ser-info2 { height: 100%; padding: 28px; }
body.it-solution .ser-icon2 { background: #e7f8f8; border-radius: 50%; }
body.it-solution .service-sec2 .btn-style1 { background: transparent; color: var(--uht-cyan-dark); padding: 8px 0; }

body.it-solution .testimonial-sec { background: var(--uht-ink); }
body.it-solution .testimonial-sec .sec-title .title,
body.it-solution .testimonial-sec .testi-content p,
body.it-solution .testimonial-sec .testi-auther .name { color: #fff; }
body.it-solution .testimonial-sec .sub-title { color: var(--uht-cyan); }
body.it-solution .testi-card { border-color: rgba(255,255,255,.18); }
body.it-solution .testi-card > img { display: none; }
body.it-solution .testi-content { padding-left: 0; }
body.it-solution .testi-content::before {
    color: var(--uht-cyan);
    content: '“';
    display: block;
    font-family: Georgia, serif;
    font-size: 72px;
    height: 54px;
    line-height: 1;
}
body.it-solution .main-sec2 { background: var(--uht-cyan); }
body.it-solution .main-sec2 .marquee-style2 { background: transparent; }
body.it-solution .footer-style1 { background: #fff; }
body.it-solution .footer-style1 .title { color: var(--uht-ink); }

body.it-solution .main-sec3 .page-banner-img > img {
    border-radius: 8px;
    display: block;
    height: 440px;
    object-fit: cover;
    object-position: right center;
    width: 100%;
}

/* Inner pages share the homepage's purple, blue, and cyan brand field. */
body.it-solution .main-sec3 {
    background: var(--uht-paper);
}

body.it-solution .main-sec3 .page-banner {
    background: linear-gradient(115deg, #2a0d53 0%, #4d1684 52%, #1f55b7 100%);
    overflow: hidden;
}

body.it-solution .main-sec3 .page-banner::before {
    background: radial-gradient(circle at 82% 18%, rgba(67, 186, 255, .34), transparent 32%),
                radial-gradient(circle at 18% 88%, rgba(233, 28, 255, .28), transparent 34%);
    height: 100%;
    z-index: 0;
}

body.it-solution .main-sec3 .page-banner::after { display: none; }
body.it-solution .main-sec3 .page-banner-info { z-index: 1; }
body.it-solution .main-sec3 .page-banner-content .sub-title {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.28);
    color: var(--uht-cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
}
body.it-solution .main-sec3 .page-banner-content .title { color: #fff; }
body.it-solution .main-sec3 .page-banner-content .title span { color: #f391ff; }
body.it-solution .main-sec3 .marquee-style1 {
    margin-top: 0;
    z-index: 1;
}

@media (max-width: 767px) {
    body.it-solution .hero-style1 { padding: 68px 0 56px; }
    body.it-solution .hero-content .title { font-size: 54px; }
    body.it-solution .hero-content-info { padding: 34px 0 0; }
    body.it-solution .hero-img { margin-top: 54px; }
    body.it-solution .hero-img .hero-photo { height: 280px; }
    body.it-solution .main-sec3 .page-banner-img > img { height: 260px; }
    body.it-solution .ser-block { border-bottom: 1px solid var(--uht-line); border-right: 0; min-height: 0; padding: 28px 0; }
    body.it-solution .space { padding: 76px 0; }
}

/* Contact confirmation page */
body.it-solution .thank-you-main {
    align-items: center;
    background: linear-gradient(115deg, #2a0d53 0%, #4d1684 52%, #1f55b7 100%);
    display: flex;
    min-height: 620px;
    padding: 92px 0;
}

body.it-solution .thank-you-panel {
    background: rgba(255,255,255,.97);
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(21, 4, 48, .25);
    margin: 0 auto;
    max-width: 760px;
    padding: 68px 72px;
    text-align: center;
}

body.it-solution .thank-you-mark {
    align-items: center;
    background: linear-gradient(135deg, var(--uht-magenta), var(--uht-cyan));
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: 28px;
    font-weight: 800;
    height: 64px;
    justify-content: center;
    margin-bottom: 26px;
    width: 64px;
}

body.it-solution .thank-you-eyebrow {
    color: var(--uht-cyan-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
    margin-bottom: 12px;
}

body.it-solution .thank-you-panel h1 {
    color: var(--uht-ink);
    font-size: clamp(38px, 5vw, 64px);
    letter-spacing: -.055em;
    line-height: 1;
    margin-bottom: 22px;
}

body.it-solution .thank-you-panel > p:not(.thank-you-eyebrow) {
    color: #63788a;
    font-size: 17px;
    line-height: 1.75;
    margin: 0 auto;
    max-width: 560px;
}

body.it-solution .thank-you-panel > p a { color: var(--uht-purple); font-weight: 800; }
body.it-solution .thank-you-actions { align-items: center; display: flex; gap: 24px; justify-content: center; margin-top: 36px; }
body.it-solution .thank-you-link { color: var(--uht-purple); font-size: 14px; font-weight: 800; }
body.it-solution .thank-you-link:hover { color: var(--uht-magenta); }
body.it-solution .thank-you-footer { background: var(--uht-paper); }

body.it-solution .form-status {
    color: var(--uht-purple);
    font-size: 14px;
    font-weight: 600;
    margin: 14px 0 0;
}

body.it-solution .contact-form button[disabled] {
    cursor: wait;
    opacity: .72;
}

@media (max-width: 767px) {
    body.it-solution .thank-you-main { min-height: 540px; padding: 60px 0; }
    body.it-solution .thank-you-panel { padding: 48px 28px; }
    body.it-solution .thank-you-actions { align-items: stretch; flex-direction: column; gap: 18px; }
}
