/* styles.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #222;
  line-height: 1.6;
  background-color: #fff;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0;
}

.header {
  background-color: #0b1e3d;
  color: #fff;
  padding: 20px 0;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 28px;
  margin-top: 0;
}

.nav-list a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.nav-list a:hover, .nav-list a:focus {
  color: #ff3c00;
  border-bottom: 2px solid #ff3c00;
  outline: none;
}

.hero {
  background-size: cover;
  background-position: center;
  min-height: 340px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11, 30, 61, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 60px 0;
}

.hero h2 {
  font-size: 38px;
  margin-bottom: 16px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.hero p {
  font-size: 20px;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.section {
  padding: 50px 0;
  background: #fff;
}

.section.gray {
  background-color: #f4f7fa;
}

h3 {
  font-size: 26px;
  margin-bottom: 18px;
  font-weight: 700;
  color: #0b1e3d;
}

.about-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.about-text {
  flex: 1 1 300px;
}

.about-img {
  flex: 1 1 250px;
  text-align: right;
}

.about-img img {
  max-width: 320px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border: 3px solid #0b1e3d;
}

.philosophy-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.philosophy-img {
  flex: 1 1 250px;
}

.philosophy-img img {
  max-width: 320px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border: 3px solid #0b1e3d;
}

.philosophy-text {
  flex: 2 1 300px;
}

.philosophy-text ul {
  margin-top: 16px;
  padding-left: 20px;
}

.philosophy-text li {
  margin-bottom: 8px;
  font-size: 16px;
}

.whatwedo-list {
  list-style: disc inside;
  font-size: 18px;
  margin-top: 10px;
  margin-left: 10px;
}

.locations {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: row;
  gap: 40px;
  flex-wrap: wrap;
}

.locations li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(11,30,61,0.06);
  padding: 24px 28px;
  min-width: 220px;
  font-size: 16px;
  border-left: 4px solid #0b1e3d;
}

.footer {
  background-color: #0b1e3d;
  color: #fff;
  text-align: center;
  padding: 24px 0 10px 0;
  margin-top: 40px;
}

.footer-note {
  font-size: 14px;
  color: #b0b8c9;
  margin-top: 8px;
}

a {
  color: #0b1e3d;
  transition: color 0.2s;
}

a:hover, a:focus {
  text-decoration: underline;
  color: #ff3c00;
  outline: none;
}

@media (max-width: 800px) {
  .about-flex, .philosophy-flex, .locations {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .about-img img, .philosophy-img img {
    max-width: 100%;
  }
  .locations {
    gap: 18px;
  }
}