:root {
  --primary: #005ea8;
  --secondary: #009bd6;
  --accent: #ffb02e;
  --light: #f4f6fb;
  --dark: #0b1c2d;
  --text: #2b2b2b;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

body {
  color: var(--text);
  line-height: 1.6;
  background-color: #ffffff;
}

/* NAVBAR */
.navbar {
  background: linear-gradient(90deg, #ffffff 0%, #f5f7fb 50%, #ffffff 100%);
  border-bottom: 1px solid #dde3f0;
  padding: 0.9rem 7%;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* logo + text */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 58px;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* NAV LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 26px;
}

.nav-links a {
  position: relative;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.95rem;
  padding-bottom: 4px;
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--secondary);
}

.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 8px 20px;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 94, 168, 0.35);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.nav-cta:hover {
  background: var(--secondary);
  box-shadow: 0 5px 18px rgba(0, 155, 214, 0.4);
}

/* active link */
.nav-links a.active {
  color: var(--secondary);
}

.nav-links a.active::after {
  width: 100%;
}

/* NAV TOGGLE (MOBILE) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* when menu is open */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* HERO */
.hero {
  display: flex;
  align-items: center;
  padding: 4.5rem 7%;
  background: radial-gradient(circle at top left, #e6f0ff 0, #f5f7fb 45%, #ffffff 100%);
}

.hero-text {
  width: 52%;
}

.hero-text h1 {
  font-size: 2.6rem;
  color: var(--dark);
}

.hero-text p {
  margin: 1.2rem 0;
  max-width: 540px;
  font-size: 1.02rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #4a4f5c;
}

.hero-meta span {
  padding: 4px 10px;
  border-left: 3px solid var(--accent);
  background-color: rgba(0,0,0,0.02);
}

.hero-image {
  width: 48%;
  text-align: right;
}

.hero-image img {
  max-width: 92%;
  border-radius: 8px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.18);
}

/* BUTTONS */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 4px;
  margin-top: 1.1rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.hero-secondary-cta {
  margin-left: 10px;
}

/* SECTIONS */
section {
  padding: 3.5rem 7%;
}

h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--dark);
  font-size: 1.8rem;
}

.section-intro {
  max-width: 680px;
  margin: 0 auto 2.2rem auto;
  text-align: center;
  color: #555b66;
  font-size: 0.98rem;
}

/* SERVICES */
.services {
  background-color: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.service-card {
  background: white;
  padding: 1.8rem 1.7rem;
  border-radius: 8px;
  box-shadow: 0 6px 25px rgba(3, 24, 54, 0.08);
  border-top: 3px solid rgba(0,94,168,0.7);
}

.service-card h3 {
  margin-bottom: 0.6rem;
  color: var(--dark);
  font-size: 1.1rem;
}

.service-card p {
  font-size: 0.96rem;
  color: #4a4f5c;
}

/* SOLUTIONS */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.solution-card {
  background: #ffffff;
  padding: 1.7rem 1.7rem;
  border-radius: 8px;
  border: 1px solid #e2e6ee;
}

.solution-card h3 {
  margin-bottom: 0.5rem;
  color: var(--dark);
  font-size: 1.08rem;
}

.solution-card p {
  font-size: 0.95rem;
  color: #4a4f5c;
}

/* CLIENTS SECTION */
.clients {
  padding: 3.5rem 7%;
  background-color: #f9fafc;
  text-align: center;
}

.clients-subtitle {
  max-width: 640px;
  margin: 0.4rem auto 2.2rem auto;
  font-size: 0.96rem;
  color: #4a4f5c;
}

.client-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 70px;
  flex-wrap: nowrap;
}

/* ORIGINAL COLOR — ALWAYS */
.client-logos img {
  height: 115px;
  opacity: 0.9;
  transition: all 0.3s ease;
}

/* SUBTLE PROFESSIONAL HOVER */
.client-logos img:hover {
  opacity: 1;
  transform: scale(1.04);
}

/* ABOUT */
.about {
  max-width: 820px;
  margin: auto;
  text-align: center;
}

.about p {
  margin-bottom: 0.8rem;
  color: #4a4f5c;
}

/* CONTACT */
/* CONTACT */
.contact {
  background: var(--dark);
  color: white;
  text-align: center;
}

.contact h2 {
  color: #ffffff;       /* bright white for contrast */
  font-weight: 700;     /* optional: stronger heading */
}

.contact p {
  max-width: 520px;
  margin: 0 auto 1.5rem auto;
  font-size: 0.98rem;
  color: #e1e5f1;
}

/* industrial contact layout */
.contact-layout {
  max-width: 820px;
  margin: 2rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: stretch;
}

.contact-card {
  background: #050c18;
  border-radius: 12px;
  padding: 1.8rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.contact-card-header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin-bottom: 1.4rem;
  justify-content: space-between;
}

.badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 155, 214, 0.15);
  color: #e0f4ff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-tagline {
  font-size: 0.9rem;
  color: #c1c7da;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.contact-block h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #cfd6eb;
  margin-bottom: 0.4rem;
}

.contact-block p {
  margin: 0;
  font-size: 0.96rem;
  color: #ffffff;
}

.contact-block a {
  color: #ffffff;
  text-decoration: none;
}

.contact-block a:hover {
  text-decoration: underline;
}

.contact-cta {
  text-align: center;
}

/* FOOTER */
.footer {
  background: #000;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text,
  .hero-image {
    width: 100%;
  }

  .hero-image {
    margin-top: 1.8rem;
    text-align: center;
  }

  .hero-image img {
    max-width: 80%;
  }

  .hero-meta {
    justify-content: center;
  }

  .hero-secondary-cta {
    display: block;
    margin-left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    right: 7%;
    background: #ffffff;
    flex-direction: column;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  }

  .nav-links.active {
    display: flex;
  }

  .client-logos {
    flex-wrap: wrap;
    gap: 40px;
  }

  .client-logos img {
    height: 95px;
  }

  .contact-card-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    padding: 0 0.5rem;
  }
}

html {
  scroll-behavior: smooth;
}

#services,
#solutions,
#clients,
#about,
#contact,
#industries {
  scroll-margin-top: 90px;
}
