:root {
    --primary-color: #113B7A; /* Deep Blue */
    --secondary-color: #1D5FD1; /* Bright Blue */
    --text-main: #F3F8FF; /* Light Text */
    --text-secondary: #AFC4E8; /* Lighter Blue Text */
    --card-bg: #10233F; /* Darker Card Background */
    --border-color: #244D84; /* Border Color */
    --glow-color: #4FA8FF; /* Glow Effect */
    --gold-color: #F2C14E; /* Gold Accent */
    --divider-color: #1B3357; /* Divider Color */
    --deep-navy: #08162B; /* Body Background */
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

/* Base styles for the page-tintc scope */
.page-tintc {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for dark body background */
    background-color: var(--deep-navy); /* Ensure consistency if not inherited */
}

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

.page-tintc__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-main);
    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: var(--gold-color);
    border-radius: 2px;
}

.page-tintc__section-title--light {
    color: var(--text-main);
}

/* HERO Section */
.page-tintc__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    /* body { padding-top: var(--header-offset); } handles main spacing */
    padding-top: 10px; /* Small top padding for visual separation */
    background-color: var(--deep-navy);
}

.page-tintc__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure full width on desktop */
}

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

.page-tintc__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-tintc__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-tintc__main-title {
    font-size: clamp(28px, 4vw, 48px); /* Using clamp for responsive font size */
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-tintc__hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-tintc__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-tintc__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

/* News Section */
.page-tintc__news-section {
    padding: 80px 0;
    background-color: var(--deep-navy);
}

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

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

.page-tintc__news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 18px var(--glow-color);
}

.page-tintc__news-card img {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.page-tintc__news-card:hover img {
    transform: scale(1.05);
}

.page-tintc__news-card a {
    text-decoration: none;
    color: inherit;
}

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

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

.page-tintc__card-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.3;
    min-height: 58px; /* Ensure consistent title height */
}

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

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

.page-tintc__card-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    min-height: 72px; /* Ensure consistent description height */
}

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

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

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

/* Call to Action Section */
.page-tintc__cta-section {
    padding: 80px 0;
    background: var(--primary-color);
    text-align: center;
}

.page-tintc__cta-section .page-tintc__section-title {
    margin-bottom: 20px;
}

.page-tintc__cta-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-tintc__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-tintc__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
}

.page-tintc__btn-secondary {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.page-tintc__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--glow-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

/* FAQ Section */
.page-tintc__faq-section {
    padding: 80px 0;
    background-color: var(--deep-navy);
}

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

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

details.page-tintc__faq-item summary.page-tintc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-main);
}

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

details.page-tintc__faq-item summary.page-tintc__faq-question:hover {
    background: rgba(var(--primary-color), 0.2);
}

.page-tintc__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main);
}

.page-tintc__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--gold-color);
    flex-shrink: 0;
    margin-left: 20px;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

details.page-tintc__faq-item[open] .page-tintc__faq-toggle {
    transform: rotate(45deg);
}

details.page-tintc__faq-item .page-tintc__faq-answer {
    padding: 0 25px 25px;
    background: rgba(var(--deep-navy), 0.5); /* Slightly lighter dark background for answer */
    border-radius: 0 0 10px 10px;
    color: var(--text-secondary);
    font-size: 16px;
}

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

.page-tintc__faq-answer a {
    color: var(--gold-color);
    text-decoration: none;
    font-weight: bold;
}

.page-tintc__faq-answer a:hover {
    text-decoration: underline;
    color: var(--glow-color);
}


/* --- Responsive Design --- */
/* Mobile first approach, adjustments for larger screens */

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

/* Ensure all containers for images are responsive */
.page-tintc__hero-image,
.page-tintc__news-card,
.page-tintc__cta-buttons {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

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

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

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

    /* HERO Section Mobile */
    .page-tintc__hero-section {
        padding-top: 10px !important; /* Fixed small padding */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-tintc__hero-image img {
        border-radius: 8px;
    }

    .page-tintc__main-title {
        font-size: 32px; /* Adjust for mobile if clamp is too small */
    }

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

    .page-tintc__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* News Section Mobile */
    .page-tintc__news-section {
        padding: 50px 0;
    }

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

    .page-tintc__news-card {
        border-radius: 8px;
    }

    .page-tintc__news-card img {
         /* Adjust card image height for mobile */
    }

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

    .page-tintc__card-title {
        font-size: 18px;
        min-height: auto;
    }

    .page-tintc__card-description {
        font-size: 15px;
        min-height: auto;
    }

    .page-tintc__view-all-news {
        padding: 0 15px; /* Add padding to align with container */
    }

    /* CTA Section Mobile */
    .page-tintc__cta-section {
        padding: 50px 0;
    }

    .page-tintc__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Add padding to button container */
    }

    .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;
    }

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

    details.page-tintc__faq-item {
        border-radius: 8px;
    }

    details.page-tintc__faq-item summary.page-tintc__faq-question {
        padding: 15px 20px;
    }

    .page-tintc__faq-qtext {
        font-size: 16px;
    }

    .page-tintc__faq-toggle {
        font-size: 24px;
        margin-left: 15px;
        width: 25px;
    }

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