/* ==========================================================================
   ACTIVE TERMITE TREATMENT & ELIMINATION PAGE STYLES
   Call and Relief - The Best for Your Pest
   ========================================================================== */

:root {
    --att-navy: #081a2c;
    --att-navy-light: #0d2740;
    --att-green: #76b72a;
    --att-green-hover: #659f23;
    --att-green-tint: rgba(118, 183, 42, 0.08);
    --att-green-border: rgba(118, 183, 42, 0.35);
    --att-dark-text: #1a2a3a;
    --att-muted-text: #596b7d;
    --att-light-bg: #f8fafc;
    --att-white: #ffffff;
    --att-card-radius: 18px;
    --att-shadow-soft: 0 10px 30px rgba(8, 26, 44, 0.07);
    --att-shadow-hover: 0 20px 45px rgba(8, 26, 44, 0.13);
}

/* Base resets & typography */
.att-page {
    font-family: 'Inter', sans-serif;
    color: var(--att-dark-text);
    background-color: var(--att-white);
    overflow-x: hidden;
}

/* ==========================================================================
   COMMON TAGS & SECTION HEADINGS
   ========================================================================== */

.att-tag,
.att-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.att-tag-line {
    width: 32px;
    height: 3px;
    background-color: var(--att-green);
    border-radius: 2px;
    display: inline-block;
}

.att-tag-text {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--att-green);
}

.att-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--att-navy);
    line-height: 1.2;
    margin-bottom: 14px;
}

.att-section-intro {
    font-size: 16px;
    line-height: 1.6;
    color: var(--att-muted-text);
    margin-bottom: 26px;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */

.att-hero {
    position: relative;
    background-color: var(--att-navy);
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 90px 0 130px;
}

/* Split Background: Technician service-termite-treatment.jpg right */
.att-hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.att-hero-bg-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
}

/* Gradient blending image smoothly into deep navy left */
.att-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        #081a2c 42%,
        rgba(8, 26, 44, 0.96) 50%,
        rgba(8, 26, 44, 0.75) 62%,
        rgba(8, 26, 44, 0.25) 80%,
        rgba(8, 26, 44, 0.05) 100%
    );
}

.att-hero-container {
    position: relative;
    z-index: 2;
}

.att-hero-content {
    max-width: 600px;
}

.att-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.12;
    margin: 8px 0 18px;
    display: flex;
    flex-direction: column;
}

.title-white {
    color: var(--att-white);
}

.title-green {
    color: var(--att-green);
}

.att-hero-desc {
    font-size: 16px;
    line-height: 1.65;
    color: #cbd7e4;
    margin-bottom: 34px;
    max-width: 530px;
}

/* Hero Feature Badges */
.att-hero-features {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.att-hero-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.att-feature-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--att-green);
    background: rgba(118, 183, 42, 0.12);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--att-green);
    font-size: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.att-hero-feature-item:hover .att-feature-circle {
    transform: scale(1.1);
    background-color: rgba(118, 183, 42, 0.25);
}

.att-feature-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--att-white);
    line-height: 1.3;
}

/* Organic Wave Divider Transition */
.att-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
    pointer-events: none;
}

.att-hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 65px;
}

/* ==========================================================================
   2. SECTION 2: OUR TREATMENT METHODS + HOW IT WORKS
   ========================================================================== */

.att-methods-section {
    padding: 85px 0 75px;
    background-color: var(--att-white);
}

.att-methods-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

/* 4 Method Icons Row */
.att-methods-icons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.att-method-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 18px 12px;
    background-color: #fbfcfe;
    border: 1px solid #e7ecf2;
    border-radius: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.att-method-pill:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(8, 26, 44, 0.08);
    border-color: rgba(118, 183, 42, 0.4);
}

.att-method-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--att-green);
    color: var(--att-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(118, 183, 42, 0.25);
    transition: transform 0.3s ease;
}

.att-method-pill:hover .att-method-circle {
    transform: scale(1.1);
}

.att-method-name {
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--att-navy);
    line-height: 1.25;
}

/* Objective Callout Box */
.att-objective-callout {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #f4f8ed;
    border: 1px solid rgba(118, 183, 42, 0.25);
    border-radius: 14px;
    padding: 16px 20px;
}

.att-objective-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--att-green);
    color: var(--att-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(118, 183, 42, 0.22);
}

.att-objective-text {
    font-size: 13.5px;
    line-height: 1.5;
    color: #243648;
    margin: 0;
    font-weight: 500;
}

/* Right "How It Works" Card */
.att-how-card-wrapper {
    display: flex;
    background-color: #f7faf4;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(118, 183, 42, 0.25);
    box-shadow: var(--att-shadow-soft);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.att-how-card-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: var(--att-shadow-hover);
}

.att-how-image-side {
    width: 44%;
    position: relative;
    overflow: hidden;
}

.att-termites-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.att-how-card-wrapper:hover .att-termites-img {
    transform: scale(1.06);
}

.att-how-info-side {
    width: 56%;
    padding: 34px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #f7faf4 0%, #edf5e6 100%);
}

.att-target-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--att-green);
    background-color: var(--att-white);
    color: var(--att-green);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(118, 183, 42, 0.15);
}

.att-how-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--att-navy);
    line-height: 1.25;
    margin-bottom: 10px;
}

.att-how-desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--att-muted-text);
    margin-bottom: 18px;
}

.att-how-accent-bar {
    width: 42px;
    height: 4px;
    background-color: var(--att-green);
    border-radius: 2px;
    display: block;
}

/* ==========================================================================
   3. SECTION 3: ACTIVE TERMITE ELIMINATION PROCESS & TIMELINE
   ========================================================================== */

.att-process-section {
    padding: 85px 0;
    background-color: #fbfcfe;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

.att-process-container {
    display: grid;
    grid-template-columns: 0.85fr 1.1fr 1.05fr;
    gap: 34px;
    align-items: center;
}

.att-action-img-wrapper {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 320px;
    box-shadow: var(--att-shadow-soft);
    border: 1px solid #e7ecf2;
}

.att-action-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.att-action-img-wrapper:hover .att-action-img {
    transform: scale(1.06);
}

.att-process-paragraph {
    font-size: 15px;
    line-height: 1.65;
    color: var(--att-muted-text);
    margin: 0;
}

/* Timeline Card */
.att-timeline-card {
    background-color: #f6faf2;
    border: 1px solid rgba(118, 183, 42, 0.28);
    border-radius: var(--att-card-radius);
    padding: 30px 26px;
    box-shadow: var(--att-shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.att-timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--att-shadow-hover);
}

.att-timeline-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.att-timeline-clock-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--att-white);
    border: 1.5px solid var(--att-green);
    color: var(--att-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.att-timeline-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--att-navy);
    margin: 0;
}

.att-timeline-subtitle {
    font-size: 13px;
    color: var(--att-muted-text);
    margin-bottom: 14px;
    line-height: 1.45;
}

.att-timeline-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.att-timeline-list li {
    font-size: 13px;
    color: #273b4e;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.att-timeline-list li i {
    color: var(--att-green);
    font-size: 14px;
    flex-shrink: 0;
}

/* ==========================================================================
   4. SECTION 4: POST-TREATMENT SUPPORT & PROTECT YOUR PROPERTY
   ========================================================================== */

.att-support-section {
    padding: 85px 0 95px;
    background-color: var(--att-white);
}

.att-support-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: stretch;
}

/* Post-Treatment Support Card */
.att-support-card {
    background-color: #fbfcfe;
    border: 1px solid #e7ecf2;
    border-radius: var(--att-card-radius);
    padding: 38px 32px;
    box-shadow: var(--att-shadow-soft);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.att-support-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--att-shadow-hover);
}

.att-card-badge-top {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--att-green);
    color: var(--att-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(118, 183, 42, 0.3);
}

.att-support-title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--att-navy);
    margin-bottom: 12px;
}

.att-support-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--att-muted-text);
    margin-bottom: 30px;
}

.att-support-badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #edf2f7;
}

.att-support-badge-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.att-support-badge-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--att-green);
    background-color: var(--att-white);
    color: var(--att-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    box-shadow: 0 4px 12px rgba(118, 183, 42, 0.15);
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.att-support-badge-pill:hover .att-support-badge-circle {
    transform: scale(1.1);
    background-color: var(--att-green);
    color: var(--att-white);
}

.att-support-badge-name {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--att-navy);
    line-height: 1.3;
}

/* Protect Your Property Split Card */
.att-protect-card {
    display: flex;
    border-radius: var(--att-card-radius);
    overflow: hidden;
    box-shadow: var(--att-shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.att-protect-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--att-shadow-hover);
}

.att-protect-img-side {
    width: 45%;
    position: relative;
    overflow: hidden;
}

.att-protect-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.att-protect-card:hover .att-protect-photo {
    transform: scale(1.06);
}

.att-protect-content-side {
    width: 55%;
    background-color: var(--att-navy);
    padding: 38px 28px;
    color: var(--att-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.att-protect-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--att-green);
    background: rgba(118, 183, 42, 0.12);
    color: var(--att-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}

.att-protect-title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--att-white);
    margin-bottom: 10px;
}

.att-protect-desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: #cbd7e4;
    margin-bottom: 22px;
}

.att-book-btn {
    background-color: var(--att-green);
    color: var(--att-white);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    transition: all 0.3s ease;
}

.att-book-btn:hover {
    background-color: var(--att-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(118, 183, 42, 0.35);
    color: var(--att-white);
}

/* ==========================================================================
   5. CALL TO ACTION BANNER (EXACT DESIGN)
   ========================================================================== */

.att-cta-banner {
    position: relative;
    background: linear-gradient(135deg, #071727 0%, #0c243a 100%);
    padding: 60px 0;
    color: var(--att-white);
    overflow: hidden;
}

/* Corner decorative leaves */
.att-leaf-decor {
    position: absolute;
    pointer-events: none;
    color: rgba(118, 183, 42, 0.22);
    font-size: 70px;
    z-index: 1;
}

.att-leaf-decor.left {
    top: -10px;
    left: 20px;
    transform: rotate(25deg);
}

.att-leaf-decor.right {
    bottom: -15px;
    right: 25px;
    transform: rotate(-35deg);
}

.att-leaf-decor .leaf-sub {
    font-size: 45px;
    position: absolute;
    top: 30px;
    left: 35px;
    opacity: 0.7;
}

.att-cta-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.att-cta-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.att-cta-tag-line {
    width: 24px;
    height: 3px;
    background-color: var(--att-green);
    border-radius: 2px;
}

.att-cta-tag-text {
    font-family: 'Outfit', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--att-green);
}

.att-cta-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.22;
    color: var(--att-white);
    margin: 0;
}

.att-cta-heading .text-green {
    color: var(--att-green);
}

/* Middle Trust Icons */
.att-cta-middle {
    display: flex;
    align-items: center;
    gap: 24px;
}

.att-cta-pill {
    display: flex;
    align-items: center;
    gap: 10px;
}

.att-cta-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--att-green);
    background: rgba(118, 183, 42, 0.12);
    color: var(--att-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.att-cta-pill:hover .att-cta-icon-circle {
    transform: scale(1.1);
    background-color: rgba(118, 183, 42, 0.25);
}

.att-cta-pill-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--att-white);
    line-height: 1.3;
}

/* Right Phone CTA Button */
.att-cta-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.att-cta-phone-btn {
    background-color: var(--att-green);
    color: var(--att-white);
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(118, 183, 42, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.att-cta-phone-btn:hover {
    background-color: var(--att-green-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(118, 183, 42, 0.45);
    color: var(--att-white);
}

.att-cta-subtext {
    font-size: 12px;
    color: #9ab3cb;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Active dropdown highlight */
.dropdown-menu li a.active-dropdown {
    background-color: #f1f8e9;
    color: var(--att-green);
    font-weight: 600;
}

/* ==========================================================================
   6. RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1200px) {
    .att-hero-title {
        font-size: 44px;
    }

    .att-hero-bg-img {
        width: 50%;
    }

    .att-process-container {
        grid-template-columns: 1fr 1fr;
    }

    .att-process-img-col {
        display: none;
    }

    .att-cta-container {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .att-cta-left {
        width: 100%;
        text-align: center;
    }

    .att-cta-tag {
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .att-hero {
        padding: 70px 0 100px;
        min-height: auto;
    }

    .att-hero-bg-img {
        width: 100%;
        opacity: 0.35;
    }

    .att-hero-overlay {
        background: linear-gradient(180deg, rgba(8, 26, 44, 0.94) 0%, rgba(8, 26, 44, 0.98) 100%);
    }

    .att-methods-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .att-process-container {
        grid-template-columns: 1fr;
    }

    .att-support-container {
        grid-template-columns: 1fr;
    }

    .att-cta-middle {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .att-hero-title {
        font-size: 36px;
    }

    .att-section-title {
        font-size: 28px;
    }

    .att-hero-features {
        gap: 18px;
    }

    .att-methods-icons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .att-how-card-wrapper,
    .att-protect-card {
        flex-direction: column;
    }

    .att-how-image-side,
    .att-how-info-side,
    .att-protect-img-side,
    .att-protect-content-side {
        width: 100%;
    }

    .att-how-image-side,
    .att-protect-img-side {
        height: 200px;
    }

    .att-cta-heading {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .att-hero-title {
        font-size: 30px;
    }

    .att-hero-desc {
        font-size: 14.5px;
    }

    .att-feature-circle {
        width: 42px;
        height: 42px;
        font-size: 17px;
    }

    .att-cta-phone-btn {
        font-size: 18px;
        padding: 12px 22px;
    }
}
