/* style/tintc.css */

/* --- Variables (if needed) --- */
:root {
  --page-tintc-primary-color: #11A84E;
  --page-tintc-secondary-color: #22C768;
  --page-tintc-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-tintc-card-bg: #11271B;
  --page-tintc-background: #08160F;
  --page-tintc-text-main: #F2FFF6;
  --page-tintc-text-secondary: #A7D9B8;
  --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 .page-tintc content area --- */
.page-tintc {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-tintc-text-main); /* Default text color for dark background */
  background-color: var(--page-tintc-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);
  font-weight: 700;
  color: var(--page-tintc-gold-color);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-tintc__section-description {
  font-size: 18px;
  color: var(--page-tintc-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Hero Section --- */
.page-tintc__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Adjusted for body padding-top and small top margin */
  background-color: var(--page-tintc-background);
  overflow: hidden;
}

.page-tintc__hero-image-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and content */
}

.page-tintc__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-tintc__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-tintc__main-title {
  font-size: clamp(32px, 5vw, 56px); /* Use clamp for responsive font size */
  font-weight: 900;
  color: var(--page-tintc-gold-color);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

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

.page-tintc__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tintc__btn-primary {
  background: var(--page-tintc-button-gradient);
  color: var(--page-tintc-text-main);
  border: 2px solid transparent;
}

.page-tintc__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--page-tintc-glow-color);
}

.page-tintc__btn-secondary {
  background-color: var(--page-tintc-card-bg);
  color: var(--page-tintc-primary-color);
  border: 2px solid var(--page-tintc-primary-color);
}

.page-tintc__btn-secondary:hover {
  background-color: var(--page-tintc-primary-color);
  color: var(--page-tintc-text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 10px var(--page-tintc-glow-color);
}

/* --- Latest News Section --- */
.page-tintc__latest-news {
  padding: 60px 0;
  background-color: var(--page-tintc-card-bg); /* Use card background for contrast */
  color: var(--page-tintc-text-main);
}

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

.page-tintc__news-card {
  background-color: var(--page-tintc-background);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-tintc-divider-color);
}

.page-tintc__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--page-tintc-glow-color);
}

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

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

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

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

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

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

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

.page-tintc__read-more {
  color: var(--page-tintc-primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-tintc__read-more:hover {
  color: var(--page-tintc-gold-color);
  text-decoration: underline;
}

.page-tintc__view-all-button {
  text-align: center;
}

/* --- Featured Articles Section --- */
.page-tintc__featured-articles {
  padding: 60px 0;
  background-color: var(--page-tintc-background);
  color: var(--page-tintc-text-main);
}

.page-tintc__article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-tintc__article-card {
  display: flex;
  flex-direction: column;
  background-color: var(--page-tintc-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-tintc-divider-color);
}

.page-tintc__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--page-tintc-glow-color);
}

.page-tintc__article-image {
  width: 100%;
  height: 350px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-tintc__article-content {
  padding: 30px;
}

.page-tintc__article-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-tintc__article-title a {
  color: var(--page-tintc-text-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tintc__article-title a:hover {
  color: var(--page-tintc-gold-color);
}

.page-tintc__article-meta {
  font-size: 15px;
  color: var(--page-tintc-text-secondary);
  margin-bottom: 20px;
}

.page-tintc__article-text {
  font-size: 17px;
  color: var(--page-tintc-text-secondary);
  margin-bottom: 25px;
}

/* --- CTA Section --- */
.page-tintc__cta-section {
  padding: 60px 0;
  background-color: var(--page-tintc-card-bg);
  color: var(--page-tintc-text-main);
  text-align: center;
}

.page-tintc__cta-banner-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-tintc__cta-banner-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-tintc__cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.page-tintc__cta-title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--page-tintc-gold-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-tintc__cta-description {
  font-size: 18px;
  color: var(--page-tintc-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
}

/* --- FAQ Section --- */
.page-tintc__faq-section {
  padding: 60px 0;
  background-color: var(--page-tintc-background);
  color: var(--page-tintc-text-main);
}

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

.page-tintc__faq-item {
  background-color: var(--page-tintc-card-bg);
  border: 1px solid var(--page-tintc-divider-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tintc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  color: var(--page-tintc-text-main);
  cursor: pointer;
  background-color: var(--page-tintc-deep-green);
  border-bottom: 1px solid var(--page-tintc-divider-color);
  transition: background-color 0.3s ease;
  list-style: none; /* For <details> tag */
}

.page-tintc__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for <details> */
}

.page-tintc__faq-question:hover {
  background-color: var(--page-tintc-primary-color);
}

.page-tintc__faq-qtext {
  flex-grow: 1;
}

.page-tintc__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-tintc-gold-color);
  transition: transform 0.3s ease;
}

.page-tintc__faq-item[open] .page-tintc__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to form an X */
}

.page-tintc__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  color: var(--page-tintc-text-secondary);
  background-color: var(--page-tintc-card-bg);
}

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

/* --- About Us Summary Section --- */
.page-tintc__about-us-summary {
  padding: 60px 0;
  background-color: var(--page-tintc-card-bg);
  color: var(--page-tintc-text-main);
  text-align: center;
}

.page-tintc__about-us-summary p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  font-size: 17px;
  color: var(--page-tintc-text-secondary);
}

/* --- Responsive Design --- */
/* All images responsive */
.page-tintc img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .page-tintc {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-tintc__container,
  .page-tintc__hero-content,
  .page-tintc__cta-banner-wrapper,
  .page-tintc__news-card,
  .page-tintc__article-card,
  .page-tintc__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-tintc__hero-section {
    padding: 10px 0 40px 0; /* Adjusted top padding for mobile */
  }

  .page-tintc__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-tintc__main-title {
    font-size: 32px;
  }

  .page-tintc__hero-description {
    font-size: 18px;
  }

  .page-tintc__cta-button {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

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

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

  .page-tintc__card-title {
    font-size: 20px;
  }

  .page-tintc__article-image {
    height: 250px;
  }

  .page-tintc__article-title {
    font-size: 22px;
  }

  .page-tintc__cta-overlay {
    padding: 15px;
  }

  .page-tintc__cta-title {
    font-size: 28px;
  }

  .page-tintc__cta-description {
    font-size: 16px;
  }

  .page-tintc__faq-question {
    font-size: 16px;
    padding: 15px 20px;
  }

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

  /* Force responsive images */
  .page-tintc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure containers with images/buttons/videos are responsive */
  .page-tintc__hero-image-wrapper,
  .page-tintc__news-card,
  .page-tintc__article-card,
  .page-tintc__cta-banner-wrapper,
  .page-tintc__view-all-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* For images/content */
  }

  /* Ensure buttons are responsive */
  .page-tintc__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Flex containers for buttons if multiple */
  .page-tintc__view-all-button {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
}

/* For tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .page-tintc__news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-tintc__article-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }
}

/* Smart Contrast */
.page-tintc__dark-bg {
  background-color: var(--page-tintc-background);
  color: var(--page-tintc-text-main);
}

.page-tintc__light-bg {
  background-color: var(--page-tintc-card-bg);
  color: var(--page-tintc-text-main);
}

.page-tintc__cta-overlay {
  color: var(--page-tintc-text-main);
}

.page-tintc p, .page-tintc li {
  color: var(--page-tintc-text-secondary);
}