/* =========================================
TREE HEALTH & RISK ASSESSMENT
========================================= */

.tree-health-section{
    padding:80px 0;
   
}


/* =========================================
TREE GRID
========================================= */

.tree-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.tree-card{
    background:#fff;
    padding:35px;
    border-radius:24px;
    border-top:5px solid #ffb300;
    transition:.3s ease;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
}
.tree-card p{
    text-align: left;
}
.tree-card:hover{
    transform:translateY(-6px);
}
/* =========================================
RISK CONTENT
========================================= */

.tree-risk-content{
    max-width:1200px;
    margin:70px auto 0;
    padding:0 40px;
}

.risk-content-box{
    background:#fff;
    border-radius:30px;
    padding:22px 23px;
    box-shadow:0 10px 35px rgba(0,0,0,.06);
}

.risk-tag{
    display:inline-block;
    background:#ffb300;
    color:#fff;
    padding:10px 18px;
    border-radius:50px;
    font-size:15px;
    font-weight:600;
    margin-bottom:20px;
}


.risk-intro{
    line-height:1.9;
    color:#000;
    margin-bottom:35px;
}

/* =========================================
RISK GRID
========================================= */

.risk-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    margin-bottom:35px;
}

.risk-item{
    background:#f7f7f7;
    padding:18px;
    border-radius:16px;
    text-align:center;
    transition:.3s ease;
}

.risk-item:hover{
    background:#ffb300;
    transform:translateY(-4px);
}

.risk-item:hover p{
    color:#fff;
}

.risk-item p{
    margin:0;
    font-weight:600;
    color:#000;
}

/* =========================================
BOTTOM TEXT
========================================= */

.risk-bottom-text{
    line-height:1.9;
    color:#000;
    margin-bottom:35px;
}

/* =========================================
RESPONSIVE BREAKPOINTS
========================================= */

/* Large Tablets & Small Desktops (1200px and below) */
@media(max-width: 1200px){
    .tree-grid{
        gap: 20px;
    }
    
    .tree-card{
        padding: 30px;
    }
    
    .tree-card h3{
    }
    
    .tree-card p{
    }
    
    .risk-grid{
        gap: 15px;
    }
    
    .risk-item{
        padding: 15px;
    }
    
    .risk-item p{
    }
}

/* Tablets & Medium Screens (992px and below) */
@media(max-width: 992px){
    .tree-health-section{
        padding: 60px 0;
    }
    
    .tree-grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .tree-card{
        padding: 28px;
        border-radius: 20px;
    }
    
    .risk-grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .tree-risk-content{
        margin: 50px auto 0;
        padding: 0 15px;
    }
    
    .risk-content-box{
        padding: 40px;
        border-radius: 25px;
    }
    
    .section-header h2{
    }
    
    .section-header p{
    }
    
    .risk-content-box h3{
    }
    
    .risk-intro,
    .risk-bottom-text{
        line-height: 1.8;
    }
}

/* Small Tablets & Large Phones (768px and below) */
@media(max-width: 768px){
    .tree-health-section{
        padding: 50px 0;
    }
    
    .tree-health-section .container{
        padding: 0 15px;
    }
    
    .tree-grid{
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .tree-card{
        padding: 25px;
        border-radius: 18px;
        border-top-width: 4px;
    }
    
    .tree-card:hover{
        transform: translateY(-4px);
    }
    
    .tree-card h3{
    }
    
    .tree-card p{
        line-height: 1.6;
    }
    
    .tree-risk-content{
        margin: 40px auto 0;
        padding: 0 15px;
    }
    
    .risk-grid{
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .risk-content-box{
        padding: 30px 25px;
        border-radius: 20px;
    }
    
    .risk-tag{
        padding: 8px 15px;
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .section-header h2{
    }
    
    .section-header p{
    }
    
    .risk-content-box h3{
        margin-bottom: 15px;
    }
    
    .risk-intro{
        line-height: 1.7;
        margin-bottom: 25px;
    }
    
    .risk-item{
        padding: 14px;
        border-radius: 14px;
    }
    
    .risk-item p{
    }
    
    .risk-bottom-text{
        line-height: 1.7;
        margin-bottom: 25px;
    }
    
    .trust-buttons{
        flex-direction: column;
        gap: 12px;
    }

    .btn-estimate,
    .btn-call{
        width: 100%;
        text-align: center;
        display: block;
    }
}

/* Mobile Devices (576px and below) */
@media(max-width: 576px){
    .tree-health-section{
        padding: 40px 0;
    }
    
    .tree-health-section .container{
        padding: 0 12px;
    }
    
    .tree-grid{
        gap: 15px;
    }
    
    .tree-card{
        padding: 20px;
        border-radius: 16px;
    }
    
    .tree-card h3{
        margin-bottom: 8px;
    }
    
    .tree-card p{
        line-height: 1.5;
    }
    
    .tree-risk-content{
        margin: 35px auto 0;
        padding: 0 12px;
    }
    
    .risk-content-box{
        padding: 25px 20px;
        border-radius: 18px;
    }
    
    .risk-tag{
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .section-header h2{
    }
    
    .section-header p{
    }
    
    .risk-content-box h3{
    }
    
    .risk-intro{
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .risk-grid{
        gap: 10px;
    }
    
    .risk-item{
        padding: 12px;
        border-radius: 12px;
    }
    
    .risk-item p{
    }
    
    .risk-bottom-text{
        line-height: 1.6;
        margin-bottom: 20px;
    }
}

/* Small Mobile Devices (480px and below) */
@media(max-width: 480px){
    .tree-health-section{
        padding: 35px 0;
    }
    
    .tree-card{
        padding: 20px;
        border-radius: 14px;
    }
    
    .tree-card h3{
    }
    
    .tree-card p{
    }
    
    .risk-content-box{
        padding: 20px;
        border-radius: 16px;
    }
    
    .section-header h2{
    }
    
    .section-header p{
    }
    
    .risk-content-box h3{
    }
    
    .risk-intro{
        margin-bottom: 18px;
    }
    
    .risk-item{
        padding: 20px;
    }
    
    .risk-item p{
    }
    
    .risk-bottom-text{
        margin-bottom: 18px;
    }
}

/* Very Small Mobile Devices (400px and below) */
@media(max-width: 400px){
    .tree-health-section{
        padding: 30px 0;
    }
    
    .tree-card{
        padding: 20px;
    }
    
    .tree-card h3{
    }
    
    .tree-card p{
    }
    
    .risk-content-box{
        padding: 20px;
    }
    
    .section-header h2{
    }
    
    .risk-content-box h3{
    }
    
    .risk-intro,
    .risk-bottom-text{
    }
    
    .risk-item p{
    }
}

/* Landscape Mode for Mobile */
@media(max-width: 768px) and (orientation: landscape){
    .tree-health-section{
        padding: 40px 0;
    }
    
    .tree-grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .tree-card{
        padding: 18px;
    }
    
    .risk-grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .risk-content-box{
        padding: 25px;
    }
}

/* Print Styles (Optional) */
@media print {
    .tree-health-section{
        padding: 20px 0;
    }
    
    .tree-grid{
        display: block;
    }
    
    .tree-card{
        box-shadow: none;
        border: 1px solid #ddd;
        border-top: 4px solid #ddd;
        page-break-inside: avoid;
        margin-bottom: 15px;
    }
    
    .tree-card:hover{
        transform: none;
    }
    
    .risk-content-box{
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .risk-tag{
        background: #f0f0f0;
        color: #000;
        border: 1px solid #ddd;
    }
    
    .risk-item{
        background: #f0f0f0;
        border: 1px solid #ddd;
    }
    
    .risk-item:hover{
        background: #f0f0f0;
        transform: none;
    }
    
    .risk-item:hover p{
        color: #000;
    }
}

/* =========================================
   TYPOGRAPHY STANDARDIZATION (USER REQUESTED)
   ========================================= */
/* Desktop */
.tree-health-section h2, .section-title h2 { font-size: 40px !important; }
.tree-health-section h3, .tree-card h3, .risk-content-box h3, .section-title h3 { font-size: 22px !important; }
.tree-health-section p, .tree-card p, .risk-intro, .risk-bottom-text, .risk-item p, .section-title p { font-size: 18px !important; line-height: 1.6 !important; }
.tree-health-section li { font-size: 18px !important; line-height: 1.6 !important; }

/* Tablet and Mobile (<= 1024px) */
@media (max-width: 1024px) {
    .tree-health-section h2, .section-title h2 { font-size: 35px !important; }
    .tree-health-section h3, .tree-card h3, .risk-content-box h3, .section-title h3 { font-size: 22px !important; }
    .tree-health-section p, .tree-card p, .risk-intro, .risk-bottom-text, .risk-item p, .section-title p { font-size: 18px !important; line-height: 1.6 !important; }
    .tree-health-section li { font-size: 18px !important; line-height: 1.6 !important; }
}