:root {
  --blue: #23395b;
  --orange: #fc7753;
  --graybg: #f5f7fa;
  --container-width: 1200px;
  --font-family: "Segoe UI", Arial, sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background: var(--graybg);
  color: var(--navy);
  line-height: 1.6;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 2rem;
}

main.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

main.container p {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  max-width: 600px;
}

main.container h1 {
  text-align: center;
  margin-bottom: 0.5rem;
}

main.container form {
  width: 100%;
  max-width: 500px;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

main.container form label {
  text-align: left;
  display: block;
  font-weight: bold;
  margin-bottom: 0.25rem;
  padding-left: 0.25rem;
}

main.container form input[type="file"] {
  display: block;
  margin-left: 0;
}

main.container form button {
  display: block;
  margin: 1.5rem auto 0 auto;
}

header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 50;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
}

nav a,
.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
}

nav a:hover,
.nav-links a:hover {
  color: var(--orange);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.logo:hover {
  color: inherit;
}

.company-name {
  font-size: 1.5rem;
  font-weight: bold;
  white-space: nowrap;
}

.hero {
  padding: 4rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.hero img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.btn-primary {
  background-color: var(--orange);
  color: white;
  display: inline-flex;
  align-items: center; /* centers text + icon vertically */
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  gap: 0.75rem;
  line-height: 1;
  transition: background-color 0.3s ease;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

.btn-primary:hover {
  background-color: #cc5a00; /* slightly darker orange */
}

.btn-outline {
  display: inline-block;
  padding: 0.75rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.125rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  height: 40px;
  line-height: 40px;
  vertical-align: middle;
  border: 2px solid #fc7753;
  color: #fc7753;
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.btn-icon {
  margin-left: 0.75rem;
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.2s ease;
  display: inline-block;
  line-height: 1;
}
    
.btn-primary:hover .btn-icon-circle {
  transform: translateX(4px);
}

.btn-icon-circle {
  background-color: white;
  color: var(--orange);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.btn-icon-circle i {
  display: inline-block;
  transform: translateY(-2px);
}
    
.engineer-section {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.engineer-section img {
  border-radius: 12px;
  max-width: 400px;
  width: 100%;
  height: auto;
}

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.service-item {
  flex: 1 1 300px;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.2s ease;
}

.service-item:hover {
  transform: translateY(-4px);
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  padding: 4rem 0;
  justify-content: space-between;
}

.trust img {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 240px;
}

.cta {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background: #ffe3db; /* soft orange */
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.cta a {
  background: #fc7753;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
}

.cta a:hover {
  background: #e7623e;
  color: #fff;
}

.cta h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

footer {
  background: var(--blue);
  color: #fff;
  padding: 0.5rem;
}

footer a {
  color: var(--orange);
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

.footer-column {
  max-width: 600px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 1.25rem 5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links a {
  color: var(--orange);
  text-decoration: none;
  font-weight: bold;
}
.footer-links li {
  width: 50%;
  margin-top: 0.5rem;
}

ul.custom-bullets {
  list-style: none;
  padding-left: 0;
}

ul.custom-bullets li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
}

ul.custom-bullets li::before {
  content: "✔";
  color: var(--orange);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

@media (max-width: 800px) {
  .about-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
  }
  .nav-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 0rem;
  }
  .quote {
    font-size: 1rem;
    max-width: 100%;
    padding: 0 1rem;
  }
  .quote-block {
    text-align: center;
    margin-top: 1rem;
  }
  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0rem 0em;
    width: 100%;
    padding: 0;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: inline-block;
    padding: 0.5rem 1em;
    font-weight: 700;
  }
  .hero,
  .trust,
  .cta {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero img,
  .trust img {
    margin: 0 auto;
  }
  .trust ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }
  .cta {
    justify-content: center;
  }
  .cta a {
    margin-top: 1rem;
  }
  .comparison-table th,
  .comparison-table td {
    font-size: 0.85rem;
    padding: 0.5rem;
  }
  .button-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .button-group a {
    width: 100%;
    max-width: 250px;
  }
  .material-description {
    padding: 0 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .material-comparison {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .comparison-table {
    min-width: 800px;
  }
  .contact-form button {
    width: 100%;
    margin-top: 1rem;
  }
}

/* About/Profile Section */
.about-profile {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 2rem;
  flex-wrap: wrap;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.profile-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.owner-headshot {
  border-radius: 50%;
  width: 176px;
  height: 176px;
  object-fit: cover;
  border: 4px solid var(--navy);
  box-shadow: 0 6px 16px var(--orange);
}

.owner-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 1rem;
  color: var(--navy);
}
.subtitle {
  font-size: 1rem;
  color: gray;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.quote,
.quote-block {
  max-width: 600px;
  line-height: 1.6;
  font-size: 1.05rem;
  font-style: italic;
}

.quote-block {
  flex: 2;
  text-align: right;
}

/* Contact Page Styles */
.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 1rem;
}

.contact-title {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.contact-intro {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.contact-form div {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form input[type="file"] {
  padding: 0;
}

.contact-form button {
  display: block;
  margin: 0 auto;
}

/* Portfolio Page Table Section */
.material-comparison {
  margin-top: 3rem;
}

.material-comparison h2 {
  text-align: center;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.material-comparison p {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.material-description {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 1.1rem;
  margin: 0 auto 1.5rem auto;
  padding: 0 2rem;
  max-width: 100%;
  box-sizing: border-box;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 0.75rem 1em;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
  white-space: nowrap;
}

.comparison-table th {
  background-color: var(--blue);
  color: #fff;
  font-weight: 600;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.portfolio-video {
  text-align: center;
  margin-top: 3rem;
}
