/* ================= HERO EXTENSION ================= */
.tree-hero {
    background:
      linear-gradient(to right, rgba(5,10,7,0.85), rgba(5,10,7,0.3)),
      url('/images/treeprot.jpg') center / cover no-repeat;
    background-attachment: fixed;
    border-bottom: 5px solid #2171ff;
  }
  
  /* ================= TREE GRID ================= */
.tree-protection-section {
    padding: 160px 0;
    background:
      radial-gradient(circle at top, rgba(80,140,255,0.15), transparent 45%),
      linear-gradient(135deg, #04060a, #0b1a34);
  }
  
  /* ================= HEADER ================= */
  .tree-section-header {
    max-width: 820px;
    margin: 0 auto 90px;
  }
  
  .tree-section-header h2 {
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 1.2px;
    margin-bottom: 18px;
  }
  
  .tree-section-header p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,0.75);
  }
  
  /* ================= CARD ================= */
  .tree-card {
    position: relative;
    display: block;
    height: 300px;
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,0.04),
      0 25px 70px rgba(0,0,0,0.6);
    transition: all 0.45s ease;
  }
  
  /* Gradient border glow */
  .tree-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    padding: 1px;
    background: linear-gradient(
      135deg,
      rgba(90,150,255,0.9),
      rgba(90,255,180,0.7)
    );
    -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  
  /* ================= IMAGE ================= */
  .tree-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75) contrast(1.05);
    transition: transform 0.6s ease, filter 0.6s ease;
  }
  
  /* ================= OVERLAY ================= */
  .tree-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    padding: 26px;
    background: linear-gradient(
      to top,
      rgba(5,10,25,0.95),
      rgba(5,10,25,0.4),
      transparent
    );
  }
  
  .tree-overlay i {
    font-size: 24px;
    color: #6fb2ff;
  }
  
  .tree-overlay h4 {
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.6px;
  }
  
  /* ================= HOVER ================= */
  .tree-card:hover {
    transform: translateY(-14px) scale(1.02);
    box-shadow:
      0 40px 100px rgba(50,140,255,0.35),
      0 0 0 1px rgba(80,150,255,0.45);
  }
  
  .tree-card:hover::before {
    opacity: 1;
  }
  
  .tree-card:hover img {
    transform: scale(1.12);
    filter: brightness(0.9);
  }
  
  /* ================= RESPONSIVE ================= */
  @media (max-width: 768px) {
    .tree-card {
      height: 250px;
    }
  
    .tree-section-header {
      margin-bottom: 60px;
    }
  }
  