
body { font-family: Arial, sans-serif; margin: 0; background: #f2f2f2; color: #333; }
header, footer { background: #002244; color: white; text-align: center; padding: 1rem; }
nav a { color: #f2f2f2; margin: 0 1rem; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.container { max-width: 960px; margin: auto; padding: 2rem; background: white; box-shadow: 0 0 10px rgba(0,0,0,0.1); }
h1 { color: #ffffff; }
h2, h3 { color: #002244; }
.info-group { margin-bottom: 1.5rem; }
.info-item { margin: 0.5rem 0; }
ul { padding-left: 1.2rem; }
iframe { width: 100%; height: 300px; border: none; margin-top: 1rem; }
form input, form textarea { width: 100%; padding: 0.5rem; margin: 0.5rem 0; border: 1px solid #ccc; border-radius: 4px; }
button { background: #0066cc; color: white; padding: 0.7rem 1.5rem; border: none; border-radius: 4px; cursor: pointer; }
button:hover { background: #004999; }
.grid { display: flex; flex-wrap: wrap; gap: 2rem; }
.grid > div { flex: 1 1 300px; }
.about-images {
  margin-top: 40px;
  text-align: center;
}
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
}

.background-wrapper {
  background-image: url('Images/a-machine-tool-and-other-machines-sitting-on-a-black-background-free-photo.jpg');
  background-size: auto;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  width: 100%;
  padding: 0;
}

.about-images h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.image-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.image-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.image-grid img:hover {
  transform: scale(1.03);
}
.video-banner {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.video-banner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* darken overlay */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 0 20px;
}

.video-overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.video-overlay p {
  font-size: 1.2rem;
  max-width: 700px;
}
.why-choose-us {
  max-width: 1000px;
  margin: 100px auto;
  padding: 20px;
  text-align: center;
}

.why-choose-us h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #002e5b;
}

.box-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.box-item {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInBox 0.8s ease forwards;
  animation-play-state: paused;

  padding: 30px 20px;
  background-color: #eef1f5;
  border-left: 6px solid #a30a0a;
  border-radius: 10px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Delay animations for each box */
.box-item:nth-child(1) { animation-delay: 0.3s; }
.box-item:nth-child(2) { animation-delay: 0.6s; }
.box-item:nth-child(3) { animation-delay: 0.9s; }

@keyframes slideInBox {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Optional: responsive font size */
@media (max-width: 768px) {
  .box-item {
    font-size: 1.2rem;
    padding: 20px;
  }
}
/* START: home page services section */
.brief {
  text-align: center;
  padding: 80px 20px;
  background: #f7f9fc;
}

.brief h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #002e5b;
}

.brief-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  max-width: 1000px;
  margin: auto;
}

.brief-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s;
}

.brief-card img {
  width: 60px;
  margin-bottom: 20px;
}

.brief-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
/* END: home page services section */

/* START: product page products section */
.industries-grid {
  padding: 40px 0;
}
.industry-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.industry-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease;
}
.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.industry-card img {
  width: 100%;
  max-height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}
.industry-card h4 {
  font-size: 1.2rem;
  color: #002e5b;
  margin-bottom: 10px;
}
.industry-card p {
  font-size: 0.95rem;
  color: #333;
}
.full-image-hover {
  width: 100%;
  overflow: hidden;
}
/* END: product page products section */

.image-container {
  position: relative;
  width: 100%;
  height: 60vh; 
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.image-container:hover img {
  transform: scale(1.05);
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  background: rgba(0, 0, 0, 0.34);
  padding: 20px 30px;
  border-radius: 8px;
  font-size: 1.5rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  font-family: 'Roboto', sans-serif;
}

.image-container:hover .overlay-text {
  opacity: 1;
}
/* START: about page core values section */
.core-values {
  text-align: center;
  padding: 60px 20px;
  background: #f7f9fc;
}
.core-values h2 {
  font-size: 2rem;
  color: #002e5b;
  margin-bottom: 10px;
}
.core-values .intro {
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.value-box {
  background-color: #002e5b;
  color: white;
  font-size: 1.1rem;
  padding: 40px 20px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.4s ease;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.value-box::after {
  content: attr(data-desc);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #001e3e;
  color: #fff;
  font-size: 0.95rem;
  padding: 20px;
  box-sizing: border-box;
  transition: top 0.4s ease;
  z-index: 2;
}
.value-box:hover::after {
  top: 0;
}
/* END: about page core values section */

/* START: services page service section */
.services-enhanced {
  padding: 80px 20px;
  background: #f9fafb;
  text-align: center;
}
.services-enhanced .intro {
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.services-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 30px;
  margin-bottom: 60px;
}
.service-card {
  background: #002e5b;
  color: #fff;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(20px);
}
.service-card h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.95rem;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s ease-in-out;
}
.quote-button {
  background: #870000;
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}
.quote-button:hover {
  background: #7a0202;
}
/* END: service page services section */

/* START: about page founder section */
.founder-section {
  background: #f7f9fc;
  padding: 80px 20px;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}
.founder-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
}
.founder-image {
  flex: 1 1 350px;
}
.founder-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.founder-text {
  flex: 2 1 600px;
}
.founder-text h2 {
  font-size: 2rem;
  color: #002e5b;
  margin-bottom: 20px;
}
.founder-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #333;
}
.founder-quote {
  margin-top: 30px;
  font-style: italic;
  font-size: 1.2rem;
  color: #002e5b;
  border-left: 4px solid #7a0202;
  padding-left: 20px;
}
@media (max-width: 768px) {
  .founder-container {
    flex-direction: column;
  }
}
/* END: about page founder section */

.equipment-section {
  padding: 80px 20px;
  background-color: #f7f9fc;
  text-align: center;
}
.equipment-section h2 {
  font-size: 2.2rem;
  color: #002e5b;
  margin-bottom: 40px;
}
.equipment-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 1200px;
  margin: auto;
}
.equipment-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  justify-content: center;
}
.equipment-image {
  flex: 1 1 350px;
  text-align: center;
  position: relative;
}
.equipment-image img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.equipment-title {
  margin-top: 15px;
  font-size: 1.25rem;
  color: #002e5b;
}
.equipment-description {
  flex: 1 1 400px;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
@media (max-width: 768px) {
  .equipment-row {
    flex-direction: column;
  }
}

footer small { font-size: 0.9rem; }
