/* ===== Base Styles & Variables ===== */
:root {
  --primary-color: #ed0404;
  --secondary-color: #cc0415;
  --text-dark: #333;
  --text-light: #fff;
  --bg-light: #f8f9fa;
  --transition-speed: 0.3s;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 20px rgba(0,0,0,0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed);
}

/* ===== Layout Components ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.custom-color {
    color: white; /* Change to your desired color */
}
h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.875rem;
  text-align: center;
  color: var(--text-dark);
}

.breadcrumb a {
  color: var(--primary-color);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ===== Banner Slideshow ===== */
.banner-slideshow {
  position: relative;
  height: 500px;
  overflow: hidden;
  background-color: #000;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 1s ease;
}

.slide.active {
  left: 0;
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
  max-width: 90%;
}

.slide-text h1, 
.slide-text h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInText 1s ease-in-out forwards 0.5s;
}

.slide-text p {
  font-size: 1.25rem;
  opacity: 0;
  animation: fadeInText 1.5s ease-in-out forwards 1s;
}

@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Services Section ===== */
.services-section {
  padding: 3rem 0;
  background-color: var(--text-light);
}

.services-section h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.our-services {
  text-align: center;
  margin-bottom: 3rem;
}

.our-services h2 {
  margin-bottom: 1rem;
}

.our-services h2 span {
  color: var(--primary-color);
}

.service-intro {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.service-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-item {
  background-color: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-item img {
  width: 100%;
  max-width: 100px;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: contain;
  margin-bottom: 1rem;
}

.service-item p {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
}

/* ===== SEO Content Section ===== */
.seo-content-section {
  padding: 3rem 0;
  background-color: var(--bg-light);
}

.seo-content-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.seo-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.benefit-item {
  background-color: var(--text-light);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.benefit-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.benefit-item h3 i {
  font-size: 1.25rem;
}

.process-steps {
  margin: 2rem 0;
  padding-left: 1.5rem;
}

.process-steps li {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ===== Brands/Industries Section ===== */
.brands {
  padding: 3rem 0;
  background-color: var(--text-light);
  text-align: center;
}

.brands h2 {
  margin-bottom: 2rem;
}

.slideshow-container {
    position: relative;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.slide-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide3 {
    min-width: 20%;
    box-sizing: border-box;
    text-align: center;
}

.slide3 i {
    font-size: 30px;
    color: #cc0415;
    margin-bottom: 10px;
}

.slide3 h3 {
    margin-top: 10px;
        font-size: 1.0rem;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-230px * 4.5));
  }
}


/* ===== Media Queries ===== */
@media (max-width: 992px) {
  .banner-slideshow {
    height: 400px;
  }
  
  .slide-text h1,
  .slide-text h2 {
    font-size: 2rem;
  }
  
  .slide-text p {
    font-size: 1.1rem;
  }
  
  .service-items {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .banner-slideshow {
    height: 350px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .slide-wrapper {
    animation: scroll 20s linear infinite;
  }
  
  .seo-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .banner-slideshow {
    height: 300px;
  }
  
  .slide-text h1,
  .slide-text h2 {
    font-size: 1.5rem;
  }
  
  .slide-text p {
    font-size: 1rem;
  }
  
  .service-items {
    grid-template-columns: 1fr;
  }
  
  .slide3 {
    min-width: 200px;
  }
}