/* Hero Section Enhancement */
.hero-index {
  height: 80vh; /* Increased height */
  min-height: 600px;
  position: relative;
  margin: 0;
  padding: 0;
}

.hero-carousel {
  width: 100%;
  height: 100%;
  position: relative;
  margin-top: 10px; /* Adjust this value based on your navbar height */
}

.carousel-slides {
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

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

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

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
}

.slide-content {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--white);
  width: 100%;
  max-width: 600px;
  z-index: 2;
  padding: 0 20px;
}

.slide-content h3 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 30px;
  font-weight: 300;
}

.btn {
  display: inline-block;
  width: fit-content;
  font-size: var(--fs-6);
  text-transform: uppercase;
  font-weight: var(--fw-600);
  padding: 12px 30px;
  border: 2px solid;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: hsl(2, 100%, 69%);
  border-color: hsl(2, 100%, 69%);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--white);
  color: hsl(2, 100%, 69%);
}

.btn-outline {
  background-color: hsl(2, 100%, 69%);
  border: 2px solid hsl(2, 100%, 69%);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: var(--fw-600);
  text-transform: uppercase;
  font-size: var(--fs-6);
}

.btn-outline:hover {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.hero-btns .btn {
  width: fit-content;
  min-width: auto;
}

/* Intro Section */
.intro {
  padding: 80px 0;
  margin: 0;
  background: var(--white);
}

.intro-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.intro-content h1 {
  margin-bottom: 20px;
}

.hero-text {
  margin-bottom: 30px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--cool-gray);
}

/* Product Categories Enhancement */
.about-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.about-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--bittersweet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.about-card:hover::before {
  transform: scaleX(1);
}

/* Featured Products Enhancement */
.featured-products {
  padding: 100px 0;
  background: var(--white-1);
}

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

.product-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(var(--royal-blue-dark), 0.1);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-img-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--white-2);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--royal-blue-dark), 0.8), rgba(var(--royal-blue-dark), 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.overlay-content {
  text-align: center;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.product-badge {
  background: var(--bittersweet);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: inline-block;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--royal-blue-dark);
}

.product-content {
  padding: 25px;
}

.product-title {
  font-size: 1.2rem;
  color: var(--royal-blue-dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.product-text {
  color: var(--cool-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(var(--royal-blue-dark), 0.15);
}

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

.product-card:hover .overlay-content {
  transform: translateY(0);
}

/* Contact Section Enhancement */
.contact {
  background: var(--white-2);
  padding: 100px 0;
  position: relative;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 40px 0;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Who We Are Section */
.who-we-are {
  padding: 50px 0;
  background: var(--white-2);
}

.who-we-are-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-subtitle {
  color: var(--bittersweet);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: block;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  color: var(--bittersweet);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 5px;
  display: block;
}

.about-image {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Featured Products Section */
.featured-products {
  padding: 80px 0;
  background: var(--white-1);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.section-text {
  font-size: 1.1rem;
  color: var(--cool-gray);
  line-height: 1.6;
}

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

.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(var(--royal-blue-dark), 0.08);
  transition: transform 0.3s ease;
}

.product-img-wrapper {
  position: relative;
}

.product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-content {
  padding: 20px;
}

.product-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.product-text {
  font-size: 0.9rem;
  color: var(--cool-gray);
}

.view-more-container {
  text-align: center;
  margin-top: 40px;
}

.view-more-container .btn {
  min-width: 180px;
  max-width: 250px;
  margin: 0 auto;
}

/* Counter Section */
.counter-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
}

.counter-item {
  flex: 0 1 160px;
  min-width: 140px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.counter-number {
  color: var(--bittersweet);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 5px;
}

.counter-item p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--cool-gray);
}

/* Contact Preview Section */
.contact-preview {
  padding: 100px 0;
  background: var(--white-2);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-info {
  padding-right: 50px;
}

.contact-details {
  margin: 40px 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 0;
}

.contact-item ion-icon {
  font-size: 24px;
  color: var(--bittersweet);
}

.contact-map {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Animated Text */
.animated-text {
  display: inline-block;
  background: linear-gradient(45deg, var(--bittersweet), var(--royal-blue-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 8s linear infinite;
}

/* Carousel Enhancements */
.carousel-slides {
  position: relative;
  height: 100%;
}

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

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

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

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

.dot.active {
  background: var(--white);
  transform: scale(1.2);
}

/* Product Card Button Enhancement */
.product-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.btn-view {
  background: var(--bittersweet);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 25px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.product-card:hover .btn-view {
  transform: translateY(0);
  opacity: 1;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Button Enhancements */
.btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s ease;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: width 0.4s ease;
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

/* Section Title Enhancements */
.section-title {
  position: relative;
  margin-bottom: 60px;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--bittersweet);
  border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .hero {
    background: var(--white);
  }

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

  .hero-content {
    max-width: 100%;
    text-align: center;
    padding-right: 0;
  }

  .hero-carousel {
    height: 400px;
    border-radius: 20px;
    margin-right: 0;
  }

  .who-we-are-wrapper {
    grid-template-columns: 1fr;
  }

  .stats-container {
    grid-template-columns: 1fr 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info {
    padding-right: 0;
    text-align: center;
  }

  .contact-item {
    justify-content: center;
  }

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

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

  .counter-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .who-we-are-btn {
    text-align: center;
  }

  .hero {
    height: 70vh;
    min-height: 500px;
  }

  section {
    padding: 30px 0;
  }
  
  .intro {
    padding: 30px 0;
  }

  .slide-content {
    bottom: 60px;
  }
}

@media (max-width: 576px) {
  .product-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 30px auto;
  }

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

@media (max-width: 768px) {
  .counter-item {
    flex: 0 1 120px;
    min-width: 120px;
    padding: 15px;
  }
  
  .counter-number {
    font-size: 1.8rem;
  }
  
  .counter-item p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .counter-item {
    flex: 0 1 100px;
    min-width: 100px;
    padding: 10px;
  }
  
  .counter-number {
    font-size: 1.5rem;
  }
  
  .counter-item p {
    font-size: 0.8rem;
  }
}