        /* =========================================
           SERVICES SECTION STYLES
           ========================================= */
        
        .services-section {
            padding: 1.20rem;
            margin: 0 auto;
            width: 100%;
            box-sizing: border-box;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr); /* 3 cards horizontally */
            gap: 2rem;
            max-width: 1480px;
            margin: -1rem auto;
            padding: 1.5rem 1.5rem;
            border: 2px solid var(--primary-blue);
            border-radius: 1rem;
            background: url('../images/backgrounds/services-bg-homepage.webp');
            background-repeat: no-repeat;
            background-size: cover ;
        }

        @media (max-width:658px) {
            .services-grid {
                background: url('../images/backgrounds/services-bg-homepage-vertical-658.webp');
                background-size: cover;
            }
        }

        @media (max-width:992px) {
            .services-grid {
                background: url('../images/backgrounds/services-bg-homepage-vertical-992.webp');
                background-size: cover;
            }
        }

        .service-card {
            padding: 3.5rem 2rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            z-index: 1;
            transition: background-color 0.4s ease, transform 0.4s ease;
            cursor: pointer;
            border-radius: 0.5rem; /* Slight rounding, adjust if needed */
        }

        /* The Dotted Pattern Effect (Bottom Right) */
        .service-card::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 100%;
            height: 3rem;
            /* Creates the crimson dot pattern */
            background-image: radial-gradient(var(--white) 1.5px, transparent 1.5px);
            background-size: 0.5rem 0.5rem; /* Adjusts the spacing of the dots */
            z-index: -1;
            opacity: 0;
            transition: opacity 0.4s ease, transform 0.4s ease;
            transform: translate(-10px, -10px); /* Starts slightly tucked in */
            pointer-events: none;
        }

        /* Hover states for the card */
        .service-card:hover {
            background-color: var(--hover-bg-blue);
            outline: 2px solid var(--white);
            outline-offset: -4px;
        }

        .service-card:hover::after {
            opacity: 1;
            transform: translate(0, 0); /* Pops out to the bottom right */
        }

        /* Icon Wrapper Styles */
        .service-icon-wrapper {
            width: 64px;
            height: 64px;
            margin-bottom: 1.5rem;
            /* Default color is black/dark */
            color: var(--text-dark); 
            transition: color 0.4s ease, transform 0.4s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Target the SVG inside the wrapper */
        .service-icon-wrapper svg {
            max-width: 64px;
            max-height: 64px;
            width: 100%;
            height: 100%;
        }

        .service-card:hover .service-icon-wrapper {
            /* Smoothly transitions to crimson on hover */
            color: var(--white);
            transform: scale(1.1); /* Slight bump to the icon */
        }

        .service-title {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-dark);
            margin: 0;
            transition: color, transform 0.4s ease;
        }

        .service-card:hover .service-title {
            color: var(--white);
            transform: scale(1.2);
        }

        /* Services Grid Responsiveness */
        @media (max-width: 992px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr); /* 2 cards together */
            }
        }

        @media (max-width: 576px) {
            .services-grid {
                grid-template-columns: 1fr; /* 1 below the other on mobile */
            }
        }