
:root {
  --navy: #1f3a5f;
  --deep: #172333;
  --gold: #b8873b;
  --text: #1f2933;
  --muted: #5f6b7a;
  --line: #e5e7eb;
  --light: #f8fafc;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 18px 45px rgba(31, 58, 95, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; }

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 7%;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.96);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 62px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  text-decoration: none;
  color: #263445;
  font-size: 15px;
  font-weight: 600;
}

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

.hero {
  padding: 84px 7%;
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
}

.hero-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.tagline {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 14px;
  margin: 0 0 12px;
}

.hero h1, .page-hero h1 {
  max-width: 820px;
  font-size: 52px;
  line-height: 1.12;
  margin: 12px 0 18px;
  color: #172333;
}

.subtitle, .page-hero p {
  max-width: 760px;
  font-size: 18px;
  color: var(--muted);
}

.hero-image-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.7);
  background: white;
}

.hero-image-card img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  display: block;
}

.hero-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(23, 35, 51, 0.88);
  color: white;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.buttons { margin-top: 32px; }

.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 8px;
  text-decoration: none;
  margin-right: 12px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.primary {
  background: var(--navy);
  color: white;
  box-shadow: 0 10px 22px rgba(31,58,95,0.20);
}

.secondary {
  border: 1px solid var(--navy);
  color: var(--navy);
  background: white;
}

.section {
  padding: 76px 7%;
}

.section h1 {
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 18px;
}

.section h2 {
  font-size: 34px;
  margin: 0 0 18px;
  color: #172333;
}

.section-intro {
  max-width: 820px;
  color: var(--muted);
  margin-bottom: 34px;
  font-size: 17px;
}

.section-heading {
  margin-bottom: 30px;
}

.light { background: var(--light); }

.cards, .image-cards, .photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card, .image-card, .photo-card, .info-box, .contact-card, .location-box, .faq-item, .step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.card {
  padding: 28px;
}

.card h3, .image-card h3, .photo-card h3, .step h3, .faq-item h3 {
  margin: 0 0 10px;
  font-size: 19px;
  color: #172333;
}

.card p, .image-card p, .photo-card p, .step p, .faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

.image-card {
  overflow: hidden;
}

.image-card img, .photo-card img {
  width: 100%;
  height: 235px;
  object-fit: cover;
  display: block;
}

.image-card.large img {
  height: 280px;
}

.image-card div, .photo-card h3, .photo-card p {
  padding-left: 22px;
  padding-right: 22px;
}

.image-card div {
  padding-top: 22px;
  padding-bottom: 24px;
}

.photo-card {
  overflow: hidden;
}

.photo-card h3 {
  padding-top: 22px;
}

.photo-card p {
  padding-bottom: 24px;
}

.page-hero {
  padding: 88px 7% 70px;
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step {
  padding: 28px;
}

.step span {
  display: inline-block;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 38px;
  align-items: start;
}

.info-box, .contact-card {
  padding: 30px;
  box-shadow: var(--shadow);
}

.location-box {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fdfaf4;
  border-color: #ead7b5;
}

.faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.faq-item { padding: 26px; }

.check-list {
  padding-left: 20px;
  color: var(--muted);
}

.check-list li {
  margin: 8px 0;
}

.cta {
  padding: 72px 7%;
  background: var(--navy);
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 34px;
  margin: 0 0 12px;
}

.cta p {
  color: #dbeafe;
  margin-bottom: 28px;
}

.cta .btn {
  background: white;
  color: var(--navy);
}

footer {
  padding: 46px 7% 28px;
  background: #111827;
  color: #d1d5db;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.footer-logo {
  height: 58px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-note {
  max-width: 420px;
  color: #cbd5e1;
}

footer h3 {
  color: white;
  margin: 0 0 10px;
}

footer p {
  margin: 6px 0;
}

footer a {
  color: #dbeafe;
  text-decoration: none;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 28px;
  padding-top: 20px;
  color: #9ca3af;
}

@media (max-width: 980px) {
  .hero-split, .split {
    grid-template-columns: 1fr;
  }

  .cards, .image-cards, .photo-grid, .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq, .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .header {
    display: block;
    padding: 12px 6%;
  }

  .logo-img {
    height: 52px;
  }

  nav {
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 12px;
  }

  nav a {
    font-size: 14px;
  }

  .hero, .section, .page-hero, .cta {
    padding-left: 6%;
    padding-right: 6%;
  }

  .hero h1, .page-hero h1 {
    font-size: 36px;
  }

  .subtitle, .page-hero p {
    font-size: 16px;
  }

  .cards, .image-cards, .photo-grid, .steps {
    grid-template-columns: 1fr;
  }

  .hero-image-card img {
    height: 300px;
  }

  .image-card img, .image-card.large img, .photo-card img {
    height: 230px;
  }

  .btn {
    margin-bottom: 10px;
  }
}


/* Home page image updates */
.hero-product-banner {
  background: transparent;
  box-shadow: none;
  border: 0;
  border-radius: 22px;
}

.hero-product-banner img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 22px;
}

.source-cards {
  grid-template-columns: repeat(4, 1fr);
}

.source-cards .image-card img {
  height: 300px;
  object-fit: contain;
  background: #ffffff;
  padding: 18px;
}

.text-only-card {
  display: flex;
  align-items: center;
  min-height: 180px;
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
}

.text-only-card div {
  padding: 28px;
}

.real-records-grid {
  align-items: start;
}

.real-records-grid .photo-card {
  display: flex;
  flex-direction: column;
}

.real-records-grid .record-wide {
  grid-column: auto;
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

.real-records-grid .record-wide img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center;
  background: #f8fafc;
  display: block;
  padding: 10px;
}

.real-records-grid .photo-card:not(.record-wide) img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  background: transparent;
  display: block;
  padding: 0;
}

@media (max-width: 980px) {
  .source-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .source-cards {
    grid-template-columns: 1fr;
  }

  .source-cards .image-card img {
    height: 260px;
  }

  .real-records-grid .record-wide img {
    height: 200px;
  }

  .real-records-grid .photo-card:not(.record-wide) img {
    height: 200px;
  }
}


/* How We Work centered timeline */
.how-hero {
  text-align: center;
}

.how-hero h1,
.how-hero p {
  margin-left: auto;
  margin-right: auto;
}

.how-work-section {
  background: #f3f5f7;
  padding-top: 86px;
  padding-bottom: 86px;
}

.centered-steps {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 46px;
}

.centered-steps::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(31,58,95,0.12), rgba(31,58,95,0.34), rgba(31,58,95,0.12));
  z-index: 0;
}

.center-step {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 34px 42px 36px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(23, 35, 51, 0.08);
  text-align: center;
}

.step-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.center-step h3 {
  margin: 0 0 14px;
  font-size: 27px;
  line-height: 1.25;
  color: #172333;
}

.center-step p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
}


.step-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
  margin: 0 auto 16px;
}

.center-step .step-icon + .step-label {
  margin-top: 0;
}

@media (max-width: 680px) {
  .step-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
  }
}

@media (max-width: 680px) {
  .how-work-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .centered-steps {
    gap: 28px;
  }

  .centered-steps::before {
    display: none;
  }

  .center-step {
    padding: 28px 24px 30px;
  }

  .center-step h3 {
    font-size: 23px;
  }

  .center-step p {
    font-size: 16px;
  }
}


/* About Us page updates */
.about-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(23, 35, 51, 0.78), rgba(23, 35, 51, 0.42)),
    url("images/about-us/factory/factory.jpg") center center / cover no-repeat;
  color: #ffffff;
}

.about-hero .tagline {
  color: #d6a550;
}

.about-hero h1 {
  color: #ffffff;
  margin-bottom: 0;
}

.about-hero-overlay {
  width: 100%;
  max-width: 1180px;
}

.about-company-section {
  background: #ffffff;
}

.about-company-card {
  max-width: 1080px;
  margin: 0 auto;
  padding: 42px 48px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(23, 35, 51, 0.06);
}

.about-company-card h2 {
  margin-bottom: 18px;
}

.about-company-card p {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 18px;
}

.about-company-card p:last-child {
  margin-bottom: 0;
}

.about-experience-section .section-heading {
  max-width: 920px;
}

.client-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.client-photo {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-photo img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #f8fafc;
}

@media (max-width: 980px) {
  .client-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-photo img {
    height: 300px;
  }
}

@media (max-width: 680px) {
  .about-hero {
    min-height: 300px;
  }

  .about-company-card {
    padding: 30px 24px;
  }

  .client-gallery {
    grid-template-columns: 1fr;
  }

  .client-photo img {
    height: auto;
    max-height: 420px;
  }
}
