﻿/* ================================
   RED SQUIRREL AREA
================================ */
.redsquirrel-area {
    padding: 100px 0 70px;
    background: #f8fafc;
}

/* ================================
   RED SQUIRREL CARD
================================ */
.single-redsquirrel-box {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.6s ease;
    position: relative;
    opacity: 0; /* hidden initially for scroll animation */
    transform: translateY(30px);
}

    /* ================================
   SCROLL ANIMATION TRIGGER
================================ */
    .single-redsquirrel-box.animate {
        opacity: 1;
        transform: translateY(0);
    }

    /* Hover lift & shadow */
    .single-redsquirrel-box:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    }

/* ================================
   RED SQUIRREL IMAGE
================================ */
.redsquirrel-thumb {
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

    .redsquirrel-thumb img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.5s ease;
    }

.single-redsquirrel-box:hover .redsquirrel-thumb img {
    transform: scale(1.15);
}

/* ================================
   RED SQUIRREL CONTENT
================================ */
.redsquirrel-content {
    padding: 20px;
    position: relative;
    z-index: 2;
}

    /* Subtle overlay effect */
    .redsquirrel-content:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15,81,50,0.05);
        z-index: 1;
        border-radius: 12px;
        transition: transform 0.4s ease;
        transform: scale(0);
        transform-origin: center;
    }

.single-redsquirrel-box:hover .redsquirrel-content:before {
    transform: scale(1);
}

/* ================================
   RED SQUIRREL TITLE
================================ */
.redsquirrel-title h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f5132;
    transition: color 0.3s ease;
}

.single-redsquirrel-box:hover .redsquirrel-title h4 {
    color: #0E7930;
}

/* ================================
   RED SQUIRREL DESCRIPTION
================================ */
.redsquirrel-desc p {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.6;
    margin: 0 0 15px 0;
    transition: color 0.3s ease;
}

.single-redsquirrel-box:hover .redsquirrel-desc p {
    color: #0f5132;
}

/* ================================
   READ MORE BUTTON
================================ */
.read-more-button {
    display: inline-block;
    position: relative;
    z-index: 3;
    padding: 10px 24px;
    background: #0E7930;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    border-left: 4px solid #7fd1a6;
    border-right: 4px solid #7fd1a6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

    /* Gradient shine overlay */
    .read-more-button::before,
    .read-more-button::after {
        content: "";
        position: absolute;
        top: 0;
        height: 100%;
        width: 50%;
        background: linear-gradient(135deg, #7fd1a6, #a8e4b0);
        z-index: 1;
        transform: scaleX(0);
        transition: transform 0.5s ease;
        transform-origin: left;
    }

    .read-more-button::after {
        right: 0;
        left: auto;
        transform-origin: right;
        background: linear-gradient(120deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.2) 100%);
        z-index: 2;
        transform: rotate(20deg) translateX(-100%);
    }

    .read-more-button:hover::before,
    .read-more-button:hover::after {
        transform: scaleX(1) translateX(0);
    }

    /* Hover effects */
    .read-more-button:hover {
        color: #0E7930;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 992px) {
    .redsquirrel-desc p {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .redsquirrel-area {
        padding: 60px 15px 50px;
    }

    .single-redsquirrel-box {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .redsquirrel-content {
        padding: 15px;
    }

    .redsquirrel-title h4 {
        font-size: 20px;
    }

    .redsquirrel-desc p {
        font-size: 0.9rem;
    }
}
