        body {
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f5f7fa;
            color: #2c3e50;
            overflow-x: hidden;
        }

        .med-container {
            /* max-width: 1200px; */
            margin: 0 auto;
            padding: 0 20px;
        }

        .med-subjects-section {
            margin-bottom: 40px;
        }

        .med-subjects-title {
            margin-bottom: 40px;
            font-size: 36px;
            font-weight: 700;
            text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            letter-spacing: -0.5px;
            text-align: center;
        }

        .med-cards-container {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .med-top-row {
            display: flex;
            gap: 30px;
            justify-content: center;
        }

        .med-bottom-row {
            display: flex;
            justify-content: center;
        }

        .med-subject-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            position: relative;
            transform-style: preserve-3d;
            perspective: 1000px;
        }

        .med-subject-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        .med-subject-card:hover {
            transform: translateY(-10px) rotateX(5deg);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .med-subject-card:hover::before {
            opacity: 1;
        }

        /* Top row cards - 2 column layout */
        .med-top-row .med-subject-card {
            flex: 1;
            min-width: 280px;
            max-width: 48%;
        }

        /* Full width clinical card */
        .med-full-width {
            width: 100%;
            max-width: 100%;
        }

        .med-card-header {
            padding: 25px;
            display: flex;
            align-items: center;
            gap: 15px;
            position: relative;
            overflow: hidden;
        }

        .med-card-header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
            transform: translateX(-100%);
            transition: transform 0.6s ease;
        }

        .med-subject-card:hover .med-card-header::after {
            transform: translateX(100%);
        }

        .med-pre-clinical .med-card-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }

        .med-para-clinical .med-card-header {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            color: white;
        }

        .med-clinical .med-card-header {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            color: white;
        }

        .med-card-icon {
            font-size: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
            animation: med-float 3s ease-in-out infinite;
        }

        @keyframes med-float {
            0%, 100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-5px);
            }
        }

        .med-card-header h4 {
            margin: 0;
            font-size: 24px;
            font-weight: 600;
            letter-spacing: -0.5px;
        }

        .med-card-content {
            padding: 25px;
        }

        .med-subject-item {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 12px 15px;
            margin-bottom: 12px;
            border-radius: 12px;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .med-subject-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            transition: left 0.5s ease;
        }

        .med-subject-item:hover::before {
            left: 100%;
        }

        .med-subject-item:hover {
            transform: translateX(10px) scale(1.02);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }

        .med-subject-item:last-child {
            margin-bottom: 0;
        }

        .med-subject-icon {
            font-size: 24px;
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            background: white;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .med-subject-item:hover .med-subject-icon {
            transform: rotateY(360deg) scale(1.1);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
        }

        .med-subject-item span {
            font-weight: 700;
            color: #2c3e50;
            font-size: 15px;
            letter-spacing: 0.2px;
        }

        /* Special layout for clinical subjects - 3 columns */
        .med-clinical-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
        }

        /* Color variations for subject items */
        .med-pre-clinical .med-subject-item {
            background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
        }

        .med-para-clinical .med-subject-item {
            background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
        }

        .med-clinical .med-subject-item {
            background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
        }

        /* Responsive adjustments */
        @media (max-width: 1024px) {
            .med-clinical-grid {
                grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            }
            
            .med-subject-item span {
                font-size: 14px;
            }
        }

        @media (max-width: 768px) {
            .med-container {
                padding: 0 15px;
            }
            
            .med-top-row {
                flex-direction: column;
                align-items: center;
            }

            .med-top-row .med-subject-card {
                max-width: 100%;
                width: 100%;
            }

            .med-clinical-grid {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
                gap: 12px;
            }

            .med-subjects-title {
                font-size: 28px;
                margin-bottom: 30px;
            }
            
            .med-card-header {
                padding: 20px;
            }

            .med-card-content {
                padding: 20px;
            }

            .med-subject-item {
                padding: 10px 12px;
                margin-bottom: 10px;
            }

            .med-subject-icon {
                width: 40px;
                height: 40px;
                font-size: 20px;
            }
            
            .med-card-icon {
                width: 50px;
                height: 50px;
                font-size: 28px;
            }
            
            .med-card-header h4 {
                font-size: 22px;
            }
        }

        @media (max-width: 480px) {
            .med-container {
                padding: 0 10px;
            }
            
            .med-subjects-title {
                font-size: 24px;
                margin-bottom: 20px;
            }
            
            .med-cards-container {
                gap: 20px;
            }
            
            .med-card-header {
                padding: 15px;
            }

            .med-card-content {
                padding: 15px;
            }

            .med-subject-item {
                padding: 8px 10px;
                margin-bottom: 8px;
            }

            .med-subject-icon {
                width: 35px;
                height: 35px;
                font-size: 18px;
            }
            
            .med-card-icon {
                width: 45px;
                height: 45px;
                font-size: 24px;
            }
            
            .med-card-header h4 {
                font-size: 20px;
            }
            
            .med-subject-item span {
                font-size: 13px;
            }
            
            .med-clinical-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }
        }
   




