/*
Theme Name: Cytech Modern
Theme URI: https://www.cytech.com.my/
Author: Cytech
Description: Modern corporate theme for Cytech ICT Solutions, Sabah.
Version: 1.5.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: cytech-modern
*/


:root {
  --navy: #021321;
  --navy-2: #061c2b;
  --surface: #082536;
  --cyan: #15bdd7;
  --cyan-bright: #67e8f9;
  --ink: #10212b;
  --muted: #60727c;
  --paper: #f3f6f4;
  --line: #d8e1df;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 112px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-geist-sans, Arial), Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell {
  width: calc(100% - clamp(48px, 5.8vw, 112px));
  max-width: none;
  margin-inline: auto;
}
.eyebrow { margin: 0 0 18px; color: #078ba0; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }

.utility-bar { height: 38px; color: #9db2bc; background: #01101c; border-bottom: 1px solid rgba(255,255,255,.09); }
.utility-inner { height: 100%; display: flex; align-items: center; gap: 28px; font-size: 11px; letter-spacing: .06em; }
.utility-inner span + span { padding-left: 28px; border-left: 1px solid #29404d; }
.utility-promise { margin-left: auto; text-transform: uppercase; }
.site-header { position: sticky; top: 0; z-index: 30; color: #f2f8f9; background: rgba(2,19,33,.94); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(16px); }
.header-inner { height: 82px; display: flex; align-items: center; gap: 48px; }
.logo { color: #f5f7f8; font-size: 28px; font-weight: 900; letter-spacing: .18em; }
.logo span { color: var(--cyan); }
.brand-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo img { display: block; width: 275px; height: auto; }
.site-header nav { display: flex; gap: 32px; margin-left: auto; color: #bdcbd0; font-size: 13px; }
.site-header nav ul { display: flex; gap: 32px; margin: 0; padding: 0; list-style: none; }
.site-header nav a { position: relative; padding-block: 31px; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 2px; background: var(--cyan); transition: right .2s ease; }
.site-header nav a:hover { color: #fff; }.site-header nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.portal-link { padding: 12px 16px; color: #d2dce0; border: 1px solid #3b5260; border-radius: 4px; font-size: 12px; }
.menu-toggle { display: none; color: #fff; border: 0; background: transparent; font-size: 26px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 0 23px; border-radius: 4px; font-size: 13px; font-weight: 800; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button span, .text-link span { transition: transform .2s ease; }.button:hover span, .text-link:hover span { transform: translateX(4px); }
.button:hover { transform: translateY(-2px); }.button-primary { color: #03202a; background: var(--cyan); }.button-primary:hover { background: var(--cyan-bright); }
.button.small { min-height: 42px; padding: 0 16px; font-size: 11px; }.button-outline { border: 1px solid #a9bab6; }.button-outline:hover { border-color: var(--cyan); }
.text-link { display: inline-flex; align-items: center; gap: 20px; padding: 14px 0 9px; color: #e4eff1; border-bottom: 1px solid var(--cyan); font-size: 12px; font-weight: 700; }

.hero { position: relative; overflow: hidden; color: #f4f8f9; background: var(--navy); }
.hero-grid { position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(rgba(103,232,249,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(103,232,249,.12) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(90deg, #000, transparent 48%); }
.hero-layout { position: relative; min-height: 610px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; }
.hero-copy { position: relative; z-index: 2; align-self: center; padding: 62px 36px 66px 0; }
.hero-copy h1 { max-width: 670px; margin: 0; font-size: clamp(52px, 5vw, 76px); line-height: .99; letter-spacing: -.055em; }
.hero-copy h1 span { color: var(--cyan-bright); }
.hero-lede { max-width: 650px; margin: 25px 0 0; color: #b5c5cb; font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 32px; margin-top: 31px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; color: #8fa6af; font-size: 10px; }
.hero-proof span { display: grid; gap: 3px; padding-left: 13px; border-left: 1px solid #36505d; }.hero-proof b { color: #edf5f6; font-size: 12px; }
.hero-visual { position: relative; min-height: 610px; background: linear-gradient(90deg, var(--navy) 0, transparent 28%), linear-gradient(0deg, rgba(2,19,33,.58), transparent 50%), url('assets/hero-infrastructure.png') center/cover no-repeat; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(103,232,249,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(103,232,249,.1) 1px, transparent 1px); background-size: 60px 60px; mask-image: linear-gradient(90deg, transparent, #000); }
.visual-label { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 8px 10px; color: #9eb5bd; border: 1px solid rgba(103,232,249,.22); border-radius: 3px; background: rgba(2,19,33,.78); font: 8px monospace; letter-spacing: .08em; text-transform: uppercase; }
.visual-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }.label-a { left: 17%; top: 22%; }.label-b { right: 6%; top: 45%; }.label-c { left: 33%; bottom: 13%; }

.trust-band { color: #c9d7da; background: #031724; border-top: 1px solid #28404c; border-bottom: 1px solid #28404c; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid article { display: flex; align-items: center; gap: 18px; min-height: 96px; padding: 18px 28px; border-right: 1px solid #29414d; }.trust-grid article:last-child { border-right: 0; }
.trust-grid article > span { color: var(--cyan-bright); font-size: 26px; }.trust-grid article div { display: grid; gap: 6px; }.trust-grid strong { font-size: 12px; }.trust-grid small { color: #7f98a1; font-size: 9px; line-height: 1.4; }

.section { padding: 118px 0; }.section-heading h2, .delivery h2, .about h2, .contact h2 { margin: 0; font-size: clamp(42px, 5vw, 68px); line-height: 1; letter-spacing: -.055em; }.section-heading h2 span { color: #079ab0; }
.split-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 52px; }.split-heading > p { max-width: 590px; margin: 0 0 7px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { min-height: 335px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: 0 17px 45px rgba(20,47,40,.05); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-5px); border-color: #73cbd5; box-shadow: 0 24px 60px rgba(20,47,40,.1); }.service-icon { width: 46px; height: 46px; display: grid; place-items: center; color: #078fa4; border: 1px solid #8bcbd2; border-radius: 5px; font-size: 23px; }.service-card h3 { margin: 28px 0 13px; font-size: 19px; }.service-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }.service-card > div { display: flex; gap: 9px; margin-top: auto; padding-top: 25px; border-top: 1px solid #e4eae8; }.service-card small { color: #6d8287; font: 8px monospace; letter-spacing: .08em; text-transform: uppercase; }

.delivery { color: #eef5f6; background: var(--navy); }
.delivery-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }.delivery-intro > p:not(.eyebrow) { max-width: 500px; margin: 25px 0; color: #8fa6ae; font-size: 13px; line-height: 1.75; }.delivery-intro .eyebrow { color: var(--cyan); }.delivery-list { margin: 0; padding: 0; list-style: none; }.delivery-list li { display: grid; grid-template-columns: 65px 1fr; gap: 24px; padding: 25px 0; border-top: 1px solid #29424e; }.delivery-list li:last-child { border-bottom: 1px solid #29424e; }.delivery-list li > span { color: var(--cyan); font: 11px monospace; }.delivery-list h3 { margin: 0 0 7px; font-size: 18px; }.delivery-list p { margin: 0; color: #8fa6ae; font-size: 11px; line-height: 1.6; }

.industries { background: #fff; }.centered-heading { max-width: 900px; margin: 0 auto 60px; text-align: center; }.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }.industry-grid article { min-height: 245px; padding: 30px; border-right: 1px solid var(--line); }.industry-grid article:last-child { border-right: 0; }.industry-grid article > span { color: #079ab0; font: 10px monospace; }.industry-grid h3 { margin: 75px 0 13px; font-size: 19px; }.industry-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }

.about { background: #eef2ef; }.about-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: stretch; }.about-feature { min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; padding: 48px; color: #eaf4f5; background: var(--surface); border-radius: 8px; background-image: linear-gradient(rgba(8,37,54,.88), rgba(2,19,33,.96)), linear-gradient(135deg, transparent 45%, rgba(21,189,215,.18)); }.about-feature .eyebrow { color: var(--cyan); }.about-feature > strong { font-size: clamp(85px, 11vw, 150px); line-height: .8; letter-spacing: -.08em; }.about-feature > span { max-width: 470px; margin-top: 40px; color: #a5b9bf; font-size: 14px; line-height: 1.7; }.about-copy { align-self: center; }.about-copy > p:not(.eyebrow) { margin: 27px 0; color: var(--muted); font-size: 14px; line-height: 1.8; }.credential-row { display: grid; grid-template-columns: 1fr 1fr; margin: 32px 0; border-top: 1px solid #cfd9d6; border-bottom: 1px solid #cfd9d6; }.credential-row div { display: grid; gap: 6px; padding: 18px 0; }.credential-row div + div { padding-left: 25px; border-left: 1px solid #cfd9d6; }.credential-row strong { font-size: 11px; }.credential-row span { color: #708288; font-size: 9px; }

.portal-section { padding: 82px 0; color: #eaf3f4; background: #072331; border-top: 1px solid #2b4956; }.portal-layout { display: grid; grid-template-columns: .9fr 1fr 190px; gap: 70px; align-items: center; }.portal-section .eyebrow { color: var(--cyan); }.portal-section h2 { margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.02; letter-spacing: -.05em; }.portal-copy > p { margin: 0 0 23px; color: #99adb4; font-size: 12px; line-height: 1.7; }.portal-pills { display: flex; flex-wrap: wrap; gap: 6px; }.portal-pills span { padding: 7px 9px; color: #9db8bd; border: 1px solid #355563; border-radius: 3px; font-size: 8px; text-transform: uppercase; letter-spacing: .07em; }.portal-status { display: grid; gap: 7px; padding: 22px; color: inherit; border: 1px solid #34515e; border-radius: 6px; background: #092937; transition: transform .2s ease, border-color .2s ease; }.portal-status:hover { transform: translateY(-2px); border-color: var(--cyan); }.portal-status i { width: 8px; height: 8px; border-radius: 50%; background: #43d38a; box-shadow: 0 0 0 5px rgba(67,211,138,.12); }.portal-status span { color: #789099; font-size: 8px; text-transform: uppercase; }.portal-status strong { font-size: 14px; }

.contact { color: #f2f7f7; background: #031722; }.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }.contact-copy .eyebrow { color: var(--cyan); }.contact-copy p:last-child { max-width: 590px; margin-top: 25px; color: #91a7ae; font-size: 13px; line-height: 1.75; }.contact-card { border-top: 1px solid #2d4753; }.contact-card > * { display: grid; grid-template-columns: 90px 1fr auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid #2d4753; }.contact-card span { color: #718a93; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }.contact-card strong { font-size: 13px; line-height: 1.5; }.contact-card b { color: var(--cyan); }.contact-card a:hover strong { color: var(--cyan-bright); }

footer { padding: 70px 0 22px; color: #92a6ad; background: #010d16; }.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 60px; }.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }.footer-grid .logo { font-size: 22px; }.footer-grid p { color: #677d85; font-size: 10px; }.footer-grid strong { margin-bottom: 8px; color: #d8e3e3; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }.footer-grid a, .footer-grid span { font-size: 9px; }.footer-grid a:hover { color: var(--cyan); }.footer-bottom { display: flex; justify-content: space-between; margin-top: 55px; padding-top: 20px; border-top: 1px solid #263a43; font-size: 8px; }

@media (max-width: 1100px) {
  .shell { width: calc(100% - 48px); }.utility-promise { display: none; }.header-inner { gap: 25px; }.site-header nav { gap: 18px; }.portal-link { display: none; }
  .hero-layout { grid-template-columns: 1fr; }.hero-copy { padding-right: 0; }.hero-visual { min-height: 480px; margin-inline: -24px; background-position: center; }.trust-grid, .service-grid, .industry-grid { grid-template-columns: 1fr 1fr; }.trust-grid article:nth-child(2) { border-right: 0; }.trust-grid article:nth-child(-n+2) { border-bottom: 1px solid #29414d; }.service-card { min-height: 290px; }.industry-grid article:nth-child(2) { border-right: 0; }.industry-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .portal-layout { grid-template-columns: 1fr 1fr; }.portal-status { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  .utility-inner span:nth-child(2) { display: none; }.header-inner { height: 70px; }.menu-toggle { display: block; margin-left: auto; }.site-header nav { position: absolute; left: 0; right: 0; top: 70px; display: none; flex-direction: column; gap: 0; padding: 12px 24px 24px; color: #dce7e8; background: #021321; border-bottom: 1px solid #2c4551; }.site-header nav.open { display: flex; }.site-header nav ul { flex-direction: column; gap: 0; }.site-header nav a { padding: 14px 0; border-bottom: 1px solid #1e3541; }.site-header nav a::after { display: none; }.header-actions .button { display: none; }.logo { font-size: 23px; }.brand-logo img { width: 165px; }
  .hero-copy h1 { font-size: 52px; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }.hero-proof { gap: 15px; }.hero-visual { min-height: 390px; }
  .section { padding: 82px 0; }.split-heading, .delivery-layout, .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 45px; }.split-heading { margin-bottom: 35px; }.delivery-layout { gap: 55px; }.about-feature { min-height: 420px; }.portal-layout { grid-template-columns: 1fr; gap: 35px; }.portal-status { grid-column: auto; }.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .shell { width: calc(100% - 32px); }.utility-inner { font-size: 9px; }.hero-copy { padding-block: 50px; }.hero-copy h1 { font-size: 43px; }.hero-lede { font-size: 15px; }.hero-proof { flex-direction: column; }.hero-visual { min-height: 320px; }.visual-label { display: none; }
  .trust-grid, .service-grid, .industry-grid { grid-template-columns: 1fr; }.trust-grid article { border-right: 0; border-bottom: 1px solid #29414d; }.industry-grid article { min-height: 200px; border-right: 0; border-bottom: 1px solid var(--line); }.industry-grid h3 { margin-top: 45px; }.credential-row { grid-template-columns: 1fr; }.credential-row div + div { padding-left: 0; border-left: 0; border-top: 1px solid #cfd9d6; }.contact-card > * { grid-template-columns: 70px 1fr auto; }.footer-grid { grid-template-columns: 1fr; }.footer-bottom { gap: 20px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }


/* WordPress integration */
.admin-bar .site-header { top: 32px; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-height: 48px; width: auto; }
.current-menu-item > a { color: #fff; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
