/* =========================
           SERVICES SECTION
        ========================== */

        .services-section {
            width: 100%;

            padding: 100px 20px;

            background: #ffffff;

            overflow: hidden;
        }

        .services-container {
            max-width: 1200px;

            margin: 0 auto;
        }


        /* =========================
           SECTION HEADING
        ========================== */

        .section-heading {
            max-width: 700px;

            margin: 0 auto 55px;

            text-align: center;
        }

        .section-heading > span {
            display: inline-block;

            margin-bottom: 12px;

            color: #7bc043;

            font-size: 13px;
            font-weight: 700;

            letter-spacing: 3px;
        }

        .section-heading h2 {
            margin-bottom: 18px;

            color: #222222;

            font-size: 46px;
            line-height: 1.2;
        }

        .section-heading h2 strong {
            color: #1f6f43;
        }

        .section-heading p {
            margin: 0;

            color: #666666;

            font-size: 16px;
            line-height: 1.8;
        }


        /* =========================
           SERVICES GRID
        ========================== */

        .services-grid {
            display: grid;

            grid-template-columns:
                repeat(3, 1fr);

            gap: 22px;
        }


        /* =========================
           SERVICE CARD
        ========================== */

        .service-card {
            position: relative;

            height: 350px;

            overflow: hidden;

            background: #111111;

            cursor: pointer;
        }


        /* Image */

        .service-card > img {
            width: 100%;
            height: 100%;

            display: block;

            object-fit: cover;

            transition:
                transform 0.7s ease;
        }


        /* =========================
           OVERLAY
        ========================== */

        .service-overlay {
            position: absolute;

            inset: 0;

            background:
                linear-gradient(
                    to top,
                    rgba(0, 0, 0, 0.88) 0%,
                    rgba(0, 0, 0, 0.35) 55%,
                    rgba(0, 0, 0, 0.05) 100%
                );

            transition: 0.4s ease;
        }

        .service-card:hover > img {
            transform: scale(1.08);
        }


        /* =========================
           SERVICE CONTENT
        ========================== */

        .service-content {
            position: absolute;

            left: 0;
            right: 0;
            bottom: 0;

            padding: 28px;

            z-index: 2;
        }


        /* Icon */

        .service-icon {
            width: 52px;
            height: 52px;

            display: flex;
            align-items: center;
            justify-content: center;

            margin-bottom: 18px;

            background: #7bc043;

            color: #ffffff;

            border-radius: 3px;

            font-size: 20px;

            transition: 0.4s ease;
        }


        /* Service Name */

        .service-content h3 {
            max-width: 280px;

            margin: 0;

            color: #ffffff;

            font-size: 19px;
            line-height: 1.3;

            font-weight: 700;

            letter-spacing: 0.3px;
        }


        /* Arrow */

        .service-arrow {
            position: absolute;

            right: 28px;
            bottom: 29px;

            width: 43px;
            height: 43px;

            display: flex;
            align-items: center;
            justify-content: center;

            border:
                1px solid
                rgba(255, 255, 255, 0.45);

            border-radius: 50%;

            color: #ffffff;

            text-decoration: none;

            font-size: 14px;

            opacity: 0;

            transform:
                translateX(-10px);

            transition: 0.4s ease;
        }

        .service-card:hover .service-arrow {
            opacity: 1;

            transform:
                translateX(0);
        }

        .service-arrow:hover {
            background: #7bc043;

            border-color: #7bc043;
        }


        /* Icon Animation */

        .service-card:hover .service-icon {
            transform:
                translateY(-5px);
        }


        /* =========================
           SCROLL REVEAL
        ========================== */

        .scroll-reveal {
            opacity: 0;

            transition:
                opacity 0.8s ease,
                transform 0.8s ease;
        }

        .service-reveal {
            transform:
                translateY(45px);
        }

        .scroll-reveal.show {
            opacity: 1;

            transform:
                translateY(0);
        }
        
        /* =========================
           TABLET
        ========================== */

        @media (max-width: 900px) {

            

            


            /* Services */

            .services-section {
                padding: 80px 25px;
            }

            .services-grid {
                grid-template-columns:
                    repeat(2, 1fr);
            }

            .service-card {
                height: 320px;
            }

            .section-heading h2 {
                font-size: 40px;
            }


           

        }
        
        /* =========================
           MOBILE
        ========================== */

        @media (max-width: 600px) {

            


            /* Services */

            .services-section {
                padding: 65px 20px;
            }

            .section-heading {
                margin-bottom: 35px;
            }

            .section-heading h2 {
                font-size: 34px;
            }

            .section-heading p {
                font-size: 15px;
            }

            .services-grid {
                grid-template-columns: 1fr;

                gap: 15px;
            }

            .service-card {
                height: 310px;
            }

            .service-content {
                padding: 24px;
            }

            .service-content h3 {
                font-size: 18px;
            }


            /*
               Always show arrow on mobile because
               there is no hover interaction.
            */

            .service-arrow {
                opacity: 1;

                transform:
                    translateX(0);

                right: 24px;
                bottom: 25px;
            }


            /* Mobile reveal */

            .service-reveal {
                transform:
                    translateY(45px);
            }


            

        }