* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #0a0a12;
  color: #e8e8f0;
  line-height: 1.6;
  overflow-x: hidden;
}
.bg-grid {
  position: fixed; inset: 0;
  background-image: linear-gradient(rgba(200,30,30,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,80,200,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none; z-index: 0;
}
.particles { position: fixed; inset: 0; pointer-events: none; z-index: 1; }
.particle {
  position: absolute; width: 2px; height: 2px; background: #c41e3a; border-radius: 50%;
  animation: float linear infinite; opacity: 0.6;
}
@keyframes float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 2rem;
  background: rgba(10,10,18,0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.3s;
}
header.hidden { transform: translateY(-100%); }
.logo { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; color: #fff; z-index: 102; }
.logo img { height: 48px; width: auto; }
.logo span { font-weight: 700; font-size: 0.95rem; line-height: 1.2; }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 102;
  padding: 0.4rem;
}
nav {
  display: flex;
  align-items: center;
}
nav a { color: #eee; text-decoration: none; margin-left: 1.5rem; font-weight: 500; }
nav a:hover, nav a.active { color: #c41e3a; }
.cta-nav { background: linear-gradient(90deg, #c41e3a, #002868); color: #fff !important; padding: 0.5rem 1.2rem; border-radius: 4px; font-weight: 700; }
.hero {
  min-height: 70vh; display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; z-index: 2; overflow: hidden;
  margin-top: 0;
  padding-top: 90px;
}
.subpage-hero { min-height: 42vh; padding-top: 90px; }
.hero-bg {
  position: absolute; inset: 0;
  background: center/cover no-repeat;
  filter: brightness(0.45) contrast(1.1);
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,18,0.65) 0%, rgba(10,10,18,0.4) 100%);
}
.hero-content { position: relative; z-index: 3; max-width: 800px; padding: 2rem; }
.hero-content h1 {
  font-size: 3.5rem; font-weight: 800; letter-spacing: -1px;
  text-shadow: 0 0 30px rgba(196,30,58,0.5);
}
.subpage-hero .hero-content h1 { font-size: 2.8rem; }
.hero-content h1 span { color: #c41e3a; }
.tagline { font-size: 1.3rem; margin: 1rem 0 0.4rem; opacity: 0.95; }
.subpage-hero .tagline { font-size: 1.15rem; margin: 0.6rem 0 0; }
.area { font-size: 1.05rem; color: #a0c4ff; margin-bottom: 0; letter-spacing: 0.5px; }
.cta {
  display: inline-block; padding: 1rem 2.5rem;
  background: linear-gradient(90deg, #c41e3a, #002868);
  color: #fff; text-decoration: none; font-weight: 700; border-radius: 6px;
  box-shadow: 0 0 20px rgba(196,30,58,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta:hover { transform: translateY(-3px); box-shadow: 0 0 30px rgba(196,30,58,0.6); }
.home-services-teaser {
  padding: 5rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.home-services-teaser h2 { margin-bottom: 1rem; }
.teaser-lead {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
  font-size: 1.1rem;
}
.teaser-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.teaser-item {
  flex: 1 1 260px;
  max-width: 300px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 1.8rem 1.4rem;
  backdrop-filter: blur(6px);
  transition: transform 0.25s, border-color 0.25s;
}
.teaser-item:hover {
  transform: translateY(-4px);
  border-color: rgba(196,30,58,0.4);
}
.teaser-icon { font-size: 2.4rem; margin-bottom: 0.8rem; }
.teaser-item h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.teaser-item p { opacity: 0.8; font-size: 0.95rem; }
.services, .services-section, .about-intro, .leadership, .terms-content { padding: 5rem 2rem; max-width: 1000px; margin: 0 auto; position: relative; z-index: 2; }
.services-section.alt { background: rgba(0,40,104,0.06); border-radius: 20px; margin: 2rem auto; }
h2 { text-align: center; font-size: 2.2rem; margin-bottom: 2.5rem; }
.terms-content h2 { text-align: left; font-size: 1.6rem; margin: 2rem 0 0.8rem; }
.terms-content h2:first-child { margin-top: 0; }
.terms-content p { margin-bottom: 1rem; opacity: 0.9; }
.about-intro {
  display: flex; align-items: center; gap: 3rem;
}
.about-text { flex: 1; }
.about-text h2 { text-align: left; margin-bottom: 1rem; }
.about-text p { margin-bottom: 1rem; opacity: 0.9; }
.about-visual {
  flex: 0 0 220px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.about-visual img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: transparent;
}
.leadership { text-align: center; }
.leader-grid {
  display: flex; justify-content: center;
  gap: 2rem; flex-wrap: wrap;
}
.leader-card {
  background: rgba(20,20,30,0.6);
  border: 1px solid rgba(196,30,58,0.3);
  border-radius: 16px;
  padding: 2.5rem 2.5rem;
  max-width: 520px;
  width: 100%;
  backdrop-filter: blur(8px);
}
.leader-photo {
  width: 160px;
  height: 180px;
  margin: 0 auto 1.2rem;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border: 3px solid #c41e3a;
  overflow: hidden;
  background: #111;
}
.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.leader-card h3 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.leader-title {
  color: #c41e3a; font-weight: 600;
  position: relative;
  display: inline-block;
  padding: 0 1rem;
  margin-bottom: 1.2rem;
}
.leader-title::before,
.leader-title::after {
  content: '';
  position: absolute; top: 50%;
  width: 30px; height: 2px;
  background: #c41e3a;
}
.leader-title::before { right: 100%; }
.leader-title::after { left: 100%; }
.leader-card p { opacity: 0.85; font-size: 0.98rem; margin-bottom: 0.9rem; text-align: left; }
.leader-card p:last-child { margin-bottom: 0; }
.square-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.square-panel {
  width: 220px;
  height: 240px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1.2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 6px 25px rgba(0,0,0,0.25);
  flex-shrink: 0;
}
.square-panel:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(196,30,58,0.5);
  transform: translateY(-4px);
}
.square-panel.open {
  height: auto;
  min-height: 300px;
  background: rgba(20,20,30,0.75);
  border-color: #c41e3a;
  box-shadow: 0 12px 40px rgba(196,30,58,0.25);
  transform: translateY(-12px);
}
.panel-icon {
  font-size: 2.8rem;
  margin-bottom: 0.6rem;
  transition: transform 0.3s;
}
.square-panel.open .panel-icon { transform: scale(0.85); }
.panel-title {
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.panel-plus {
  font-size: 1.8rem;
  font-weight: 300;
  color: #c41e3a;
  line-height: 1;
  transition: transform 0.3s;
}
.square-panel.open .panel-plus { transform: rotate(45deg); }
.panel-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s;
  margin-top: 0;
}
.square-panel.open .panel-body {
  max-height: 160px;
  opacity: 1;
  margin-top: 0.8rem;
}
.panel-body p { font-size: 0.88rem; opacity: 0.9; }
.explore { padding: 3rem 2rem; }
.explore-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.explore-list div {
  background: rgba(0,40,104,0.3);
  border: 1px solid rgba(0,80,180,0.4);
  padding: 0.8rem 1.5rem; border-radius: 30px;
  font-weight: 500;
}
.cta-band {
  text-align: center; padding: 4rem 2rem;
  background: linear-gradient(90deg, rgba(196,30,58,0.15), rgba(0,40,104,0.2));
  position: relative; z-index: 2;
}
.cta-band h2 { margin-bottom: 0.5rem; }
.cta-band p { margin-bottom: 1.5rem; opacity: 0.9; }
footer {
  text-align: center; padding: 2rem; opacity: 0.6; border-top: 1px solid #222;
  position: relative; z-index: 2;
}
footer a { color: #a0c4ff; text-decoration: none; }
footer a:hover { color: #c41e3a; }
@media (max-width: 800px) {
  .menu-toggle { display: block; }
  nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 280px;
    background: rgba(10,10,18,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.8rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 1px solid rgba(255,255,255,0.1);
    z-index: 101;
  }
  nav.open { transform: translateX(0); }
  nav a { margin-left: 0; font-size: 1.2rem; }
  .cta-nav { margin-top: 0.5rem; }
}
@media (max-width: 700px) {
  .about-intro { flex-direction: column; }
  .about-visual { flex: none; width: 100%; max-width: 220px; height: 280px; }
  .about-text h2 { text-align: center; }
  .leader-card { padding: 2rem 1.5rem; }
  .hero-content h1 { font-size: 2.6rem; }
  .subpage-hero .hero-content h1 { font-size: 2.2rem; }
  .tagline { font-size: 1.15rem; }
}
@media (max-width: 600px) {
  .hero-content h1 { font-size: 2.2rem; }
  .subpage-hero .hero-content h1 { font-size: 1.9rem; }
  .square-panel { width: 200px; height: 220px; }
  .panel-icon { font-size: 2.4rem; }
  header { padding: 0.8rem 1rem; }
  .logo img { height: 40px; }
  .logo span { font-size: 0.85rem; }
  .services, .services-section, .about-intro, .leadership, .terms-content, .home-services-teaser { padding: 3.5rem 1.2rem; }
}