/* ==========================================================================
   TERMITE CHEMICAL BARRIERS - DEDICATED STYLESHEET
   Brand Colors:
   - Deep Navy: #081a2c / #0d233a / #132f4c
   - Brand Green: #76b72a
   - Mint Tint: #f4fbf5 / #eaf5e7
   - Slate Text: #4a5568 / #2d3748
   - Clean White: #ffffff
   ========================================================================== */

/* Base Page Setup */
body.tcb-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #4a5568;
    background-color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Ensure all key content elements are 100% visible by default */
.tcb-hero-content,
.tcb-solution-text-col,
.tcb-proactive-card,
.tcb-proactive-img-wrapper,
.tcb-methods-header,
.tcb-method-card,
.tcb-report-img-wrapper,
.tcb-warranty-block,
.tcb-why-block,
.cta-banner-content {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   1. HERO SECTION (Split: Left Navy Text, Right Technician Photo, Bottom Wave)
   ========================================================================== */
.tcb-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #081a2c;
    padding: 100px 0 130px;
}

/* Split Background: Technician Photo on the Right */
.tcb-hero-bg-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 58%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.tcb-hero-bg-img {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    transform: scale(1.02);
    transition: transform 7s ease;
}

.tcb-hero:hover .tcb-hero-bg-img {
    transform: scale(1.05);
}

/* Smooth Gradient Overlay: Dark Navy Left fading to transparent over technician */
.tcb-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        #081a2c 40%,
        rgba(8, 26, 44, 0.95) 52%,
        rgba(8, 26, 44, 0.70) 66%,
        rgba(8, 26, 44, 0.20) 84%,
        rgba(8, 26, 44, 0.02) 100%
    );
    z-index: 2;
}

.tcb-hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.tcb-hero-content {
    max-width: 620px;
}

/* Tag / Badge */
.tcb-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.tcb-tag-line {
    width: 28px;
    height: 3px;
    background: #76b72a;
    border-radius: 2px;
}

.tcb-tag-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #76b72a;
    text-transform: uppercase;
}

/* Hero Title */
.tcb-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.3rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.tcb-hero-title .title-white {
    display: block;
    color: #ffffff;
}

.tcb-hero-title .title-green {
    display: block;
    color: #76b72a;
}

/* Hero Description */
.tcb-hero-desc {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 35px;
    max-width: 580px;
}

/* 3 Feature Badges */
.tcb-hero-features {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: wrap;
}

.tcb-hero-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.tcb-feature-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1.5px solid rgba(118, 183, 42, 0.7);
    background: rgba(8, 26, 44, 0.65);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #76b72a;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.tcb-hero-feature-item:hover .tcb-feature-circle {
    background: #76b72a;
    color: #ffffff;
    border-color: #76b72a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(118, 183, 42, 0.35);
}

.tcb-feature-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.35;
}

/* Organic Bottom Wave SVG Transition */
.tcb-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 4;
    pointer-events: none;
}

.tcb-hero-wave svg {
    display: block;
    width: 100%;
    height: 70px;
}

/* ==========================================================================
   COMMON SECTION HEADERS
   ========================================================================== */
.tcb-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.tcb-tag-center {
    justify-content: center;
}

.tcb-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.9rem, 3.2vw, 2.5rem);
    font-weight: 800;
    color: #081a2c;
    line-height: 1.22;
    margin-bottom: 18px;
}

.tcb-title-center {
    text-align: center;
}

/* ==========================================================================
   SECTION 1: OUR SOLUTION / TERMITE CHEMICAL BARRIERS
   ========================================================================== */
.tcb-solution-section {
    padding: 90px 0 75px;
    background-color: #ffffff;
}

.tcb-solution-container {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    align-items: center;
}

.tcb-solution-body p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 16px;
}

.tcb-solution-body p:last-child {
    margin-bottom: 0;
}

.tcb-solution-highlight {
    font-size: 1.06rem;
    color: #2d3748;
}

.tcb-solution-highlight strong {
    color: #081a2c;
    font-weight: 700;
}

/* Right Column: Proactive Card + Trench Action Photo */
.tcb-solution-card-col {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 22px;
    align-items: stretch;
}

.tcb-proactive-card {
    background-color: #f4fbf5;
    border: 1px solid #e1f2e3;
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    box-shadow: 0 6px 20px rgba(118, 183, 42, 0.06);
}

.tcb-proactive-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #eaf5e7;
    border: 1.5px solid #76b72a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #76b72a;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.tcb-proactive-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.32rem;
    font-weight: 800;
    color: #081a2c;
    margin-bottom: 12px;
}

.tcb-proactive-desc {
    font-size: 0.92rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 22px;
}

.tcb-proactive-accent-bar {
    width: 45px;
    height: 3.5px;
    background: #76b72a;
    border-radius: 2px;
    margin-top: auto;
}

.tcb-proactive-img-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(8, 26, 44, 0.1);
    height: 100%;
    min-height: 270px;
}

.tcb-proactive-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.tcb-solution-card-col:hover .tcb-proactive-img {
    transform: scale(1.04);
}

/* ==========================================================================
   SECTION 2: TREATMENT METHODS (4-CARD GRID)
   ========================================================================== */
.tcb-methods-section {
    padding: 80px 0 90px;
    background-color: #fafbfc;
}

.tcb-methods-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.tcb-methods-intro {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.65;
}

.tcb-methods-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    opacity: 1 !important;
    visibility: visible !important;
}

.tcb-method-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
    box-shadow: 0 6px 20px rgba(8, 26, 44, 0.05);
    opacity: 1 !important;
    visibility: visible !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tcb-method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 38px rgba(8, 26, 44, 0.11);
    border-color: #cde8ca;
}

/* Card Top Image Box */
.tcb-method-img-box {
    position: relative;
    height: 175px;
    width: 100%;
    overflow: hidden;
    background-color: #081a2c;
}

.tcb-method-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.tcb-method-card:hover .tcb-method-img {
    transform: scale(1.08);
}

/* Floating Circular Badge Overlapping Media and Body (NOT clipped) */
.tcb-method-floating-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #76b72a;
    box-shadow: 0 4px 14px rgba(8, 26, 44, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #76b72a;
    margin-top: -24px;
    margin-left: 20px;
    position: relative;
    z-index: 3;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tcb-method-card:hover .tcb-method-floating-badge {
    background-color: #76b72a;
    color: #ffffff;
    border-color: #76b72a;
    transform: rotate(10deg) scale(1.08);
}

/* Card Body Content */
.tcb-method-content {
    padding: 14px 22px 26px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tcb-method-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #081a2c;
    margin-bottom: 10px;
}

.tcb-method-subtitle {
    font-size: 0.92rem;
    color: #4a5568;
    line-height: 1.5;
    margin-bottom: 14px;
}

.tcb-method-desc {
    font-size: 0.93rem;
    color: #4a5568;
    line-height: 1.65;
}

.tcb-method-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.tcb-method-checklist li {
    font-size: 0.88rem;
    color: #4a5568;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
}

.tcb-method-checklist li i {
    color: #76b72a;
    font-size: 0.95rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ==========================================================================
   SECTION 3: DOCUMENTATION & WARRANTY / WHY CHOOSE US
   ========================================================================== */
.tcb-warranty-section {
    padding: 85px 0 95px;
    background-color: #ffffff;
}

.tcb-warranty-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

/* Left: Report Image */
.tcb-warranty-img-col {
    display: flex;
}

.tcb-report-img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 330px;
    box-shadow: 0 8px 24px rgba(8, 26, 44, 0.07);
    border: 1px solid #e2e8f0;
}

.tcb-report-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.tcb-report-img-wrapper:hover .tcb-report-img {
    transform: scale(1.04);
}

/* Middle: Documentation & Warranty Block */
.tcb-warranty-info-col {
    display: flex;
}

.tcb-warranty-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 34px 28px;
    width: 100%;
    box-shadow: 0 6px 20px rgba(8, 26, 44, 0.05);
    display: flex;
    flex-direction: column;
}

.tcb-warranty-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #eaf5e7;
    border: 1.5px solid #76b72a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #76b72a;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.tcb-warranty-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #081a2c;
    margin-bottom: 14px;
}

.tcb-warranty-block p {
    font-size: 0.94rem;
    color: #4a5568;
    line-height: 1.65;
    margin-bottom: 14px;
}

.tcb-warranty-block p:last-child {
    margin-bottom: 0;
}

/* Right: Why Choose Us Block */
.tcb-why-col {
    display: flex;
}

.tcb-why-block {
    background: #f4fbf5;
    border: 1px solid #e1f2e3;
    border-radius: 16px;
    padding: 34px 28px;
    width: 100%;
    box-shadow: 0 6px 20px rgba(118, 183, 42, 0.06);
    display: flex;
    flex-direction: column;
}

.tcb-why-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #76b72a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #76b72a;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.tcb-why-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #081a2c;
    margin-bottom: 16px;
}

.tcb-why-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tcb-why-checklist li {
    font-size: 0.93rem;
    color: #2d3748;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tcb-why-checklist li i {
    color: #76b72a;
    font-size: 1.05rem;
    flex-shrink: 0;
}

/* ==========================================================================
   PRE-FOOTER CTA BANNER
   ========================================================================== */
.cta-banner-section {
    background: #081a2c;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(118, 183, 42, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(118, 183, 42, 0.12) 0%, transparent 40%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner-container {
    position: relative;
    z-index: 2;
}

.cta-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-pretitle {
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #76b72a;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

.cta-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 24px;
}

.cta-title .cta-highlight {
    color: #76b72a;
}

/* 3 Stacked Trust Badges: Circle on top, Text centered below */
.cta-trust-row {
    display: flex;
    align-items: flex-start;
    gap: 36px;
    flex-wrap: wrap;
}

.cta-trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.cta-trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(118, 183, 42, 0.8);
    background: rgba(118, 183, 42, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #76b72a;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.cta-trust-badge:hover .cta-trust-icon {
    background: #76b72a;
    color: #ffffff;
    transform: translateY(-2px);
}

.cta-trust-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
}

/* Right: Phone Button */
.cta-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: #76b72a;
    color: #ffffff;
    padding: 18px 36px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(118, 183, 42, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.cta-phone-btn:hover {
    background: #68a324;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(118, 183, 42, 0.45);
    color: #ffffff;
}

.cta-phone-btn i {
    font-size: 1.7rem;
}

.cta-phone-text {
    display: flex;
    flex-direction: column;
}

.cta-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.cta-caption {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2px;
}

/* Phone Shake Micro-Animation */
.phone-shake {
    display: inline-block;
    animation: phoneShakeAnim 3s infinite ease-in-out;
}

@keyframes phoneShakeAnim {
    0%, 80%, 100% { transform: rotate(0deg); }
    85% { transform: rotate(12deg); }
    90% { transform: rotate(-12deg); }
    95% { transform: rotate(8deg); }
}

/* Active Dropdown Link in Nav */
.dropdown-menu li a.active-dropdown {
    color: #76b72a !important;
    background-color: rgba(118, 183, 42, 0.08);
    font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
    .tcb-methods-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .tcb-warranty-container {
        grid-template-columns: 1fr 1fr;
    }

    .tcb-warranty-img-col {
        grid-column: span 2;
        max-height: 360px;
    }
}

@media (max-width: 992px) {
    .tcb-hero-bg-wrapper {
        width: 100%;
        opacity: 0.35;
    }

    .tcb-hero-overlay {
        background: linear-gradient(
            180deg, 
            rgba(8, 26, 44, 0.95) 0%, 
            rgba(8, 26, 44, 0.88) 100%
        );
    }

    .tcb-solution-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tcb-solution-card-col {
        grid-template-columns: 1fr 1fr;
    }

    .cta-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-pretitle {
        justify-content: center;
    }

    .cta-trust-row {
        justify-content: center;
    }

    .cta-phone-btn {
        width: 100%;
        max-width: 380px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .tcb-hero {
        padding: 90px 0 110px;
        min-height: auto;
    }

    .tcb-hero-features {
        gap: 20px;
        justify-content: center;
    }

    .tcb-solution-card-col {
        grid-template-columns: 1fr;
    }

    .tcb-methods-grid {
        grid-template-columns: 1fr;
    }

    .tcb-warranty-container {
        grid-template-columns: 1fr;
    }

    .tcb-warranty-img-col {
        grid-column: span 1;
        min-height: 240px;
    }
}

@media (max-width: 480px) {
    .tcb-hero-title {
        font-size: 2rem;
    }

    .tcb-hero-desc {
        font-size: 0.95rem;
    }

    .tcb-hero-features {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .tcb-feature-circle {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .tcb-feature-label {
        font-size: 0.72rem;
    }

    .cta-trust-row {
        gap: 16px;
    }

    .cta-number {
        font-size: 1.3rem;
    }
}
