:root {
  --color-bg: #ffffff;
  --color-bg-alt: #e1e3e4;
  --color-text: #595959;
  --color-text-muted: #595959;
  --color-primary: #1a7dab;
  --color-primary-dark: #125d80;
  --color-heading: #5cc2f0;
  --color-border: #e1e3e4;
  --max-width: 1120px;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 25, 0.04), 0 1px 1px rgba(20, 20, 25, 0.03);
  --shadow-md: 0 10px 24px rgba(20, 20, 25, 0.06), 0 2px 6px rgba(20, 20, 25, 0.04);
  --shadow-lg: 0 18px 40px rgba(20, 20, 25, 0.09), 0 4px 10px rgba(20, 20, 25, 0.05);
  font-size: 16px;
}

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

body {
  font-family: "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

h1,
h2,
h3 {
  color: var(--color-heading);
}

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

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

ul,
ol {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 90px;
  width: auto;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.15s ease;
}

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

.nav-links a.active {
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(26, 125, 171, 0.25);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(26, 125, 171, 0.32);
}

.btn-secondary {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn-secondary:hover {
  border-color: var(--color-text);
}

.btn-secondary.selected {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* Hero */

.hero {
  position: relative;
  padding: 120px 0 96px;
  text-align: center;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  max-width: 720px;
  margin: 0 auto 24px;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Diagonal stripe accent, echoing the brand mark */

.hero::before,
.hero::after,
.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  top: -20%;
  height: 150%;
  width: 44px;
  transform: rotate(11deg);
  border-radius: 8px;
  pointer-events: none;
}

.hero::before,
.page-hero::before {
  right: 130px;
  background: var(--color-text);
  opacity: 0.08;
}

.hero::after,
.page-hero::after {
  right: 78px;
  background: var(--color-primary);
  opacity: 0.14;
}

/* Page hero (interior pages) */

.page-hero {
  position: relative;
  padding: 72px 0 56px;
  text-align: center;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.page-hero p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  position: relative;
}

/* Sections */

.section {
  padding: 88px 0;
}

.section.alt {
  background: var(--color-bg-alt);
}

.section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: -0.01em;
}

.section-cta {
  text-align: center;
  margin-top: 32px;
}

.section-cta a {
  font-weight: 600;
  color: var(--color-primary);
}

.cta-banner {
  text-align: center;
}

.cta-banner h2 {
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--color-text-muted);
}

/* Facilities management capability list */

.fm-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 44px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}

.fm-services li {
  position: relative;
  padding-left: 26px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.fm-services li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 14px;
  background: var(--color-primary);
  border-radius: 2px;
  transform: rotate(10deg);
}

/* Diploma modules list */

.modules-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modules-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modules-list li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.module-number {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  min-width: 84px;
}

.module-title {
  font-weight: 600;
}

/* Highlight card */

.highlight-card {
  max-width: 760px;
  margin: 56px auto 0;
  padding: 32px 36px;
  border-radius: var(--radius);
  background: var(--color-bg);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--color-primary);
  text-align: center;
}

.highlight-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.highlight-card p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

/* About */

.about-content {
  max-width: 720px;
  text-align: center;
}

.about-content p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  text-align: justify;
}

.about-content p + p {
  margin-top: 16px;
}

.about-content p a {
  color: var(--color-primary);
  text-decoration: underline;
}

.about-content p a:hover {
  color: var(--color-primary-dark);
}

.founder-profile {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  border-radius: var(--radius);
  background: var(--color-bg);
  box-shadow: var(--shadow-md);
  padding: 40px 36px;
}

.founder-profile h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.founder-title {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.founder-profile p:not(.founder-title) {
  color: var(--color-text-muted);
}

/* Contact */

.contact-bar {
  text-align: center;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  text-align: left;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-list strong {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.info-list span {
  font-size: 1rem;
}

#selectedEmail {
  color: var(--color-primary);
  font-weight: 600;
}

/* Contact form */

.contact-form {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form-row input,
.form-row textarea {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  background: var(--color-bg);
  transition: border-color 0.15s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 125, 171, 0.15);
}

.contact-form .btn {
  align-self: flex-start;
}

/* Footer */

.site-footer {
  background: var(--color-text);
  padding: 32px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Responsive */

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 110px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 80px 0 64px;
  }

  .hero::before,
  .hero::after,
  .page-hero::before,
  .page-hero::after {
    display: none;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .fm-services {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-form {
    padding: 24px;
  }
}
