/* style/tintc.css */

/* Variables for colors */
:root {
    --page-tintc-primary-color: #11A84E;
    --page-tintc-secondary-color: #22C768;
    --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;
    --page-tintc-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the page content */
.page-tintc {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-tintc-text-main); /* Default text color for dark body background */
    background-color: var(--page-tintc-background); /* Ensure consistent 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);
    color: var(--page-tintc-text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.page-tintc__section-description {
    font-size: 18px;
    color: var(--page-tintc-text-secondary);
    text-align: center;
    margin-bottom: 50px;
    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: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--page-tintc-background);
    overflow: hidden;
    box-sizing: border-box;
}

.page-tintc__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

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

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

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

.page-tintc__description {
    font-size: 18px;
    color: var(--page-tintc-text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.page-tintc__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-tintc__btn-primary,
.page-tintc__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

.page-tintc__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--page-tintc-glow-color), 0.4);
}

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

.page-tintc__btn-secondary:hover {
    background-color: var(--page-tintc-gold-color);
    color: var(--page-tintc-background);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--page-tintc-gold-color), 0.3);
}

/* News Intro Section */
.page-tintc__news-intro-section {
    padding: 80px 20px;
    background-color: #ffffff; /* Light background for this section */
    color: #333333; /* Dark text for light background */
}

.page-tintc__news-intro-section .page-tintc__section-title {
    color: #000000;
}

.page-tintc__news-intro-section p {
    font-size: 17px;
    line-height: 1.8;
    max-width: 900px;
    margin: 20px auto;
    text-align: justify;
    color: #333333;
}

/* News List Section */
.page-tintc__news-list-section {
    padding: 80px 20px;
    background-color: #ffffff; /* Light background for this section */
    color: #333333; /* Dark text for light background */
}

.page-tintc__news-list-section .page-tintc__section-title {
    color: #000000;
}

.page-tintc__news-list-section .page-tintc__section-description {
    color: #555555;
}

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

.page-tintc__news-card,
.page-tintc__article-card {
    background-color: var(--page-tintc-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--page-tintc-text-main);
    height: 100%;
}

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

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

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

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

.page-tintc__news-card-title,
.page-tintc__article-card-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
}

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

.page-tintc__news-card-title a:hover,
.page-tintc__article-card-title a:hover {
    color: var(--page-tintc-glow-color);
}

.page-tintc__news-card-excerpt,
.page-tintc__article-card-excerpt {
    font-size: 16px;
    color: var(--page-tintc-text-main);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-tintc__news-card-link,
.page-tintc__article-card-link {
    display: inline-block;
    color: var(--page-tintc-glow-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease;
}

.page-tintc__news-card-link:hover,
.page-tintc__article-card-link:hover {
    color: var(--page-tintc-gold-color);
}

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

/* Special Updates Section */
.page-tintc__special-updates-section {
    padding: 80px 20px;
    background-color: var(--page-tintc-background);
    color: var(--page-tintc-text-main);
}

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

.page-tintc__update-block {
    background-color: var(--page-tintc-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-tintc__update-block:hover {
    transform: translateY(-5px);
}

.page-tintc__update-title {
    font-size: 24px;
    color: var(--page-tintc-gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-tintc__update-date {
    font-size: 14px;
    color: var(--page-tintc-text-secondary);
    margin-bottom: 20px;
    display: block;
}

.page-tintc__update-block p {
    font-size: 16px;
    color: var(--page-tintc-text-main);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

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

/* Why Choose Us Section */
.page-tintc__why-choose-us {
    padding: 80px 20px;
    background-color: #ffffff; /* Light background */
    color: #333333; /* Dark text */
}

.page-tintc__why-choose-us .page-tintc__section-title {
    color: #000000;
}

.page-tintc__why-choose-us p {
    font-size: 17px;
    line-height: 1.8;
    max-width: 900px;
    margin: 20px auto;
    text-align: justify;
    color: #333333;
}

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

.page-tintc__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-tintc__faq-item {
    background-color: var(--page-tintc-card-bg);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--page-tintc-text-main);
}

.page-tintc__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    color: var(--page-tintc-gold-color);
    background-color: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--page-tintc-divider-color);
}

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

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

.page-tintc__faq-toggle {
    font-size: 24px;
    font-weight: normal;
    margin-left: 15px;
    color: var(--page-tintc-glow-color);
}

.page-tintc__faq-item[open] .page-tintc__faq-toggle {
    content: '−';
}

.page-tintc__faq-answer {
    padding: 20px 25px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--page-tintc-text-main);
    border-top: 1px solid var(--page-tintc-divider-color);
}

.page-tintc__faq-item[open] .page-tintc__faq-answer {
    border-top: none;
}

/* CTA Bottom Section */
.page-tintc__cta-bottom {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--page-tintc-deep-green);
    color: var(--page-tintc-text-main);
}

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

.page-tintc__cta-bottom .page-tintc__description {
    max-width: 800px;
    margin: 20px auto 40px auto;
    color: var(--page-tintc-text-main);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-tintc__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-tintc__main-title {
        font-size: clamp(30px, 4.5vw, 50px);
    }
    .page-tintc__description {
        font-size: 17px;
    }
    .page-tintc__news-grid,
    .page-tintc__articles-grid,
    .page-tintc__update-blocks {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .page-tintc {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-tintc__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-tintc__hero-section,
    .page-tintc__news-intro-section,
    .page-tintc__news-list-section,
    .page-tintc__special-updates-section,
    .page-tintc__featured-articles,
    .page-tintc__why-choose-us,
    .page-tintc__faq-section,
    .page-tintc__cta-bottom {
        padding: 40px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-tintc__section-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 30px;
    }
    .page-tintc__section-description {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .page-tintc__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-tintc__main-title {
        font-size: clamp(28px, 7vw, 40px);
    }
    .page-tintc__description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-tintc__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 0;
        padding-right: 0;
    }
    .page-tintc__btn-primary,
    .page-tintc__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-tintc__news-card-image,
    .page-tintc__article-card-image {
        height: 180px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-tintc__news-card-content,
    .page-tintc__article-card-content {
        padding: 20px;
    }
    .page-tintc__news-card-title,
    .page-tintc__article-card-title {
        font-size: 20px;
    }
    .page-tintc__news-card-excerpt,
    .page-tintc__article-card-excerpt {
        font-size: 15px;
    }

    .page-tintc__update-title {
        font-size: 20px;
    }
    .page-tintc__update-block p {
        font-size: 15px;
    }

    .page-tintc__faq-item summary {
        font-size: 16px;
        padding: 15px 20px;
    }
    .page-tintc__faq-answer {
        font-size: 15px;
        padding: 15px 20px;
    }
    .page-tintc__faq-toggle {
        font-size: 20px;
    }

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

    /* Ensure all video containers are responsive */
    .page-tintc video,
    .page-tintc__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-tintc__video-section,
    .page-tintc__video-container,
    .page-tintc__video-wrapper {
        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;
    }
}

@media (max-width: 480px) {
    .page-tintc__main-title {
        font-size: clamp(24px, 8vw, 36px);
    }
    .page-tintc__description {
        font-size: 15px;
    }
    .page-tintc__btn-primary,
    .page-tintc__btn-secondary {
        font-size: 15px;
        padding: 10px 15px;
    }
    .page-tintc__news-card-image,
    .page-tintc__article-card-image {
        height: 160px;
    }
    .page-tintc__news-card-title,
    .page-tintc__article-card-title {
        font-size: 18px;
    }
    .page-tintc__faq-item summary {
        font-size: 15px;
    }
    .page-tintc__faq-answer {
        font-size: 14px;
    }
}