/*
Theme Name: UTS Digital
Theme URI: https://uts-digital.com/
Author: UTS Digital
Description: A modern corporate WordPress theme for UTS Digital, a solution provider and value-added distributor in digital printing, visual and learning solutions, and technology transformation.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: uts-digital
Tags: business, corporate, custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
  --uts-navy: #123e5e;
  --uts-blue: #187db4;
  --uts-cyan: #20c5b1;
  --uts-mint: #35e0bd;
  --uts-orange: #f6a51b;
  --uts-ink: #152c3d;
  --uts-muted: #667b87;
  --uts-soft: #f5fbfc;
  --uts-line: #dcecef;
  --uts-white: #fff;
  --uts-shadow: 0 18px 50px rgba(18, 62, 94, 0.12);
  --uts-max: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--uts-ink);
  background: var(--uts-white);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea { font: inherit; }

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

a:hover { color: var(--uts-blue); }

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

ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(calc(100% - 48px), var(--uts-max));
  margin-inline: auto;
}

.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;
}

.site-shell { overflow: hidden; }

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(220,236,239,.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 88px;
}

.site-branding { display: inline-flex; align-items: center; }

.site-logo-image {
  width: 168px;
  height: auto;
  object-fit: contain;
}

.main-navigation { margin-left: auto; }

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-navigation li { position: relative; }

.main-navigation a {
  display: block;
  color: var(--uts-navy);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  padding: 31px 0;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a { color: var(--uts-cyan); }

.main-navigation .menu-item-has-children > a::after {
  content: "⌄";
  display: inline-block;
  margin-left: 7px;
  font-size: 14px;
}

.main-navigation .sub-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  display: block;
  min-width: 205px;
  padding: 11px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  background: var(--uts-white);
  border-top: 3px solid var(--uts-cyan);
  box-shadow: var(--uts-shadow);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-navigation .sub-menu a {
  padding: 9px 20px;
  white-space: nowrap;
}

.mobile-menu-toggle {
  display: none;
  border: 0;
  padding: 8px;
  color: var(--uts-navy);
  background: transparent;
  cursor: pointer;
}

.header-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 3px;
  padding: 13px 25px;
  color: var(--uts-white);
  background: var(--uts-cyan);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(32,197,177,.2);
}

.header-button:hover,
.button:hover {
  color: var(--uts-white);
  background: var(--uts-navy);
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--uts-navy);
  background: var(--uts-white);
  box-shadow: none;
}

.button-secondary:hover {
  color: var(--uts-white);
  background: var(--uts-blue);
}

.hero {
  position: relative;
  min-height: 630px;
  display: flex;
  align-items: center;
  background: linear-gradient(112deg, #f8ffff 0%, #fff 62%, #eafffa 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background: url("assets/images/hero-line-shape.png") no-repeat -140px 10% / 700px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 50px;
  padding-block: 68px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--uts-cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  color: var(--uts-navy);
  font-size: clamp(42px, 5.1vw, 71px);
  font-weight: 300;
  letter-spacing: -.055em;
  line-height: 1.08;
}

.hero h1 strong {
  display: block;
  color: var(--uts-blue);
  font-weight: 800;
}

.hero-copy {
  max-width: 520px;
  margin: 24px 0 31px;
  color: var(--uts-muted);
  font-size: 18px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  opacity: .9;
  background: url("assets/images/hero-ellipse.png") center / cover;
  filter: saturate(.82);
}

.hero-stars {
  position: absolute;
  z-index: 2;
  width: 44px;
}

.hero-stars-one { top: 37px; left: 32px; }
.hero-stars-two { right: 20px; bottom: 45px; }

.hero-logo {
  position: relative;
  z-index: 3;
  width: min(100%, 430px);
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 26px 44px rgba(18,62,94,.22);
  transform: rotate(2deg);
}

.hero-logo img { width: 100%; }

.section { padding: 105px 0; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 45px;
}

.section-heading h2,
.about-copy h2,
.page-content h2,
.cta-band h2 {
  max-width: 650px;
  margin: 0;
  color: var(--uts-navy);
  font-size: clamp(31px, 4vw, 49px);
  font-weight: 300;
  letter-spacing: -.045em;
  line-height: 1.12;
}

.section-heading > p {
  max-width: 410px;
  margin: 0;
  color: var(--uts-muted);
}

.partner-section {
  padding: 68px 0 74px;
  color: var(--uts-white);
  background: var(--uts-navy);
}

.partner-label {
  margin: 0 0 30px;
  color: var(--uts-cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-align: center;
  text-transform: uppercase;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 20px;
}

.partner-logo {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background: var(--uts-white);
  border-radius: 4px;
}

.partner-logo img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
}

.about-section { background: var(--uts-soft); }

.about-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 90px;
}

.about-visual {
  position: relative;
  min-height: 510px;
}

.about-image-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 69%;
  height: 405px;
  object-fit: cover;
  box-shadow: var(--uts-shadow);
}

.about-image-second {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62%;
  height: 245px;
  border: 10px solid var(--uts-soft);
  object-fit: cover;
  box-shadow: var(--uts-shadow);
}

.about-dots {
  position: absolute;
  right: -31px;
  top: 21px;
  width: 155px;
  opacity: .7;
}

.about-copy p { color: var(--uts-muted); }

.about-copy .button { margin-top: 15px; }

.solutions-section { background: var(--uts-white); }

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.solution-card {
  position: relative;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  padding: 28px;
  color: var(--uts-white);
  background: linear-gradient(140deg, var(--uts-blue), var(--uts-navy));
}

.solution-card:nth-child(2) { background: linear-gradient(140deg, #20c5b1, #126786); }
.solution-card:nth-child(3) { background: linear-gradient(140deg, #f6a51b, #db6a2c); }

.solution-card::after {
  content: "→";
  position: absolute;
  top: 24px;
  right: 27px;
  font-size: 27px;
  opacity: .8;
}

.solution-card h3 {
  max-width: 240px;
  margin: 0 0 7px;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.15;
}

.solution-card p {
  max-width: 285px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 14px;
}

.clients-section { padding: 90px 0; background: #fbfeff; }

.client-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 20px;
  margin-top: 42px;
}

.client-logo {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: var(--uts-white);
  border: 1px solid var(--uts-line);
}

.client-logo img { max-height: 83px; width: auto; object-fit: contain; }

.stats {
  padding: 48px 0;
  color: var(--uts-white);
  background: linear-gradient(90deg, var(--uts-navy), var(--uts-blue));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat {
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.25);
}

.stat:last-child { border-right: 0; }

.stat strong {
  display: block;
  color: var(--uts-mint);
  font-size: 43px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cta-band {
  padding: 80px 0;
  text-align: center;
  background: var(--uts-soft);
}

.cta-band h2 { margin: 0 auto 27px; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 115px 0 108px;
  color: var(--uts-white);
  background: linear-gradient(120deg, var(--uts-navy), var(--uts-blue));
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -150px;
  width: 470px;
  height: 470px;
  border: 2px solid rgba(53,224,189,.35);
  border-radius: 50%;
}

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

.page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 300;
  letter-spacing: -.055em;
  line-height: 1.05;
}

.page-content { padding: 96px 0; }

.content-two-column {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 75px;
}

.content-image {
  width: 100%;
  max-height: 470px;
  object-fit: cover;
  box-shadow: var(--uts-shadow);
}

.page-content p { color: var(--uts-muted); }

.page-content .eyebrow { margin-top: 0; }

.feature-list {
  margin: 28px 0;
  color: var(--uts-navy);
}

.feature-list li {
  position: relative;
  padding: 7px 0 7px 27px;
  font-weight: 700;
}

.feature-list li::before {
  content: "＋";
  position: absolute;
  left: 0;
  color: var(--uts-cyan);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding: 45px;
  background: var(--uts-soft);
}

.contact-panel h2 { font-size: 38px; }

.contact-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--uts-line);
}

.contact-list strong {
  display: block;
  color: var(--uts-navy);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contact-list a { color: var(--uts-blue); font-weight: 700; }

.site-footer {
  padding: 72px 0 24px;
  color: rgba(255,255,255,.72);
  background: #0d2e46;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .9fr;
  gap: 65px;
  padding-bottom: 50px;
}

.footer-logo {
  width: 165px;
  margin-bottom: 20px;
  padding: 7px;
  background: var(--uts-white);
}

.footer-brand p { max-width: 370px; margin: 0; }

.footer-heading {
  margin: 0 0 18px;
  color: var(--uts-white);
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-links li { margin-bottom: 8px; }
.footer-links a:hover { color: var(--uts-mint); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: 13px;
}

@media (max-width: 920px) {
  .main-navigation { margin-left: 0; }
  .header-button { display: none; }
  .main-navigation ul { gap: 17px; }
  .hero-inner,
  .about-grid,
  .content-two-column { gap: 45px; }
  .partner-grid,
  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { gap: 35px; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 34px), var(--uts-max)); }
  .header-inner { min-height: 72px; }
  .site-logo-image { width: 140px; }
  .mobile-menu-toggle { display: block; }
  .main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 8px 17px 17px;
    background: var(--uts-white);
    box-shadow: var(--uts-shadow);
  }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { display: block; }
  .main-navigation a { padding: 10px 0; }
  .main-navigation .sub-menu {
    position: static;
    display: none;
    padding: 0 0 0 15px;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    box-shadow: none;
  }
  .main-navigation li:hover > .sub-menu,
  .main-navigation li:focus-within > .sub-menu { display: block; }
  .hero { min-height: 0; }
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; padding-block: 65px; }
  .hero h1 { font-size: 48px; }
  .hero-visual { min-height: 340px; }
  .hero-visual::before { width: 330px; height: 330px; }
  .hero-logo { width: 88%; }
  .section { padding: 75px 0; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 20px; }
  .partner-grid,
  .client-grid,
  .solution-grid,
  .stats-grid,
  .contact-panel,
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid,
  .content-two-column { grid-template-columns: 1fr; }
  .about-visual { min-height: 450px; }
  .page-content { padding: 70px 0; }
  .page-hero { padding: 82px 0; }
  .footer-grid { gap: 32px 20px; }
}

@media (max-width: 470px) {
  .hero h1 { font-size: 41px; }
  .hero-copy { font-size: 16px; }
  .partner-grid,
  .client-grid,
  .solution-grid,
  .stats-grid,
  .contact-panel,
  .footer-grid { grid-template-columns: 1fr; }
  .stat { padding: 18px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .stat:last-child { border-bottom: 0; }
  .about-visual { min-height: 370px; }
  .about-image-main { height: 285px; }
  .about-image-second { height: 185px; }
  .about-dots { right: -8px; width: 110px; }
  .contact-panel { padding: 27px; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 8px; }
}