/* =========================================================
   EKH GLOMAX TRADING SDN. BHD.
   Dark navy + electric blue theme.
   Spacing is roomier than ibe_it_solution_v2:
   section gap 140px desktop / 108px tablet / 88px phone.
   ========================================================= */

:root {
    --blue: #1677ff;
    --blue-2: #3b9bff;
    --blue-dark: #0a5ee0;
    --cyan: #38b6ff;
    --navy: #061430;
    --navy-2: #0a1f47;
    --navy-3: #0f2a5c;
    --ink: #0a1a3a;
    --ink-2: #2a3a5c;
    --muted: #5b6885;
    --line: #e1e9f6;
    --soft: #f3f7fd;
    --header-height: 84px;
    --section-y: 140px;
    --gutter: 48px;
    --radius: 22px;
    --radius-sm: 14px;
    --shadow: 0 14px 36px rgba(10, 50, 130, 0.08);
    --shadow-hover: 0 22px 48px rgba(10, 50, 130, 0.16);
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (max-width: 1199.98px) {
    :root { --gutter: 32px; }
}

@media (max-width: 991.98px) {
    :root {
        --section-y: 108px;
        --header-height: 74px;
    }
}

@media (max-width: 575.98px) {
    :root {
        --section-y: 88px;
        --gutter: 24px;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    font-family: var(--font);
    color: var(--ink);
    background: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

.container-xxl {
    max-width: calc(1280px + var(--gutter) * 2);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

@media (min-width: 1200px) {
    .gx-xl-6 { --bs-gutter-x: 5rem; }
}

a { text-decoration: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.main { padding-top: var(--header-height); }

.section { padding: var(--section-y) 0 0; }
.section-last { padding-bottom: var(--section-y); }

/* ---------- Type ---------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.eyebrow-line::after {
    content: "";
    width: 36px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.section-title {
    font-weight: 800;
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
    line-height: 1.14;
    letter-spacing: -0.02em;
    margin: 0;
}

.section-lead {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
    margin: 24px 0 0;
    max-width: 620px;
}

.section-head { margin-bottom: 64px; }

.title-lines {
    display: inline-flex;
    align-items: center;
    gap: 32px;
}

.title-lines::before,
.title-lines::after {
    content: "";
    width: 72px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan));
}

.title-lines::after { transform: scaleX(-1); }

@media (max-width: 575.98px) {
    .title-lines { gap: 16px; }
    .title-lines::before, .title-lines::after { width: 28px; }
}

.text-grad {
    background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Buttons ---------- */

.btn-main, .btn-ghost, .btn-white, .btn-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15.5px;
    padding: 0.95rem 1.8rem;
    border-radius: 12px;
    border: 1.5px solid transparent;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-main i.fa-arrow-right, .btn-ghost i.fa-arrow-right, .btn-white i.fa-arrow-right, .link-arrow i {
    font-size: 0.85em;
    transition: transform 0.2s;
}

.btn-main:hover i.fa-arrow-right, .btn-ghost:hover i.fa-arrow-right, .btn-white:hover i.fa-arrow-right, .link-arrow:hover i {
    transform: translateX(4px);
}

.btn-main i.fa-whatsapp, .btn-white i.fa-whatsapp, .btn-ghost i.fa-whatsapp, .btn-quote i { font-size: 1.25em; }

.btn-main {
    background: linear-gradient(135deg, var(--blue-2) 0%, var(--blue-dark) 100%) border-box;
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 26px rgba(22, 119, 255, 0.35);
}

.btn-main:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(22, 119, 255, 0.45);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

.btn-ghost:hover {
    background: #fff;
    border-color: #fff;
    color: var(--navy);
}

.btn-white {
    background: #fff;
    color: var(--navy);
}

.btn-white:hover {
    color: var(--blue);
    transform: translateY(-2px);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--blue);
    font-weight: 700;
    font-size: 15.5px;
}

.link-arrow:hover { color: var(--blue-dark); }

/* ---------- Header ---------- */

#header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-height);
    background: rgba(6, 20, 48, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1030;
    transition: box-shadow 0.25s, background 0.25s;
}

#header.is-scrolled {
    background: rgba(6, 20, 48, 0.98);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.header-inner {
    height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand img {
    width: auto;
    height: 50px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 44px;
    margin-left: auto;
}

.nav-link-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 600;
    font-size: 15.5px;
    padding: 30px 0;
    transition: color 0.2s;
}

.nav-link-item i { font-size: 10px; }

.nav-link-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    height: 3px;
    border-radius: 3px;
    background: var(--cyan);
    box-shadow: 0 0 10px rgba(56, 182, 255, 0.8);
    transform: scaleX(0);
    transition: transform 0.2s;
}

.nav-link-item:hover, .nav-link-item.active { color: #fff; }
.nav-link-item.active::after { transform: scaleX(1); }

.btn-quote {
    margin-left: 44px;
    padding: 0.7rem 1.4rem;
    border-color: rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    color: #fff;
    font-size: 15px;
}

.btn-quote:hover { background: #fff; color: var(--navy); }

.btn-menu {
    display: none;
    margin-left: auto;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-menu span {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
}

@media (max-width: 1199.98px) {
    .header-nav { gap: 30px; }
    .btn-quote { margin-left: 28px; }
}

@media (max-width: 991.98px) {
    .header-nav, .btn-quote { display: none; }
    .btn-menu { display: inline-flex; }
    .brand img { height: 42px; }
}

/* ---------- Full-screen mobile menu ---------- */

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    padding: 0 var(--gutter) 32px;
    background:
        radial-gradient(circle at 100% 0%, rgba(22, 119, 255, 0.35), transparent 45%),
        radial-gradient(circle at 0% 100%, rgba(56, 182, 255, 0.18), transparent 50%),
        var(--navy);
    color: #fff;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu.is-open { opacity: 1; visibility: visible; }

.mobile-menu-top {
    height: var(--header-height);
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-close-menu {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 22px;
}

.mobile-menu > * { position: relative; }

.m-label {
    display: block;
    margin: 28px 0 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.mobile-menu-links {
    display: grid;
    gap: 10px;
    margin-bottom: 32px;
}

.m-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px 14px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity 0.35s, transform 0.35s, background 0.2s, border-color 0.2s;
}

.mobile-menu.is-open .m-link { opacity: 1; transform: none; }
.mobile-menu.is-open .m-link:nth-child(2) { transition-delay: 0.05s; }
.mobile-menu.is-open .m-link:nth-child(3) { transition-delay: 0.1s; }
.mobile-menu.is-open .m-link:nth-child(4) { transition-delay: 0.15s; }

.m-icon {
    flex: 0 0 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(56, 182, 255, 0.12);
    color: var(--cyan);
    font-size: 18px;
}

.m-text { flex: 1; }

.m-arrow {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.2s, color 0.2s;
}

.m-link:hover { border-color: rgba(56, 182, 255, 0.4); background: rgba(56, 182, 255, 0.08); }
.m-link:hover .m-arrow { transform: translateX(4px); color: var(--cyan); }

.m-link.active {
    border-color: transparent;
    background: linear-gradient(90deg, #1677ff, #38b6ff);
    box-shadow: 0 12px 28px rgba(22, 119, 255, 0.4);
}

.m-link.active .m-icon { background: rgba(255, 255, 255, 0.2); color: #fff; }
.m-link.active .m-arrow { color: #fff; }

.mobile-menu-bottom {
    margin-top: auto;
    display: grid;
    gap: 16px;
}

.m-contact-card {
    display: grid;
    gap: 12px;
    padding: 4px 20px 20px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 15, 38, 0.55);
}

.m-contact-card .m-label { margin: 16px 0 2px; }

.m-contact-card a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    word-break: break-all;
}

.m-contact-card i { color: var(--cyan); width: 18px; text-align: center; }

/* ---------- Home hero ---------- */

.hero {
    position: relative;
    background: var(--navy);
    color: #fff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 60% at 75% 55%, rgba(22, 119, 255, 0.45), transparent 70%),
        radial-gradient(ellipse 40% 50% at 100% 0%, rgba(56, 182, 255, 0.22), transparent 70%),
        linear-gradient(180deg, #050f26 0%, #071a3f 100%);
}

.hero-bg::after {
    content: "";
    position: absolute;
    left: 44%;
    right: -18%;
    top: 34%;
    height: 120%;
    border-top: 2px solid rgba(56, 182, 255, 0.55);
    border-radius: 50%;
    filter: drop-shadow(0 0 10px rgba(56, 182, 255, 0.8));
}

.hero-bg::before {
    content: "";
    position: absolute;
    right: -6%;
    top: -20%;
    width: 36%;
    height: 90%;
    border-left: 2px solid rgba(56, 182, 255, 0.35);
    border-radius: 50%;
    transform: rotate(-24deg);
    filter: drop-shadow(0 0 8px rgba(56, 182, 255, 0.6));
}

.hero .container-xxl { position: relative; z-index: 1; }

/* Home hero fills the screen (minus the header) on desktop */
@media (min-width: 992px) {
    .hero {
        display: flex;
        flex-direction: column;
        min-height: calc(100vh - var(--header-height));
        min-height: calc(100svh - var(--header-height));
    }
    .hero > .container-xxl { flex: 1; display: flex; align-items: center; }
    .hero > .container-xxl > .row { width: 100%; min-height: 0 !important; }
    .hero > .hero-strip { flex: 0 0 auto; }
}

.hero > .container-xxl > .row {
    min-height: 620px;
    padding: 64px 0 48px;
}

.hero .eyebrow { color: var(--cyan); }

.hero h1 {
    font-weight: 800;
    font-size: clamp(2.3rem, 3.7vw, 3.3rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 0;
    max-width: 580px;
}

.hero-lead {
    color: rgba(255, 255, 255, 0.82);
    font-size: 17.5px;
    line-height: 1.8;
    margin: 28px 0 0;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 44px;
}

.hero-visual {
    position: relative;
    width: 112%;
    margin-left: -2%;
    padding-top: 150px;
}

.hero-visual img {
    position: relative;
    width: 100%;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.4));
}

.hero-chip {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 96px;
    height: 88px;
    border-radius: 18px;
    border: 1px solid rgba(56, 182, 255, 0.45);
    background: rgba(12, 40, 92, 0.55);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 24px rgba(22, 119, 255, 0.35), inset 0 0 18px rgba(56, 182, 255, 0.12);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    transition: transform 0.2s, border-color 0.2s;
}

.hero-chip i { font-size: 26px; color: #e6f2ff; }
.hero-chip:hover { color: #fff; transform: translateY(-4px); border-color: var(--cyan); }

.chip-laptops { top: 0; left: 26%; }
.chip-monitors { top: 0; left: 64%; }
.chip-desktops { top: 36%; left: 3%; }
.chip-accessories { top: 36%; right: 4%; }

@media (max-width: 1199.98px) {
    .hero-visual { width: 108%; padding-top: 130px; }
}

@media (max-width: 991.98px) {
    .hero-bg::before { display: none; }
    .hero > .container-xxl > .row { min-height: 0; padding: 72px 0 56px; }
    .hero-visual { width: 100%; max-width: 640px; margin: 0 auto; padding-top: 110px; }
}

@media (max-width: 575.98px) {
    .hero-actions > a { width: 100%; }
    .hero-visual { padding-top: 80px; }
    .hero-chip { width: 78px; height: 62px; border-radius: 14px; font-size: 10.5px; gap: 5px; white-space: nowrap; }
    .hero-chip i { font-size: 18px; }
    .chip-laptops { left: 20%; }
    .chip-monitors { left: 58%; }
    .chip-desktops { top: 30%; left: 0; }
    .chip-accessories { top: 30%; right: 0; }
}

.hero-strip {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 15, 38, 0.6);
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 34px 24px;
    height: 100%;
}

.strip-item i { font-size: 28px; color: #cfe6ff; flex: 0 0 34px; text-align: center; }
.strip-item h3 { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.strip-item p { font-size: 13.5px; color: rgba(255, 255, 255, 0.65); margin: 0; }

@media (min-width: 992px) {
    .hero-strip .col-lg-3 + .col-lg-3 .strip-item { border-left: 1px solid rgba(255, 255, 255, 0.1); }
    .hero-strip .col-lg-3:first-child .strip-item { padding-left: 0; }
}

@media (max-width: 991.98px) {
    .hero-bg::after { display: none; }
    .strip-item { padding: 26px 8px; }
    .hero-strip .col-6:nth-child(-n+2) .strip-item { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
}

/* Phone: one clean list, icon on the left, so titles never wrap */
@media (max-width: 575.98px) {
    .hero-strip .row > .col-6 { width: 100%; }
    .strip-item { padding: 20px 0; gap: 18px; }
    .strip-item i { font-size: 24px; flex-basis: 44px; height: 44px; line-height: 44px; border-radius: 12px; background: rgba(56, 182, 255, 0.12); }
    .hero-strip .col-6 .strip-item { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
    .hero-strip .col-6:last-child .strip-item { border-bottom: 0; }
    .strip-item h3 { font-size: 16px; margin: 0 0 2px; }

}

/* ---------- Home products ---------- */

.section-light {
    background: linear-gradient(180deg, #f5f8fd 0%, #fff 100%);
    padding-bottom: var(--section-y);
}

.slant-media {
    position: relative;
    padding: 0 18px 0 34px;
}

.slant-media::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 8%;
    bottom: 8%;
    width: 40%;
    border-radius: 24px;
    background: linear-gradient(160deg, var(--cyan), var(--blue-dark));
    transform: skewX(-8deg);
}

.slant-frame {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    transform: skewX(-6deg);
    box-shadow: var(--shadow-hover);
}

.slant-frame img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    transform: skewX(6deg) scale(1.12);
}

.slant-plain::before { display: none; }
.slant-plain { padding: 0 18px; }

@media (max-width: 575.98px) {
    .slant-media { padding: 0 10px 0 20px; }
    .slant-frame { transform: skewX(-4deg); }
    .slant-frame img { transform: skewX(4deg) scale(1.08); }
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 40px 0 36px;
}

.cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 128px;
    padding: 20px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    box-shadow: var(--shadow);
    color: var(--ink);
    font-weight: 700;
    font-size: 14.5px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s, color 0.2s;
}

.cat-tile i { font-size: 32px; color: var(--blue); }
.cat-tile:hover { transform: translateY(-4px); border-color: var(--blue); color: var(--blue); }

@media (max-width: 575.98px) {
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Home services (dark) ---------- */

.section-dark {
    position: relative;
    background:
        radial-gradient(ellipse 50% 70% at 0% 100%, rgba(22, 119, 255, 0.3), transparent 70%),
        linear-gradient(180deg, #061430 0%, #0a1f47 100%);
    color: #fff;
    padding-bottom: var(--section-y);
}

.section-dark .eyebrow { color: var(--cyan); }
.section-dark .section-lead { color: rgba(255, 255, 255, 0.75); }

.svc-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 36px 16px 30px;
    border-radius: 18px;
    border: 1px solid rgba(56, 182, 255, 0.22);
    background: linear-gradient(180deg, rgba(15, 42, 92, 0.75), rgba(10, 31, 71, 0.55));
    color: #fff;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.svc-mini:hover {
    color: #fff;
    transform: translateY(-4px);
    border-color: var(--cyan);
    box-shadow: 0 0 28px rgba(22, 119, 255, 0.35);
}

.svc-mini i { font-size: 34px; color: var(--cyan); margin-bottom: 22px; }
.svc-mini h3 { font-size: 16px; font-weight: 700; line-height: 1.35; margin: 0 0 10px; }
.svc-mini p { font-size: 13.5px; color: rgba(255, 255, 255, 0.65); margin: 0; line-height: 1.55; }

/* ---------- CTA ---------- */

.section-cta { padding-bottom: var(--section-y); }

.cta-card {
    position: relative;
    border-radius: 24px;
    background: linear-gradient(105deg, #e4eeff 0%, #f2f7ff 42%, #ffffff 100%);
    border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(15, 45, 100, 0.12);
}

/* clipped layer for the soft blue light under the product */
.cta-bg {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    pointer-events: none;
}

.cta-bg::before {
    content: "";
    position: absolute;
    left: -14%;
    bottom: -60%;
    width: 56%;
    height: 110%;
    border-radius: 50%;
    background: radial-gradient(ellipse at 45% 50%, rgba(22, 119, 255, 0.8) 0%, rgba(56, 182, 255, 0.4) 38%, rgba(56, 182, 255, 0) 62%);
    transform: rotate(-10deg);
    filter: blur(8px);
}

.cta-bg::after {
    content: "";
    position: absolute;
    left: -10%;
    bottom: 14%;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, rgba(56, 182, 255, 0), rgba(120, 205, 255, 0.9), rgba(56, 182, 255, 0));
    transform: rotate(-8deg);
    filter: blur(1px);
}

.cta-media {
    position: relative;
    padding: 40px 8px 40px 56px;
}

.cta-media img {
    display: block;
    width: 100%;
    max-width: 470px;
    margin: 0 auto;
    filter: drop-shadow(0 22px 26px rgba(8, 30, 70, 0.32));
}

.cta-body {
    position: relative;
    padding: 56px 72px 56px 32px;
}

.cta-body h2 {
    font-weight: 800;
    font-size: clamp(1.75rem, 2.7vw, 2.45rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0;
}

.cta-body p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
    margin: 16px 0 30px;
    max-width: 520px;
}

.cta-cubes {
    position: absolute;
    right: 40px;
    bottom: 34px;
    width: 54px;
    height: 54px;
}

.cta-cubes i {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    opacity: 0.75;
}

.cta-cubes i:nth-child(1) { right: 0; top: 0; }
.cta-cubes i:nth-child(2) { right: 26px; top: 12px; opacity: 0.5; }
.cta-cubes i:nth-child(3) { right: 6px; top: 28px; opacity: 0.6; }

/* Dark version (Services / About) */
.cta-dark {
    background: linear-gradient(105deg, #0d3480 0%, #0a2357 40%, #071735 100%);
    border-color: rgba(56, 182, 255, 0.18);
    color: #fff;
    box-shadow: 0 24px 60px rgba(5, 20, 50, 0.35);
}

.cta-dark .cta-bg::before {
    background: radial-gradient(ellipse at 40% 50%, rgba(56, 182, 255, 0.7) 0%, rgba(22, 119, 255, 0.35) 40%, rgba(22, 119, 255, 0) 70%);
}

.cta-dark .cta-body p { color: rgba(255, 255, 255, 0.8); }
.cta-dark .text-grad { background: linear-gradient(90deg, #5cc4ff, #9ad9ff); -webkit-background-clip: text; background-clip: text; }

/* Products stand on a glowing desk surface instead of floating */
.cta-card > .row { align-items: stretch !important; }
.cta-card > .row > div { display: flex; flex-direction: column; justify-content: center; }
.cta-bg::after { display: none; }

.cta-media {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 44px 16px 0 56px;
    border-bottom-left-radius: 24px;
    overflow: hidden;
}

.cta-media img {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
    filter: drop-shadow(0 10px 10px rgba(5, 20, 50, 0.35));
}

/* desk top */
.cta-media::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 68px;
    z-index: 1;
    background: linear-gradient(180deg, rgba(185, 220, 255, 0.55) 0%, rgba(90, 160, 255, 0.22) 45%, rgba(40, 110, 230, 0.08) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 -1px 18px rgba(120, 200, 255, 0.45);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 50%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 50%, transparent 100%);
}

/* contact shadow where the products touch the desk */
.cta-media::after {
    content: "";
    position: absolute;
    left: 14%;
    right: 8%;
    bottom: 22px;
    height: 22px;
    z-index: 1;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(5, 20, 50, 0.45) 0%, rgba(5, 20, 50, 0) 70%);
}

.cta-dark .cta-media::before {
    background: linear-gradient(180deg, rgba(120, 190, 255, 0.45) 0%, rgba(40, 120, 240, 0.25) 45%, rgba(20, 70, 170, 0.15) 100%);
    border-top-color: rgba(170, 220, 255, 0.85);
}

.cta-dark .cta-media::after { background: radial-gradient(ellipse at center, rgba(0, 8, 25, 0.6) 0%, rgba(0, 8, 25, 0) 70%); }

/* Tablet + phone: product on top, text centred below */
@media (max-width: 991.98px) {
    .cta-bg::before { left: -30%; bottom: auto; top: -30%; width: 140%; height: 85%; transform: none; opacity: 0.75; }
    .cta-bg::after { display: none; }
    .cta-media { padding: 36px 32px 0; border-radius: 24px 24px 0 0; }
    .cta-media::before { right: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%); }
    .cta-media img { max-width: 400px; }
    .cta-body { padding: 28px 40px 48px; text-align: center; }
    .cta-body p { margin-left: auto; margin-right: auto; }
}

@media (max-width: 575.98px) {
    .cta-card { border-radius: 20px; }
    .cta-media { padding: 28px 20px 0; border-radius: 20px 20px 0 0; }
    .cta-media::before { height: 52px; }
    .cta-media img { margin-bottom: 22px; }
    .cta-media::after { bottom: 15px; }
    .cta-body { padding: 24px 22px 36px; }
    .cta-body p { font-size: 16px; margin: 14px auto 26px; }
    .cta-body .btn-main, .cta-body .btn-white { width: 100%; justify-content: center; white-space: normal; }
    .cta-cubes { display: none; }
}

/* ---------- Inner page hero ---------- */

.page-hero {
    position: relative;
    background: var(--navy);
    color: #fff;
    overflow: hidden;
}

.page-hero-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
}

.page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(6, 20, 48, 0.92) 0%, rgba(6, 20, 48, 0.75) 35%, rgba(6, 20, 48, 0.15) 60%, rgba(6, 20, 48, 0) 100%);
}

.page-hero .container-xxl { position: relative; z-index: 2; }

.page-hero-inner {
    min-height: 590px;
    padding: 88px 0;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-hero .eyebrow { color: var(--cyan); }

.page-hero h1 {
    font-weight: 800;
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin: 0;
}

.page-hero .text-grad { background: linear-gradient(90deg, #3b9bff, #5cc4ff); -webkit-background-clip: text; background-clip: text; }

.page-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17.5px;
    line-height: 1.75;
    margin: 26px 0 0;
    max-width: 480px;
}


@media (max-width: 991.98px) {
    .page-hero-media { width: 100%; }
    .page-hero::before { background: linear-gradient(180deg, rgba(6, 20, 48, 0.88) 0%, rgba(6, 20, 48, 0.94) 100%); }
    .page-hero-inner { min-height: 0; padding: 80px 0; }
}

/* Tablet keeps the same 590px hero height as desktop (same as ct_sunshine) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .page-hero-inner { min-height: 590px; }
}

/* ---------- Services page ---------- */

.section-soft {
    background: var(--soft);
    padding-bottom: var(--section-y);
}

.section-soft + .section-cta { padding-top: var(--section-y); }

.svc-card {
    position: relative;
    display: block;
    height: 100%;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    color: var(--ink);
    transition: transform 0.25s, box-shadow 0.25s;
}

.svc-card:hover {
    color: var(--ink);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.svc-media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(180deg, #e8f1ff, #f7faff);
}

.svc-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.svc-card:hover .svc-media img { transform: scale(1.05); }

.svc-icon {
    position: relative;
    margin-top: -30px;
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid #fff;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--blue-2), var(--blue-dark));
    color: #fff;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(22, 119, 255, 0.35);
}

.svc-body { padding: 0 30px 34px; }
.svc-body h3 { font-size: 20px; font-weight: 800; margin: 0 0 12px; letter-spacing: -0.01em; }
.svc-body p { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0 0 20px; }

/* ---------- About page ---------- */

.company-reg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 32px 0 0;
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--soft);
    color: var(--ink-2);
    font-size: 14.5px;
    font-weight: 600;
}

.company-reg i { color: var(--blue); }

.mission-card {
    border-radius: 26px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f9ff 0%, #eaf2ff 100%);
    border: 1px solid var(--line);
}

.mission-media { height: 100%; min-height: 300px; }
.mission-media img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 992px) {
    .mission-media img { clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); }
}

.mission-body { padding: 64px 64px 64px 40px; }

.mission-row { display: flex; gap: 24px; align-items: flex-start; }
.mission-row h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; line-height: 1.2; margin: 0 0 16px; }
.mission-row p { color: var(--muted); font-size: 16px; line-height: 1.75; margin: 0; }

@media (max-width: 991.98px) {
    .mission-media { min-height: 0; aspect-ratio: 16 / 8; }
    .mission-body { padding: 44px 32px 48px; }
}

@media (max-width: 575.98px) {
    .mission-row { flex-direction: column; gap: 18px; }
    .mission-body { padding: 36px 24px 40px; }
}

.icon-box {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #fff;
    color: var(--blue);
    font-size: 26px;
    box-shadow: var(--shadow);
}

.values-row { margin-top: 20px; }

.value-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    height: 100%;
    padding: 12px 32px 12px 0;
}

.value-item h3 { font-size: 19px; font-weight: 800; margin: 4px 0 8px; }
.value-item p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0; }

@media (min-width: 1200px) {
    .values-row .col-xl-4 + .col-xl-4 .value-item { border-left: 1px solid var(--line); padding-left: 32px; }
}

/* Tablet + phone: one value per row, separated by a line */
@media (max-width: 1199.98px) {
    .values-row { --bs-gutter-y: 0; }
    .value-item { padding: 24px 0; align-items: center; }
    .values-row .col-xl-4 + .col-xl-4 .value-item { border-top: 1px solid var(--line); }
    .value-item h3 { margin-top: 0; }
}

/* ---------- Contact page ---------- */

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    padding: 34px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    color: var(--ink);
    transition: transform 0.2s, border-color 0.2s;
}

.contact-card:hover { color: var(--ink); transform: translateY(-4px); border-color: var(--blue); }
.contact-card .icon-box { background: var(--soft); box-shadow: none; margin-bottom: 22px; }
.contact-card h3 { font-size: 18px; font-weight: 800; margin: 0 0 8px; }
.contact-card p { color: var(--muted); font-size: 15px; margin: 0; }

@media (max-width: 575.98px) {
    .contact-card { padding: 24px 18px; }
    .contact-card .icon-box { width: 48px; height: 48px; font-size: 20px; margin-bottom: 16px; }
    .contact-card h3 { font-size: 16px; }
    .contact-card p { font-size: 13.5px; }
}

.form-card {
    height: 100%;
    padding: 56px;
    border-radius: 26px;
    background: var(--soft);
    border: 1px solid var(--line);
}

.enquiry-form { margin-top: 36px; }
.enquiry-form .form-label { font-weight: 700; font-size: 14px; color: var(--ink-2); }

.enquiry-form .form-control,
.enquiry-form .form-select {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border-color: #d5e0f0;
    font-size: 15px;
}

.enquiry-form .form-control:focus,
.enquiry-form .form-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.12);
}

.enquiry-form button { margin-top: 12px; }

.info-card {
    height: 100%;
    padding: 48px 40px;
    border-radius: 26px;
    background: linear-gradient(160deg, #0a1f47 0%, #061430 100%);
    color: #fff;
}

.info-card h3 { font-size: 20px; font-weight: 800; margin: 0 0 6px; }
.info-ssm { color: rgba(255, 255, 255, 0.6); font-size: 14px; margin: 0 0 28px; }

.info-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.85); }
.info-list i { color: var(--cyan); width: 18px; margin-top: 4px; }
.info-list a { color: #fff; }
.info-list a:hover { color: var(--cyan); }

.map-box {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin-bottom: 22px;
    background: var(--navy-3);
}

.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.info-card .link-arrow { color: var(--cyan); }

@media (max-width: 575.98px) {
    .form-card { padding: 40px 22px; }
    .info-card { padding: 40px 24px; }
    .enquiry-form button { width: 100%; }
}

/* ---------- Footer ---------- */

.footer {
    background: #050f26;
    color: rgba(255, 255, 255, 0.72);
    padding: 96px 0 0;
}

.footer .brand img { height: 52px; }

.footer-about {
    font-size: 15px;
    line-height: 1.8;
    margin: 26px 0 24px;
    max-width: 360px;
}

.footer-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

.footer-wa i { font-size: 22px; color: #25d366; }
.footer-wa:hover { color: var(--cyan); }

.footer h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    margin: 6px 0 24px;
}

.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer ul a { color: rgba(255, 255, 255, 0.72); font-size: 15px; }
.footer ul a:hover { color: var(--cyan); }

.footer-contact li { display: flex; gap: 12px; font-size: 15px; line-height: 1.6; }
.footer-contact i { color: var(--cyan); width: 16px; margin-top: 5px; }
.footer-contact a { word-break: break-word; }

.footer-bottom {
    margin-top: 80px;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .container-xxl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
}

@media (max-width: 767.98px) {
    .footer { padding-top: 72px; }
    .footer-bottom { margin-top: 56px; }
}

/* Phone: service tiles as a list, icon on the left */
@media (max-width: 575.98px) {
    .svc-mini-grid > .col-6 { width: 100%; }
    .svc-mini { flex-direction: row; align-items: center; text-align: left; gap: 18px; padding: 22px 22px; }
    .svc-mini i { font-size: 26px; margin: 0; flex: 0 0 52px; height: 52px; line-height: 52px; text-align: center; border-radius: 14px; background: rgba(56, 182, 255, 0.12); }
    .svc-mini h3 { margin: 0 0 4px; }
}

/* About hero: keep the laptop and desk in view on wide screens */
.page-hero-media img[src*="hero-about"] { object-position: right 80%; }
.page-hero-media img[src*="hero-contact"] { object-position: right 75%; }

.form-label .req { color: #e53935; }
.form-control::placeholder { color: #9aa6b8; opacity: 1; }

/* Hero strip: each item centred in its column (phone keeps the left-aligned list) */
@media (min-width: 576px) {
    .strip-item { justify-content: center; }
    .hero-strip .col-lg-3:first-child .strip-item { padding-left: 24px; }
}
