:root {
  --bg-main: #141f33;
  --blue-dark: #1f3a5f;
  --blue-light: #244f9e;
  --card-bg: #e5e5e5;
  --white: #ffffff;
  --nav-bg: #f5f5f5;
  --accent: #ffb703;
  --header-height: 74px;
  --header-offset: 28px;
  --footer-bg: #f5f5f5;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  --container: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg-main);
  color: var(--white);
}

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

a {
  text-decoration: none;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.header-spacer {
  height: calc(var(--header-height) + var(--header-offset));
  flex: 0 0 auto;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + var(--header-offset) + 16px);
}

.section-container {
  max-width: var(--container);
  margin: 0 auto;
}

.fade-in {
  animation: fadeIn 0.45s ease;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  z-index: 1200;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.burger {
  background: transparent;
  border: none;
  color: var(--blue-dark);
  font-size: 20px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.logo,
.logo a {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 44px;
}

.nav-links a {
  position: relative;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 500;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
  font-weight: 700;
}

/* SIDEBAR */
.sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background: #f5f5f5;
  z-index: 1400;
  padding-top: calc(var(--header-height) + 10px);
  box-shadow: var(--shadow);
  transition: left 0.28s ease;
  overflow-y: auto;
}

.sidebar.open {
  left: 0;
}

.sidebar-group {
  padding: 6px 0;
}

.sidebar-main,
.sidebar .submenu a {
  display: block;
  color: var(--blue-dark);
}

.sidebar-main {
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
}

.sidebar-main.active-link {
  font-weight: 700;
}

.sidebar .submenu {
  padding-bottom: 6px;
}

.sidebar .submenu a {
  padding: 9px 24px 9px 38px;
  font-size: 13px;
  color: #556378;
}

.sidebar a:hover {
  background: rgba(31, 58, 95, 0.08);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  z-index: 1300;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.overlay.show {
  opacity: 1;
  visibility: visible;
}

/* HOME */
.hero-home {
  min-height: 465px;
  margin-top: 0;
  background:
    linear-gradient(90deg, rgba(3, 9, 22, 0.92) 0%, rgba(3, 9, 22, 0.68) 34%, rgba(3, 9, 22, 0.18) 63%, rgba(3, 9, 22, 0.02) 100%),
    url("images/globe.png") right center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 56px 52px 62px;
}

.hero-home-content {
  max-width: 610px;
}

.hero-home h1 {
  font-size: 58px;
  line-height: 1.07;
  font-weight: 400;
  letter-spacing: -1px;
  margin-bottom: 28px;
}

.hero-home .highlight {
  color: var(--accent);
}

.hero-home p {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.45;
  color: #f2f2f2;
}

.home-cards-section {
  background: var(--bg-main);
  padding: 66px 28px 72px;
}

.cards {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 54px;
  flex-wrap: wrap;
}

.card {
  width: 286px;
  min-height: 410px;
  border-radius: 18px;
  background: var(--card-bg);
  color: var(--blue-dark);
  padding: 24px 18px 22px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  transform-origin: center bottom;
}

.card h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 14px;
}

.card-divider {
  height: 2px;
  width: 100%;
  background: #3b5681;
  margin-bottom: 18px;
}

.card p {
  max-width: 232px;
  margin: 0 auto;
  color: var(--blue-light);
  font-size: 17px;
  line-height: 1.48;
}

.card-spacer {
  flex: 1;
}

.card a {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 600;
}

/* ABOUT */
.about-hero {
  background: var(--bg-main);
}

.about-image-wrap {
  width: 100%;
  display: block;
}

.about-image {
  width: 100%;
  height: 323px;
  object-fit: cover;
  object-position: center center;
}

.about-section {
  background: var(--bg-main);
  padding: 30px 24px 44px;
  text-align: center;
}

.about-inner {
  max-width: 920px;
  margin: 0 auto;
}

.about-block {
  margin-bottom: 28px;
}

.about-block h2,
.about-block h3 {
  color: var(--blue-light);
  font-size: 17px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.about-block p,
.about-block li {
  color: #f4f4f4;
  font-size: 16px;
  line-height: 1.45;
}

.about-block p + p {
  margin-top: 16px;
}

.credential-list {
  list-style: none;
}

.logos-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}

.logos-row img {
  height: 108px;
  width: auto;
  object-fit: contain;
  background: transparent;
}

/* SERVICES */
.services-page {
  background: var(--bg-main);
  padding: 68px 24px 72px;
}

.services-container {
  max-width: 1120px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  color: var(--blue-light);
  font-size: 18px;
  text-transform: uppercase;
  margin: 0 0 30px;
  display: block;
  letter-spacing: 0.4px;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 34px;
  align-items: start;
  margin-bottom: 56px;
}

.industry-item {
  text-align: center;
}

.industry-item img {
  width: 178px;
  height: 178px;
  object-fit: contain;
  margin: 0 auto 16px;
  background: transparent !important;
  mix-blend-mode: screen;
  filter: none;
  transition: none;
}

.industry-item p {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.35;
}

.service-group {
  margin-bottom: 62px;
}

.service-heading {
  text-align: center;
  color: var(--blue-light);
  font-size: 18px;
  margin-bottom: 14px;
}

.service-line {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

.service-box-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.service-box {
  min-height: 96px;
  border-radius: 4px;
  background: #27487a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 12px;
  font-size: 16px;
  line-height: 1.25;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
  transform-origin: center bottom;
}

/* CONTACT */
.contact-page {
  background: var(--bg-main);
  padding: 82px 24px 110px;
}

.contact-card {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  border-radius: 10px;
  background: #293a67;
  padding: 22px 28px 18px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form label {
  display: block;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  outline: none;
  border-radius: 9px;
  background: #e5e5e5;
  color: #0f2344;
  padding: 14px 16px;
  font-size: 15px;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: 2px;
}

.contact-form button {
  min-width: 135px;
  border: 0;
  border-radius: 10px;
  background: #2f5eb6;
  color: #ffffff;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

/* FOOTER */
.footer {
  margin-top: auto;
  background: var(--footer-bg);
  color: var(--blue-dark);
  padding: 18px 28px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}

.footer-left {
  font-size: 13px;
  color: var(--blue-dark);
}

.footer-center {
  text-align: center;
  font-size: 14px;
}

.footer-right {
  justify-self: end;
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 28px;
  height: 28px;
  border-radius: 3px;
  background: #000000;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .service-box-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-home h1 {
    font-size: 50px;
  }
}

@media (max-width: 900px) {
  .nav-links {
    gap: 24px;
  }

  .hero-home {
    padding: 42px 28px;
    min-height: 380px;
    background-position: 68% center;
  }

  .hero-home h1 {
    font-size: 42px;
  }

  .industries-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

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

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

  .footer-left,
  .footer-center,
  .footer-right {
    justify-self: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
  }

  .logo img {
    height: 38px;
  }

  .hero-home {
    padding: 36px 22px;
  }

  .hero-home h1 {
    font-size: 34px;
  }

  .hero-home p,
  .card p,
  .about-block p,
  .about-block li,
  .industry-item p,
  .service-box {
    font-size: 15px;
  }

  .home-cards-section,
  .services-page,
  .contact-page,
  .about-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .card {
    width: 100%;
    max-width: 340px;
  }
}

@media (max-width: 520px) {
  .service-box-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 20px 18px 16px;
  }

  .footer {
    padding: 16px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.card:hover,
.card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}

.service-box:hover,
.service-box:focus {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  background: #31589b;
}

