/* Hero Banner */
.hero-banner {
  position: relative;
  color: white;
  text-align: center;
  padding: 0;
  overflow: hidden;
  /* height: 500px; */
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), #34495e;
  z-index: -1;
}

/* Carousel Styles */
.carousel-container {
  position: relative;
  width: 100%;
  height: 649px;
  overflow: hidden;
  text-align: center;
}

.carousel-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
  box-sizing: border-box;
}

/* Responsive styles for carousel */
@media (max-width: 992px) {
  .carousel-container {
    height: 450px;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .carousel-indicators {
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .carousel-container {
    height: 400px;
  }
  
  .hero-banner {
    margin-top: 0;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .hero-content {
    top: 25%;
    left: 5%;
    max-width: 90%;
  }
  
  .hero-content h2 {
    font-size: 1.8rem;
  }
  
  .hero-content h4 {
    font-size: 12px;
    margin-bottom: 10px;
  }
  
  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .carousel-indicators {
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 576px) {
  .carousel-container {
    height: 300px;
  }
  
  .hero-banner {
    margin-top: 0;
  }
  
  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
  
  .hero-content {
    top: 20%;
    left: 3%;
    max-width: 94%;
  }
  
  .hero-content h2 {
    font-size: 1.5rem;
  }
  
  .hero-content h4 {
    font-size: 10px;
    margin-bottom: 8px;
  }
  
  .hero-content p {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
  }
  
  .carousel-indicators {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .indicator {
    width: 8px;
    height: 8px;
  }
}

.carousel-btn {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  width: auto;
  padding: 0;
  margin: 0;
  justify-content: center;
  align-items: center;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.indicator.active,
.indicator:hover {
  background: white;
}

.hero-content {
  position: absolute;
  top: 30%;
  left: 8%;
  text-align: left;
  max-width: 600px;
}

.hero-content h4 {
  color: #1c2e5c;
  font-size: 14px;
  font-weight: 700;
  font-style: italic;
  line-height: 28px;
  border-bottom: 2px solid #007bff;
  display: inline-block;
  margin-bottom: 15px;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  text-align: left;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #f0f0f0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Blog Post Common Styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TCC Content Styles */
.homepage-tcc-information {
  position: relative;
  padding: 40px 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.tcc-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 40px;
}

.desktop-image {
  flex: 1;
  max-width: 50%;
  object-fit: contain;
}

.tcc-content {
  flex: 1;
  text-align: center;
  padding: 20px;
}

.tcc-content p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #333;
  line-height: 1.6;
}

.button.gaevent {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  /* border-radius: 4px; */
  /* font-weight: bold; */
  transition: background-color 0.3s ease;
  font-style: italic;
}

/* .button.gaevent:hover {
  background-color: #ff9d00;
  color: white;
} */


/* Categories Section */

.block-static-block.widget,
.block-cms-link.widget {
  margin-bottom: 0;
}

.featured-categories {
  padding: 60px 0;
  background-color: white;
}

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

.category-card {
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background-color: #f8f9fa;
}

.category-card:hover {
  transform: translateY(-10px);
}

.category-card .image-placeholder {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background-color: #e9ecef;
  border-radius: 4px;
  margin-bottom: 15px;
}

/* Products Section */
.products-section {
  padding: 20px 0;
}

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

.products-section .container h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #1c2e5c;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.product-card {
  text-align: center;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 50px;
}

.image-placeholder-product {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: 500px;
  height: auto;
  padding: 35px 35px 70px;
  position: relative;
  width: 100%;
}

.small-title {
    position: relative;
    font-size: 14px;
    font-style: italic;
    margin-bottom: 10px;
    display: inline-block;
    color: #fff;
    min-width: 123px;
}
.small-title:after {
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    content: '';
    width: 100%;
    max-width: 123px;
    border-bottom: 2px solid #007bff;
    bottom: -7px;
    position: absolute;
    left: 50%;
    -moz-transform: translate(-50%,0);
    -ms-transform: translate(-50%,0);
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}
.product-card h3 {
  color: #fff;
  margin: 15px 0 10px;
  font-size: 1.5rem;
  font-weight: 600;
}

.product-card p {
  font-size: 1rem;
  color: #fff;
  margin: 15px 0 15px;
  line-height: 1.5;
}