/* style/tintc.css */

/* Base styles for the page content */
.page-tintc {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: #f8f8f8; /* Inherited from body, explicit for clarity */
}

/* Color contrast enforcement */
.page-tintc__light-bg {
    background-color: #f8f8f8; /* Body background */
    color: #333333; /* Dark text for light background */
}

.page-tintc__dark-section {
    background-color: #08160F; /* Custom dark background */
    color: #F2FFF6; /* Light text for dark background */
}

.page-tintc__dark-section .page-tintc__description {
    color: #A7D9B8; /* Secondary light text for dark background */
}

.page-tintc__section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: inherit; /* Inherit from parent section for contrast */
}

.page-tintc__description {
    font-size: 18px;
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: inherit; /* Inherit from parent section for contrast */
}

/* Buttons */
.page-tintc__btn-primary,
.page-tintc__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-tintc__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff; /* White text for primary button */
    border: none;
}

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

.page-tintc__btn-secondary {
    background-color: transparent;
    color: #11A84E; /* Brand green text for secondary button */
    border: 2px solid #11A84E;
}

.page-tintc__btn-secondary:hover {
    background-color: #11A84E;
    color: #ffffff;
}

/* Hero Section */
.page-tintc__hero-section {
    position: relative;
    padding: 10px 0 60px; /* Small top padding, larger bottom for content */
    background-color: #08160F; /* Deep Green background for hero */
    color: #F2FFF6; /* Light text for hero section */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-tintc__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for hero image */
    margin-bottom: 40px;
}

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

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

.page-tintc__main-title {
    font-size: clamp(36px, 5vw, 60px); /* Responsive H1 font size */
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #F2FFF6; /* Main light text for H1 */
}

.page-tintc__hero-content .page-tintc__description {
    color: #A7D9B8; /* Secondary light text for hero description */
}

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

/* General Container */
.page-tintc__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Latest News Section */
.page-tintc__latest-news {
    padding: 80px 0;
}

.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: #ffffff; /* White card background */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-tintc__news-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.page-tintc__news-thumbnail {
    width: 100%;
    height: 220px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    display: block;
}

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

.page-tintc__news-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333333; /* Dark text for card title */
}

.page-tintc__news-excerpt {
    font-size: 16px;
    color: #666666;
    margin-bottom: 15px;
}

.page-tintc__news-date {
    font-size: 14px;
    color: #999999;
    display: block;
}

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

/* Promotions Highlight Section */
.page-tintc__promotions-highlight {
    padding: 80px 0;
    text-align: center;
}

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

.page-tintc__promo-card {
    background-color: #11271B; /* Card BG custom color */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding-bottom: 25px;
}

.page-tintc__promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-tintc__promo-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #F2FFF6; /* Main light text */
    padding: 0 20px;
}

.page-tintc__promo-text {
    font-size: 16px;
    color: #A7D9B8; /* Secondary light text */
    margin-bottom: 25px;
    padding: 0 20px;
}

.page-tintc__promo-card .page-tintc__btn-primary,
.page-tintc__promo-card .page-tintc__btn-secondary {
    margin: 0 auto;
    display: block;
    width: fit-content;
    padding: 10px 20px;
    font-size: 16px;
}

/* FAQ Section */
.page-tintc__faq-section {
    padding: 80px 0;
}

.page-tintc__faq-list {
    margin-top: 40px;
}

.page-tintc__faq-item {
    background-color: #ffffff; /* White background for FAQ item */
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    overflow: hidden; /* For details tag */
    color: #333333;
}

.page-tintc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    color: #333333; /* Dark text for FAQ question */
    list-style: none; /* For details summary */
}

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

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

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

.page-tintc__faq-answer {
    padding: 0 25px 20px;
    font-size: 16px;
    color: #666666;
}

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

/* Call to Action Section */
.page-tintc__cta-section {
    padding: 80px 0;
}

.page-tintc__cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

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

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

    .page-tintc__main-title {
        font-size: clamp(30px, 8vw, 48px);
    }

    .page-tintc__description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-tintc__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .page-tintc__btn-primary,
    .page-tintc__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 15px;
        font-size: 16px;
    }

    .page-tintc__latest-news,
    .page-tintc__promotions-highlight,
    .page-tintc__faq-section,
    .page-tintc__cta-section {
        padding: 60px 0;
    }

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

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

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

    .page-tintc__promo-image {
        height: 200px;
    }

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

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

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

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

    .page-tintc__hero-image-wrapper,
    .page-tintc__news-card,
    .page-tintc__promo-card,
    .page-tintc__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-tintc__hero-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-tintc__main-title {
        font-size: clamp(28px, 9vw, 40px);
    }
    .page-tintc__section-title {
        font-size: clamp(24px, 6vw, 36px);
    }
}