/* ============================================================
   Sollex Corporate Website — Main Stylesheet
   Option C Color System:
   Structure : --navy    #0E2841  (navbar, hero, footer, dark sections)
   Primary   : --gold    #FFC000  (borders, labels, CTAs, active states)
   Secondary : --steel   #2B6CB0  (card icons, accents, links, buttons)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@400;600&display=swap');

/* Brand color tokens */
:root {
  --navy:       #0E2841;
  --navy-mid:   #132f52;
  --navy-deep:  #091d30;
  --gold:       #FFC000;
  --gold-dark:  #e0a800;
  --steel:      #2B6CB0;
  --steel-dark: #1e4f8a;
  --steel-light: rgba(43,108,176,0.1);
  --white:      #ffffff;
  --gray-light: #F4F6F9;
  --gray-text:  #3a3a4a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: #1a1a2e;
  background: #ffffff;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p {
  max-width: 68ch;
  color: #3a3a4a;
}

/* ── Utility Classes ──────────────────────────────────────── */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section--dark {
  background: var(--navy);
  color: #ffffff;
}

.section--dark p {
  color: #c8d0dc;
}

.section--gray {
  background: #F4F6F9;
}

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

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  margin-bottom: 48px;
}

.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

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

.btn--outline {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn--outline:hover {
  background: #ffffff;
  color: var(--navy);
}

.btn--outline-navy {
  background: transparent;
  color: var(--steel);
  border-color: var(--steel);
}

.btn--outline-navy:hover {
  background: var(--steel);
  color: #ffffff;
}

/* ── Navigation ───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar__logo img {
  height: 46px;
  width: auto;
}

.navbar__logo-text {
  font-family: 'Aptos Display', 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  color: #ffffff;
  letter-spacing: 0.06em;
  text-decoration: none;
  line-height: 1;
}

.navbar__logo-text span {
  color: var(--gold);
  font-style: normal;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar__nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c8d0dc;
  padding: 8px 14px;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
}

.navbar__nav a:hover {
  color: var(--steel);
  background: rgba(43,108,176,0.12);
}

.navbar__nav a.active {
  color: var(--gold);
  background: rgba(255,192,0,0.08);
}

.navbar__cta {
  margin-left: 16px;
}

/* Hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.navbar__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(11,31,58,0.97) 0%, rgba(11,31,58,0.75) 60%, rgba(11,31,58,0.55) 100%),
    url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,197,24,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,197,24,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero__eyebrow-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.hero__eyebrow-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero__sub {
  font-size: 1.1rem;
  color: #a8b8cc;
  margin-bottom: 40px;
  max-width: 58ch;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(245,197,24,0.6), transparent);
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Stats Bar ────────────────────────────────────────────── */
.stats-bar {
  background: var(--gold);
  padding: 28px 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 12px 24px;
  border-right: 1px solid rgba(11,31,58,0.2);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item__number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.stat-item__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(11,31,58,0.65);
  margin-top: 4px;
}

/* ── Cards Grid ───────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: #ffffff;
  border: 1px solid #e4e8ef;
  border-top: 3px solid var(--gold);
  padding: 36px 32px;
  transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  box-shadow: 0 12px 32px rgba(11,31,58,0.12);
  transform: translateY(-4px);
}

.card__icon {
  width: 52px;
  height: 52px;
  background: var(--steel-light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--steel);
  fill: none;
  stroke-width: 1.8;
}

.card h3 {
  color: var(--navy);
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
  color: #5a6478;
  max-width: none;
}

.card:hover {
  box-shadow: 0 12px 32px rgba(43,108,176,0.15);
  transform: translateY(-4px);
  border-top-color: var(--steel);
}

.card--dark {
  background: var(--navy-mid);
  border-color: rgba(43,108,176,0.2);
  border-top-color: var(--gold);
}

.card--dark:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  border-top-color: var(--gold);
}

.card--dark h3 { color: #ffffff; }
.card--dark p  { color: #8a9ab5; }
.card--dark .card__icon { background: rgba(43,108,176,0.15); }
.card--dark .card__icon svg { stroke: var(--steel); }

/* ── Two Column Layout ────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col--reversed .two-col__visual { order: -1; }

.two-col__visual {
  position: relative;
}

.two-col__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 2px;
}

.two-col__accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 180px;
  height: 180px;
  border: 4px solid var(--steel);
  border-radius: 2px;
  z-index: -1;
}

.two-col__text .section-title {
  margin-bottom: 20px;
}

.two-col__list {
  margin: 24px 0 32px;
}

.two-col__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: #3a3a4a;
  border-bottom: 1px solid #eee;
}

.two-col__list li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background: var(--gold);
  clip-path: polygon(0 50%, 35% 100%, 100% 0, 35% 65%);
}

/* ── Services Page ────────────────────────────────────────── */
.services-hero {
  padding: 160px 0 80px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,197,24,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,197,24,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.services-hero__content {
  position: relative;
  z-index: 1;
}

.services-hero h1 { color: #ffffff; margin-bottom: 16px; }
.services-hero p  { color: #a8b8cc; font-size: 1.1rem; }

.service-block {
  padding: 72px 0;
  border-bottom: 1px solid #e4e8ef;
}

.service-block:last-child { border-bottom: none; }

.service-block__tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  background: rgba(43,108,176,0.08);
  border: 1px solid rgba(43,108,176,0.3);
  padding: 4px 12px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 16px;
}

/* ── About Page ───────────────────────────────────────────── */
.page-hero {
  padding: 160px 0 80px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,197,24,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,197,24,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #ffffff; margin-bottom: 16px; }
.page-hero p  { color: #a8b8cc; font-size: 1.1rem; max-width: 60ch; }

/* ── Values Grid ──────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  background: #e4e8ef;
}

.value-item {
  background: #ffffff;
  padding: 40px 32px;
  text-align: center;
  transition: background 0.25s;
}

.value-item:hover { background: var(--steel); }

.value-item:hover .value-item__title { color: var(--gold); }
.value-item:hover .value-item__text  { color: rgba(255,255,255,0.85); }

.value-item__number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(11,31,58,0.06);
  line-height: 1;
  margin-bottom: 12px;
}

.value-item__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
  transition: color 0.25s;
}

.value-item__text {
  font-size: 0.9rem;
  color: #5a6478;
  max-width: none;
  transition: color 0.25s;
}

/* ── Team Grid ────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.team-card {
  text-align: center;
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 20px;
  background: #c8d0dc;
}

.team-card__photo-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #13345a, #1a3560);
  border-radius: 2px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card__photo-placeholder svg {
  width: 56px;
  height: 56px;
  stroke: rgba(245,197,24,0.5);
  fill: none;
  stroke-width: 1.2;
}

.team-card__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-card__title {
  font-size: 0.85rem;
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

/* ── Contact Page ─────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-info__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(43,108,176,0.15);
  border: 1px solid rgba(43,108,176,0.35);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--steel);
  fill: none;
  stroke-width: 1.8;
}

.contact-info__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-info__value {
  color: #c8d0dc;
  font-size: 0.95rem;
}

/* Form */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c8d0dc;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  color: #ffffff;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group select option {
  background: var(--navy);
}

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

/* ── Company Profile Page ─────────────────────────────────── */
.profile-table {
  width: 100%;
  border-collapse: collapse;
}

.profile-table tr {
  border-bottom: 1px solid #e4e8ef;
}

.profile-table tr:last-child { border-bottom: none; }

.profile-table td {
  padding: 18px 0;
  vertical-align: top;
}

.profile-table td:first-child {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  width: 220px;
  padding-right: 24px;
}

.profile-table td:last-child {
  color: #c8d0dc;
  font-size: 0.95rem;
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}

.capability-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid rgba(43,108,176,0.4);
  color: var(--steel);
  background: rgba(43,108,176,0.08);
  border-radius: 2px;
  letter-spacing: 0.06em;
}

.naics-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #c8d0dc;
  border-radius: 2px;
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #13345a 0%, var(--navy) 100%);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 { color: #ffffff; margin-bottom: 16px; }
.cta-banner p  { color: #a8b8cc; margin: 0 auto 36px; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: #060f1e;
  color: #8a9ab5;
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer__brand-name span { color: var(--gold); }

.footer__tagline {
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 28ch;
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

.footer__social a:hover {
  border-color: var(--gold);
  background: rgba(245,197,24,0.1);
}

.footer__social svg {
  width: 16px;
  height: 16px;
  stroke: #8a9ab5;
  fill: none;
  stroke-width: 1.8;
  transition: stroke 0.2s;
}

.footer__social a:hover svg { stroke: var(--gold); }

.footer__col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.88rem;
  color: #8a9ab5;
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--gold); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.8rem;
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-links a {
  color: #8a9ab5;
  transition: color 0.2s;
}

.footer__bottom-links a:hover { color: var(--gold); }

/* ── Mobile Nav ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .navbar__nav { display: none; }
  .navbar__cta  { display: none; }
  .navbar__toggle { display: flex; }

  .navbar__nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background: var(--navy);
    border-top: 1px solid rgba(245,197,24,0.2);
    padding: 16px 24px 24px;
    gap: 4px;
  }

  .navbar__nav.open a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .navbar__nav.open .navbar__cta { display: block; margin: 16px 0 0; }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .two-col--reversed .two-col__visual { order: 0; }
  .two-col__accent { display: none; }

  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }

  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item { border-right: none; border-bottom: 1px solid rgba(11,31,58,0.15); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(11,31,58,0.15); }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .form-row { grid-template-columns: 1fr; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; }
}
