/* style/tintc.css */

:root {
  --page-tintc-primary-color: #113B7A;
  --page-tintc-secondary-color: #1D5FD1;
  --page-tintc-text-main: #F3F8FF;
  --page-tintc-text-secondary: #AFC4E8;
  --page-tintc-card-bg: #10233F;
  --page-tintc-border-color: #244D84;
  --page-tintc-glow-color: #4FA8FF;
  --page-tintc-gold-color: #F2C14E;
  --page-tintc-divider-color: #1B3357;
  --page-tintc-deep-navy-color: #08162B;
  --page-tintc-button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-tintc {
  background-color: var(--page-tintc-deep-navy-color);
  color: var(--page-tintc-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-tintc__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  padding-bottom: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-tintc__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
}

.page-tintc__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-tintc__hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over the image for better visual flow */
  background: rgba(16, 35, 63, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  border: 1px solid var(--page-tintc-border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-tintc__main-title {
  font-size: clamp(2em, 3.5vw, 2.8em);
  color: var(--page-tintc-gold-color);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-tintc__hero-description {
  font-size: 1.1em;
  color: var(--page-tintc-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-tintc__hero-cta {
  margin-top: 20px;
}

/* General Section Styles */
.page-tintc__section-title {
  font-size: 2.2em;
  color: var(--page-tintc-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

.page-tintc__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--page-tintc-glow-color);
  border-radius: 2px;
}

.page-tintc__paragraph {
  font-size: 1em;
  color: var(--page-tintc-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-tintc__intro-section, .page-tintc__benefits-section, .page-tintc__cta-section {
  padding: 60px 0;
  background-color: var(--page-tintc-card-bg);
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid var(--page-tintc-border-color);
}

.page-tintc__latest-news-section {
  padding: 60px 0;
  background-color: var(--page-tintc-deep-navy-color);
}

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

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

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

.page-tintc__news-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: brightness(0.8);
}

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

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

.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-glow-color);
}

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

.page-tintc__card-excerpt {
  font-size: 0.95em;
  color: var(--page-tintc-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

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

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

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

/* Benefits Section */
.page-tintc__benefits-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-tintc__benefit-item {
  background-color: var(--page-tintc-deep-navy-color);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--page-tintc-border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-tintc__benefit-heading {
  font-size: 1.5em;
  color: var(--page-tintc-gold-color);
  margin-bottom: 15px;
}

/* CTA Section */
.page-tintc__cta-section {
  text-align: center;
  padding: 80px 0;
}

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

.page-tintc__section-title--cta {
  color: var(--page-tintc-gold-color);
}

.page-tintc__paragraph--cta {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: var(--page-tintc-text-main);
}

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

/* Buttons */
.page-tintc__btn-primary,
.page-tintc__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tintc__btn-primary {
  background: var(--page-tintc-button-gradient);
  color: #ffffff;
  border: 2px solid #2B73F6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-tintc__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.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-deep-navy-color);
  border-color: var(--page-tintc-glow-color);
  transform: translateY(-2px);
}

/* General Image styles */
.page-tintc img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-tintc__hero-content {
    margin-top: -100px;
    max-width: 700px;
  }

  .page-tintc__main-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
  }

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

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

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

@media (max-width: 768px) {
  /* HERO Section */
  .page-tintc__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 20px;
  }

  .page-tintc__hero-image-wrapper {
    max-height: 300px;
  }

  .page-tintc__hero-content {
    margin-top: -80px;
    padding: 15px;
    width: calc(100% - 30px); /* Account for padding in container */
    box-sizing: border-box;
  }

  .page-tintc__main-title {
    font-size: clamp(1.5em, 6vw, 2.2em);
    margin-bottom: 10px;
  }

  .page-tintc__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* General Sections */
  .page-tintc__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-tintc__intro-section, .page-tintc__benefits-section, .page-tintc__cta-section {
    padding: 40px 0;
  }

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

  .page-tintc__paragraph {
    font-size: 0.95em;
  }

  /* News Grid (Product Display Area) */
  .page-tintc__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .page-tintc__card-excerpt {
    font-size: 0.9em;
  }

  /* Universal Images */
  .page-tintc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }

  /* Buttons and Button Containers */
  .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;
    font-size: 1em;
  }

  .page-tintc__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
  }

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

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

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