/* ==========================================================
   SOMBRIDGE UNIVERSITY — RESPONSIVE COMING SOON
   No fixed page scaling / no global zoom / mobile-first safety
   ========================================================== */

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

html {
  width: 100%;
  min-width: 320px;
  margin: 0;
  padding: 0;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
  color: #082f63;
  background: #e7f4ff;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1380px, calc(100% - 64px));
  margin-inline: auto;
}

/* =========================
   HEADER
   ========================= */

.header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #dbe8f4;
  position: relative;
  z-index: 20;
}

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

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand img {
  width: 98px;
  height: 98px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-copy {
  min-width: 0;
}

.brand-name {
  color: #087be5;
  font-size: clamp(34px, 4vw, 53px);
  line-height: .9;
  font-weight: 900;
  letter-spacing: -2.5px;
}

.brand-university {
  color: #e51c28;
  margin-top: 8px;
  font-size: clamp(25px, 3vw, 41px);
  line-height: 1;
  font-weight: 300;
  letter-spacing: clamp(2px, .4vw, 6px);
}

.motto {
  margin-top: 9px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 2px;
  white-space: nowrap;
  color: #082f63;
}

.motto span {
  margin-inline: 6px;
}

.header-right {
  text-align: right;
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: 2px;
  flex: 0 0 auto;
}

.header-right span {
  display: block;
}

.header-right i {
  display: block;
  width: 55px;
  height: 3px;
  margin: 9px 0 0 auto;
  background: #087be5;
}

/* =========================
   MAIN
   ========================= */

.main {
  position: relative;
  isolation: isolate;
  width: 100%;
  flex: 1 0 auto;
  overflow: hidden;
  background:
    linear-gradient(rgba(232, 246, 255, .86), rgba(220, 239, 253, .92)),
    url("../assets/campus-bg.jpg") center center / cover no-repeat;
}

.background-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 7%, rgba(255,255,255,.98), rgba(255,255,255,0) 58%);
}

.hero {
  position: relative;
  text-align: center;
  padding-top: 21px;
}

.gear {
  height: 31px;
  font-size: 24px;
  line-height: 31px;
}

h1 {
  margin: 0;
  padding: 0;
  line-height: .86;
  letter-spacing: -4px;
  font-weight: 900;
}

h1 span {
  display: block;
  color: #082f63;
  font-size: clamp(55px, 6.8vw, 92px);
}

h1 strong {
  display: block;
  color: #087be5;
  font-size: clamp(60px, 7.3vw, 98px);
}

h1 em {
  color: #e51c28;
  font-style: normal;
}

.upgrade-title {
  margin-top: 14px;
  color: #082f63;
  font-size: clamp(12px, 1.2vw, 18px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: clamp(1.8px, .35vw, 5px);
}

.intro {
  width: min(760px, 100%);
  margin: 11px auto 0;
  color: #17487e;
  font-size: clamp(13px, 1.25vw, 18px);
  line-height: 1.45;
}

/* decorative side copy */
.side-note {
  position: absolute;
  z-index: 2;
  color: #0b3e78;
  pointer-events: none;
}

.side-left {
  left: 5%;
  top: 68px;
  font-family: Georgia, serif;
  font-size: clamp(20px, 2.1vw, 31px);
  line-height: .98;
  font-style: italic;
  font-weight: 700;
  transform: rotate(-7deg);
}

.side-right {
  right: 5%;
  top: 68px;
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: 2px;
}

/* =========================
   SYSTEM CARDS
   ========================= */

.services {
  width: min(800px, 100%);
  margin: 21px auto 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  min-width: 0;
  min-height: 172px;
  padding: 12px 10px 15px;
  border-radius: 19px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 13px 32px rgba(5,51,101,.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(5,51,101,.20);
}

.icon {
  width: 61px;
  height: 61px;
  margin-bottom: 9px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  flex: 0 0 auto;
}

.icon span {
  display: block;
}

.icon.red {
  background: #c61237;
  font-size: 25px;
}

.icon.blue {
  background: #087ce4;
  font-size: 40px;
}

.icon.green {
  background: #12a96c;
  font-size: 29px;
}

.card h2 {
  margin: 0;
  color: #082f63;
  font-size: 21px;
  line-height: 1.1;
}

.card p {
  margin: 6px 0 0;
  color: #082f63;
  font-size: 13px;
  line-height: 1.35;
}

/* =========================
   DESK / LAPTOP SCENE
   ========================= */

.scene {
  position: relative;
  width: 100%;
  height: 268px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.scene::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -12%;
  right: -12%;
  bottom: 0;
  height: 62px;
  border-radius: 50% 50% 0 0;
  background: rgba(255,255,255,.70);
}

.books {
  position: absolute;
  left: 0;
  bottom: 17px;
  width: 185px;
  z-index: 4;
}

.books div {
  height: 30px;
  margin-top: 2px;
  border-radius: 3px 8px 7px 3px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .3px;
  box-shadow: 0 2px 3px rgba(0,0,0,.08);
}

.books div:nth-child(1) { background: #1261ae; }
.books div:nth-child(2) { background: #b7193c; }
.books div:nth-child(3) { background: #23466b; }

.laptop {
  width: min(475px, 55vw);
  z-index: 3;
  margin-bottom: 5px;
}

.screen {
  height: 205px;
  border: 9px solid #101b2a;
  border-radius: 16px 16px 5px 5px;
  background: linear-gradient(145deg, #0b4a94, #061d43);
  box-shadow: 0 15px 23px rgba(0,35,72,.28);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.screen-gear {
  margin-bottom: 7px;
  font-size: 33px;
  line-height: 1;
}

.screen b {
  font-size: 11px;
  letter-spacing: .1px;
}

.progress {
  width: 54%;
  height: 13px;
  margin: 13px 0 10px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255,255,255,.25);
}

.progress span {
  display: block;
  width: 48%;
  height: 100%;
  border-radius: 99px;
  background: #1da8ff;
}

.screen small {
  color: #b5eaff;
  font-size: 9px;
  line-height: 1.45;
}

.base {
  width: 110%;
  height: 17px;
  margin-left: -5%;
  border-radius: 0 0 30px 30px;
  background: linear-gradient(#8f9aa7, #d4d9de);
  box-shadow: 0 10px 13px rgba(0,30,65,.20);
}

.cup {
  position: absolute;
  right: 0;
  bottom: 18px;
  z-index: 4;
  width: 120px;
  height: 105px;
  border-radius: 8px 8px 25px 25px;
  background: linear-gradient(110deg,#fff,#edf2f6);
  box-shadow: 0 9px 17px rgba(0,40,75,.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cup-handle {
  position: absolute;
  right: -28px;
  top: 22px;
  width: 33px;
  height: 45px;
  border: 9px solid #eef3f7;
  border-left: 0;
  border-radius: 0 30px 30px 0;
}

.cup img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.cup b {
  color: #125193;
  font-size: 9px;
  line-height: 1;
}

.cup small {
  color: #e51c28;
  font-size: 7px;
  font-weight: 800;
  margin-top: 2px;
}

/* =========================
   FOOTER
   ========================= */

.footer {
  width: 100%;
  flex: 0 0 auto;
  background: #082f63;
  color: #fff;
}

.footer-inner {
  min-height: 126px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  font-size: 13px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.footer-nav span {
  color: #9eb7d4;
}

.footer-nav a:hover,
.powered a:hover {
  color: #7ec8ff;
}

.powered {
  text-align: right;
  line-height: 1.3;
}

.powered a {
  font-weight: 800;
}

.powered small {
  display: block;
  margin-top: 5px;
  color: #bfd1e6;
  font-size: 10px;
  letter-spacing: 2.5px;
}

/* =========================
   LARGE TABLETS
   ========================= */

@media (max-width: 1100px) {
  .container {
    width: min(940px, calc(100% - 40px));
  }

  .header-inner {
    min-height: 105px;
  }

  .brand img {
    width: 82px;
    height: 82px;
  }

  .header-right,
  .side-note {
    display: none;
  }

  .hero {
    padding-top: 20px;
  }

  .scene {
    max-width: 850px;
    margin-inline: auto;
  }
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 520px);
  }

  .header-inner {
    min-height: 82px;
    justify-content: center;
  }

  .brand {
    gap: 9px;
  }

  .brand img {
    width: 61px;
    height: 61px;
  }

  .brand-name {
    font-size: 27px;
    letter-spacing: -1.5px;
  }

  .brand-university {
    margin-top: 4px;
    font-size: 21px;
    letter-spacing: 2px;
  }

  .motto {
    margin-top: 6px;
    font-size: 6px;
    letter-spacing: .8px;
  }

  .motto span {
    margin-inline: 2px;
  }

  .main {
    min-height: 0;
    background:
      linear-gradient(rgba(235,247,255,.92), rgba(225,241,254,.95)),
      url("../assets/campus-bg.jpg") center center / cover no-repeat;
  }

  .hero {
    padding-top: 15px;
  }

  .gear {
    height: 26px;
    font-size: 21px;
    line-height: 26px;
  }

  h1 {
    letter-spacing: -2.5px;
  }

  h1 span {
    font-size: 47px;
  }

  h1 strong {
    font-size: 51px;
  }

  .upgrade-title {
    margin-top: 9px;
    font-size: 10px;
    letter-spacing: 2px;
  }

  .intro {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.42;
  }

  .desktop-break {
    display: none;
  }

  .services {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  .card {
    min-height: 0;
    padding: 10px 13px;
    display: grid;
    grid-template-columns: 54px 1fr;
    column-gap: 12px;
    align-items: center;
    text-align: left;
  }

  .icon {
    width: 54px;
    height: 54px;
    margin: 0;
    grid-row: 1 / 3;
  }

  .card h2 {
    font-size: 17px;
  }

  .card p {
    margin-top: 3px;
    font-size: 12px;
    line-height: 1.3;
  }

  .scene {
    height: 212px;
  }

  .scene::after {
    height: 45px;
  }

  .books {
    left: 0;
    bottom: 9px;
    width: 82px;
  }

  .books div {
    height: 17px;
    font-size: 5px;
  }

  .laptop {
    width: min(72vw, 360px);
  }

  .screen {
    height: 145px;
    border-width: 7px;
  }

  .screen-gear {
    margin-bottom: 5px;
    font-size: 24px;
  }

  .screen b {
    font-size: 7px;
  }

  .progress {
    height: 9px;
    margin: 8px 0;
  }

  .screen small {
    font-size: 6px;
  }

  .base {
    height: 12px;
  }

  .cup {
    right: 0;
    bottom: 9px;
    width: 63px;
    height: 63px;
  }

  .cup-handle {
    right: -16px;
    top: 14px;
    width: 19px;
    height: 29px;
    border-width: 5px;
  }

  .cup img {
    width: 27px;
    height: 27px;
  }

  .cup b {
    font-size: 5px;
  }

  .cup small {
    font-size: 4px;
  }

  .footer-inner {
    min-height: 0;
    padding: 21px 0;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 13px;
    font-size: 11px;
  }

  .footer-nav {
    gap: 15px;
    font-size: 13px;
  }

  .powered {
    text-align: center;
    font-size: 12px;
  }

  .powered small {
    font-size: 9px;
    letter-spacing: 2px;
  }
}

/* =========================
   SMALL PHONES
   ========================= */

@media (max-width: 430px) {
  .container {
    width: calc(100% - 22px);
  }

  .header-inner {
    min-height: 74px;
  }

  .brand img {
    width: 53px;
    height: 53px;
  }

  .brand-name {
    font-size: 23px;
  }

  .brand-university {
    font-size: 18px;
    letter-spacing: 1.5px;
  }

  .motto {
    font-size: 5px;
  }

  h1 span {
    font-size: 41px;
  }

  h1 strong {
    font-size: 44px;
  }

  .upgrade-title {
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .intro {
    font-size: 12px;
  }

  .scene {
    height: 190px;
  }

  .laptop {
    width: 70vw;
  }

  .screen {
    height: 125px;
  }

  .books {
    width: 68px;
  }

  .books div {
    height: 14px;
    font-size: 4px;
  }

  .cup {
    width: 53px;
    height: 53px;
  }

  .cup img {
    width: 22px;
    height: 22px;
  }
}

/* =========================
   VERY SMALL PHONES
   ========================= */

@media (max-width: 350px) {
  .brand-name {
    font-size: 20px;
  }

  .brand-university {
    font-size: 16px;
  }

  .motto {
    display: none;
  }

  h1 span {
    font-size: 35px;
  }

  h1 strong {
    font-size: 38px;
  }

  .card {
    grid-template-columns: 48px 1fr;
  }

  .icon {
    width: 48px;
    height: 48px;
  }
}

/* Prevent accidental zoom-like behavior from external wrappers */
html,
body,
.site,
.header,
.main,
.footer {
  transform: none;
}
