/* Custom styles for the homepage */

/* Overriding Slider Section styles */
.section-slideshow {
  color: #fff;
  position: relative;
}

.section-slideshow .uk-slideshow-items {
  min-height: 700px;
}

.slideshow-item__content {
  background-color: rgba(0, 0, 0, 0); /* Semi-transparent overlay */
}

.slideshow-item__title {
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
}

.slideshow-item__desc {
  font-size: 1.5rem;
  color: #fff;
}

/* Overriding Slider Buttons */
.section-slideshow .uk-position-center-left,
.section-slideshow .uk-position-center-right {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 25px; /* Adjust size */
}

/* Responsive styles */
@media (max-width: 768px) {
  .section-slideshow .uk-slideshow-items {
    min-height: 500px;
  }

  .slideshow-item__title {
    font-size: 2rem;
  }

  .slideshow-item__desc {
    font-size: 1rem;
  }
}

/* General Styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-header {
  text-align: center;
  margin-bottom: 20px;
}

.section-subtitle {
  color: #888;
  font-size: 1rem;
  margin-bottom: 5px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Categories Section */
.categories-section {
  padding: 60px 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.category-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.category-link {
  text-decoration: none;
  color: inherit;
}

.category-media {
  position: relative;
}

.category-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-card:hover .category-overlay {
  opacity: 1;
}

.overlay-content .plus-icon {
  font-size: 3rem;
  color: #fff;
}

.category-title {
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
}

/* Product List Section */
.product-list-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.product-list-section .section-header {
  margin-bottom: 10px;
}

.product-card-wrapper {
  padding: 0 15px !important;
}

.slick-list {
  margin: 0 -15px;
}

.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 20px;
}

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

.product-link {
  text-decoration: none;
  color: inherit;
}

.product-media {
  position: relative;
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: contain;
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-title {
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
}

/* Stats Section */
.stats-section {
  padding: 80px 0;
  background-color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  margin-bottom: 20px;
  color: #0c6d56;
}

.stat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #333;
}

.stat-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #555;
  margin-top: 5px;
}

.stat-description {
  font-size: 1rem;
  color: #777;
  margin-top: 15px;
  max-width: 80%;
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .stat-number {
    font-size: 2.5rem;
  }

  .stat-title {
    font-size: 1rem;
  }

  .stat-description {
    font-size: 0.9rem;
  }
}

/* Modern About Section */
.modern-about {
  padding: 100px 0;
  background: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.modern-about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='m0 40l40-40h-40v40zm40 0v-40h-40l40 40z'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.about-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Image Section */
.about-image-section {
  position: relative;
}

.image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.image-container:hover {
  transform: translateY(-10px);
}

.about-image {
  width: 100%;
  height: 600px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-container:hover .about-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  bottom: 30px;
  right: 30px;
}

.experience-badge {
  background: linear-gradient(45deg, #0c6d56, #0a5d4a);
  color: white;
  padding: 20px 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(12, 109, 86, 0.3);
  animation: pulse 2s infinite;
}

.experience-badge .years {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
}

/* Content Section */
.about-text-section {
  padding-left: 20px;
}

.section-header {
  margin-bottom: 20px;
}

.section-label {
  display: inline-block;
  background: linear-gradient(45deg, #0c6d56, #0a5d4a);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.3rem;
  color: #7f8c8d;
  font-weight: 500;
  line-height: 1.5;
}

.description-text {
  margin-bottom: 35px;
}

.description-text p {
  font-size: 1.1rem;
  color: #5a6c7d;
  line-height: 1.7;
  margin: 0;
}

/* Features List */
.features-list {
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  padding: 5px 0;
  transition: transform 0.2s ease;
}

.feature-item:hover {
  transform: translateX(10px);
}

.feature-icon {
  color: #0c6d56;
  font-size: 1.2rem;
  margin-right: 15px;
  flex-shrink: 0;
}

.feature-item span {
  font-size: 1rem;
  color: #2c3e50;
  font-weight: 500;
}

/* CTA Section */
.cta-section {
  margin-top: 40px;
}

.modern-button {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(45deg, #0c6d56, #0a5d4a);
  color: white;
  padding: 18px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(12, 109, 86, 0.3);
  position: relative;
  overflow: hidden;
}

.modern-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.modern-button:hover::before {
  left: 100%;
}

.modern-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(12, 109, 86, 0.4);
  color: white !important;
}

.button-icon {
  margin-left: 15px;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.modern-button:hover .button-icon {
  transform: translateX(5px);
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-content-wrapper {
    gap: 60px;
  }

  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .modern-about {
    padding: 40px 0;
  }

  .about-content-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-text-section {
    padding-left: 0;
    text-align: left;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-image {
    height: 400px;
  }

  .experience-badge {
    bottom: 20px;
    right: 20px;
    padding: 15px 20px;
  }

  .experience-badge .years {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }

  .modern-button {
    padding: 15px 25px;
    font-size: 1rem;
  }

  .about-image {
    height: 300px;
  }
}

/* Product Slider Arrows */
.product-list-section .slick-arrow-custom {
  position: absolute;
  top: -60px; /* Position above the slider */
  width: 40px;
  height: 40px;
  background-color: #ddd;
  border-radius: 50%;
  z-index: 1;
  transition: background-color 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  color: #333;
  cursor: pointer;
}

.product-list-section .slick-arrow-custom:hover {
  background-color: #ccc;
}

.product-list-section .slick-prev-custom {
  left: 0;
  right: auto;
}

.product-list-section .slick-next-custom {
  left: 50px;
  right: auto;
}

.product-list-section .slick-arrow-custom::before {
  content: none;
}

/* Mobile responsive arrows */
@media (max-width: 768px) {
  .product-list-section .slick-arrow-custom {
    top: -45px; /* Reduce top spacing */
    right: 0; /* Move to right side */
    left: auto; /* Reset left positioning */
  }

  .product-list-section .slick-prev-custom {
    right: 50px; /* Position previous arrow to the left of next arrow */
    left: auto;
  }

  .product-list-section .slick-next-custom {
    right: 0; /* Position next arrow at the far right */
    left: auto;
  }
}

@media (max-width: 480px) {
  .product-list-section .slick-arrow-custom {
    top: -40px; /* Further reduce spacing on very small screens */
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .product-list-section .slick-prev-custom {
    right: 45px;
  }
}

/* Modern Steps Section */
.modern-steps {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.modern-steps::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

.steps-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.modern-steps .section-header {
  text-align: center;
  margin-bottom: 80px;
  color: #2c3e50;
}

.modern-steps .section-label {
  display: inline-block;
  background: linear-gradient(45deg, #0c6d56, #0a5d4a);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.modern-steps .section-title {
  font-size: 3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.2;
}

.modern-steps .section-description {
  font-size: 1.2rem;
  color: #7f8c8d;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Steps Wrapper */
.steps-wrapper {
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

/* Progress Line */
.progress-line {
  position: absolute;
  top: 80px;
  left: 12.5%;
  right: 12.5%;
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  z-index: 1;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0f8268, #0c6d56);
  border-radius: 2px;
  width: 100%;
  animation: progressFill 3s ease-in-out;
}

/* Step Card */
.step-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px 25px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.step-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Step Number */
.step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--step-color, #0c6d56);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.step-number span {
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
}

/* Step Icon */
.step-icon {
  font-size: 3rem;
  color: var(--step-color, #0c6d56);
  margin-bottom: 25px;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.step-card:hover .step-icon {
  transform: scale(1.1);
  opacity: 1;
}

/* Step Content */
.step-content {
  margin-top: 10px;
}

.step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
  line-height: 1.3;
}

.step-description {
  font-size: 1rem;
  color: #5a6c7d;
  line-height: 1.5;
  margin: 0;
}

/* Connector Lines - Hidden on mobile */
.step-connector {
  display: none;
}

/* Animations */
@keyframes progressFill {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .progress-line {
    display: none;
  }

  .modern-steps .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .modern-steps {
    padding: 60px 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .modern-steps .section-header {
    margin-bottom: 50px;
  }

  .modern-steps .section-title {
    font-size: 2rem;
  }

  .step-card {
    padding: 30px 20px;
  }

  .step-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .step-card {
    padding: 25px 15px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    top: -20px;
  }

  .step-number span {
    font-size: 1rem;
  }

  .step-title {
    font-size: 1.1rem;
  }

  .step-description {
    font-size: 0.9rem;
  }
}
