/* ========= start of careplan cards ========= */

       .cards-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 40px;
        }

        .health-card {           
            background: linear-gradient(135deg, #e8f5e8 0%, #d4f1d4 100%);
            border-radius: 25px;
            /* padding: 40px 30px; */
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
            min-height: 100px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
        }

        /* Left image container */
        .img-box {
        width: 35%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        }

        /* Full height image */
        .img-box img {
        height: 100%;
        /* width: 100%; */
        max-height: 110px;
        object-fit: cover;   /* makes image perfectly fill */
        border-radius: 20px 0 0 20px; /* left corners curve */
        }

        /* Text area */
        .text-content {
        width: 65%;
        text-align: left;
        }

        
        .health-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }

        .health-card.anxiety {
            background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
        }

        .health-card.cycle {
            background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
        }

        .health-card.hair {
            background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
        }

        .health-card.skin {
            background: linear-gradient(135deg, #fff3e0 0%, #ffcc02 100%);
        }

        .health-card.wellness {
            background: linear-gradient(135deg, #efebe9 0%, #d7ccc8 100%);
        }

        .card-content {
            display: flex;
            align-items: center;
            height: 100%;
            position: relative;
            z-index: 2;
        }

        .card-title {
            font-size: 24px;
            font-weight: 600;
            color: #2c2c2c;
            margin-bottom: 8px;
        }

        .card-subtitle {
            font-size: 24px;
            font-weight: 300;
            color: #8e7cc3;
        }

        .card-icon {
            position: absolute;
            bottom: 20px;
            right: 20px;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            opacity: 0.8;
        }

        .card-icon.track-symptoms {
            background: rgba(76, 175, 80, 0.2);
        }

        .card-icon.mood-anxiety {
            background: rgba(33, 150, 243, 0.2);
        }

        .card-icon.cycle-tracking {
            background: rgba(233, 30, 99, 0.2);
        }

        .card-icon.hair-growth {
            background: rgba(156, 39, 176, 0.2);
        }

        .card-icon.skin-care {
            background: rgba(255, 193, 7, 0.2);
        }

        .card-icon.general-wellness {
            background: rgba(121, 85, 72, 0.2);
        }

        .arrow-button {
            position: absolute;
            bottom: 16px;
            right: 16px;
            width: 38px;
            height: 38px;
            background: rgba(0,0,0,0.8);
            border: none;
            border-radius: 50%;
            color: white;
            cursor: pointer;
            font-size: 16px;
            transition: all 0.3s ease;
        }

        .arrow-button:hover {
            background: rgba(0,0,0,1);
            transform: scale(1.1);
        }

        @media (max-width: 1024px) {
            .wellness-text, .personalized-text {
                font-size: 56px;
            }
            
            .cards-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .wellness-text, .personalized-text {
                font-size: 42px;
            }
            
            .cards-grid {
                grid-template-columns: 1fr;
            }
            
            .hero-section {
                padding: 40px 20px;
            }
        }

        @media (max-width: 480px) {
            .wellness-text, .personalized-text {
                font-size: 36px;
            }
            
            .card-title {
                font-size: 20px;
            }
            
            .card-subtitle {
                font-size: 20px;
            }
        }

        /* Ripple effect for cards */
        .health-card::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.6s ease, height 0.6s ease;
            z-index: 1;
        }

        .health-card:hover::before {
            width: 300px;
            height: 300px;
        }

        /* ========= end of careplan cards ========= */
        /*===========SLIDERCARDS ===============*/
        