/* Reset and base styles */
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #f5f6fa;
  color: #222d3b;
}

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

a {
  color: #ff5733;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #222d3b;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation styles */
header {
  background: #222d3b;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 0;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}
.logo {
  height: 56px;
  margin: 12px 0;
}
nav {
  display: flex;
  gap: 36px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05em;
  color: #fff;
  padding: 18px 0;
  border-bottom: 3px solid transparent;
  transition: border 0.2s, color 0.2s;
}
nav a.active, nav a:hover {
  color: #ff5733;
  border-bottom: 3px solid #ff5733;
}

/* Hero section */
.hero {
  background: linear-gradient(90deg, #222d3b 68%, #ff5733 100%);
  color: #fff;
  padding: 48px 0 0 0;
}
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}
.hero-content > div {
  flex: 1 1 340px;
}
.hero-img {
  flex: 1 1 340px;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.14);
  max-width: 440px;
}
.hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5em;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.25em;
  margin-bottom: 28px;
}
.btn-primary {
  display: inline-block;
  background: #ff5733;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(255,87,51,0.10);
  font-size: 1.12em;
  transition: background 0.2s;
}
.btn-primary:hover {
  background: #ffa733;
  color: #222d3b;
}

/* Section and columns */
.section {
  margin: 56px 0;
}
.section-light {
  background: #fff;
  padding: 48px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.02);
  border-radius: 18px;
}
.three-cols {
  display: flex;
  gap: 42px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.three-cols > div {
  flex: 1 1 230px;
  background: #f5f6fa;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(34,45,59,0.03);
  text-align: center;
}
.three-cols h2 {
  color: #ff5733;
  font-size: 1.15em;
  margin-bottom: 10px;
}
.three-cols p {
  color: #222d3b;
  font-size: 1.04em;
}

/* About page */
.about-columns {
  display: flex;
  gap: 42px;
  flex-wrap: wrap;
  margin-top: 38px;
}
.about-columns > div {
  flex: 1 1 320px;
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(34,45,59,0.04);
}
.about-columns h2 {
  color: #ff5733;
  margin-bottom: 10px;
}

/* Services grid */
.services-grid {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.service-card {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 14px;
  padding: 28px 22px;
  box-shadow: 0 4px 18px rgba(34,45,59,0.06);
  margin-bottom: 24px;
  min-width: 240px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.service-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 36px rgba(255,87,51,0.10);
}
.service-card h2 {
  color: #ff5733;
  margin-bottom: 12px;
  font-size: 1.17em;
}
.service-card p {
  color: #222d3b;
  font-size: 1.02em;
}

/* Portfolio page */
.portfolio-gallery {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 36px;
  justify-content: center;
}
.portfolio-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(34,45,59,0.09);
  width: 320px;
  transition: transform 0.15s, box-shadow 0.15s;
  overflow: hidden;
}
.portfolio-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 14px 40px rgba(255,87,51,0.13);
}
.portfolio-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.portfolio-item h3 {
  margin: 16px 18px 8px 18px;
  color: #ff5733;
  font-size: 1.14em;
}
.portfolio-item p {
  margin: 0 18px 18px 18px;
  color: #222d3b;
  font-size: 0.99em;
}

/* Contact page */
.contact-form {
  background: #fff;
  border-radius: 14px;
  padding: 32px 24px;
  box-shadow: 0 4px 18px rgba(34,45,59,0.06);
  max-width: 440px;
  margin-bottom: 36px;
}
.contact-form div {
  margin-bottom: 16px;
}
.contact-form label {
  display: block;
  font-weight: 600;
  color: #222d3b;
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 8px;
  border-radius: 6px;
  border: 1px solid #dadada;
  font-size: 1em;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 4px;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ff5733;
}
.contact-form button {
  background: #ff5733;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1em;
  font-weight: 700;
  padding: 12px 26px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-form button:hover {
  background: #ffa733;
  color: #222d3b;
}
.contact-details {
  margin-top: 18px;
  background: #f5f6fa;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(34,45,59,0.03);
}
.contact-details h3 {
  margin-top: 0;
  color: #ff5733;
}

footer {
  background: #222d3b;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 48px;
  font-size: 1.01em;
  letter-spacing: 0.01em;
  border-top: 3px solid #ff5733;
}

/* Responsive */
@media (max-width: 950px) {
  .hero-content,
  .three-cols,
  .about-columns,
  .services-grid,
  .portfolio-gallery {
    flex-direction: column;
    gap: 26px;
    align-items: stretch;
  }
  nav {
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 8px;
  }
  .logo {
    height: 40px;
  }
  .hero h1 {
    font-size: 1.5em;
  }
  .hero-img {
    max-width: 100%;
  }
  .section {
    margin: 32px 0;
  }
  footer {
    font-size: 0.95em;
    padding: 12px 0;
  }
}