/* --- Global Styles --- */
:root {
  --primary-color: #2563eb; /* A nice blue */
  --primary-hover: #1d4ed8;
  --dark-gray: #1f2937;
  --medium-gray: #4b5563;
  --light-gray: #f9fafb;
  --text-color: #374151;
  --white: #ffffff;
  --logo-orange: #ef6f31;
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  color: var(--text-color);
  background-color: var(--light-gray);
  line-height: 1.6;
}

.text-center {
  text-align: center !important;
}

h1,
h2,
h3 {
  color: var(--dark-gray);
  font-weight: 700;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-hover);
}

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

section {
  padding: 4rem 0;
}

.button-primary{
  text-decoration: none;
  background-color: var(--logo-orange);
  color: #ffffff;
  padding: 10px;
  border-radius: 10px;
  font-weight: 900;
  transition: background-color 0.5s ease;
}
.button-primary:hover{
  color: var(--logo-orange);
  background-color: #ffffff;
  border: 2px solid var(--logo-orange);

}

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

.subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--medium-gray);
  max-width: 48rem;
  margin: 0 auto 3rem auto;
}

/* --- Header & Navigation --- */
#header {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 100;
  /* background-color: orange; */
  /* background-color: red; */
  /* background-color: rgb(90, 202, 247); */
    /* background-color: rgb(116, 250, 104); */
  background-color: #2f3942;
}

#header img{
    /* text-shadow: 1px 1px 1px #888888; */
    width: 250px !important;
    height: auto !important;
    /* filter: drop-shadow(2px 2px 2px #888888); */
}

#header a{
    color: #ffffff !important;
    font-weight: 700;
    /* text-shadow: 1px 1px 1px #888888; */
}

/* #header::backdrop {
  opacity: 0.75;
} */


/* #header.header-scrolled {
    background-color: rgba(116, 250, 104, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
} */

#header nav.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-gray);
}

.logo {
  height: 3rem;
  width: auto;
}

.desktop-menu {
  display: none; /* Hidden on mobile */
}

.desktop-menu a {
  color: var(--medium-gray);
  padding: 0.5rem 1rem;
}

.desktop-menu .contact-button {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: background-color 0.3s ease;
}

.desktop-menu .contact-button:hover {
  background-color: var(--primary-hover);
  color: var(--white);
}

#mobile-menu-button {
  background:white;
  border: none;
  cursor: pointer;
}

#mobile-menu {
  display: none;
  background-color: var(--white);
  border-top: 1px solid #e5e7eb;
}

#mobile-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--medium-gray);
  border-bottom: 1px solid #e5e7eb;
}
#mobile-menu a:last-child {
  border-bottom: none;
}

/* --- Hero Section --- */
.hero-section {
    color: #fff;
    padding: 0;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.hero-section img{
    width: 100%;
    object-fit: contain;
}


/* --- Banner Slider (Corrected CSS) --- */
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 100%;
}

.slide {
  min-width: 100%;
}



#home {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("https://placehold.co/1920x1080/334155/ffffff?text=Industrial+Workshop");
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 6rem 0;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-button {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-size: 1.125rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.hero-button:hover {
  background-color: var(--primary-hover);
  color: var(--white);
}

/* --- About Us Section --- */
#about {
  background-color: var(--white);
}

.about-text {
  text-align: center;
  font-size: 1.125rem;
  max-width: 56rem;
  margin: 0 auto;
  color: var(--medium-gray);
}

/* --- Products Section --- */
#products{
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.product-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 12rem;
  object-fit: contain;
}

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.card-content p {
  color: var(--medium-gray);
}

.gallery-button{
  margin: 50px auto;
  
}

/* --- Why Choose Us Section --- */
#why-us {
  background-color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}
/* 
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
  width: 4rem;
  border-radius: 50%;
  background-color: #dbeafe; light blue
  color: var(--primary-color);
  margin-bottom: 1rem;
} */

.feature-icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* height: 5rem; */
    width: 5rem;
    height: auto;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.feature-icon img{
    object-fit: contain !important;
    /* border-radius: 50%; */
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}
.feature-card p {
  color: var(--medium-gray);
}

/* --- Industries We Serve Section --- */
#industries {
  background-color: var(--white);
}

.industries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.industry-card {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  border: 1px solid #e5e7eb;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  /* display: flex;
    flex-direction: column !important; */
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.industry-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* height: 4rem; */
  height: auto;
  width: 5rem;
  /* border-radius: 50%; */
  /* background-color: #dbeafe; light blue */
  /* color: var(--primary-color); */
  margin-bottom: 1rem;
}

.industry-icon img{
    object-fit: contain !important;
}

.industry-card h3 {
  margin-bottom: 0.5rem;
}

.industry-card p {
  color: var(--medium-gray);
  font-size: 0.95rem;
}

/* --- Responsive Design for Industries Section --- */
/* @media (min-width: 768px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
} */

/* @media (min-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(4, 1fr);
    }
} */

/* --- Sustainability Section --- */
.sustainability-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.sustainability-text h2 {
  text-align: left;
}
.sustainability-text p {
  font-size: 1.125rem;
  color: var(--medium-gray);
}

.sustainability-image{
    display: inline-flex;
    justify-content: center;
}

.sustainability-image img {
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  object-fit: contain;
  width: 25rem;
  height: auto;
}

/* --- Footer --- */
#contact {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.footer-column h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-column img{
    width: 300px;
}

.footer-column p,
.footer-column a {
  color: #9ca3af; /* light gray text */
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--medium-gray);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: #9ca3af;
}

/* --- Responsive Design --- */
@media (min-width: 768px) {
  h1 {
    font-size: 3.75rem;
  }

  .mobile-menu-container,
  #mobile-menu-button {
    display: none;
    background:white;
  }

  .desktop-menu {
    display: flex;  
    align-items: center;
    gap: 0.5rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sustainability-container {
    flex-direction: row;
    gap: 3rem;
  }

  .sustainability-text,
  .sustainability-image {
    width: 50%;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
