        .gradient-bg {
            background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 50%, #81d4fa 100%);
        }
        .card-shadow {
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        @media (prefers-reduced-motion: no-preference) {
            .animate-fade-in-up {
                animation: fadeInUp 0.6s ease-out forwards;
                opacity: 0;
                transform: translateY(20px);
            }
            .animate-fade-in-up-delayed {
                animation: fadeInUp 0.6s ease-out 0.15s forwards;
                opacity: 0;
                transform: translateY(20px);
            }
            .animate-pulse-soft {
                animation: pulseSoft 2.5s ease-in-out infinite;
            }
            .animate-shimmer {
                background: linear-gradient(90deg, #06b6d4, #3b82f6, #06b6d4) !important;
                background-size: 200% 100% !important;
                animation: shimmer 1.5s ease-in-out infinite;
            }
            .animate-progress-ring {
                animation: progressRing 1.2s ease-in-out forwards;
            }
            .animate-slide-in-left {
                animation: slideInLeft 0.4s ease-out forwards;
                opacity: 1 !important;
                transform: translateX(0) !important;
            }
            .animate-glow-breathing {
                animation: glowBreathing 3s ease-in-out infinite;
            }
            .animate-count-up {
                animation: countUp 1.2s ease-out forwards;
            }
        }
        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        @keyframes pulseSoft {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.02); }
        }
        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }
        @keyframes progressRing {
            from { stroke-dashoffset: 226; }
            to { stroke-dashoffset: 70.3; }
        }
        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        @keyframes glowBreathing {
            0%, 100% { 
                box-shadow: 0 0 5px rgba(239, 68, 68, 0.3);
                border-color: rgba(239, 68, 68, 0.3);
            }
            50% { 
                box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
                border-color: rgba(239, 68, 68, 0.5);
            }
        }
        @keyframes countUp {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        .hover-card {
            transition: all 0.2s ease;
        }
        .hover-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.15), 0 15px 15px -5px rgba(0, 0, 0, 0.06);
        }
        .input-focus {
            transition: all 0.2s ease;
        }
        .input-focus:focus {
            box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1), 0 0 10px rgba(6, 182, 212, 0.2);
        }
        .disease-bar {
            width: 0%;
            transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .priority-high {
            border: 2px solid transparent;
            transition: all 0.3s ease;
        }
        .priority-high.animate-glow-breathing {
            animation: glowBreathing 3s ease-in-out infinite;
        }
        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 24px;
        }
        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 24px;
        }
        .slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }
        input:checked + .slider {
            background-color: #06b6d4;
        }
        input:checked + .slider:before {
            transform: translateX(26px);
        }
        .progress-ring {
            transform: rotate(-90deg);
        }
        .progress-ring-circle {
            stroke-dasharray: 226;
            stroke-dashoffset: 226;
            transition: stroke-dashoffset 0.35s;
        }
        .chip {
            background: #e0f2fe;
            border: 1px solid #0891b2;
            color: #0891b2;
            transition: all 0.2s ease;
        }
        .chip:hover {
            transform: scale(1.03);
            background: #bae6fd;
        }
        .chip:active {
            transform: scale(0.98);
        }
        .chip-remove {
            background: #0891b2;
            color: white;
        }
        .disease-bar {
    transition: width 1.2s ease-in-out;
}

.disease-percentage {
    transition: opacity 0.5s ease;
}

/* =========================
   FOOTER STYLES
   ========================= */

footer {
    animation: fadeInUp 0.6s ease-out forwards;
}

footer h4 {
    letter-spacing: 0.3px;
}

footer p {
    line-height: 1.7;
}

/* Responsive Footer */
.footer-grid {
    display: grid;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    footer h4 {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    footer {
        margin-top: 3rem;
    }

    footer p {
        font-size: 0.8rem;
    }
}

    
/* ============================
   FULL RESPONSIVE ADD-ON CSS
   (Paste at the END of file)
   ============================ */

/* ---------- Large Laptops & Desktops (≤1280px) ---------- */
@media (max-width: 1280px) {
    .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .grid.grid-cols-2 {
        gap: 1.5rem;
    }
}

/* ---------- Laptops & Small Desktops (≤1024px) ---------- */
@media (max-width: 1024px) {
    .grid.grid-cols-2 {
        grid-template-columns: 1fr;
    }
    header .text-3xl {
        font-size: 1.75rem;
    }
    .card-shadow {
        padding: 1.5rem;
    }
}

/* ---------- Tablets Landscape (≤900px) ---------- */
@media (max-width: 900px) {
    .grid.grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid.grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid.grid-cols-5 {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

/* ---------- Tablets Portrait (≤768px) ---------- */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    header {
        border-radius: 1.5rem;
    }

    header .text-3xl {
        font-size: 1.5rem;
    }

    header p {
        font-size: 0.875rem;
    }

    .grid.grid-cols-4,
    .grid.grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .grid.grid-cols-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .progress-ring {
        width: 6rem;
        height: 6rem;
    }
}

/* ---------- Large Mobile (≤640px) ---------- */
@media (max-width: 640px) {
    h2.text-xl {
        font-size: 1.1rem;
        text-align: center;
    }

    .flex.items-center.mb-4 {
        justify-content: center;
    }

    .toggle-switch {
        width: 44px;
        height: 22px;
    }

    input:checked + .slider:before {
        transform: translateX(22px);
    }

    .disease-item {
        padding: 0.75rem;
    }

    #predictBtn {
        font-size: 1rem;
        padding: 0.9rem;
    }
}

/* ---------- Small Mobile Devices (≤480px) ---------- */
@media (max-width: 480px) {
    header .text-3xl {
        font-size: 1.25rem;
    }

    header p {
        font-size: 0.75rem;
    }

    .grid.grid-cols-5 {
        grid-template-columns: 1fr;
    }

    .text-center label {
        font-size: 0.75rem;
    }

    .toggle-switch {
        transform: scale(0.9);
    }

    .progress-ring {
        width: 5.5rem;
        height: 5.5rem;
    }

    #percentageText {
        font-size: 1.25rem;
    }
}

/* ---------- Extra Small Devices (≤360px) ---------- */
@media (max-width: 360px) {
    body {
        padding: 0.5rem;
    }

    header {
        padding: 1rem 0.5rem;
    }

    .card-shadow {
        padding: 1rem;
        border-radius: 1.25rem;
    }

    .chip {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }

    .chip-remove {
        width: 14px;
        height: 14px;
        font-size: 0.6rem;
    }
}
