/* =========================================================
   TRITY ENVIRO - PREMIUM INDUSTRIAL PRODUCT DETAIL STYLES
   ========================================================= */

.tes_pro_detail_unified {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1E293B;
    background: #FFFFFF;
    -webkit-font-smoothing: antialiased;
}

.tes_content_container {
    max-width: 1220px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* =========================================================
   1. TOP FEATURED PRODUCT MEDIA BANNER
========================================================= */
.tes_sec_top_media {
    padding: 44px 0 0 0;
    background: #FFFFFF;
}
.tes_top_banner_box {
    background: #0B282C;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    padding-top: 42%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.tes_top_banner_img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.tes_top_thumb_strip {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.tes_top_thumb {
    width: 80px; height: 56px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #E2E8F0;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s ease;
}
.tes_top_thumb.active, .tes_top_thumb:hover { border-color: #128C79; }
.tes_top_thumb img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   2. TECHNICAL OVERVIEW (IMMEDIATELY AFTER IMAGE)
========================================================= */
.tes_sec_overview_content {
    padding: 40px 0 64px 0;
    background: #FFFFFF;
}
.tes_top_intro_header {
    border-bottom: 1px solid #F1F5F9;
    padding-bottom: 28px;
    margin-bottom: 32px;
}
.tes_tag_badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #E6FFFA;
    color: #128C79;
    border: 1px solid rgba(18,140,121,0.3);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}
.tes_badge_circle { width: 6px; height: 6px; border-radius: 50%; background: #128C79; }
.tes_pro_title {
    font-size: 32px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.25;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
}
.tes_pro_lead {
    font-size: 16px;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 24px;
}

/* --- Action Buttons --- */
.tes_cta_actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tes_btn_req {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #128C79;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
    padding: 13px 26px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 16px rgba(18, 140, 121, 0.35);
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}
.tes_btn_req:hover { background: #0D7665; transform: translateY(-2px); color: #FFFFFF; }
.tes_btn_tel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    color: #0F172A;
    border: 1.5px solid #CBD5E1;
    font-weight: 600;
    font-size: 13.5px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
}
.tes_btn_tel:hover { border-color: #128C79; color: #128C79; }
.tes_btn_wapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ECFDF5;
    color: #065F46;
    border: 1.5px solid #A7F3D0;
    font-weight: 600;
    font-size: 13.5px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
}
.tes_btn_pdf {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFF1F2;
    color: #BE123C;
    border: 1.5px solid #FECDD3;
    font-weight: 600;
    font-size: 13.5px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
}

/* --- Main Description Styled --- */
.tes_pro_description_styled {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
}
.tes_pro_description_styled p { margin-bottom: 20px; }
.tes_pro_description_styled h2, .tes_pro_description_styled h3, .tes_pro_description_styled h4 {
    font-weight: 800;
    color: #0F172A;
    margin-top: 36px;
    margin-bottom: 16px;
    line-height: 1.3;
}
.tes_pro_description_styled ul { margin-bottom: 24px; padding-left: 24px; }
.tes_pro_description_styled li { margin-bottom: 8px; }

/* =========================================================
   3. KEY BENEFITS SECTION (3-COLUMN CARDS)
========================================================= */
.tes_sec_benefits {
    padding: 72px 0 60px 0;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}
.tes_sec_header_center {
    text-align: center;
    margin-bottom: 48px;
}
.tes_sub_label {
    font-size: 12px;
    font-weight: 800;
    color: #128C79;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
}
.tes_main_h2 {
    font-size: 30px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 10px 0;
    letter-spacing: -0.01em;
}
.tes_sec_subtitle {
    font-size: 15.5px;
    color: #64748B;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}
.tes_benefit_card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 30px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.tes_benefit_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
    border-color: #128C79;
}
.tes_benefit_icon_box {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: #E6FFFA;
    color: #128C79;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}
.tes_benefit_title {
    font-size: 17px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 10px 0;
    line-height: 1.35;
}
.tes_benefit_text {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* =========================================================
   4. TYPES OF PLANTS / SYSTEM CONFIGURATIONS (3-COL)
========================================================= */
.tes_sec_types {
    padding: 72px 0 60px 0;
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
}
.tes_type_card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.tes_type_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
    border-color: #128C79;
}
.tes_type_img_wrap {
    position: relative;
    padding-top: 56%;
    background: #F1F5F9;
    overflow: hidden;
}
.tes_type_img_wrap img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.tes_type_body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.tes_type_name {
    font-size: 17px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 10px 0;
    line-height: 1.35;
}
.tes_type_desc {
    font-size: 14px;
    color: #64748B;
    line-height: 1.55;
    margin-bottom: 16px;
}
.tes_type_link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13.5px;
    font-weight: 700;
    color: #128C79;
    text-decoration: none;
}

/* =========================================================
   5. PROCESS / HOW IT WORKS (NUMBERED CARDS)
========================================================= */
.tes_sec_process {
    padding: 72px 0 60px 0;
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
}
.tes_process_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.tes_process_step_card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 28px 20px;
    position: relative;
    transition: all 0.25s ease;
}
.tes_process_step_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.05);
    border-color: #128C79;
}
.tes_step_num {
    font-size: 24px;
    font-weight: 800;
    color: #128C79;
    margin-bottom: 14px;
    display: inline-block;
    background: #E6FFFA;
    padding: 4px 12px;
    border-radius: 8px;
}
.tes_step_title {
    font-size: 16.5px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 8px 0;
    line-height: 1.35;
}
.tes_step_desc {
    font-size: 13.5px;
    color: #64748B;
    line-height: 1.55;
    margin: 0;
}

/* =========================================================
   6. FAQS (ACCORDION)
========================================================= */
.tes_sec_faq {
    padding: 68px 0;
    background: #FFFFFF;
}
.tes_faq_card_item {
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    margin-bottom: 14px;
    overflow: hidden;
}
.tes_faq_q_header {
    background: #F8FAFC;
    padding: 18px 24px;
    font-weight: 700;
    font-size: 15.5px;
    color: #0F172A;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}
.tes_faq_q_header:hover { background: #F1F5F9; }
.tes_faq_arr { color: #128C79; font-size: 18px; transition: transform 0.2s ease; }
.tes_faq_arr.open { transform: rotate(180deg); }
.tes_faq_a_body {
    padding: 18px 24px;
    font-size: 15px;
    line-height: 1.75;
    color: #475569;
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    display: none;
}

/* =========================================================
   7. RELATED PRODUCTS, REGIONAL, BLOGS, PROJECTS, CTA
========================================================= */
.tes_sec_related_pro {
    padding: 72px 0 52px 0;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
}
.tes_rel_card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tes_rel_card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.06); border-color: #128C79; }
.tes_rel_img_wrap {
    display: block;
    position: relative;
    padding-top: 60%;
    background: #F1F5F9;
    overflow: hidden;
}
.tes_rel_img_wrap img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.tes_rel_card_content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.tes_rel_title { font-size: 17px; font-weight: 700; margin: 0 0 10px 0; line-height: 1.35; }
.tes_rel_title a { color: #0F172A; text-decoration: none; }
.tes_rel_desc { font-size: 14px; color: #64748B; line-height: 1.55; margin-bottom: 18px; }
.tes_rel_link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: #128C79; text-decoration: none; }

/* Regional Slider */
.tes_sec_regional {
    padding: 68px 0;
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
}
.tes_reg_header_flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 12px;
}
.tes_reg_nav_buttons { display: flex; gap: 8px; }
.tes_reg_nav_btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
}
.tes_reg_nav_btn:hover { background: #128C79; color: #FFFFFF; border-color: #128C79; }
.tes_reg_item_card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px;
    margin: 5px;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
}
.tes_reg_item_card:hover { border-color: #128C79; transform: translateY(-3px); }
.tes_reg_icon_box {
    width: 38px; height: 38px;
    border-radius: 8px;
    background: #E6FFFA;
    color: #128C79;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 12px;
}
.tes_reg_item_title { font-size: 15.5px; font-weight: 700; margin: 0 0 6px 0; line-height: 1.35; }
.tes_reg_item_title a { color: #0F172A; text-decoration: none; }
.tes_reg_item_sub { font-size: 13px; color: #64748B; margin-bottom: 14px; line-height: 1.45; }
.tes_reg_item_link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: #128C79; text-decoration: none; }

/* Insights & Projects */
.tes_sec_insights {
    padding: 72px 0 52px 0;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
}
.tes_blog_item_card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}
.tes_blog_item_card:hover { transform: translateY(-4px); }
.tes_blog_img_wrap { display: block; position: relative; padding-top: 55%; background: #F1F5F9; overflow: hidden; }
.tes_blog_img_wrap img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.tes_blog_item_content { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.tes_blog_item_meta { font-size: 13px; color: #64748B; display: flex; gap: 14px; margin-bottom: 10px; }
.tes_blog_item_title { font-size: 16.5px; font-weight: 700; line-height: 1.4; margin: 0 0 14px 0; }
.tes_blog_item_title a { color: #0F172A; text-decoration: none; }
.tes_blog_item_link { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 700; color: #128C79; text-decoration: none; }

.tes_sec_projects {
    padding: 72px 0 52px 0;
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
}
.tes_proj_item_card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}
.tes_proj_img_wrap { position: relative; padding-top: 60%; background: #F1F5F9; overflow: hidden; }
.tes_proj_img_wrap img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.tes_proj_content { padding: 22px; }
.tes_proj_title { font-size: 17px; font-weight: 700; color: #0F172A; margin: 0 0 8px 0; }
.tes_proj_desc { font-size: 13.5px; color: #64748B; line-height: 1.55; }

/* Final CTA Band */
.tes_sec_final_cta {
    background: linear-gradient(135deg, #0B282C 0%, #0c3e44 50%, #0e5b53 100%);
    padding: 64px 0;
    color: #FFFFFF;
}
.tes_final_cta_title { font-size: 26px; font-weight: 800; color: #FFFFFF; margin: 0 0 8px 0; letter-spacing: -0.01em; }
.tes_final_cta_sub { font-size: 15.5px; color: #CBD5E1; margin: 0; line-height: 1.6; }
.tes_final_cta_btn {
    display: inline-flex;
    align-items: center;
    background: #128C79;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 16px rgba(18, 140, 121, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}
.tes_final_cta_btn:hover { background: #0D7665; transform: translateY(-2px); color: #FFFFFF; }

/* Video */
.tes_sec_video {
    padding: 68px 0;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
}
.tes_video_box {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    padding-top: 56.25%;
    background: #000;
}
.tes_video_box iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

/* Modal */
.tes_modal_overlay {
    position: fixed;
    z-index: 9999999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background-color: rgba(11, 40, 44, 0.75);
    backdrop-filter: blur(4px);
}
.tes_modal_dialog_box {
    max-width: 520px;
    margin: 60px auto;
    padding: 28px 32px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.tes_modal_top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.tes_modal_h3 { font-size: 20px; font-weight: 800; color: #0F172A; margin: 0 0 4px 0; }
.tes_modal_p { font-size: 13px; color: #64748B; margin: 0; }
.tes_modal_x_btn {
    background: #F1F5F9;
    border: none;
    border-radius: 50%;
    width: 32px; height: 32px;
    font-size: 18px;
    cursor: pointer;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tes_f_input, .tes_f_textarea { border-radius: 8px !important; border: 1.5px solid #E2E8F0 !important; font-size: 14px !important; }
.tes_f_submit {
    background: #128C79;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
    padding: 13px;
    border-radius: 8px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.tes_f_submit:hover { background: #0D7665; color: #FFFFFF; }

/* Responsive adjustments */
@media (max-width: 991px) {
    .tes_pro_title { font-size: 28px; }
    .tes_final_cta_title { font-size: 22px; }
    .tes_process_grid { grid-template-columns: repeat(2, 1fr); }
    .tes_top_banner_box { padding-top: 52%; }
}
@media (max-width: 576px) {
    .tes_process_grid { grid-template-columns: 1fr; }
    .tes_top_banner_box { padding-top: 62%; }
}
