/* style/tintc.css */

/* Custom Colors */
:root {
  --page-tintc-bg-primary: #08160F;
  --page-tintc-bg-card: #11271B;
  --page-tintc-text-main: #F2FFF6;
  --page-tintc-text-secondary: #A7D9B8;
  --page-tintc-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-tintc-border-color: #2E7A4E;
  --page-tintc-glow-color: #57E38D;
  --page-tintc-gold-color: #F2C14E;
  --page-tintc-divider-color: #1E3A2A;
  --page-tintc-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-tintc {
  color: var(--page-tintc-text-main); /* Default text color for dark body background */
  background-color: var(--page-tintc-bg-primary); /* Consistent with body background */
}

.page-tintc__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-tintc__section-title {
  font-size: clamp(28px, 4vw, 42px); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  color: var(--page-tintc-text-main);
  text-align: center;
  margin-bottom: 40px;
}

.page-tintc__section-description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--page-tintc-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

/* Buttons */
.page-tintc__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tintc__btn-primary {
  background: var(--page-tintc-btn-gradient);
  color: #ffffff; /* White text for primary button */
}

.page-tintc__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 15px rgba(87, 227, 141, 0.4);
}

.page-tintc__btn-secondary {
  background-color: transparent;
  color: var(--page-tintc-glow-color);
  border: 2px solid var(--page-tintc-glow-color);
}

.page-tintc__btn-secondary:hover {
  background-color: var(--page-tintc-glow-color);
  color: var(--page-tintc-bg-primary);
}

/* Card styles */
.page-tintc__card {
  background-color: var(--page-tintc-bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-tintc-text-main);
}

.page-tintc__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-tintc__card-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-tintc__card-content {
  padding: 20px;
}

.page-tintc__card-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
}

.page-tintc__card-title a {
  color: var(--page-tintc-text-main);
  text-decoration: none;
}

.page-tintc__card-title a:hover {
  color: var(--page-tintc-glow-color);
}

.page-tintc__card-date {
  font-size: 14px;
  color: var(--page-tintc-text-secondary);
  margin-bottom: 15px;
}

.page-tintc__card-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: var(--page-tintc-text-secondary);
  margin-bottom: 20px;
}

.page-tintc__read-more {
  color: var(--page-tintc-glow-color);
  text-decoration: none;
  font-weight: 500;
}

.page-tintc__read-more:hover {
  text-decoration: underline;
}

/* Section backgrounds */
.page-tintc__dark-bg {
  background-color: var(--page-tintc-bg-primary);
  color: var(--page-tintc-text-main);
}

.page-tintc__light-bg {
  background-color: #111e17; /* A slightly lighter shade of dark green for contrast */
  color: var(--page-tintc-text-main);
}

/* Hero Section */
.page-tintc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 80px; /* Small top padding, larger bottom */
  text-align: center;
  overflow: hidden;
}

.page-tintc__hero-content-wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  gap: 30px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-tintc__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  min-height: 400px; /* Ensure large image */
}

.page-tintc__hero-text-content {
  max-width: 800px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-tintc__main-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--page-tintc-gold-color);
  margin-bottom: 15px;
}

.page-tintc__hero-description {
  font-size: 20px;
  line-height: 1.7;
  color: var(--page-tintc-text-secondary);
  margin-bottom: 30px;
}

/* Latest News Section */
.page-tintc__latest-news {
  padding: 80px 0;
}

.page-tintc__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-tintc__view-all-button-container {
  text-align: center;
  margin-top: 50px;
}

/* Industry Insights Section */
.page-tintc__industry-insights {
  padding: 80px 0;
}

.page-tintc__insight-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.page-tintc__insight-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--page-tintc-text-secondary);
}

.page-tintc__insight-text h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--page-tintc-gold-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-tintc__insight-text p {
  margin-bottom: 20px;
}

.page-tintc__insight-image {
  flex-shrink: 0;
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

/* Announcements Section */
.page-tintc__announcements {
  padding: 80px 0;
}

.page-tintc__announcement-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-tintc__announcement-item {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  padding: 25px;
}

.page-tintc__announcement-icon {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  min-width: 100px; /* Ensure minimum size */
  min-height: 100px; /* Ensure minimum size */
}

.page-tintc__announcement-content {
  flex-grow: 1;
}

.page-tintc__announcement-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--page-tintc-gold-color);
  margin-bottom: 8px;
}

.page-tintc__announcement-date {
  font-size: 14px;
  color: var(--page-tintc-text-secondary);
  margin-bottom: 10px;
}

.page-tintc__announcement-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--page-tintc-text-secondary);
}

/* Promotions News Section */
.page-tintc__promotions-news {
  padding: 80px 0;
}

.page-tintc__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

/* FAQ Section */
.page-tintc__faq-section {
  padding: 80px 0;
}

.page-tintc__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-tintc__faq-item {
  border: 1px solid var(--page-tintc-border-color);
  border-radius: 10px;
  padding: 0;
  background-color: var(--page-tintc-bg-card);
}

.page-tintc__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: var(--page-tintc-text-main);
  cursor: pointer;
  list-style: none;
}

.page-tintc__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-tintc__faq-qtext {
  flex-grow: 1;
  color: var(--page-tintc-text-main);
}

.page-tintc__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  color: var(--page-tintc-glow-color);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-tintc__faq-item[open] .page-tintc__faq-toggle {
  transform: rotate(45deg);
}

.page-tintc__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--page-tintc-text-secondary);
}

/* Final CTA Section */
.page-tintc__final-cta {
  padding: 80px 0;
  text-align: center;
}

.page-tintc__cta-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-tintc__cta-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto 40px;
  border-radius: 12px;
  object-fit: cover;
  min-height: 300px; /* Ensure minimum size */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-tintc__hero-content-wrapper {
    flex-direction: column;
  }
  .page-tintc__hero-image {
    max-width: 80%;
  }
  .page-tintc__insight-content {
    flex-direction: column;
  }
  .page-tintc__insight-image {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-tintc__container {
    padding: 0 15px;
  }
  .page-tintc__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-tintc__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-tintc__btn {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 15px; /* Add spacing for stacked buttons */
  }
  .page-tintc__view-all-button-container, .page-tintc__final-cta .page-tintc__cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-tintc__news-grid, .page-tintc__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-tintc__hero-section, .page-tintc__latest-news, .page-tintc__industry-insights, .page-tintc__announcements, .page-tintc__promotions-news, .page-tintc__faq-section, .page-tintc__final-cta {
    padding: 40px 0;
  }
  .page-tintc__hero-image {
    max-width: 100%;
    min-height: 250px;
  }
  .page-tintc__main-title {
    font-size: 32px;
  }
  .page-tintc__hero-description {
    font-size: 18px;
  }
  .page-tintc__announcement-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .page-tintc__announcement-icon {
    margin-bottom: 15px;
  }

  /* Mobile image and video responsive adaptation */
  .page-tintc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-tintc video, .page-tintc__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-tintc__section, .page-tintc__card, .page-tintc__container, .page-tintc__video-section, .page-tintc__video-container, .page-tintc__video-wrapper, .page-tintc__cta-buttons, .page-tintc__button-group, .page-tintc__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-tintc__video-section {
    padding-top: 10px !important;
  }
  .page-tintc__cta-buttons, .page-tintc__button-group, .page-tintc__btn-container {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-tintc__cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-tintc__main-title {
    font-size: 28px;
  }
  .page-tintc__hero-description {
    font-size: 16px;
  }
  .page-tintc__card-title {
    font-size: 18px;
  }
  .page-tintc__faq-item summary {
    font-size: 16px;
    padding: 15px 20px;
  }
  .page-tintc__faq-answer {
    padding: 0 20px 15px;
  }
}