:root {
  --primary: #111827;
  --primary-dark: #0d1117;
  --secondary: #f1f5f9;
  --accent: #f4b400;
  --accent-soft: #f8d767;
  --text: #1f2937;
  --muted: #5f6d7a;
  --white: #ffffff;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #f2f2f2 0%, #e7e7e7 100%);
  border-bottom: 1px solid rgba(17, 24, 39, 0.12);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.1rem, 2vw, 1.75rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--primary-dark);
  line-height: 1.12;
}

.brand-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(17, 24, 39, 0.18));
}

.footer-logo {
  width: 54px;
  height: 54px;
}

.main-nav {
  display: flex;
  align-items: stretch;
  gap: 0;
  font-size: 1.02rem;
  background: rgba(255, 255, 255, 0.2);
  flex: 1;
  justify-content: flex-end;
}

.main-nav a {
  color: #1c2430;
  transition: all 0.2s ease;
  padding: 24px 22px 19px;
  min-height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-bottom: 3px solid transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-dark);
  border-bottom-color: var(--accent);
  background: rgba(255, 255, 255, 0.18);
}

.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(rgba(11, 27, 47, 0.6), rgba(11, 27, 47, 0.6)), url("../assets/Home_Background.png");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 22, 38, 0.7), rgba(7, 22, 38, 0.35));
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.hero-copy {
  max-width: 640px;
  color: var(--white);
}

.eyebrow,
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-tag.light {
  color: rgba(255, 255, 255, 0.78);
}

.hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.1;
}

.hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%);
  color: var(--primary-dark);
  box-shadow: 0 10px 18px rgba(244, 180, 0, 0.22);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.section {
  padding: 96px 0;
}

.two-col,
.content-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 42px;
  align-items: center;
}

.section-header {
  margin-bottom: 32px;
}

.section-header h2,
.intro h2,
.cta-box h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  color: var(--primary-dark);
}

.intro p,
.content-grid p,
.info-panel li,
.contact-card p,
.info-box p {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.wide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.info-box,
.contact-card,
.info-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 0;
  overflow: hidden;
  background: #f3f5f7;
}

.service-media {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  padding: 18px;
}

.service-media img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  background: transparent;
}

.service-copy {
  padding: 18px 18px 20px;
}

.service-card h3,
.info-box h3,
.contact-card h3,
.info-panel h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.service-card p,
.info-box p,
.contact-card p,
.info-panel li {
  margin: 0;
  color: var(--muted);
}

.service-card h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: clamp(1.2rem, 1.8vw, 1.8rem);
}

.service-card p {
  line-height: 1.45;
  text-align: justify;
}

.service-card p strong {
  color: #0f172a;
  font-weight: 800;
}

.highlight-band {
  background: #f8fafc;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.info-box {
  padding: 24px 20px;
}

.cta-section {
  padding-top: 16px;
}

.cta-box {
  padding: 38px 30px;
  background: linear-gradient(135deg, #edf3fb, #f9fbfd);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 44px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 26px;
  padding: 18px 0 28px;
}

.footer-bottom p {
  margin: 0;
}

.site-footer .brand {
  color: var(--white);
}

.footer-brand {
  margin-bottom: 12px;
}

.page-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), url("../assets/Home_Background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body.page-about .page-hero {
  background-image: linear-gradient(rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.72)), url("../assets/about-background.png");
}

body.page-products .page-hero {
  background-image: linear-gradient(rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.72)), url("../assets/products-background.png");
}

body.page-services .page-hero {
  background-image: linear-gradient(rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.72)), url("../assets/services-background.png");
}

body.page-careers .page-hero {
  background-image: linear-gradient(rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.72)), url("../assets/careers-background.png");
}

body.page-contact .page-hero {
  background-image: linear-gradient(rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.72)), url("../assets/contact-background.png");
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 25, 39, 0.28);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  padding: 70px 0;
  color: var(--white);
}

.page-hero h1 {
  margin: 14px 0 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.info-panel {
  padding: 26px 24px;
}

.info-panel ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.contact-grid {
  align-items: start;
}

.contact-card {
  padding: 28px 24px;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 14px;
  padding: 16px 18px;
  font: inherit;
  font-size: 1.02rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-shadow: inset 0 1px 2px rgba(17, 24, 39, 0.02);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #6b7280;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form .btn {
  width: fit-content;
  border: none;
  cursor: pointer;
}

.form-status {
  margin-top: 18px;
  min-height: 24px;
  font-weight: 700;
  color: #0f766e;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
}

.form-status.success {
  color: #0f766e;
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.2);
}

.form-status.error {
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
}

@media (max-width: 900px) {
  .card-grid,
  .three-col,
  .two-col,
  .content-grid,
  .contact-grid,
  .wide-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 18px 0;
  }

  .brand {
    font-size: 1.25rem;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 0;
  }

  .main-nav a {
    min-height: auto;
    padding: 14px 16px 12px;
  }

  .cta-box,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
