:root {
  --bg: #071026;
  --accent: #00bfff;
  --muted: #9bb2c9;
  --panel: #081826;
  --white: #ffffff;
  --border-deco: #0a1b3d; /* dark blue decorative border */
}

/* Base Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 18px; }

/* Header */
.header {
  background: linear-gradient(180deg, #061321, #071026);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 80;
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo img { height: 88px; }
.nav a {
  color: var(--muted);
  margin-left: 18px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 6px 8px;
  border-radius: 6px;
}
.nav a:hover { color: var(--accent); background: rgba(0,191,255,0.04); }

/* Home (dark) */
#home {
  background: var(--bg);
  color: var(--white);
}
.hero { position: relative; min-height: 68vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
#matrix { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 30px; }
.accent { color: var(--accent); font-weight: 700; display: block; }
.btn {
  background: var(--accent);
  color: #00121a;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  display: inline-block;
  margin-top: 18px;
  box-shadow: 0 10px 30px rgba(0,191,255,0.08);
}
.social-row { display: flex; gap: 12px; justify-content: center; margin-top: 18px; }
.social-row a img { width: 44px; height: 44px; }

/* All Other Sections (light with border) */
#about, #services, #gallery, #careers, #contact, #blog, #downloads {
  background: #ffffff;
  color: #000000;
  padding: 40px 20px;
  border: 6px solid var(--border-deco);  /* decorative dark blue border */
  border-radius: 12px;
  margin: 20px auto;
  max-width: 1200px;
}
#about h1, #services h1, #gallery h1, #careers h1,
#contact h1, #blog h1, #downloads h1,
#about h2, #services h2, #gallery h2, #careers h2,
#contact h2, #blog h2, #downloads h2 {
  color: #0a0f1f;
  text-align: center;
  margin-bottom: 20px;
}
#about p, #services p, #gallery p, #careers p,
#contact p, #blog p, #downloads p {
  color: #333;
  line-height: 1.6;
  text-align: center;
}

/* Management Grid (About) */
.management-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.profile {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.profile img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; }
.profile h3 { margin: 0; font-size: 1.1rem; color: #0a0f1f; }
.profile div { font-weight: bold; margin: 4px 0; color: #555; }
.profile p { font-size: 0.9rem; color: #444; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.service-card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.service-card h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.2rem; color: #0a0f1f;
}
.service-card h3 i { color: var(--accent); }
.service-card p { color: #333; line-height: 1.6; margin-bottom: 12px; }
.service-list { padding-left: 18px; }
.service-list li { margin-bottom: 8px; list-style: none; position: relative; padding-left: 22px; }
.service-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute; left: 0;
  color: var(--accent);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 20px 0;
}
.gallery-card {
  background: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
}
.gallery-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.figcaption {
  padding: 10px;
  font-size: 0.95rem;
  font-weight: bold;
  color: #333;
  background: #fff;
}

/* Careers */
.simulate-form {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  max-width: 720px;
  margin: auto;
}
.form-field {
  background: #fff;
  border: 2px solid #444;
  color: #000;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 16px;
  width: 100%;
}
textarea.form-field { min-height: 120px; }
label { font-weight: bold; margin-bottom: 6px; display: block; }
.careers-positions ul { list-style: none; padding: 0; }
.careers-positions li {
  background: #f1f1f1;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 10px;
}

/* Contact */
.contact-panel {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Blog */
.blog-card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.blog-card h3 { margin: 0 0 10px; color: var(--accent); }
.blog-card p { color: #333; }

/* Downloads */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.download-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.download-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.download-card p { margin-bottom: 12px; color: #333; }
.download-card a {
  display: inline-block;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
}

/* Footer */
footer {
  padding: 18px 0;
  background: linear-gradient(180deg, #061321, #071026);
  color: var(--white);
}

/* Responsive */
@media(max-width:900px){
  .nav a { font-size:1rem; }
  .logo img { height: 64px; }
}
@media(max-width:768px){
  .header .container {
    flex-direction: column;
    gap: 10px;
  }
  .logo img { height: 48px; }
  .nav { display: none; }
  .hero { min-height:50vh; padding:20px 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}
