/* Homepage (index) styles (SCSS source)
   Compiled into: new/assets/css/index.css */
/* ==========================================================================
  Tokens (homepage)
  ========================================================================== */
/* ==========================================================================
  Design Tokens (global + page)
  ========================================================================== */
.section-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #054c73;
  text-align: center;
  margin-bottom: 50px;
}
@media (max-width: 576px) {
  .section-title {
    margin-bottom: 20px;
  }
}

/* ==========================================================================
   Hero / Banner
   ========================================================================== */
.hero-section {
  margin-top: 90px;
  position: relative;
  overflow: hidden;
}
.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  aspect-ratio: 16/9;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide-bg img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  top: -80px;
}
.hero-card {
  background: #dfe9f4;
  border-radius: 10px;
  padding: clamp(24px, 3vw, 40px) clamp(24px, 3.5vw, 56px);
  max-width: 643px;
  width: 100%;
}
.hero-label {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: clamp(13px, 0.4rem + 0.7vw, 16px);
  color: #333;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 1rem + 2.5vw, 52px);
  line-height: 1.25;
  color: #054c73;
  margin-bottom: 20px;
}
.hero-desc {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 0.5rem + 0.8vw, 18px);
  line-height: 2.1;
  color: #333;
  max-width: 480px;
}
@media (max-width: 1200px) {
  .hero-content {
    top: -30px;
  }
  .hero-card {
    max-width: 500px;
  }
  .hero-label {
    letter-spacing: 2px;
    margin-bottom: 14px;
  }
  .hero-title {
    font-size: clamp(28px, 1rem + 2.5vw, 52px);
    line-height: 1.05;
    margin-bottom: 16px;
  }
  .hero-desc {
    font-size: clamp(14px, 0.5rem + 0.8vw, 18px);
    line-height: 1.8;
    max-width: 480px;
  }
}
@media (max-width: 992px) {
  .hero-section {
    margin-top: 70px;
  }
  .hero-content {
    top: -20px;
  }
  .hero-card {
    padding: clamp(14px, 3vw, 30px) clamp(14px, 3.5vw, 40px);
    max-width: 320px;
  }
  .hero-label {
    font-size: clamp(10px, 0.4rem + 0.7vw, 14px);
    letter-spacing: 2px;
    margin-bottom: 10px;
  }
  .hero-title {
    font-size: clamp(12px, 1rem + 1.2vw, 20px);
    line-height: 1.2;
    margin-bottom: 10px;
  }
  .hero-desc {
    font-size: clamp(8px, 0.5rem + 0.8vw, 10px);
    line-height: 1.2;
  }
}
@media (max-width: 576px) {
  .hero-section {
    padding: 0;
    height: auto;
    margin-top: 60px;
  }
  .hero-slide {
    aspect-ratio: 402/254;
  }
  .hero-slide-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }
  .hero-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 28% 40%;
    aspect-ratio: 402/254;
    transform: scale(1.12);
    transform-origin: center;
  }
  .hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 20px;
  }
  .hero-content.container {
    max-width: 100%;
    padding: 30px;
  }
  .hero-card {
    border-radius: 10px;
    padding: 10px 12px;
    max-width: 230px;
    margin: 0;
    backdrop-filter: blur(10px);
  }
  .hero-label {
    letter-spacing: 2px;
    margin-bottom: 6px;
    font-size: clamp(8px, 2.5vw, 8px);
  }
  .hero-title {
    line-height: 1.2;
    margin-bottom: 8px;
    font-size: clamp(18px, 5vw, 24px);
  }
  .hero-desc {
    line-height: 1.6;
    font-size: clamp(5px, 3vw, 8px);
  }
}
@media (max-width: 420px) {
  .hero-title {
    font-size: clamp(10px, 5vw, 14px);
  }
  .hero-card {
    padding: 8px 10px;
    max-width: 190px;
  }
}
@media (max-width: 360px) {
  .hero-card {
    display: none;
  }
}

.swiper-hero {
  width: 100%;
  aspect-ratio: 16/9;
  height: 100%;
  /* Swiper pagination */
}
.swiper-hero .swiper-pagination {
  bottom: 90px;
}
.swiper-hero .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #fff;
  opacity: 1;
  border-radius: 20px;
  transition: all 0.3s ease;
}
.swiper-hero .swiper-pagination-bullet-active {
  width: 28px;
  background: #054c73;
}
@media (max-width: 1200px) {
  .swiper-hero .swiper-pagination {
    bottom: 55px;
  }
}
@media (max-width: 992px) {
  .swiper-hero .swiper-pagination {
    bottom: 35px;
  }
}
@media (max-width: 576px) {
  .swiper-hero {
    aspect-ratio: auto;
    min-height: 200px;
  }
  .swiper-hero .swiper-pagination {
    bottom: 20px;
  }
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.stat-section {
  background: #f2f5ff;
  padding: 32px 0;
}
@media (max-width: 576px) {
  .stat-section {
    padding: 10px 0;
  }
}
.stat-grid {
  display: flex;
  gap: 24px;
  justify-content: space-evenly;
  text-align: center;
}
@media (max-width: 992px) {
  .stat-grid {
    gap: 10px;
  }
}
@media (max-width: 576px) {
  .stat-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 0px;
    padding: 0 30px;
  }
}
.stat-item {
  flex: 1;
  padding: 32px;
}
@media (max-width: 992px) {
  .stat-item {
    padding: 20px 16px;
  }
}
@media (max-width: 576px) {
  .stat-item {
    padding: 10px 8px;
  }
}
.stat-number {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #054c73;
  letter-spacing: 0.5px;
}
@media (max-width: 576px) {
  .stat-number {
    line-height: 1.2;
  }
}
.stat-label {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: clamp(12px, 1.5vw + 8px, 20px);
  line-height: 1.6;
  color: #8ca2c0;
  letter-spacing: 0.5px;
  margin-top: 16px;
}
@media (max-width: 1200px) {
  .stat-label {
    font-size: 16px;
  }
}
@media (max-width: 992px) {
  .stat-label {
    font-size: 16px;
  }
}
@media (max-width: 576px) {
  .stat-label {
    font-size: clamp(10px, 3.5vw, 14px);
    margin-top: 6px;
  }
}

/* ==========================================================================
   Products Section (homepage)
   ========================================================================== */
.products-section {
  padding: 80px 0 60px;
}
@media (max-width: 576px) {
  .products-section {
    padding: 20px 0 30px;
  }
}
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  position: relative;
}
.product-card-img {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.product-card-img img {
  aspect-ratio: 8/10;
  border-radius: 16px;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}
@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-card-img img {
    transform: scale(1.05);
  }
}
.product-card-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #054c73;
  text-align: center;
  margin-top: 20px;
}
@media (max-width: 576px) {
  .product-card-name {
    font-size: 18px;
  }
  .product-card-img {
    border-radius: 10px;
  }
  .product-card-img img {
    border-radius: 10px;
  }
}

/* ==========================================================================
   About Section (homepage)
   ========================================================================== */
.about-section {
  background: #054c73;
  position: relative;
  overflow: hidden;
}
.about-grid {
  display: flex;
  gap: 60px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}
@media (max-width: 1200px) {
  .about-grid {
    gap: 20px;
  }
}
@media (max-width: 992px) {
  .about-grid {
    flex-direction: column;
    padding: 0;
  }
}
.about-text {
  margin: 20px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 50px;
  padding-left: max(80px, (100vw - 1550px) / 2 + 80px);
}
.about-text h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #fff;
  margin-bottom: 32px;
}
.about-text p {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 2;
  color: #fff;
  margin-bottom: 16px;
}
@media (max-width: 1200px) {
  .about-text {
    padding-right: 0px;
    padding-left: max(40px, (100vw - 1550px) / 2 + 80px);
  }
}
@media (max-width: 992px) {
  .about-text {
    padding: 0 30px;
  }
}
@media (max-width: 576px) {
  .about-text {
    padding: 0 16px;
  }
  .about-text h2 {
    font-size: 24px;
  }
  .about-text p {
    font-size: 15px;
    line-height: 1.8;
  }
}
.about-image {
  flex: 1.5;
  position: relative;
  margin-left: auto;
  flex-shrink: 0;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 1200px) {
  .about-image img {
    object-fit: contain;
  }
}
@media (max-width: 992px) {
  .about-image {
    order: -1;
    width: 100%;
  }
}

.btn-learn-more {
  display: inline-block;
  align-self: flex-start;
  margin-top: 24px;
  padding: 16px 57px;
  background: #fff;
  color: #054c73;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.btn-learn-more:hover {
  background: #f2f5ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Categories Section (6 items grid)
   ========================================================================== */
.categories-section {
  padding: 80px 0;
}
@media (max-width: 576px) {
  .categories-section {
    padding: 20px 0;
  }
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 992px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (max-width: 576px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }
}

.category-card {
  text-align: center;
  position: relative;
}
.category-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(26, 26, 26, 0.8) 0%, rgba(26, 26, 26, 0.1) 60%, rgba(0, 0, 0, 0) 100%);
  border-radius: 16px 16px 0 0;
  z-index: 1;
}
.category-card:hover .category-img-wrap img {
  transform: scale(1.05);
}
.category-img-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1/1.05;
}
.category-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-number {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #054c73;
  border-radius: 50%;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  margin: -30px auto 0;
  z-index: 3;
  box-shadow: 0 0 0 15px #fff;
}
.category-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #054c73;
  margin-top: 12px;
}
@media (max-width: 576px) {
  .category-number {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin-top: -25px;
    box-shadow: 0 0 0 12px #fff;
  }
  .category-name {
    font-size: 18px;
  }
}

/* ==========================================================================
   Cooperating Brands
   ========================================================================== */
.brands-section {
  padding: 40px 0 80px;
}
.brands-section .section-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
}
@media (max-width: 576px) {
  .brands-section {
    padding: 20px 0 40px;
  }
}
.brands-divider {
  max-width: 1280px;
  margin: 0 auto 32px;
  height: 1px;
  background: #e0e0e0;
}
.brands-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.brands-logos img {
  height: 32px;
  width: auto;
  opacity: 1;
  transition: opacity 0.3s ease;
  /* filter: grayscale(30%); */
}
.brands-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}
@media (max-width: 576px) {
  .brands-logos {
    gap: 20px;
  }
  .brands-logos img {
    height: 24px;
  }
}
