/* style/tintc.css */

/* Variables (if needed, but custom colors are directly used) */

.page-tintc {
  color: #F2FFF6; /* Main text color for dark background */
  background-color: #08160F; /* Ensure consistent background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-tintc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  text-align: center;
  padding-bottom: 60px; /* Space below content */
  background-color: #08160F;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-tintc__hero-image-wrapper {
  width: 100%;
  max-width: 100%; /* Ensure it doesn't overflow */
  margin-bottom: 30px; /* Space between image and text */
}

.page-tintc__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  min-height: 200px; /* Min size for image */
}

.page-tintc__hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.page-tintc__hero-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
  color: #F2FFF6;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-tintc__hero-description {
  font-size: 1.1em;
  color: #A7D9B8;
  margin-bottom: 30px;
}

.page-tintc__hero-cta,
.page-tintc__btn-primary,
.page-tintc__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons are responsive */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-tintc__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
}

.page-tintc__btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.page-tintc__btn-secondary {
  background: transparent;
  color: #F2FFF6;
  border: 2px solid #2AD16F;
  margin-left: 15px;
}

.page-tintc__btn-secondary:hover {
  transform: translateY(-2px);
  background-color: rgba(42, 209, 111, 0.1);
}

.page-tintc__section-title {
  font-size: 2.5em;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-tintc__section-description {
  font-size: 1.1em;
  color: #A7D9B8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px auto;
}

.page-tintc__intro-section,
.page-tintc__news-grid-section,
.page-tintc__why-choose-news-section,
.page-tintc__faq-section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-tintc__dark-section {
  background-color: #11271B; /* Card BG color for dark section */
  padding: 80px 0;
}

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

.page-tintc__news-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-tintc__news-card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-height: 200px; /* Min size for image */
}

.page-tintc__news-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-tintc__news-card-date,
.page-tintc__news-card-category {
  font-size: 0.9em;
  color: #A7D9B8;
  margin-bottom: 10px;
  display: inline-block;
  margin-right: 15px;
}

.page-tintc__news-card-category {
  background-color: #0A4B2C; /* Deep Green for category tag */
  padding: 5px 10px;
  border-radius: 5px;
}

.page-tintc__news-card-title {
  font-size: 1.5em;
  color: #F2FFF6;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-tintc__news-card-title a {
  color: #F2FFF6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tintc__news-card-title a:hover {
  color: #2AD16F; /* Button top gradient color on hover */
}

.page-tintc__news-card-summary {
  font-size: 1em;
  color: #A7D9B8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-tintc__news-card-link {
  color: #57E38D; /* Glow color for link */
  text-decoration: none;
  font-weight: bold;
  align-self: flex-start;
  transition: color 0.3s ease;
}

.page-tintc__news-card-link:hover {
  color: #F2C14E; /* Gold color on hover */
}

.page-tintc__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%; /* Ensure container is responsive */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Why Choose News Section */
.page-tintc__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-tintc__feature-item {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tintc__feature-title {
    font-size: 1.8em;
    color: #F2FFF6;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-tintc__feature-description {
    font-size: 1em;
    color: #A7D9B8;
}

/* FAQ Section */
.page-tintc__faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid #1E3A2A; /* Divider color */
}

.page-tintc__faq-item {
  margin-bottom: 10px;
  border-bottom: 1px solid #1E3A2A; /* Divider color */
  padding: 15px 0;
  color: #F2FFF6;
}

.page-tintc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  padding: 10px 0;
  color: #F2FFF6;
}

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

.page-tintc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow color */
}

.page-tintc__faq-answer {
  padding-top: 10px;
  font-size: 1em;
  color: #A7D9B8;
  line-height: 1.6;
}

.page-tintc__faq-answer p {
  margin-bottom: 10px;
}


/* Responsive styles */
@media (max-width: 1024px) {
  .page-tintc__hero-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-tintc__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-tintc__container {
    padding: 0 15px;
  }

  .page-tintc__hero-section {
    padding-bottom: 40px;
  }

  .page-tintc__hero-content {
    padding: 0 15px;
  }

  .page-tintc__hero-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }

  .page-tintc__hero-description {
    font-size: 1em;
  }

  .page-tintc__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-tintc__section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-tintc__news-grid {
    grid-template-columns: 1fr;
  }

  .page-tintc__news-card-image {
    height: 180px;
  }

  .page-tintc__news-card-title {
    font-size: 1.3em;
  }

  .page-tintc__news-card-content {
    padding: 20px;
  }

  .page-tintc__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding for buttons in mobile */
  }
  
  .page-tintc__btn-secondary {
    margin-left: 0; /* Remove margin for stacked buttons */
  }

  .page-tintc__hero-cta,
  .page-tintc__btn-primary,
  .page-tintc__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-tintc__features-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-tintc__feature-item {
    padding: 25px;
  }

  .page-tintc__feature-title {
    font-size: 1.5em;
  }

  .page-tintc__faq-list {
    padding: 0 15px;
  }

  .page-tintc__faq-question {
    font-size: 1.1em;
  }

  /* Mobile image and video responsiveness */
  .page-tintc img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !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__cta-buttons,
  .page-tintc__button-group,
  .page-tintc__btn-container,
  .page-tintc__video-section,
  .page-tintc__video-container,
  .page-tintc__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-tintc__video-section {
    padding-top: 10px !important; /* body handles --header-offset, this is just for visual */
  }
}