body {
  font-family: Arial, sans-serif;
  margin: 0; padding: 0; background: #f8f8f8;
}

/* ============================================
   HOME PAGE STYLING
   ============================================ */

.home-container {
  /* max-width: 1300px; */
  margin: 0 auto;
  /* padding: 1rem 1rem 0rem 1rem; */
    padding: 1.25rem 1rem;
}

/* Welcome Section */
.home-welcome {
  margin: 2rem 0 0 .2rem;
}

.welcome-header {
  text-align: center;
  /* margin-bottom: 2rem;
  padding: 2rem 0; */
  /* border-bottom: 3px solid #ff9800; */
}

.welcome-header h1 {
  font-size: 2.8rem;
  color: #003366;
  /* margin-bottom: 0.5rem; */
  font-weight: 800;
}

.welcome-subtitle {
  color: #ff9800;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0;
}

.welcome-content {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
  border-left: 5px solid #ff9800;
}

.welcome-content p {
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.welcome-content p:last-child {
  margin-bottom: 0;
}

/* Gallery Section */
.home-gallery {
  margin-top: .2rem;
}

.home-gallery h2 {
  font-size: 2rem;
  color: #003366;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
}

.home-gallery h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ff9800, #ffc107);
  border-radius: 2px;
}

.carousel-wrapper {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Make carousel span full viewport width while remaining inside container */
.carousel-full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -49vw;
  margin-right: -50vw;
  box-sizing: border-box;
  border-radius: 0; /* remove rounded corners for full-bleed look */
}
/* Header / menu layout: logo inside menu div */
header {
  background: #003366;
  color: white;
  padding: 0.6rem 1rem;
  position: sticky;
  top: 0;
  z-index: 40;
}

/* container that holds logo + nav */
.menu {
  /* max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1rem; */
}


/* brand link wrapper (keeps logo clickable) */
.brand {
  display: inline-flex;
  align-items: center;
  /* gap: 0.75rem; */
  text-decoration: none;
  /* color: inherit; */
  background-color: white;
  padding-right: 10px;
  border-radius: 3px;
}

.brand { gap: 0.6rem; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: black!important;
}
.vision-text {
  /*color: rgba(230, 240, 255, 0.95); /* light tint on dark header */
  color: black!important;
  font-weight: 500;
  font-size: 0.84rem;
  margin-top: 2px;
  opacity: 0.95;
}

.brand {
height: auto;
}

/* Logo fits inside the menu div without stretching */
.brand .logo {
  max-height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
  /* flex-shrink: 0; */
  /* border-radius: 6px; */
  /* background: rgba(255,255,255,0.02); */
  /* padding: 2px; */
}

/* Navigation inside header */
.menu-nav {
  /* display: flex;
  gap: 1rem; */
  align-items: right;
}

/* Keep existing nav link style but scoped to .menu-nav */
.menu-nav a {
  color: white;
  text-decoration: none;
  /* margin: 0 0.25rem; */
  font-weight: bold;
  transition: color 0.15s ease;
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
}
.menu-nav a:hover,
.menu-nav a:focus {
  color: #ff9800;
  background: rgba(255,152,0,0.06);
  outline: none;
}

/* Responsive menu toggle */
.menu-toggle {
  display: none;
  background: transparent;
  color: white;
  border: none;
  font-size: 1.35rem;
  cursor: pointer;
}

/* Mobile: hide horizontal nav and show toggle */
@media (max-width: 900px) {
  .menu {
    position: relative;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: end;
    justify-content: end;
    padding: 0.25rem 0.5rem;
  }
  .menu-nav {
    display: none;
    position: absolute;
    right: 1rem;
    top: 100%;
    background: #003366;
    border-radius: 8px;
    padding: 0.5rem;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 50;
  }
  .menu-nav a {
    display: block;
    padding: 0.5rem 0.85rem;
    white-space: nowrap;
  }
  .menu.nav-open .menu-nav,
  .nav-open .menu-nav {
    display: flex;
  }
}
/* 
nav {
  margin-right: 2em;
}
nav a {
  color: white; text-decoration: none; margin: 0 1em; font-weight: bold; transition: color 0.2s;
}
nav a:hover {
  color: #ff9800;
} */
.hero {
  background: #e0e7ef;
  padding: 3em 2em;
  text-align: center;
}
/* section {
  padding: 1.5em;
} */
.products-preview, .products-list {
  display: flex; gap: 2em; flex-wrap: wrap; justify-content: center;
}
.product-card {
  background: white; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); padding: 1em; max-width: 250px; text-align: center;
}
.product-card img {
  width: 100%; height: 140px; object-fit: cover; border-radius: 6px;
}
.button {
  display: inline-block; padding: 0.5em 1.5em; background: #003366; color: white; border-radius: 4px; text-decoration: none; margin-top: 1em;
}
footer {
  background: #003366; color: white; text-align: center; padding: 1em 0;
  position: relative; bottom: 0; width: 100%;
}
.contact-form {
  background: white; padding: 2em; border-radius: 8px;  margin-bottom: 2em;
}
.contact-form label { display: block; margin-bottom: 0.5em; margin-top: 1em;}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 0.5em; margin-bottom: 1em; border: 1px solid #ccc; border-radius: 4px;
}
.contact-form button {
  background: #ff9800; color: white; border: none; padding: 0.7em 1.5em; border-radius: 4px; cursor: pointer;
}
.address {
  background: #e0e7ef; padding: 1em; border-radius: 8px;
}


.product-card .card-body, .machinery-item .card-body, .service-item .card-body {
  padding: 1rem;
}


/* Card base */
.card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}
.card-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}
.card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
/* Card title: different color, bold, and subtle glowing "light show" */
.card-title {
  margin: 0;
  font-size: 1.05rem;
  color: #ff9800;              /* distinct highlight color */
  font-weight: 700;            /* bold */
  text-shadow: 0 0 6px rgba(255,152,0,0.45); /* soft glow */
  /* animation: subtle pulsing glow */
  animation: cardTitleGlow 2.8s ease-in-out infinite;
}

.card-title-machinery {
  margin: 0;
  font-size: 1.5rem;
  color: #ff9800;              /* distinct highlight color */
  font-weight: 700;            /* bold */
  text-shadow: 0 0 6px rgba(255,152,0,0.45); /* soft glow */
  /* animation: subtle pulsing glow */
  animation: cardTitleGlow 2.8s ease-in-out infinite;
}

/* Make glow stronger on hover */
.card:hover .card-title {
  text-shadow: 0 0 14px rgba(255,152,0,0.95);
  transform: translateY(-1px);
}

/* Keyframes for pulsing glow */
@keyframes cardTitleGlow {
  0% {
    text-shadow: 0 0 4px rgba(255,152,0,0.18);
    filter: brightness(1);
  }
  50% {
    text-shadow: 0 0 12px rgba(255,152,0,0.85);
    filter: brightness(1.02);
  }
  100% {
    text-shadow: 0 0 4px rgba(255,152,0,0.18);
    filter: brightness(1);
  }
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .card-title {
    animation: none;
    transition: none;
  }
  .card:hover .card-title {
    transform: none;
  }
}

.card-desc {
  margin: 0;
  line-height: 1.45;
  color: #333;
  font-size: 0.95rem;
}
.card-bullets {
  margin: 0.4rem 0 0 1.1rem;
  color: #333;
}


/* Grid layouts for lists */
 /* .service-list {
  height: 500px;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: start;
  margin-top: 1rem;
} */

/* Individual adjustments for items that previously had card-like class names */
/* .service-item img {
  height: 50px; width: 100%; object-fit: cover;
} */


/* Responsive adjustments */
@media (max-width: 900px) {
  .logo { height: 48px; }
  .menu { padding: 0 0.75rem; gap: 0.5rem; }
  .menu-nav a { margin: 0 0.25rem; font-size: 0.95rem; }
}

@media (max-width: 640px) {
  /* stack brand above nav on narrow screens */
  .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .menu-nav {
    justify-content: center;
    flex-wrap: wrap;
  }
  .logo { height: 44px; }
}

/* Carousel / Gallery styles */
.home-carousel .carousel-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
}
.home-carousel .carousel-caption {
  background: rgba(0,0,0,0.35);
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
}
.home-carousel .carousel-caption h5 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}
.home-carousel .carousel-caption p {
  font-size: 1rem;
  color: white;
  margin: 0;
}

/* Responsive Design for Home Page */
@media (max-width: 1024px) {
  .home-container {
    padding: 1.5rem 1rem;
  }

  .welcome-header h1 {
    font-size: 2.2rem;
  }

  .home-carousel .carousel-item img {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .home-container {
    padding: 1rem 0.75rem;
  }

  .welcome-header {
    margin-bottom: 1.5rem;
    padding: 1.5rem 0;
  }

  .welcome-header h1 {
    font-size: 1.8rem;
  }

  .welcome-subtitle {
    font-size: 1rem;
  }

  .welcome-content {
    padding: 1.5rem;
  }

  .welcome-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
  }

  .home-gallery h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .home-carousel .carousel-item img {
    height: 300px;
  }

  .home-carousel .carousel-caption h5 {
    font-size: 1.2rem;
  }

  .home-carousel .carousel-caption p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .home-container {
    padding: 0.75rem 0.5rem;
  }

  .welcome-header h1 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
  }

  .welcome-subtitle {
    font-size: 0.9rem;
  }

  .welcome-content {
    padding: 1.2rem;
  }

  .welcome-content p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .home-gallery {
    margin-top: 2rem;
  }

  .home-gallery h2 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
  }

  .home-carousel .carousel-item img {
    height: 220px;
  }

  .home-carousel .carousel-caption h5 {
    font-size: 1rem;
  }

  .home-carousel .carousel-caption p {
    font-size: 0.75rem;
  }
}

@media (max-width: 700px) {
  .home-carousel .carousel-item img { border-radius: 6px; }
}
/* ============================================
   PRODUCTS PAGE STYLING
   ============================================ */

.products-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.25rem 1rem; 
}

.products-container h1 {
  font-size: 2.5rem;
  color: #003366;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.products-intro {
  text-align: center;
  color: #666;
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Product Filter Buttons */
.product-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.7rem 1.8rem;
  border: 2px solid #003366;
  background: white;
  color: #003366;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: #f0f5ff;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: #ff9800;
  color: white;
  border-color: #ff9800;
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Product Item Card */
.product-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-item:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-8px);
}

/* Product Image Wrapper */
.product-image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f5f5f5;
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-item:hover .product-image-wrapper img {
  transform: scale(1.08);
}

/* Product Overlay */
.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 51, 102, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-item:hover .product-overlay {
  opacity: 1;
}

.view-btn {
  padding: 0.8rem 2rem;
  background: #ff9800;
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.view-btn:hover {
  background: #e68900;
  transform: scale(1.05);
}

/* Product Info */
.product-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  color: #003366;
  font-weight: 700;
  line-height: 1.4;
}

.product-category {
  margin: 0 0 0.8rem 0;
  color: #ff9800;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-description {
  margin: 0 0 1rem 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
}

/* Product Specifications */
.product-specs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.spec {
  display: inline-block;
  background: #f0f5ff;
  color: #003366;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Hide/Show products based on filter */
.product-item.hidden {
  display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .products-container h1 {
    font-size: 2rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
  }

  .product-filter {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  .product-image-wrapper {
    height: 180px;
  }

  .product-info {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .products-container {
    padding: 1rem 0.5rem;
  }

  .products-container h1 {
    font-size: 1.5rem;
  }

  .products-intro {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .product-filter {
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .filter-btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    flex: 1;
    min-width: 100px;
  }

  .product-info h3 {
    font-size: 1rem;
  }

  .product-description {
    font-size: 0.85rem;
  }
}

/* ============================================
   ABOUT PAGE STYLING
   ============================================ */

.about-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.25rem 1rem; 
}

.about-header {
  text-align: center;
  margin-bottom: 1.5rem;
  /* padding: 1.5rem 0 .5rem 0; */
  /* padding: 0 0 .5rem 0; */
  border-bottom: 3px solid #ff9800;
}

.about-header h1 {
  font-size: 2.8rem;
  color: #003366;
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.about-subtitle {
  color: #ff9800;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* About Section Base */
.about-section {
  margin-bottom: 1.5rem;
}

.about-section h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
}

.about-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ff9800, #ffc107);
  border-radius: 2px;
}

/* About Us Content */
.about-text {
  background: #f9f9f9;
  padding: 2.5rem;
  border-radius: 12px;
  border-left: 5px solid #ff9800;
}

.about-text h2 {
  color: #003366;
  margin-top: 0;
}

.about-text p {
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-text p:last-of-type {
  margin-bottom: 2rem;
}

/* About Highlights */
.about-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-highlights li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}

.highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #ff9800;
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
/* Core Values, Mission & Vision Container Layout */
.cvm-section {
  margin-bottom: 2.5rem;
}

.cvm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.cvm-item {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-top: 3px solid transparent;
  display: flex;
  flex-direction: column;
}

.cvm-item:hover {
  border-top-color: #ff9800;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.cvm-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cvm-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.cvm-item h3 {
  font-size: 1.3rem;
  color: #003366;
  margin: 0;
  font-weight: 700;
}

.cvm-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cvm-list li {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  padding-left: 1.5rem;
  position: relative;
}

.cvm-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #ff9800;
  font-weight: bold;
  font-size: 1rem;
}

.cvm-item p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: left;
  margin: 0;
}

/* Core Values Grid */
.values-grid {
  display: none;
}

.value-card {
  background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: #ff9800;
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.value-card h3 {
  font-size: 1.3rem;
  color: #003366;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.value-card p {
  color: #666;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Vision & Mission Grid */
.vision-mission-grid {
  display: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.vm-section {
  margin-bottom: 0;
}

.vm-section h2 {
  margin-bottom: 1rem;
}

.vm-content {
  background: linear-gradient(135deg, #003366 0%, #004d99 100%);
  color: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 51, 102, 0.2);
  transition: all 0.3s ease;
}

.vm-section:hover .vm-content {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 51, 102, 0.3);
}

.vm-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.vm-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.vm-content h2 {
  color: #ffb74d;
  padding-bottom: 0;
  margin-bottom: 0;
  margin: 0;
  font-size: 1.8rem;
}

.vm-content h2::after {
  display: none;
}

.vm-content p {
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  font-size: 1rem;
}

.mission-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mission-list li {
  margin-bottom: 1.2rem;
  padding-left: 1.8rem;
  position: relative;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  font-size: 0.95rem;
}

.mission-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #ffb74d;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Quality Assurance Section */
.qa-section {
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
}

.qa-intro {
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.qa-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.qa-item {
  background: white;
  padding: 1.8rem;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-top: 3px solid transparent;
}

.qa-item:hover {
  border-top-color: #ff9800;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Keep QA icon and title together */
.qa-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 1.5rem;
  white-space: nowrap;
}
.qa-icon {
  flex-shrink: 0;
  font-size: 1.4rem;
  line-height: 1;
}
.qa-header h4 {
  margin: 0;
  font-size: 1.05rem;
}

.welcome-header {
  text-align: left;
  /* margin-bottom: 1.5rem; */
  /* padding: 1.25rem 0; */
  /* border-bottom: 3px solid #ff9800; */
}

.welcome-header h1 {
  font-size: 2.2rem;
  color: #003366;
  margin: 0 0 0.5rem 0;
  font-weight: 600;
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.welcome-subtitle {
  color: #ff9800;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  margin: 0;
}
  line-height: 1.6;
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive Design for About Page */
@media (max-width: 1024px) {
  .about-container {
    padding: 1.5rem 1rem;
  }

  .about-header h1 {
    font-size: 2.2rem;
  }

  .cvm-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .vision-mission-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .cvm-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .cvm-item {
    padding: 1.5rem;
  }

  .cvm-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }

  .cvm-list li {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .cvm-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cvm-item {
    padding: 1.2rem;
  }

  .cvm-icon {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }

  .cvm-item h3 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
  }

  .cvm-list {
    gap: 0.6rem;
  }

  .cvm-list li {
    font-size: 0.8rem;
    padding-left: 1.2rem;
  }

  .cvm-item p {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .about-container {
    padding: 1rem 0.75rem;
  }

  .about-header {
    margin-bottom: 2.5rem;
    padding: 1.5rem 0;
  }

  .about-header h1 {
    font-size: 1.8rem;
  }

  .about-section {
    margin-bottom: .8rem;
  }

  .about-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
  }

  .about-text {
    padding: 1.5rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .vision-mission-grid {
    grid-template-columns: 1fr;
  }

  .vm-content {
    padding: 1.8rem;
  }

  .qa-features {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

@media (max-width: 480px) {
  .about-container {
    padding: 0.75rem 0.5rem;
  }

  .about-header h1 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
  }

  .about-subtitle {
    font-size: 0.9rem;
  }

  .about-section h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .about-text {
    padding: 1.2rem;
  }

  .about-text p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .about-highlights {
    gap: 0.8rem;
  }

  .about-highlights li {
    font-size: 0.9rem;
  }

  .value-card {
    padding: 1.5rem;
  }

  .value-card h3 {
    font-size: 1.1rem;
  }

  .value-card p {
    font-size: 0.85rem;
  }

  .qa-item h4 {
    font-size: 1rem;
  }

  .qa-item p {
    font-size: 0.85rem;
  }
}

/* ============================================
   GALLERY PAGE STYLING
   ============================================ */

.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem 1rem; 
}

.gallery-header {
  text-align: center;
  margin-bottom: 1rem;
  /* padding: 1.5rem .5rem 0 .5rem; */
    /* padding: 0 0 .5rem 0; */
  border-bottom: 3px solid #ff9800;
}

.gallery-container h1 {
  font-size: 2.5rem;
  color: #003366;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.gallery-subtitle {
  color: #ff9800;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.gallery-intro {
  text-align: center;
  color: #666;
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Gallery Item Card */
.gallery-item {
  background: white;
  border: 3px solid #003366;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.gallery-item:hover {
  box-shadow: 0 12px 30px rgba(255, 152, 0, 0.2);
  transform: translateY(-8px);
  border-color: #ff9800;
}

/* Gallery Item Image */
.gallery-item-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #f5f5f5;
}

.gallery-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-item-image img {
  transform: scale(1.08);
}

/* Gallery Item Title */
.gallery-item-title {
  padding: 1.5rem;
  text-align: center;
  background: white;
}

.gallery-item-title h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #003366;
  font-weight: 700;
  line-height: 1.4;
}

/* Responsive Design for Gallery */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .gallery-container h1 {
    font-size: 2rem;
  }

  .gallery-intro {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
  }

  .gallery-item-image {
    height: 240px;
  }

  .gallery-item-title {
    padding: 1.2rem;
  }

  .gallery-item-title h3 {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .gallery-container {
    padding: 1rem 0.75rem;
  }

  .gallery-container h1 {
    font-size: 1.5rem;
  }

  .gallery-intro {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-item-image {
    height: 220px;
  }

  .gallery-item-title {
    padding: 1rem;
  }

  .gallery-item-title h3 {
    font-size: 0.95rem;
  }
}

/* ============================================
   CONTACT PAGE STYLING
   ============================================ */

.contact-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.25rem 1rem;
}

.contact-header {
  text-align: center;
  margin-bottom: 1rem;
  /* padding: 1.5rem .5rem 0 .5rem; */
    padding: 0 0 .5rem 0;
  border-bottom: 3px solid #ff9800;
}

.contact-header h1 {
  font-size: 2.8rem;
  color: #003366;
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.contact-subtitle {
  color: #ff9800;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Contact Info Grid */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-card {
  background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: #ff9800;
}

.contact-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.contact-card h3 {
  font-size: 1.3rem;
  color: #003366;
  margin-bottom: 1rem;
  font-weight: 700;
}

.contact-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card a {
  color: #ff9800;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: #e68900;
  text-decoration: underline;
}

/* Contact Form Section */
.contact-form-section {
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-section h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 2rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
}

.contact-form-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ff9800, #ffc107);
  border-radius: 2px;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  width: 100%;
}

/* Location/Map Section Styles */
.location-section {
  /* margin-top: 3rem;
  padding: 2rem; */
  background: #f8f9fa;
  border-radius: 8px;
}

.location-section h2 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: #333;
  text-align: center;
}

.map-container {
  width: 100%;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.location-text {
  text-align: center;
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .location-section {
    padding: 1.5rem;
  }

  .location-section h2 {
    font-size: 1.5rem;
  }

  .map-container {
    height: 300px !important;
  }
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-group label {
  font-weight: 600;
  color: #003366;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 0.8rem;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: white;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff9800;
  box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
  grid-column: 1 / -1;
}

.submit-btn {
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #ff9800, #ffb74d);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
  width: 100%;
  text-align: center;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 152, 0, 0.4);
  background: linear-gradient(135deg, #e68900, #ffaa1a);
}

.submit-btn:active {
  transform: translateY(-1px);
}

/* Responsive Design for Contact Page */
@media (max-width: 1024px) {
  .contact-container {
    padding: 1.5rem 1rem;
  }

  .contact-header h1 {
    font-size: 2.2rem;
  }

  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-group textarea {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .contact-container {
    padding: 1rem 0.75rem;
  }

  .contact-header {
    margin-bottom: 2rem;
    padding: 1.5rem 0;
  }

  .contact-header h1 {
    font-size: 1.8rem;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .contact-form-section {
    padding: 1.5rem;
  }

  .contact-form-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .form-group textarea {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .contact-container {
    padding: 0.75rem 0.5rem;
  }

  .contact-header h1 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
  }

  .contact-subtitle {
    font-size: 0.9rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .contact-card h3 {
    font-size: 1.1rem;
  }

  .contact-card p {
    font-size: 0.85rem;
  }

  .contact-form-section {
    padding: 1.2rem;
  }

  .contact-form-section h2 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.7rem;
    font-size: 0.9rem;
  }

  .submit-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* ============================================
   MACHINERY PAGE STYLING
   ============================================ */

.machinery-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.25rem 1rem;
}

.machinery-header {
  text-align: center;
  margin-bottom: 1rem;
  /* padding: 1.5rem .5rem 0 .5rem; */
  /* padding: 1.5rem .5rem 0 .5rem; */

  border-bottom: 3px solid #ff9800;
}

.machinery-header h1 {
  font-size: 2.8rem;
  color: #003366;
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.machinery-subtitle {
  color: #ff9800;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.machinery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.machinery-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.machinery-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-8px);
}

.machinery-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #f5f5f5;
}

.machinery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.machinery-card:hover .machinery-image img {
  transform: scale(1.08);
}

.machinery-info {
  padding: 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.machinery-info h2 {
  margin: 0 0 1.2rem 0;
  font-size: 1.5rem;
  color: #003366;
  font-weight: 700;
}

.machinery-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.machinery-list li {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  padding-left: 1.5rem;
  position: relative;
}

.machinery-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #ff9800;
  font-weight: bold;
  font-size: 1.2rem;
}

/* ============================================
   SERVICES PAGE STYLING
   ============================================ */

.services-container {
  max-width: 1300px;
  margin: 0 auto;
    padding: 1.25rem 1rem; 
}

.services-header {
  text-align: center;
  margin-bottom: 1rem;
  /* padding: 1.5rem .5rem 0 .5rem; */
  /* padding: 1.5rem .5rem 0 .5rem; */

  border-bottom: 3px solid #ff9800;
}

.services-header h1 {
  font-size: 2.8rem;
  color: #003366;
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.services-subtitle {
  color: #ff9800;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.service-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-8px);
}

.service-card-full {
  grid-column: 1 / -1;
  max-width: 450px;
  margin: 0 auto;
}

.service-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f5f5f5;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-info {
  padding: 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-info h3 {
  margin: 0 0 0.8rem 0;
  font-size: 1.3rem;
  color: #003366;
  font-weight: 700;
}

.service-desc {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.service-list li {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  padding-left: 1.5rem;
  position: relative;
}

.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #ff9800;
  font-weight: bold;
}

/* Responsive Design for Machinery & Services */
@media (max-width: 1024px) {
  .machinery-container,
  .services-container,  .gallery-container,
  .about-container, .contact-container {
    padding: 1.5rem 1rem;
  }

  .machinery-header h1,
  .services-header,
    .gallery-header,
  .about-header, .contact-header h1 {
    font-size: 2.2rem;
  }

  .machinery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .service-card-full {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  
  .machinery-container,
  .services-container,
  .gallery-container,
  .about-container, .contact-container{
    padding: 1rem 0.75rem;
  }

  .machinery-header,
  .services-header,  
    .gallery-header,
  .about-header, .contact-header {
    margin-bottom: 2rem;
    padding: 1.5rem 0;
  }

  .machinery-header h1,
  .services-header,  
    .gallery-header,
  .about-header, .contact-header h1 {
    font-size: 1.8rem;
  }

  .machinery-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .machinery-image {
    height: 200px;
  }

  .service-image {
    height: 200px;
  }

  .machinery-info,
  .service-info {
    padding: 1.5rem;
  }

  .machinery-info h2,
  .service-info h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .service-desc {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .machinery-container,
  .services-container {
    padding: 0.75rem 0.5rem;
  }

  .machinery-header h1,
  .services-header h1 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
  }

  .machinery-subtitle,
  .services-subtitle {
    font-size: 0.9rem;
  }

  .machinery-image,
  .service-image {
    height: 180px;
  }

  .machinery-info,
  .service-info {
    padding: 1.2rem;
  }

  .machinery-info h2,
  .service-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }

  .service-desc {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
  }

  .machinery-list li,
  .service-list li {
    font-size: 0.85rem;
  }
}

/* Ensure header does not overflow and align toggle */
header .menu {
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  /* hide brand text to save space on small screens */
  /* .brand-text { display: none; } */

  /* position hamburger on the right and vertically centered */
  .menu-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }

  /* place nav dropdown below header, aligned to right */
  .menu-nav {
    right: 1rem;
    top: calc(100% + 8px);
    left: auto;
    min-width: 160px;
  }
}