/* =========================================
   RESET & BASE
========================================= */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
  scroll-behavior: smooth;
}

/* =========================================
   FIXED NAVIGATION HEADER
========================================= */
header {
  position: fixed;
  top: 0;
  left: 0; right: 0;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  padding: 0 40px;
  box-sizing: border-box;
  z-index: 1000;
  user-select: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.logo-link:hover { transform: scale(1.05); }
.logo-link:hover .logo-text { text-decoration: underline; }
.logo-link:hover .logo-img { filter: drop-shadow(0 0 3px #4caf50); }

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-right: 12px;
  filter: drop-shadow(0 0 2px #0003);
  background: transparent;
}

.logo-text {
  font-size: 26px;
  font-weight: 700;
  color: #e53935;
  letter-spacing: 1px;
  user-select: none;
}

/* =========================================
   NAVIGATION LINKS
========================================= */
nav { display: flex; gap: 32px; }
nav a {
  color: #e53935;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
  user-select: none;
}
nav a:hover,
nav a.active {
  background-color: #4caf50;
  color: #fff;
}

/* =========================================
   MAIN WRAPPER SPACING (UNDER FIXED HEADER)
========================================= */
body main,
body.about main {
  margin-top: 100px;
  padding-left: 24px;
  padding-right: 24px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   HERO
========================================= */
.hero-bg {
  position: relative;
  min-height: 100vh;
  background: url('images/steel_structure.jpg') no-repeat center center/cover;
  overflow: hidden;
}
.hero-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 900px;
  text-align: center;
  z-index: 5;
  color: #fff;
}
.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 36px;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

/* =========================================
   BUTTONS
========================================= */
.btn {
  background-color: #2ecc40;
  padding: 16px 48px;
  font-size: 1.1rem;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(46, 204, 64, 0.6);
  transition: background-color 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.btn:hover { background-color: #27ae3c; }

/* (de-duplicated) single definition of .btn-secondary */
.btn-secondary {
  background: transparent;
  border: 2px solid #4caf50;
  color: #4caf50;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 10px;
}
.btn-secondary:hover {
  background: #4caf50;
  color: #fff;
}

/* =========================================
   MAIN LAYOUT
========================================= */
main {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
  text-align: center;
  color: #333;
}

/* =========================================
   ABOUT PAGE
========================================= */
body.about main {
  margin-top: 100px;
  padding: 0 24px;
  max-width: 1200px;
  text-align: left;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  color: #16355b;
}

body.about .about-section h1 {
  font-size: 2.8rem;
  margin-bottom: 24px;
  font-weight: 700;
  color: #16355b;
  text-align: left;
}
body.about .about-section h2 {
  font-size: 2rem;
  margin-top: 40px;
  margin-bottom: 16px;
  font-weight: 600;
  color: #2c3e50;
}
body.about .about-section p,
body.about .about-section ul {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
}
body.about .about-section ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 30px;
}
body.about .about-section ul li { margin-bottom: 14px; }
body.about .btn {
  display: block;
  max-width: 230px;
  margin: 20px auto 0;
}

/* =========================================
   HOME PAGE PREVIEWS
========================================= */
.about-preview { margin-bottom: 70px; }
.about-preview h2,
.services-preview h2,
.values-preview h2,
.projects-preview h2 {
  font-size: 2.6rem;
  margin-bottom: 24px;
  font-weight: 700;
  color: #16355b;
  border-bottom: 3px solid #4caf50;
  padding-bottom: 8px;
}
.about-preview p,
.values-preview ul,
.projects-preview ul {
  font-size: 1.15rem;
  color: #444;
  line-height: 1.6;
}
.about-preview p { margin-bottom: 30px; }

/* =========================================
   SERVICES SECTION (CARDS)
========================================= */
.services-preview { margin-bottom: 70px; }

.service-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.service-card {
  background: #fff;
  box-shadow: 0 0 10px rgba(22, 53, 91, 0.1);
  border-radius: 12px;
  max-width: 300px;
  padding: 24px;
  transition: box-shadow 0.3s ease;
  text-align: center;
}
.service-card:hover { box-shadow: 0 10px 25px rgba(22, 53, 91, 0.2); }
.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #16355b;
}
.service-card p {
  font-size: 1rem;
  color: #555;
}

/* =========================================
   VALUES & PROJECTS
========================================= */
.values-preview,
.projects-preview {
  max-width: 900px;
  margin: 60px auto 100px;
  padding: 0 20px;
  text-align: left;
  color: #16355b;
}
.values-preview ul,
.projects-preview ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 0;
}
.values-preview ul li,
.projects-preview ul li { margin-bottom: 12px; }

/* =========================================
   TEAM SECTION
========================================= */
.team-cards {
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.team-member {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.07);
  max-width: 280px;
  padding: 20px;
  text-align: center;
  color: #16355b;
  flex: 0 0 270px;
}
.team-member img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.team-member h3 {
  font-size: 1.2rem;
  margin: 10px 0 8px 0;
}
.team-member p {
  font-size: 1rem;
  color: #555;
  margin: 0;
}

/* =========================================
   CUSTOMER CAROUSEL
========================================= */
.customer-carousel {
  position: relative;
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding: 20px 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  border-top: 2px solid #4caf50;
  border-bottom: 2px solid #4caf50;
  margin-bottom: 40px;
  scroll-padding-left: 40px;
}
.customer-item {
  flex: 0 0 auto;
  width: 120px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
}
.customer-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}
/* Hide scrollbar for WebKit */
.customer-carousel::-webkit-scrollbar { display: none; }

/* Carousel arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(46, 204, 64, 0.85);
  border: none;
  color: #fff;
  font-size: 24px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1100;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
}
.carousel-arrow:hover { background: #27ae3c; }
.left-arrow { left: -50px; }
.right-arrow { right: -50px; }

/* =========================================
   ANIMATIONS
========================================= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   FOOTER
========================================= */
footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9rem;
  color: #999;
  background: #f1f1f1;
  user-select: none;
}

/* =========================================
   FEATURED SERVICES (WHAT WE DO BEST)
========================================= */
.featured-services {
  background: #fff;
  border-radius: 16px;
  padding: 48px 18px;
  margin: 56px 0 40px 0;
  box-shadow: 0 6px 24px rgba(22,53,91,0.06);
  text-align: center;
}
.featured-services h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 36px;
  color: #16355b;
}
.featured-service-list {
  display: flex;
  justify-content: space-between;
  gap: 42px;
  flex-wrap: wrap;
}
.featured-service {
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(22,53,91,0.07);
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 380px;
  padding: 32px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 18px;
  transition: box-shadow 0.3s;
}
.featured-service:hover { box-shadow: 0 12px 36px rgba(22,53,91,0.14); }

/* Fix selector so it works for both markup styles */
.featured-icon { 
  width: 60px; height: 60px; 
  object-fit: contain; 
  margin-bottom: 18px; 
  filter: drop-shadow(0 2px 6px #ccc); 
}
.featured-icon img { 
  width: 60px; height: 60px; 
  object-fit: contain; 
  margin-bottom: 18px; 
  filter: drop-shadow(0 2px 6px #ccc); 
}

.featured-text h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #16355b;
  margin-bottom: 10px;
}
.featured-text p {
  font-size: 1.08rem;
  color: #444;
  margin-bottom: 16px;
}

/* =========================================
   SERVICES PAGE — UNIFORM MEDIA
   (main fix: videos → images, consistent sizing)
========================================= */
.service-section {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 64px;
  padding: 32px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(22,53,91,0.08);
  text-align: left;
}
.service-text {
  flex: 1;
  font-size: 1.2rem;
  color: #16355b;
  font-weight: 600;
}
.service-media {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* REPLACED .service-media video with image rules */
.service-media img {
  width: 100%;
  max-width: 400px;   /* keeps similar footprint as before */
  height: 240px;      /* uniform height */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(46,204,64,0.08);
  object-fit: cover;  /* crop without distortion */
  display: block;
}

/* Alternate layout for second section */
.service-section.reverse { flex-direction: row-reverse; }

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 900px) {
  .service-cards {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { font-size: 1rem; }

  .values-preview,
  .projects-preview,
  body.about main {
    text-align: center;
    margin-top: 80px;
    padding: 20px 15px;
  }

  .values-preview ul,
  .projects-preview ul {
    padding-left: 0;
    list-style-position: inside;
  }

  body.about .about-section h1 { font-size: 2.2rem; }
  body.about .about-section h2 { font-size: 1.7rem; }
  body.about .about-section p,
  body.about .about-section ul { font-size: 1rem; }

  .team-cards { justify-content: center; }
  .carousel-arrow { display: none; } /* Hide arrows on small screens */

  .featured-service-list {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
  .featured-services { padding: 36px 6px; }

  /* services page mobile media sizing */
  .service-section {
    flex-direction: column;
    padding: 16px;
    gap: 24px;
    text-align: center;
  }
  .service-media img {
    max-width: 100%;
    height: 200px; /* slightly smaller on mobile */
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  nav { gap: 15px; }
  nav a { font-size: 16px; }
  header { padding: 12px 10px; }
  .logo-img { height: 32px; width: auto; }
  .logo-text { font-size: 17px; }
}

/* =========================================
   ABOUT PAGE: WORKS CARD LAYOUT
========================================= */
body.about .team-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-bottom: 40px;
}

/* Card style for each work */
body.about .team-cards > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(22, 53, 91, 0.08);
  max-width: 320px;
  width: 100%;
  padding: 36px 22px 28px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s;
}
body.about .team-cards > div:hover { box-shadow: 0 8px 24px rgba(22, 53, 91, 0.12); }

/* Card images styling */
body.about .team-cards > div img {
  width: 95%;
  max-width: 220px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 24px;
}

/* Titles and descriptions */
body.about .team-cards > div h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #16355b;
  margin-bottom: 12px;
  margin-top: 0;
}
body.about .team-cards > div p {
  font-size: 1.04rem;
  color: #555;
  margin-bottom: 0;
  margin-top: 0;
}


