/* style/tintc.css */
.page-tintc {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-tintc__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  box-sizing: border-box;
  overflow: hidden;
}

.page-tintc__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.page-tintc__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(17, 39, 27, 0.7); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.page-tintc__main-title {
  color: #F2FFF6;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  /* No fixed font-size for H1 in hero */
}

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

.page-tintc__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-tintc__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

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

.page-tintc__section-title {
  color: #F2FFF6;
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.page-tintc__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #57E38D; /* Glow color */
  border-radius: 2px;
}

.page-tintc__latest-news-section {
  padding: 80px 0;
  background-color: #08160F;
}

.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: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border color */
}

.page-tintc__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-tintc__news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

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

.page-tintc__news-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

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

.page-tintc__news-title a:hover {
  color: #57E38D; /* Glow color */
}

.page-tintc__news-date {
  color: #A7D9B8;
  font-size: 0.9em;
  margin-bottom: 15px;
}

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

.page-tintc__btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background-color: transparent;
  color: #57E38D; /* Glow color */
  border: 2px solid #2E7A4E; /* Border color */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.page-tintc__btn-secondary:hover {
  background-color: #2E7A4E;
  color: #F2FFF6;
}

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

.page-tintc__benefits-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-tintc__benefit-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
}

.page-tintc__benefit-title {
  color: #57E38D; /* Glow color */
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-tintc__benefit-description {
  color: #A7D9B8;
  font-size: 0.95em;
}

.page-tintc__cta-section {
  padding: 80px 0;
  background-color: #08160F;
  text-align: center;
}

.page-tintc__cta-section .page-tintc__card {
  background-color: #11271B; /* Card BG */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 2px solid #2E7A4E; /* Border color */
}

.page-tintc__cta-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
}

.page-tintc__cta-content {
  max-width: 800px;
}

.page-tintc__cta-title {
  color: #F2FFF6;
  font-size: 2.2em;
  margin-bottom: 20px;
}

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

.page-tintc__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-tintc__faq-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-tintc__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-tintc__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-tintc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: #F2FFF6;
  font-size: 1.2em;
  font-weight: bold;
  background-color: #1E3A2A; /* Divider color for question header */
  transition: background-color 0.3s ease;
}

.page-tintc__faq-question:hover {
  background-color: #2E7A4E;
}

.page-tintc__faq-item[open] .page-tintc__faq-question {
  background-color: #2E7A4E;
}

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

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

.page-tintc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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;
  color: #A7D9B8;
  font-size: 1em;
  line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-tintc__hero-content {
    padding: 30px;
  }

  .page-tintc__main-title {
    font-size: 2.5em;
  }

  .page-tintc__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-tintc__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body already handles --header-offset */
  }

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

  .page-tintc__main-title {
    font-size: 2em;
  }

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

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

  .page-tintc__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-tintc__container {
    padding: 0 15px;
  }

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

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

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

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

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

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

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

  .page-tintc__cta-section .page-tintc__card {
    padding: 30px 20px;
  }

  .page-tintc__cta-title {
    font-size: 1.8em;
  }

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

  .page-tintc__faq-question {
    padding: 18px 20px;
    font-size: 1.1em;
  }

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

  /* Image responsive rules */
  .page-tintc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-tintc__hero-image,
  .page-tintc__news-image,
  .page-tintc__cta-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-tintc__section,
  .page-tintc__card,
  .page-tintc__container,
  .page-tintc__news-card,
  .page-tintc__benefit-item,
  .page-tintc__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-tintc__latest-news-section,
  .page-tintc__benefits-section,
  .page-tintc__cta-section,
  .page-tintc__faq-section {
    padding-left: 0;
    padding-right: 0;
  }

  /* Ensure no width conflicts for images in content area */
  .page-tintc p img, .page-tintc li img {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Content area images should not be smaller than 200px */
  .page-tintc__content-area img {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
}