        /* ====== GENERAL STYLES ====== */
        :root {
            --primary-color: #ad573a;
            --secondary-color: #F4F1E7;
        }

        body {
            font-family: 'Poppins', sans-serif;
            overflow-x: hidden;
        }

        /*====== COMPREHENSIVE SERVICES SECTION ======*/
        .comprehensive-services-section {
            padding: 40px 5%;
            text-align: center;
            background-color: #ffffff;
            background-image: url("https://transparenttextures.com/patterns/arches.png");
            overflow: hidden;
        }

        .comprehensive-services-container {
            max-width: 1200px;
            margin: 0 auto;
            text-align: center;
        }

        .comprehensive-services-title {
            font-size: 2rem;
            color: var(--primary-color);
            font-weight: 700;
            margin-bottom: -10px;
            line-height: 2.2rem;
        }

        .services-divider-icon {
            display: inline-block;
            margin-bottom: 20px;
            position: relative;
        }

        .services-divider-icon img {
            height: 100px;
            width: auto;
            vertical-align: middle;
        }

        .services-divider-icon::before,
        .services-divider-icon::after {
            content: '';
            display: block;
            width: 100px;
            height: 1px;
            background: var(--primary-color);
            position: absolute;
            top: 50%;
        }

        .services-divider-icon::before { left: -110px; }
        .services-divider-icon::after { right: -110px; }

        /* --- CARD STYLES --- */
        .service-card {
            background-color: #F9F7EE;
            border: 2px solid #AF5A3D;
            border-radius: 15px;
            color: var(--primary-color);
            transition: all 0.3s ease;
            overflow: hidden;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            display: flex;
            flex-direction: column;
            width: 100%; /* Ensure card fits container */
        }

        .service-card:hover {
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        .service-card img {
            width: 100%;
            height: 140px;
            object-fit: cover;
            display: block;
            transition: transform 0.4s ease;
        }

        .service-card:hover img {
            transform: scale(1.1);
        }

        .service-card-content {
            padding: 15px;
            background-color: #F9F7EE;
            flex-grow: 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .service-card-content h4 {
            margin: 0;
            font-size: 1rem;
            font-weight: 600;
        }

        /* ====== ANIMATION STYLES ====== */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }

        .animate-on-scroll.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* =================== DESKTOP VIEW STYLES =================== */
        .services-mobile-view {
            display: none;
        }

        .stats-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 40px;
            flex-wrap: nowrap;
        }

        .stats-box {
            display: flex;
            background-color: var(--primary-color);
            color: white;
            border-radius: 15px;
            padding: 20px 10px;
            flex-wrap: wrap;
            justify-content: space-around;
            flex-grow: 1;
            max-width: 750px;
        }

        .stat-item {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--secondary-color);
            gap: 15px;
            padding: 0 15px;
            min-width: 150px;
        }

        .stat-item:not(:first-child) {
            border-left: none;
        }

        .stat-item i {
            font-size: 28px;
            width: 30px; 
            text-align: center;
            flex-shrink: 0;
        }

        .stat-text {
            text-align: left; 
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .stat-text h3 {
            font-size: 1.6rem;
            margin: 0;
            font-weight: 600;
            line-height: 1.1; 
        }

        .stat-text p {
            font-size: 0.8rem;
            white-space: nowrap;
            margin: 0;
        }

        .expert-text-wrapper {
            flex-shrink: 0;
        }

        .expert-text-wrapper p {
            color: var(--primary-color);
            font-weight: 600;
            font-size: 1.1rem;
            text-align: center;
            margin: 0;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary-color);
            display: inline-block;
        }

        .full-width-separator {
            border: none;
            border-top: 3px solid #AF5A3D;
            margin: 40px 0;
        }

        .services-row {
            display: flex;
            align-items: stretch;
            gap: 30px;
        }

        .know-more-container {
            flex-basis: 25%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .expert-text1 {
            color: var(--primary-color);
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 20px;
        }

        .know-more-btn {
            background-color: var(--secondary-color);
            border: 2px solid var(--primary-color);
            padding: 10px 25px;
            border-radius: 8px;
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            white-space: nowrap; 
            flex-shrink: 0; 
            display: inline-block;
            text-align: center;
        }

        .know-more-btn:hover {
            background-color: var(--primary-color);
            color: #fff;
        }

        .service-cards-container {
            flex-grow: 1;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        /* =================== INTERMEDIATE RESPONSIVE STYLES (Tablets & Small Laptops) =================== */
        @media (max-width: 1024px) {
            .services-row {
                flex-direction: column;
                align-items: center;
            }
            .service-cards-container {
                order: 1; 
                width: 100%;
            }
            .know-more-container {
                order: 2; 
                margin-top: 30px;
                margin-bottom: 0;
                width: 100%;
                flex-direction: row; 
                justify-content: center; 
                align-items: center;
                gap: 20px;
                padding: 0 10px;
            }
            .expert-text1 {
                margin-bottom: 0; 
                text-align: right; 
            }
            .expert-text1 p {
                 margin: 0; 
            }

            .stats-row {
                flex-direction: row; 
                flex-wrap: nowrap;
                gap: 20px;
                align-items: center;
            }
            .stats-box {
                flex-wrap: wrap; 
                padding: 20px;
            }
            .stat-item {
                flex: 1 1 45%; 
                margin-bottom: 20px; 
                display: flex;
                justify-content: flex-start;
                padding-left: 10%; 
            }
        }

        @media (max-width: 850px) {
            .service-cards-container {
                grid-template-columns: repeat(2, 1fr); 
            }
            .expert-text-wrapper p {
                font-size: 1rem; 
            }
            .know-more-container {
                flex-wrap: wrap; 
                text-align: center;
            }
            .expert-text1 {
                 text-align: center;
            }
            .stat-item {
                padding-left: 5%; 
            }
        }

        /* =================== RESPONSIVE STYLES (Mobile View) =================== */
        @media (max-width: 612px) {
            .services-desktop-view {
                display: none;
            }
            .comprehensive-services-title{
                font-size: 1.4rem;
            }

            /* FIX FOR HORIZONTAL OVERFLOW ON VERY SMALL SCREENS (e.g. 337px) */
            .services-mobile-view {
                display: flex;
                gap: 12px; /* Gap slightly reduced to save space */
                align-items: flex-start;
                width: 100%;
            }
            
            /* Make columns completely fluid and prevent overflow */
            .mobile-left-full-column, .mobile-right-full-column {
                flex: 1; /* Takes exactly equal space */
                min-width: 0; /* CRITICAL FIX: Forces content to shrink instead of overflowing container */
                display: flex;
                flex-direction: column;
                gap: 15px;
            }
            
            .stats-box-mobile {
                background-color: var(--primary-color);
                color: white;
                border-radius: 15px;
                padding: 15px 12px; /* Reduced side padding slightly for small screens */
                box-sizing: border-box;
                display: flex;
                flex-direction: column;
                width: 100%; /* Ensures it doesn't grow past container */
            }

            .stats-box-mobile .stat-item {
                display: flex;
                align-items: center; 
                justify-content: flex-start; 
                gap: 10px; /* Reduced icon-text gap */
                padding-bottom: 15px; 
                margin-bottom: 15px;
            }

            .stats-box-mobile .stat-item:not(:last-child) {
                border-bottom: 1px solid rgba(255, 255, 255, 0.3);
            }

            .stats-box-mobile .stat-item:last-child {
                margin-bottom: 0;
                padding-bottom: 0;
                border-bottom: none;
            }
            
            .stats-box-mobile .stat-item i { 
                font-size: 20px; /* Scaled down slightly to fit */
                flex-shrink: 0;
                width: 25px; 
                text-align: center;
            } 

            .stats-box-mobile .stat-text { 
                text-align: left; 
                display: flex;
                flex-direction: column;
                justify-content: center;
                min-width: 0; /* Prevent text from pushing boundary */
            }
            .stats-box-mobile h3, .stats-box-mobile p { margin: 0; }
            .stats-box-mobile h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.1;} 
            .stats-box-mobile p { font-size: 0.65rem; line-height: 1.2; word-break: break-word;} 
            
            .expert-text-mobile {
                color: var(--primary-color);
                font-weight: 600;
                font-size: 0.85rem; /* Reduced font size to prevent overflow of 'COMPASSIONATE' */
                padding-bottom: 15px;
                border-bottom: 2px solid var(--primary-color);
                text-align: left;
                word-wrap: break-word; /* Allows long words to break if necessary */
                hyphens: auto;
            }
            
            .mobile-card-column-inner {
                display: flex;
                flex-direction: column;
                gap: 15px;
            }
            
            .know-more-container-mobile {
                margin-top: 10px;
                display: flex;
                flex-direction: column;
                align-items: center;
                width: 100%;
            }

            .expert-text1 {
                margin-right: 0; 
                text-align: center;
                font-size: 1rem;
            }
            
            .know-more-container-mobile .know-more-btn {
                width: 100%; /* Make button take full width on mobile for easier tapping */
                padding: 10px;
            }
        }