/* ==============================
   SupportFlow Design System
   ============================== */

:root {
  --chocolate-dark: #1f100d;
  --chocolate: #2b1712;
  --chocolate-light: #42251d;
  --chocolate-hover: #543027;
  --light-blue: #bfe8ff;
  --bright-blue: #7dd3fc;
  --soft-blue: #dff4ff;
  --cream: #f4e8df;
  --muted-cream: #d8c8be;
  --border: rgba(191, 232, 255, 0.16);
  --shadow: 0 20px 55px rgba(12, 5, 3, 0.3);
}

/* Reset */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 15%, rgba(125, 211, 252, 0.1), transparent 28%),
    radial-gradient(circle at 85% 30%, rgba(114, 65, 48, 0.38), transparent 26%),
    linear-gradient(145deg, var(--chocolate-dark), var(--chocolate) 48%, #351d17);
  color: var(--light-blue);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
}

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

button,
input,
textarea {
  font: inherit;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 18px 5%;
  background: rgba(31, 16, 13, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.navbar {
  width: min(1180px, 100%);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo,
.footer-logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--cream);
}

.logo span {
  color: var(--bright-blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  position: relative;
  color: var(--muted-cream);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.25s ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  width: 0;
  height: 2px;
  margin: auto;
  content: "";
  background: var(--bright-blue);
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: var(--light-blue);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Buttons */

.nav-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 750;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.nav-button,
.primary-button {
  background: linear-gradient(135deg, var(--bright-blue), var(--light-blue));
  color: var(--chocolate-dark);
  box-shadow: 0 10px 30px rgba(125, 211, 252, 0.2);
}

.secondary-button {
  border-color: rgba(191, 232, 255, 0.45);
  background: rgba(191, 232, 255, 0.05);
  color: var(--light-blue);
}

.nav-button:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-3px);
}

.nav-button:hover,
.primary-button:hover {
  box-shadow: 0 14px 34px rgba(125, 211, 252, 0.32);
}

.secondary-button:hover {
  background: rgba(191, 232, 255, 0.12);
}

/* Main sections */

.section,
.hero {
  width: min(1180px, 90%);
  margin: auto;
}

.section {
  padding: 100px 0;
}

.section-label {
  margin-bottom: 16px;
  color: var(--bright-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 3px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading h2,
.demo-content h2 {
  margin-bottom: 18px;
  color: var(--soft-blue);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.15;
  letter-spacing: -1.5px;
}

.section-heading > p:last-child,
.demo-content > p {
  color: var(--muted-cream);
}

/* Hero */

.hero {
  min-height: 82vh;
  padding: 100px 0 80px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 70px;
}

.hero h1 {
  max-width: 750px;
  margin-bottom: 24px;
  color: var(--soft-blue);
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -4px;
}

.hero-description {
  max-width: 650px;
  color: var(--cream);
  font-size: 1.1rem;
}

.hero-actions,
.demo-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero dashboard card */

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(191, 232, 255, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(93, 51, 39, 0.66), rgba(48, 25, 20, 0.92));
  box-shadow: var(--shadow);
}

.hero-card::before {
  position: absolute;
  top: -90px;
  right: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  content: "";
  background: rgba(125, 211, 252, 0.13);
  filter: blur(8px);
}

.card-header {
  position: relative;
  margin-bottom: 22px;
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  color: var(--cream);
  font-weight: 750;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bright-blue);
  box-shadow: 0 0 14px var(--bright-blue);
}

.support-option {
  position: relative;
  margin-top: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: rgba(31, 16, 13, 0.42);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.support-option:hover {
  transform: translateX(6px);
  border-color: rgba(125, 211, 252, 0.32);
  background: rgba(31, 16, 13, 0.64);
}

.option-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(191, 232, 255, 0.28);
  border-radius: 15px;
  background: rgba(125, 211, 252, 0.11);
  color: var(--bright-blue);
  font-weight: 850;
}

.support-option h3 {
  color: var(--light-blue);
  font-size: 1rem;
}

.support-option p {
  color: var(--muted-cream);
  font-size: 0.85rem;
  line-height: 1.45;
}

/* Cards */

.about-grid,
.service-grid,
.feature-grid {
  display: grid;
  gap: 22px;
}

.about-grid,
.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.info-card,
.service-card,
.feature-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(66, 37, 29, 0.86), rgba(48, 25, 20, 0.76));
  box-shadow: 0 12px 35px rgba(15, 6, 4, 0.15);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.info-card::before,
.service-card::before,
.feature-card::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--bright-blue), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.info-card:hover,
.service-card:hover,
.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(125, 211, 252, 0.36);
  box-shadow: var(--shadow);
}

.info-card:hover::before,
.service-card:hover::before,
.feature-card:hover::before {
  opacity: 1;
}

.info-card h3,
.service-card h3,
.feature-card h3,
.contact-details h3 {
  margin-bottom: 12px;
  color: var(--light-blue);
}

.info-card p,
.service-card p,
.feature-card p {
  color: var(--muted-cream);
}

.service-number {
  margin-bottom: 26px;
  color: rgba(125, 211, 252, 0.65);
  font-size: 2.3rem;
  font-weight: 850;
}

/* Alternating section atmosphere */

.services,
.demo {
  position: relative;
}

.services::before,
.demo::before {
  position: absolute;
  z-index: -1;
  inset: 20px -5vw;
  border: 1px solid rgba(191, 232, 255, 0.08);
  border-radius: 38px;
  content: "";
  background: rgba(17, 8, 6, 0.18);
}

/* Demo */

.demo-content {
  max-width: 850px;
  margin: auto;
  padding: 70px;
  border: 1px solid rgba(125, 211, 252, 0.25);
  border-radius: 32px;
  background:
    radial-gradient(circle at 90% 10%, rgba(125, 211, 252, 0.13), transparent 34%),
    linear-gradient(145deg, rgba(74, 41, 32, 0.92), rgba(40, 20, 16, 0.9));
  box-shadow: var(--shadow);
  text-align: center;
}

.demo-actions {
  justify-content: center;
}

.demo-notice {
  margin-top: 24px;
  color: var(--muted-cream);
  font-size: 0.82rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 28px;
}

.contact-details,
.contact-form {
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(66, 37, 29, 0.72);
}

.contact-details p {
  margin-top: 16px;
  color: var(--cream);
}

.contact-details a {
  color: var(--bright-blue);
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  color: var(--light-blue);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(191, 232, 255, 0.17);
  border-radius: 13px;
  outline: none;
  background: rgba(31, 16, 13, 0.58);
  color: var(--cream);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--bright-blue);
  box-shadow: 0 0 0 4px rgba(125, 211, 252, 0.1);
}

.contact-form .primary-button {
  width: fit-content;
  margin-top: 12px;
  border: 0;
}

/* Footer */

.site-footer {
  padding: 36px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
  background: rgba(22, 10, 8, 0.65);
  color: var(--muted-cream);
}

.footer-logo {
  color: var(--bright-blue);
}

/* Keyboard accessibility */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--bright-blue);
  outline-offset: 4px;
}

/* Tablet */

@media (max-width: 950px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 80px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-description {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-card {
    width: min(650px, 100%);
    margin: auto;
  }

  .about-grid,
  .service-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */

@media (max-width: 650px) {
  .site-header {
    padding: 14px 5%;
  }

  .nav-button {
    display: none;
  }

  .hero {
    width: 92%;
    padding-top: 65px;
  }

  .hero h1 {
    font-size: 3.25rem;
    letter-spacing: -2.5px;
  }

  .section {
    width: 92%;
    padding: 72px 0;
  }

  .about-grid,
  .service-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .demo-actions {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-card,
  .info-card,
  .service-card,
  .feature-card,
  .contact-details,
  .contact-form {
    border-radius: 18px;
  }

  .demo-content {
    padding: 42px 22px;
    border-radius: 24px;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}
/* ==============================
   Project and Team
   ============================== */

.team-section {
  text-align: center;
}

.team-introduction {
  max-width: 760px;
  margin: 0 auto 55px;
}

.team-introduction h2 {
  margin-bottom: 18px;
  color: var(--soft-blue);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.15;
  letter-spacing: -1.5px;
}

.team-introduction > p:last-child {
  color: var(--muted-cream);
}

.team-category {
  margin: 45px 0 20px;
  color: var(--bright-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 3px;
}

.supervisor-area {
  max-width: 670px;
  margin: 0 auto 55px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.team-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  padding: 38px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 25px;
  background:
    radial-gradient(
      circle at top right,
      rgba(125, 211, 252, 0.12),
      transparent 35%
    ),
    linear-gradient(
      145deg,
      rgba(66, 37, 29, 0.92),
      rgba(42, 21, 17, 0.9)
    );
  box-shadow: 0 15px 40px rgba(15, 6, 4, 0.2);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(125, 211, 252, 0.42);
  box-shadow: var(--shadow);
}

.supervisor-card {
  min-height: 290px;
  border-color: rgba(125, 211, 252, 0.3);
}

.member-initials {
  width: 78px;
  height: 78px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(191, 232, 255, 0.35);
  border-radius: 50%;
  background:
    linear-gradient(
      145deg,
      rgba(125, 211, 252, 0.2),
      rgba(125, 211, 252, 0.05)
    );
  color: var(--bright-blue);
  font-size: 1.35rem;
  font-weight: 850;
  box-shadow: 0 0 30px rgba(125, 211, 252, 0.12);
}

.member-information h3 {
  margin: 8px 0 12px;
  color: var(--soft-blue);
  font-size: 1.35rem;
}

.member-role {
  color: var(--bright-blue);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.member-information a {
  color: var(--cream);
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.member-information a:hover {
  color: var(--bright-blue);
}

@media (max-width: 700px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    min-height: 250px;
  }

  .member-information a {
    font-size: 0.85rem;
  }
}
.supervisor-photo {
  width: 110px;
  height: 110px;
  margin-bottom: 22px;
  border: 3px solid var(--bright-blue);
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 0 30px rgba(125, 211, 252, 0.22);
}
/* ==============================
   UOB and Project Branding
   ============================== */

.brand {
  display: fl*x;
  align-items: center;
  gap: 1*px;
}

.uob-logo {
  width: 52px;
  height: 52px;
  object-fit: conta*n;
  filter: drop-shadow(0 5px 12p* rgba(0, 0, 0, 0.28));
}

/* UOB and Project Branding */

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.uob-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.28));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.brand-name {
  color: var(--cream);
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: -0.3px;
}

.brand-subtitle {
  margin-top: 4px;
  color: var(--bright-blue);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 1.1px;
}

@media (max-width: 650px) {
  .uob-logo {
    width: 43px;
    height: 43px;
  }

  .brand-name {
    font-size: 0.93rem;
  }

  .brand-subtitle {
    font-size: 0.58rem;
  }
}

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}
