:root {
  --primary: #0b1f33;
  --accent: #0ea5e9;
  --light: #ffffff;
  --gray: #f3f4f6;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, sans-serif;
}

body {
  line-height: 1.6;
  color: #111;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
}

/* Header */
.site-header {
  position: relative;              /* ✅ not overlapping hero */
  width: 100%;
  background: var(--primary);      /* ✅ dark blue */
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;              /* ✅ compact header height */
}


.logo {
  height: 80px;
}

nav a {
  color: var(--light);
  margin-left: 1.5rem;
  text-decoration: none;
}

/* Hero */
.hero {
  min-height: 70vh;
  background:
    linear-gradient(
      rgba(11, 31, 51, 0.45),
      rgba(11, 31, 51, 0.45)
    ),
    url("../images/hero-bg.jpg") center / cover no-repeat;

  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;              /* ✅ normal padding again */
}

.hero .container {
  background: transparent;
}

/* Buttons */
.btn {
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  background: var(--accent);
  color: white;
  text-decoration: none;
}

/* Hamburger */
#hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

#hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: white;
  margin: 5px 0;
}

/* Mobile nav */
@media (max-width: 900px) {
  #hamburger {
    display: block;
  }

  #nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: #0b1f33;
    flex-direction: column;
    text-align: center;
  }

  #nav-menu.active {
    display: flex;
  }
}

/* =========================
   Services Page Enhancements
   ========================= */
.services .container {
  text-align: center;
}

.services {
  background: var(--gray);
}

.services h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.service-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.8rem;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}

.service-card h3 {
  margin-bottom: 0.6rem;
}

.service-card p {
  color: #555;
  font-size: 0.95rem;
}

/* Expand / Collapse Details */
.service-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.25s ease;
  margin-top: 0;
}

.service-card.expanded .service-details {
  max-height: 600px;
  opacity: 1;
  margin-top: 1rem;
}

/* Services page hero / intro */
/* ---  new settings --*/

.services-hero {
  background: var(--gray);          /* ✅ soft neutral tint */
  padding: 4rem 2rem 3rem;
  text-align: center;
}
/*
.services-hero {
  text-align: center;
  padding: 4rem 2rem;
}
*/

.services-hero h1 {
  margin-bottom: 1rem;
}
/*  added 4/28/2026 */
services-hero h1 {
  margin-bottom: 1.25rem;
  position: relative;
}

/* Subtle accent divider */
.services-hero h1::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background: var(--accent);
  margin: 1.25rem auto 0;
  border-radius: 2px;
}


.services-hero p {
  max-width: 720px;
  margin: 1.5rem auto 0;
  color: #444;
  font-size: 1.05rem;
}

.services-cta {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 3rem 2rem;
  margin-bottom: 0;
}


.learn-more {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-top: 1rem;
}

/* Industry Tabs */

.industry-tabs {
  display: flex;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.industry-tab {
  background: #f3f4f6;
  border: 1px solid #ccc;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
}

.industry-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.industry-content {
  display: none;
}

.industry-content.active {
  display: block;
}


/* =========================
   Contact Form Styles
   ========================= */

.contact-section {
  max-width: 900px;
}

.contact-intro {
  margin-bottom: 2rem;
  color: #444;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  padding: 0.65rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.full-width {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}


.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;   /* ✅ centers cards horizontally */
  align-items: stretch;
}


.card {
  width: 100%;
  max-width: 320px;        /* ✅ prevents overly wide cards */
  background: white;
  padding: 2rem;
  border-radius: 8px;
}

.site-footer {
  background: #000;
  color: #aaa;
  text-align: center;
  padding: 1.5rem 1rem;
  width: 100%;
}

