/* Gallery Section */
.gallery-section {
  background: #f8f9fa;
}

.gallery-title {
  font-weight: 700;
}

.gallery-subtitle {
  color: #6c757d;
}

/* Gallery Item */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  height: 230px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  display: flex;
  align-items: flex-end;
  padding: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h5 {
  color: #fff;
  margin: 0;
  font-size: 16px;
}

/* Modal Image */
#galleryModal img {
  max-height: 80vh;
  object-fit: contain;
}

/* Mobile Fix */
@media (max-width: 576px) {
  .gallery-item {
    height: 180px;
  }

  #galleryModal img {
    max-height: 65vh;
  }
}
/* Gallery Section Container */
  .tr-gallery-section {
    padding: 10px 0;
    width: 100%;
  }

  .tr-container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1320px;
  }

  /* Row System */
  .tr-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
  }

  .tr-gap-4 {
    margin-right: -15px;
    margin-left: -15px;
  }

  .tr-gap-4 > [class*="tr-col"] {
    padding-right: 15px;
    padding-left: 15px;
  }

  /* Columns */
  .tr-col-full {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .tr-col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .tr-col-lg-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .tr-col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Typography */
  .tr-subtitle {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  .tr-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1e25;
    line-height: 1.2;
  }

  .tr-intro-text {
    font-size: 18px;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
  }

  .tr-highlight {
    font-weight: 700;
    color: #212529;
  }

  .tr-box-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1e25;
  }

  .tr-box-text {
    font-size: 16px;
    line-height: 1.7;
    color: #6c757d;
    margin-bottom: 0;
  }

  .tr-brand-name {
    display: block;
    font-weight: 700;
    font-size: 20px;
    color: #0d6efd;
    margin-bottom: 4px;
  }

  .tr-brand-since {
    display: block;
    font-size: 16px;
    color: #6c757d;
  }

  .tr-quote {
    margin-bottom: 0;
    font-style: italic;
    font-size: 16px;
    color: #6c757d;
  }

  /* Box Styles */
  .tr-box {
    padding: 30px;
    border-radius: 0;
    height: auto;
  }

  .tr-box-light {
    background-color: #f8f9fa;
  }

  .tr-box-primary-light {
    background-color: rgba(13, 110, 253, 0.1);
  }

  .tr-box-h-full {
    height: 100%;
  }

  /* List Styles */
  .tr-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .tr-list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 16px;
    color: #6c757d;
  }
.tr-box-text{text-align: justify}
  .tr-check-icon {
    color: #198754;
    margin-right: 10px;
    margin-top: 4px;
    flex-shrink: 0;
    font-size: 16px;
  }

  /* Divider */
  .tr-divider {
    margin: 24px 0 20px;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0.25;
  }

  /* Alignment */
  .tr-header-center {
    text-align: center;
  }

  .tr-text-lg-right {
    text-align: left;
  }

  .tr-align-center {
    align-items: center;
  }

  .tr-mb-0 {
    margin-bottom: 0;
  }

  .tr-mb-lg-3 {
    margin-bottom: 16px;
  }

  /* ========== RESPONSIVE MEDIA QUERIES ========== */

  /* Mobile First - Small devices (up to 576px) */
  @media (min-width: 576px) {
    .tr-container {
      max-width: 540px;
    }
    .tr-title {
      font-size: 36px;
    }
  }

  /* Medium devices (768px and up) */
  @media (min-width: 768px) {
    .tr-container {
      max-width: 720px;
    }

    .tr-col-md-6 {
      flex: 0 0 50%;
      max-width: 50%;
    }

    .tr-title {
      font-size: 40px;
    }

    .tr-header-md-left {
      text-align: left;
    }

    .tr-gallery-section {
      padding: 10px 0;
    }

    .tr-box {
      padding: 35px;
    }
  }

  /* Large devices (992px and up) */
  @media (min-width: 992px) {
    .tr-container {
      max-width: 960px;
    }

    .tr-col-lg-8 {
      flex: 0 0 66.666667%;
      max-width: 66.666667%;
    }

    .tr-col-lg-4 {
      flex: 0 0 33.333333%;
      max-width: 33.333333%;
    }

    .tr-title {
      font-size: 42px;
    }

    .tr-text-lg-right {
      text-align: right;
    }

    .tr-mb-lg-3 {
      margin-bottom: 0;
    }

    .tr-gallery-section {
      padding: 20px 0;
    }

    .tr-box {
      padding: 40px;
    }
  }

  /* Extra Large devices (1200px and up) */
  @media (min-width: 1200px) {
    .tr-container {
      max-width: 1140px;
    }
  }

  /* XXL devices (1400px and up) */
  @media (min-width: 1400px) {
    .tr-container {
      max-width: 1320px;
    }
  }
