/* ========================================
   The Blueprint Scale Co. — Global Styles
   High-End Luxury | Royal Blue, Silver, White
   Primary: #005198  Accent: #c8c9ca  Light: #f7f8fa
   ======================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #005198;
  --blue-dark: #003a6e;
  --blue-light: #0068c3;
  --silver: #c8c9ca;
  --silver-light: #e3e4e5;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --text: #1a1a2e;
  --text-light: #555568;
  --gold: #b8a068;
  --radius: 4px;
  --shadow: 0 2px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
  --transition: .3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-light); }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--blue);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

/* ---------- Layout ---------- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

section {
  padding: 100px 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--blue);
}

.btn-outline-dark {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline-dark:hover {
  background: var(--blue);
  color: var(--white);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 48px;
  transition: height var(--transition);
}
.nav.scrolled .nav-logo img { height: 40px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
}
.nav.scrolled .nav-links a { color: var(--text); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--gold); }

.nav-links .btn-outline {
  padding: 8px 22px;
  font-size: .75rem;
}
.nav.scrolled .nav-links .btn-outline {
  color: var(--blue);
  border-color: var(--blue);
}
.nav.scrolled .nav-links .btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}
.nav.scrolled .nav-toggle span { background: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(165deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-light) 100%);
  overflow: hidden;
  padding: 120px 0 100px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.06) 0%, transparent 50%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero-content .section-label { color: var(--silver-light); }
.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}
.hero p {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Decorative Geometric Lines */
.hero-deco {
  position: absolute;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 50%;
  pointer-events: none;
}
.hero-deco--1 { width: 500px; height: 500px; top: -150px; right: -100px; }
.hero-deco--2 { width: 300px; height: 300px; bottom: -80px; left: -60px; }
.hero-deco--3 { width: 700px; height: 700px; bottom: -350px; right: -200px; }

/* ---------- Regional Success Highlights ---------- */
.regional {
  background: var(--off-white);
}
.regional-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.regional-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.regional-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--blue);
  transition: transform var(--transition), box-shadow var(--transition);
}
.regional-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.regional-card .stat {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}
.regional-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.regional-card p {
  color: var(--text-light);
  font-size: .92rem;
}

/* ---------- Services ---------- */
.services-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 32px 40px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--blue);
  font-size: 1.4rem;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--text-light); font-size: .92rem; }

/* ---------- Values ---------- */
.values {
  background: var(--blue);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.values::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(255,255,255,.04) 0%, transparent 50%);
}
.values-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
  position: relative;
}
.values-header .section-label { color: var(--gold); }
.values-header h2 { color: var(--white); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  position: relative;
}
.value-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: background var(--transition);
}
.value-card:hover { background: rgba(255,255,255,.14); }
.value-card h3 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 1.15rem;
}
.value-card p {
  color: rgba(255,255,255,.75);
  font-size: .92rem;
}
.value-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
  opacity: .6;
}

/* ---------- Careers Teaser ---------- */
.careers {
  background: var(--off-white);
}
.careers-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.careers-text .section-label { margin-bottom: 12px; }
.careers-text h2 { margin-bottom: 20px; }
.careers-text p {
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 480px;
}
.careers-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.careers-highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.careers-highlight-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.careers-highlight h4 {
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.careers-highlight p {
  color: var(--text-light);
  font-size: .85rem;
  margin-bottom: 0;
}
.careers-visual {
  position: relative;
}
.careers-image-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.2);
  font-size: 4rem;
}
.careers-floating-stat {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.careers-floating-stat .stat {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
}
.careers-floating-stat span {
  display: block;
  font-size: .78rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* ---------- Contact ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info .section-label { margin-bottom: 12px; }
.contact-info h2 { margin-bottom: 20px; }
.contact-info > p {
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 440px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-detail-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
}
.contact-detail div { line-height: 1.5; }
.contact-detail strong {
  display: block;
  font-size: .85rem;
  color: var(--text);
}
.contact-detail span, .contact-detail a {
  font-size: .9rem;
  color: var(--text-light);
}

.contact-form {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form h3 {
  margin-bottom: 24px;
  font-size: 1.3rem;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  border: 1px solid var(--silver-light);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,.7);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: .9rem;
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.7;
}
.footer-brand img { height: 40px; margin-bottom: 4px; filter: brightness(0) invert(1); }
.footer h4 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  transition: color var(--transition);
}
.footer ul a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,.5); }
.footer-legal a:hover { color: var(--white); }

/* ---------- Page Headers (sub-pages) ---------- */
.page-header {
  background: linear-gradient(165deg, var(--blue-dark), var(--blue));
  padding: 140px 0 60px;
  text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,.7); font-size: 1.05rem; }

/* ---------- Legal Pages ---------- */
.legal-content {
  padding: 80px 0 100px;
}
.legal-content .container { max-width: 840px; }
.legal-content h2 {
  font-size: 1.4rem;
  margin: 40px 0 16px;
  padding-top: 20px;
  border-top: 1px solid var(--silver-light);
}
.legal-content h2:first-of-type { border-top: none; margin-top: 0; }
.legal-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: .95rem;
}
.legal-content strong { color: var(--text); }
.legal-content .last-updated {
  display: inline-block;
  background: var(--off-white);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: .85rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

/* ---------- Apply / Application Page ---------- */
.apply-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.apply-intro p { color: var(--text-light); margin-top: 12px; }

.apply-form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}
.apply-form-wrapper h3 {
  margin-bottom: 8px;
}
.apply-form-wrapper > p {
  color: var(--text-light);
  font-size: .9rem;
  margin-bottom: 32px;
}

.form-section-title {
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 32px;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--silver-light);
}
.form-section-title:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  width: auto;
  accent-color: var(--blue);
}
.checkbox-group label {
  font-size: .85rem;
  color: var(--text-light);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.checkbox-group label a { text-decoration: underline; }

/* Success Notification */
.notification {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  padding: 20px 28px;
  border-radius: var(--radius);
  font-size: .92rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateX(120%);
  transition: transform .4s ease;
  max-width: 400px;
}
.notification.show { transform: translateX(0); }
.notification--success {
  background: #0a7c42;
  color: var(--white);
}
.notification--error {
  background: #c0392b;
  color: var(--white);
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .careers-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .careers-floating-stat { right: 16px; bottom: -16px; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--text) !important; font-size: .9rem; }
  .nav-links .btn-outline {
    color: var(--blue) !important;
    border-color: var(--blue);
  }
  .nav-toggle { display: flex; }

  .regional-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .apply-form-wrapper { padding: 28px 20px; }
  .hero-buttons { flex-direction: column; align-items: center; }
}
